[FFmpeg-devel] rawvideo bitrate wrong?

Tim leopdong
Thu Dec 4 07:09:50 CET 2008


 
>here, I have a headache problem, maybe you can help me.

>         I try to use ffmpeg to convert an 1920*1080 29.97fps video to an uncompressed video .
>>        My command : ffmpeg -i D:\temp\avi2bmp\Mantis.0000.ts -f rawvideo -vcodec rawvideo -sameq -r 29.97 g:\mantis.avi
        the bitrate=751274.3kbits/s

>         but if we calculate the bitrate as below method , we should get 1.4 Gibps (1024-based)
>         so I don?t understand why the 2 result are not the same. 
>Input parameters?
>Pixel size:1920x1080
>Framerate: 30fps
>Color model:RGB 4:4:4 (common for computer)>
>Color depth: 8 bits/color 
>Moving image?
>Uncompressed bitrate:1.4 Gibps (1024-based)(rgb444, 8 bits/comp, 30fps)
>
>         Below is the detail 
>D:\ffmpeg>ffmpeg -i D:\temp\avi2bmp\Mantis.0000.ts -f rawvideo -vcodec rawvideo
>-sameq -r 29.97 g:\mantis.avi
>FFmpeg version SVN-r12665, Copyright (c) 2000-2008 Fabrice Bellard, et al.
>  configuration: --enable-gpl --enable-postproc --enable-swscale --enable-avfilt
>er-lavf --enable-pthreads --enable-liba52 --enable-avisynth --enable-libfaac --e
>nable-libfaad --enable-libgsm --enable-memalign-hack --enable-libmp3lame --enabl
>e-libnut --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
> --cpu=i686 --extra-ldflags=-static
>  libavutil version: 49.6.0
>  libavcodec version: 51.54.0
>  libavformat version: 52.13.0
>  libavdevice version: 52.0.0
>  built on Apr  2 2008 22:35:11, gcc: 4.2.3
>Input #0, mpegts, from 'D:\temp\avi2bmp\Mantis.0000.ts':
>  Duration: 00:08:11.7, start: 92.610322, bitrate: 17466 kb/s
>  Program 1
>    Stream #0.0[0x11]: Video: mpeg2video, yuv420p, 1920x1088 [PAR 136:135 DAR 16
>:9], 65000 kb/s, 29.97 tb(r)
>    Stream #0.1[0x14]: Audio: liba52, 48000 Hz, stereo, 384 kb/s
>File 'g:\mantis.avi' already exists. Overwrite ? [y/N] y
>Output #0, rawvideo, to 'g:\mantis.avi':
>    Stream #0.0: Video: rawvideo, yuv420p, 1920x1088 [PAR 136:135 DAR 16:9], q=2
>-31, 200 kb/s, 29.97 tb(c)
>Stream mapping:
>  Stream #0.0 -> #0.0
>Press [q] to stop encoding
>frame=   87 fps= 29 q=0.0 Lsize=  266220kB time=2.9 bitrate=751274.3kbits/s
>video:241740kB audio:0kB global headers:0kB muxing overhead 10.126582%




More information about the ffmpeg-devel mailing list