Bug#530016: [ffmpeg] qtrle 1:1 conversation creates bigger files

Resul Cetin Resul-Cetin at gmx.net
Fri May 22 21:15:00 UTC 2009


Package: ffmpeg
Version: 4:0.5+svn20090420-2
Severity: normal

Hi,
i created a screencast using different tools and noticed that ffmpegs qtrle
produces real huges files. This seems to be also a problem when reencoding
qtrle files produced by ffmpeg to qtrle again. As example I created a small
cast. It uses 0,6MiB in space and after the 1:1 conversation it uses
22MiB. This is quite bad because their shouldn't be any difference.

$ ffmpeg -r 10 -g 300 -s 1024x768x16 -f x11grab -i :0.0 -vcodec qtrle ~/Desktop/test1.mov
FFmpeg version SVN-r18630-4:0.5+svn20090420-2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --disable-encoder=h263 --disable-encoder=h263p --disable-encoder=mpeg2video --disable-encoder=mpeg4 --disable-encoder=msmpeg4v1 
--disable-encoder=msmpeg4v2 --disable-encoder=msmpeg4v3 --extra-version=4:0.5+svn20090420-2 --prefix=/usr --enable-avfilter --enable-avfilter-
lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --
disable-vhook --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdc1394 --enable-shared --disable-
static
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on May  8 2009 06:31:25, gcc: 4.3.3
[x11grab @ 0x1961ab0]device: :0.0 -> display: :0.0 x: 0 y: 0 width: 1024 height: 768
[x11grab @ 0x1961ab0]shared memory extension  found
Input #0, x11grab, from ':0.0':
  Duration: N/A, start: 1242998527.508596, bitrate: 251658 kb/s
    Stream #0.0: Video: rawvideo, rgb32, 1024x768, 251658 kb/s, 10 tbr, 1000k tbn, 10 tbc
Output #0, mov, to '~/Desktop/test1.mov':
    Stream #0.0: Video: qtrle, rgb24, 1024x768, q=2-31, 200 kb/s, 90k tbn, 10 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=   52 fps= 10 q=0.0 Lsize=     682kB time=11.80 bitrate= 473.6kbits/s
video:681kB audio:0kB global headers:0kB muxing overhead 0.160293%
$ du -sh ~/Desktop/test1.mov
684K    ~/Desktop/test1.mov
$ ffmpeg -i Desktop/test1.mov  -vcodec qtrle reencoded.mov
FFmpeg version SVN-r18630-4:0.5+svn20090420-2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --disable-encoder=h263 --disable-encoder=h263p --disable-encoder=mpeg2video --disable-encoder=mpeg4 --disable-encoder=msmpeg4v1 
--disable-encoder=msmpeg4v2 --disable-encoder=msmpeg4v3 --extra-version=4:0.5+svn20090420-2 --prefix=/usr --enable-avfilter --enable-avfilter-
lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --
disable-vhook --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdc1394 --enable-shared --disable-
static
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on May  8 2009 06:31:25, gcc: 4.3.3
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Desktop/test1.mov':
  Duration: 00:00:11.80, start: 0.000000, bitrate: 473 kb/s
    Stream #0.0(eng): Video: qtrle, rgb24, 1024x768, 10 tbr, 10 tbn, 10 tbc
Output #0, mov, to 'reencoded.mov':
    Stream #0.0(eng): Video: qtrle, rgb24, 1024x768, q=2-31, 200 kb/s, 90k tbn, 10 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=   52 fps= 15 q=0.0 Lsize=   21919kB time=11.80 bitrate=15216.7kbits/s
video:21917kB audio:0kB global headers:0kB muxing overhead 0.005053%
$ du -sh ~/reencoded.mov
22M     ~/reencoded.mov


--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.29-2-amd64

Debian Release: squeeze/sid
  500 unstable        ftp.debian.org 
  500 unstable        debian-multimedia.informatik.uni-erlangen.de 
  500 stable          ftp.debian.org 
    1 experimental    ftp.debian.org 

--- Package information. ---
Depends                                        (Version) | Installed
========================================================-+-===========================
libavcodec52                     (>= 4:0.5+svn20090420)  | 4:0.5+svn20090420-2
 OR libavcodec-unstripped-52      (>= 4:0.5+svn20090420) | 
libavcodec52                  (<< 4:0.5+svn20090420-99)  | 4:0.5+svn20090420-2
 OR libavcodec-unstripped-52   (<< 4:0.5+svn20090420-99) | 
libavdevice52                    (>= 4:0.5+svn20090420)  | 4:0.5+svn20090420-2
 OR libavdevice-unstripped-52     (>= 4:0.5+svn20090420) | 
libavdevice52                 (<< 4:0.5+svn20090420-99)  | 4:0.5+svn20090420-2
 OR libavdevice-unstripped-52  (<< 4:0.5+svn20090420-99) | 
libavfilter0                     (>= 4:0.5+svn20090420)  | 4:0.5+svn20090420-2
 OR libavfilter-unstripped-0      (>= 4:0.5+svn20090420) | 
libavfilter0                  (<< 4:0.5+svn20090420-99)  | 4:0.5+svn20090420-2
 OR libavfilter-unstripped-0   (<< 4:0.5+svn20090420-99) | 
libavformat52                    (>= 4:0.5+svn20090420)  | 4:0.5+svn20090420-2
 OR libavformat-unstripped-52     (>= 4:0.5+svn20090420) | 
libavformat52                 (<< 4:0.5+svn20090420-99)  | 4:0.5+svn20090420-2
 OR libavformat-unstripped-52  (<< 4:0.5+svn20090420-99) | 
libavutil49                      (>= 4:0.5+svn20090420)  | 4:0.5+svn20090420-2
 OR libavutil-unstripped-49       (>= 4:0.5+svn20090420) | 
libavutil49                   (<< 4:0.5+svn20090420-99)  | 4:0.5+svn20090420-2
 OR libavutil-unstripped-49    (<< 4:0.5+svn20090420-99) | 
libc6                                           (>= 2.7) | 2.9-12
libpostproc51                    (>= 4:0.5+svn20090420)  | 4:0.5+svn20090420-2
 OR libpostproc-unstripped-51     (>= 4:0.5+svn20090420) | 
libpostproc51                 (<< 4:0.5+svn20090420-99)  | 4:0.5+svn20090420-2
 OR libpostproc-unstripped-51  (<< 4:0.5+svn20090420-99) | 
libsdl1.2debian                            (>= 1.2.10-1) | 1.2.13-4+b1
libswscale0                      (>= 4:0.5+svn20090420)  | 4:0.5+svn20090420-2
 OR libswscale-unstripped-0       (>= 4:0.5+svn20090420) | 
libswscale0                   (<< 4:0.5+svn20090420-99)  | 4:0.5+svn20090420-2
 OR libswscale-unstripped-0    (<< 4:0.5+svn20090420-99) | 


Package's Recommends field is empty.

Package's Suggests field is empty.









More information about the pkg-multimedia-maintainers mailing list