[FFmpeg-trac] #3651(avcodec:open): UT Video Codec is inefficient compared to libutvideo

FFmpeg trac at avcodec.org
Sat May 24 11:20:50 CEST 2014


#3651: UT Video Codec is inefficient compared to libutvideo
-------------------------------------+-----------------------------------
             Reporter:  Zerowalker   |                    Owner:
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  utvideo      |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------

Comment (by cehoyos):

 I tested with the following file:
 {{{
 $ ffmpeg -f lavfi -i testsrc=s=hd1080 -vcodec utvideo -t 60 out.avi
 }}}
 {{{
 $  time ./ffmpeg -benchmark -i out.avi -f null -
 ffmpeg version N-63402-g308188b Copyright (c) 2000-2014 the FFmpeg
 developers
   built on May 24 2014 11:12:43 with gcc 4.7 (SUSE Linux)
   configuration: --cc='gcc -m32'
   libavutil      52. 86.100 / 52. 86.100
   libavcodec     55. 64.100 / 55. 64.100
   libavformat    55. 40.100 / 55. 40.100
   libavdevice    55. 13.101 / 55. 13.101
   libavfilter     4.  5.100 /  4.  5.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 19.100 /  0. 19.100
 Input #0, avi, from 'out.avi':
   Metadata:
     encoder         : Lavf55.40.100
   Duration: 00:01:00.00, start: 0.000000, bitrate: 171716 kb/s
     Stream #0:0: Video: utvideo (ULRG / 0x47524C55), rgb24, 1920x1080,
 171824 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc
 Output #0, null, to 'pipe:':
   Metadata:
     encoder         : Lavf55.40.100
     Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1920x1080
 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 90k tbn, 25 tbc
     Metadata:
       encoder         : Lavc55.64.100 rawvideo
 Stream mapping:
   Stream #0:0 -> #0:0 (utvideo -> rawvideo)
 Press [q] to stop, [?] for help
 [null @ 0xb1fca40] Encoder did not produce proper pts, making some up.
 frame= 1500 fps=162 q=0.0 Lsize=N/A time=00:01:00.00 bitrate=N/A
 video:94kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 19215359412273152.000000%
 bench: utime=69.881s
 bench: maxrss=71984kB

 real    0m9.276s
 user    1m9.883s
 sys     0m0.707s
 }}}
 {{{
 $ time ./ffmpeg -benchmark -i out.avi -f null -
 ffmpeg version N-63402-g308188b Copyright (c) 2000-2014 the FFmpeg
 developers
   built on May 24 2014 11:17:02 with gcc 4.7 (SUSE Linux)
   configuration: --cc='gcc -m32' cxx='gcc -m32' --enable-libutvideo
 --disable-decoder=utvideo --enable-gpl
   libavutil      52. 86.100 / 52. 86.100
   libavcodec     55. 64.100 / 55. 64.100
   libavformat    55. 40.100 / 55. 40.100
   libavdevice    55. 13.101 / 55. 13.101
   libavfilter     4.  5.100 /  4.  5.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 19.100 /  0. 19.100
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, avi, from 'out.avi':
   Metadata:
     encoder         : Lavf55.40.100
   Duration: 00:01:00.00, start: 0.000000, bitrate: 171716 kb/s
     Stream #0:0: Video: utvideo (ULRG / 0x47524C55), bgr24, 1920x1080,
 171824 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc
 Output #0, null, to 'pipe:':
   Metadata:
     encoder         : Lavf55.40.100
     Stream #0:0: Video: rawvideo (BGR[24] / 0x18524742), bgr24, 1920x1080
 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 90k tbn, 25 tbc
     Metadata:
       encoder         : Lavc55.64.100 rawvideo
 Stream mapping:
   Stream #0:0 -> #0:0 (libutvideo -> rawvideo)
 Press [q] to stop, [?] for help
 [null @ 0xac54c00] Encoder did not produce proper pts, making some up.
 frame= 1500 fps=133 q=0.0 Lsize=N/A time=00:01:00.00 bitrate=N/A
 video:94kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 19215359412273152.000000%
 bench: utime=40.733s
 bench: maxrss=24320kB

 real    0m11.317s
 user    0m40.739s
 sys     0m2.059s
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3651#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list