[Ffmpeg-devel] FLV conversion audio problem (original) (raw)

Vishwajeet Wadhwa vishwajeet.wadhwa
Fri Feb 17 13:23:40 CET 2006


Following is bug report format:

  1. We are trying to transcode audio(wav,mp3,wma) and video(avi,mpg,mov,wmv) formats to flv format.

  2. FFMPEG transcoded all video formats into flv format but the resulted flv file, we get is video only(without audio).We are not able to transcode any of the audio formats into flv format.

  3. The following command format is used for all video and audio formats: i) ffmpeg -i xyz.mpg abc.flv ii) ffmpeg -i xyz.mpg -b -360 -r 25 -s 640x480 -hq -deinterlace

-ab 64 -ar 44100 -ac 1 abc.flv

  1. i) Output for the command "ffmpeg -i xyz.mpg abc.flv"

        Input #0, mpeg, from 'Nasa.mpg':
        Duration: 00:00:09.0, bitrate: 1623 kb/s
        Stream #0.0: Video: mpeg1video, 320x240, 29.97 fps, 1300 kb/s
        Stream #0.1: Audio: mp2, 32000 Hz, mono, 128 kb/s
      Output #0, flv, to 'Nasa_flv.flv':
        Stream #0.0: Video: flv, 320x240, 29.97 fps, q=2-31, 200 kb/s
      Stream mapping:
        Stream #0.0 -> #0.0
      Press [q] to stop encoding
      frame=306 q=22.0 size= 227kB time=10.2 bitrate= 181.8kbits/s

    ii) Output for the command "ffmpeg -i xyz.mpg -b -360 -r 25 -s

640x480 -hq -deinterlace -ab 64 -ar 44100 -ac 1 abc.flv"

    Input #0, mpeg, from 'Nasa.mpg':
    Duration: 00:00:09.0, bitrate: 1623 kb/s
    Stream #0.0: Video: mpeg1video, 320x240, 29.97 fps, 1300 kb/s
    Stream #0.1: Audio: mp2, 32000 Hz, mono, 128 kb/s
 Output #0, flv, to 'Nasa_opt_flv.flv':
    Stream #0.0: Video: flv (hq), 640x480,25.00 fps,q=2-31,-360 kb/s
 Stream mapping:
    Stream #0.0 -> #0.0
 Press [q] to stop encoding
 frame= 257 q=31.0 size= 429kB time=10.3 bitrate= 341.6kbits/s

How can we get audio support in flv converted files.Any kind of help will be appreciated



More information about the ffmpeg-devel mailing list