[Ffmpeg-devel] problems transcoding a cinepak avi to mpeg
Michel Bardiaux
mbardiaux
Wed Dec 7 10:58:14 CET 2005
Phil C wrote:
> I'm using the newest cvs version (12.6.05) trying to trans-code a cinepak avi to a mpeg. even though the trans-coding seemed to go off without a hitch but the resulting video was all black even though the sound was present.
>
> the command line:
>
> ffmpeg -i cinepak720x480.avi -f mpeg -r 29.97 -s 176x120 -b 700 -ar 4
> 4100 -ab 192 out.mpg
>
> console output:
>
> ffmpeg version CVS, build 3277056, Copyright (c) 2000-2004 Fabrice Bellard
> configuration: --enable-mp3lame --enable-mingw32 --enable-a52 --enable-gpl --enable-memalign-hack --enable-pp --extra-cflags=-I/local/include --extra-ldflags=-L/local/lib
> built on Dec 6 2005 14:43:11, gcc: 3.4.2 (mingw-special)
> Input #0, avi, from 'cinepak720x480.avi':
> Duration: 00:00:30.0, start: 0.000000, bitrate: 20637 kb/s
> Stream #0.0, 29.97 fps: Video: cinepak, yuv420p, 720x480
> Stream #0.1: Audio: pcm_s16le, 44100 Hz, stereo, 1411 kb/s
> Output #0, mpeg, to 'out.mpg':
> Stream #0.0, -1.#J fps: Video: mpeg1video, yuv420p, 176x120, q=2-31, 700 kb/s
> Stream #0.1: Audio: mp2, 44100 Hz, stereo, 192 kb/s
> Stream mapping:
> Stream #0.0 -> #0.0
> Stream #0.1 -> #0.1
> [mpeg1video @ 00681638]warning, clipping 1 dct coefficients to -255..255
> [mpeg1video @ 00681638]warning, clipping 1 dct coefficients to -255..255
> [mpeg1video @ 00681638]warning, clipping 1 dct coefficients to -255..255
> [mpeg1video @ 00681638]warning, clipping 1 dct coefficients to -255..255
> frame= 901 q=0.0 Lsize= 1002kB time=30.0 bitrate= 273.3kbits/s
> video:286kB audio:704kB global headers:0kB muxing overhead 1.240184%
>
>
> is there a library that i'm missing? as i understood it cinepak was natively supported.
>
> Thanks for the help
>
> Phil
>
Seems to be. I see 2 anomalies: the input bitrate (20MEGAbits!) and the
output fps.
--
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/
More information about the ffmpeg-devel
mailing list