chuanjiang lo wrote:
Please dont top-post. This is a perfect example of why top-posting is
bad: you say "I tried... it..." but there is no way to be sure WHAT you
tried and WHAT doesnt play.
Post by chuanjiang loyah i tried and although it can be done but it doesnt play on windows media
player..
*Please* post the command and messages
Post by chuanjiang loso what are the other alternatives other than using mpeg1/2 so that i can
support 15fps?
ffmpeg -i utc_1434.mpg -vcodec msmpeg4 -r 15 15.avi
FFmpeg version SVN-r6125, Copyright (c) 2000-2004 Fabrice Bellard
configuration:
libavutil version: 49.0.0
libavcodec version: 51.11.0
libavformat version: 50.5.0
built on Aug 29 2006 14:44:38, gcc: 3.3.5 (Debian 1:3.3.5-13)
Input #0, mpeg, from 'utc_1434.mpg':
Duration: 00:00:57.0, start: 92564.370489, bitrate: 668 kb/s
Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 352x288, 104857 kb/s,
25.00 fps(r)
Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, mono, 32 kb/s
Output #0, avi, to '15.avi':
Stream #0.0: Video: msmpeg4, yuv420p, 352x288, q=2-31, 200 kb/s,
15.00 fps(c)
Stream #0.1: Audio: mp2, 48000 Hz, mono, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 902 q=20.9 Lsize= 2223kB time=60.0 bitrate= 303.5kbits/s
video:1664kB audio:469kB global headers:0kB muxing overhead 4.212804%
This plays in WMP9
Post by chuanjiang loPost by chuanjiang loPost by chuanjiang loPost by Michel BardiauxTry
ffmpeg -i input.avi -vcodec mpeg1video -r 15 output.mpg
C:\Program Files\FFmpeg>ffmpeg -i input.avi -vcodec mpeg1video -r 15
output.mpg
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-shared --disable-static
--enable-memalign-hack
Post by chuanjiang lolibavutil version: 49.0.0
libavcodec version: 51.11.0
libavformat version: 50.5.0
built on Aug 30 2006 11:24:34, gcc: 3.4.5 (mingw special)
Duration: 00:00:03.0, start: 0.000000, bitrate: 528 kb/s
Stream #0.0: Video: cinepak, yuv420p, 208x176, 15.00 fps(r)
Stream #0.0: Video: mpeg1video, yuv420p, 208x176, q=2-31, 200 kb/s, 15.00fps(
c)
Stream #0.0 -> #0.0
Error while opening codec for output stream #0.0 - maybe incorrect
parameters su
ch as bit_rate, rate, width or height
I tried with the -r option but still getting the same error
My bad, should have been -r25 or -r30, sorry.
Post by chuanjiang loSo actually mpeg1/2 standard does not support 15fps but we can "force" it to
have 15fps?
Im not sure that fps *can* be represented in the file. Anyway the file
would not work with most players.
--
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be
Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/