Aaron Simmons <[email protected]> added the comment:

Also, trying to preserve the codec (rather than auto-converting to mp3) fails:

asimmons-mac:ffmpeg-trunk asimmons$ ./ffmpeg -i 
~/Documents/audio-only-nellymoser.flv -vn -y -acodec nellymoser 
~/Desktop/sounds/test.swf
FFmpeg version SVN-r19521, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-libspeex --enable-libmp3lame
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.32. 0 / 52.32. 0
  libavformat   52.36. 0 / 52.36. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 7. 1 /  0. 7. 1
  built on Jul 27 2009 12:48:52, gcc: 4.0.1 (Apple Inc. build 5493)
[flv @ 0x1002600]Could not find codec parameters (Video: 0x0000)
Input #0, flv, from '/Users/asimmons/Documents/audio-only-nellymoser.flv':
  Duration: 00:00:04.96, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: 0x0000, 1k tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: nellymoser, 22050 Hz, 1 channels, s16
[swf @ 0x1004800]SWF muxer only supports MP3
Output #0, swf, to '/Users/asimmons/Desktop/sounds/test.swf':
    Stream #0.0: Audio: nellymoser, 22050 Hz, 1 channels, s16, 64 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
Could not write header for output file #0 (incorrect codec parameters ?)

========================================

asimmons-mac:ffmpeg-trunk asimmons$ ./ffmpeg -i 
~/Documents/audio-only-speex.flv -vn -y -acodec libspeex 
~/Desktop/sounds/test.swf
FFmpeg version SVN-r19521, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-libspeex --enable-libmp3lame
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.32. 0 / 52.32. 0
  libavformat   52.36. 0 / 52.36. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 7. 1 /  0. 7. 1
  built on Jul 27 2009 12:48:52, gcc: 4.0.1 (Apple Inc. build 5493)
[flv @ 0x1002600]Could not find codec parameters (Video: 0x0000)
Input #0, flv, from '/Users/asimmons/Documents/audio-only-speex.flv':
  Duration: 00:00:03.05, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: 0x0000, 1k tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: libspeex, 16000 Hz, 1 channels, s16
Unknown encoder 'libspeex'

_____________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/roundup/ffmpeg/issue1293>
_____________________________________________________

Reply via email to