Postby gaurav_dm » 06 Apr 2007 20:51
The Source format is FLV and the transcode format is mpeg2video encapsulated with mpegts.
I use the following command to generate the mpeg2-ts file:
ffmpeg.exe -i 50371_700.flv -f mpegts -vcodec mpeg2video -b 3000k -qscale 3 -minrate 3000k -maxrate 3000k -bufsize 2000k -r 3
0000/1001 -acodec mp2 -ab 224 -ar 44100 -ac 2 50371_mp2_TS_1.mpg
This is the output of the transcode process:
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000
/1) -> 29.92 (359/12)
Input #0, flv, from '50371_700.flv':
Duration: 00:01:18.0, start: 0.000000, bitrate: 32 kb/s
Stream #0.0: Video: flv, yuv420p, 320x240, 29.92 fps(r)
Stream #0.1: Audio: mp3, 22050 Hz, stereo, 32 kb/s
Output #0, mpegts, to '50371_mp2_TS_1.mpg':
Stream #0.0: Video: mpeg2video, yuv420p, 320x240, q=2-31, 3000 kb/s, 29.97 fps
Stream #0.1: Audio: mp2, 44100 Hz, stereo, 224 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 2334 q=3.0 Lsize= 32449kB time=77.8 bitrate=3414.8kbits/s
video:28459kB audio:2133kB global headers:0kB muxing overhead 6.071573%