Recent Changes - Search:

Softwares

.

Flv-to-mpg-using-ffmpeg-record-convert-stream-digital-audio


Flv-to-mpg-using-ffmpeg-record-convert-stream-digital-audio

FFmpeg is a computer program that can record, convert and stream digital audio and video in numerous formats.

 ffmpeg -i kernel_recompile.flv -ab 56 -ar 22050 -b 500  -s 320x240 kernel_recompile.mpg
ffmpeg [[infile options][-i infile]]... {[outfile options] outfile}...

-b 64 option, it sets the video bitrate of the next file.

-i filename input filename

Video Options

       -b bitrate
           Set the video bitrate in kbit/s (default = 200 kb/s).

       -r fps
           Set frame rate (default = 25).

       -s size
           Set frame size. The format is wxh (default = 160x128).  The following abbrevia‚
           tions are recognized:

-target type

Specify target file type ("vcd", "svcd", "dvd", "dv", "pal-vcd", "ntsc-svcd", ...). All the format options (bitrate, codecs, buffer sizes) are then set automati‚cally. You can just type:

                   ffmpeg -i myfile.avi -target vcd /tmp/vcd.mpg

Nevertheless you can specify additional options as long as you know they do not conflict with the standard, as in:

                   ffmpeg -i myfile.avi -target vcd -bf 2 /tmp/vcd.mpg

You can read more about this at http://ffmpeg.mplayerhq.hu/ffmpeg-doc.html


Edit - History - Print - Recent Changes - Search
Page last modified on April 12, 2009, at 08:51 AM