|
Re: Success: AVI to FLV, played on the web: msg#00259video.ffmpeg.user
Tom wrote: Mark, I have used the following the command with just ffmpeg to convert several different types of input videos to a Flash video. I've found that the audio bitrates are constrained, ie. some combinations work, others don't. The same is true for the video with respect to size and bitrate. The resulting SWF plays find in browser based Flash players. You will need to embed the player appropriately in the HTML page with the size set in the <embed> tags in order to have the video display at the same size as it was encoded. ffmpeg -y -i foo.mpg -t 600 -r 15 -s 320x240 -b 150 -ar 22050 -ab 32 foo.swf FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard configuration: --enable-a52 --tune=i686 --enable-gpl --enable-mp3lame --enable-faac --enable-pp libavutil version: 49.0.0 libavcodec version: 51.1.0 libavformat version: 50.0.0 built on Feb 6 2006 08:50:03, gcc: 3.3.5 20050117 (prerelease) (SUSE Linux) Input #0, mpeg, from 'bet-PublicHearing.mpg': Duration: 00:36:14.1, start: 0.213367, bitrate: 4445 kb/s Stream #0.0[0x1e0], 29.97 fps(r): Video: mpeg2video, yuv420p, 720x480, 6000 kb/s Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 192 kb/s Output #0, swf, to 'foo.swf': Stream #0.0, 15.00 fps(c): Video: flv, yuv420p, 320x240, q=2-31, 150 kb/s Stream #0.1: Audio: mp3, 22050 Hz, stereo, 32 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Paul |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | problem installing ffmpeg: 00259, Agnes Bousquier |
|---|---|
| Next by Date: | Re: problem installing ffmpeg: 00259, The Wanderer |
| Previous by Thread: | Re: Success: AVI to FLV, played on the webi: 00259, Tom |
| Next by Thread: | AVI to WMV convert: 00259, Douga Japan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |