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

FFmpeg trac at avcodec.org
Sat Jan 7 17:32:41 EET 2017


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

 * status:  closed => reopened
 * resolution:  wontfix =>


Comment:

 {{{
 $ ffmpeg -f lavfi -i testsrc=s=hd1080 -vcodec utvideo -t 60 out.avi
 }}}
 {{{
 $ time ./ffmpeg -benchmark -i out.avi -f null -
 ffmpeg version N-83022-g0006384 Copyright (c) 2000-2017 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --cc='gcc -m32'
   libavutil      55. 43.100 / 55. 43.100
   libavcodec     57. 71.100 / 57. 71.100
   libavformat    57. 62.100 / 57. 62.100
   libavdevice    57.  2.100 / 57.  2.100
   libavfilter     6. 68.100 /  6. 68.100
   libswscale      4.  3.101 /  4.  3.101
   libswresample   2.  4.100 /  2.  4.100
 Input #0, avi, from 'out.avi':
   Metadata:
     encoder         : Lavf55.48.100
   Duration: 00:01:00.00, start: 0.000000, bitrate: 171715 kb/s
     Stream #0:0: Video: utvideo (ULRG / 0x47524C55), rgb24, 1920x1080,
 171823 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc
 Output #0, null, to 'pipe:':
   Metadata:
     encoder         : Lavf57.62.100
     Stream #0:0: Video: wrapped_avframe, rgb24, 1920x1080 [SAR 1:1 DAR
 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
     Metadata:
       encoder         : Lavc57.71.100 wrapped_avframe
 Stream mapping:
   Stream #0:0 -> #0:0 (utvideo (native) -> wrapped_avframe (native))
 Press [q] to stop, [?] for help
 frame= 1500 fps=156 q=-0.0 Lsize=N/A time=00:01:00.00 bitrate=N/A
 speed=6.22x
 video:545kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 bench: utime=69.007s
 bench: maxrss=80832kB

 real    0m9.651s
 user    1m9.011s
 sys     0m0.670s
 }}}
 {{{
 $ time ./ffmpeg -benchmark -i out.avi -f null -
 ffmpeg version N-63402-g308188b Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Jan  7 2017 16:23:03 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.48.100
   Duration: 00:01:00.00, start: 0.000000, bitrate: 171715 kb/s
     Stream #0:0: Video: utvideo (ULRG / 0x47524C55), bgr24, 1920x1080,
 171823 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 @ 0x9cd2c00] Encoder did not produce proper pts, making some up.
 frame= 1500 fps=132 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.979s
 bench: maxrss=22828kB

 real    0m11.342s
 user    0m40.982s
 sys     0m2.014s
 }}}

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


More information about the FFmpeg-trac mailing list