1. 28 Nov, 2019 15 commits
  2. 27 Nov, 2019 3 commits
  3. 26 Nov, 2019 3 commits
  4. 25 Nov, 2019 3 commits
    • Limin Wang's avatar
      avcodec/v210dec: add support for frame and slice threading · d07d1c1d
      Limin Wang authored
      1, Test server configure:
      [root@localhost ~]# cat /proc/cpuinfo  |grep "model name"
       model name      : Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz
       model name      : Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz
       ...
      
      [root@localhost ~]# free -h
                    total        used        free      shared  buff/cache   available
                    Mem:           102G        1.1G        100G         16M        657M        100G
                    Swap:          4.0G          0B        4.0G
      
      2, Test result:
      encode the v210 input data for testing:
      ./ffmpeg -y -i 4k_422.ts  -c:v v210 -vframes 10 test.avi
      
      master:
      ./ffmpeg -y -threads 1 -stream_loop 1000 -i ./test.avi -benchmark -f null -
      frame=10010 fps= 60 q=-0.0 Lsize=N/A time=00:38:26.30 bitrate=N/A speed=13.7x
      video:5240kB audio:432432kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
      bench: utime=101.869s stime=66.181s rtime=167.996s
      bench: maxrss=186552kB
      
      patch applied:
      ./ffmpeg -y -threads 2 -thread_type slice -stream_loop 1000 -i ./test.avi -benchmark -f null -
      frame=10010 fps= 72 q=-0.0 Lsize=N/A time=00:38:26.30 bitrate=N/A speed=16.5x
      video:5240kB audio:432432kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
      bench: utime=103.562s stime=74.858s rtime=139.599s
      bench: maxrss=188616kB
      
      ./ffmpeg -y -threads 2 -thread_type frame -stream_loop 1000 -i ./test.avi -benchmark -f null -
      frame=10010 fps= 85 q=-0.0 Lsize=N/A time=00:38:26.30 bitrate=N/A speed=19.6x
      video:5240kB audio:432432kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
      bench: utime=114.310s stime=92.685s rtime=117.693s
      bench: maxrss=231896kB
      Signed-off-by: 's avatarLimin Wang <lance.lmwang@gmail.com>
      Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
      d07d1c1d
    • Limin Wang's avatar
      avcodec/v410dec: add support for frame and slice threading · f0dbeb5e
      Limin Wang authored
      1, Test server configure:
      [root@localhost ~]# cat /proc/cpuinfo  |grep "model name"
      model name	: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz
      model name	: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz
      ...
      
      [root@localhost ~]# free -h
                    total        used        free      shared  buff/cache   available
                    Mem:           102G        1.1G        100G         16M        657M        100G
                    Swap:          4.0G          0B        4.0G
      
      2, Test result:
      encode the v410 input data for testing:
       ./ffmpeg -y -i 4k_422.ts  -c:v v410 -vframes 10 test.avi
      
      master:
      ./ffmpeg -y -stream_loop 1000 -i ./test.avi -benchmark -f null -
      frame=10010 fps= 37 q=-0.0 Lsize=N/A time=00:38:26.30 bitrate=N/A speed= 8.6x
      video:5240kB audio:432432kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
      bench: utime=166.016s stime=102.192s rtime=268.120s
      bench: maxrss=273400kB
      
      patch applied:
      ./ffmpeg -y -threads 2 -thread_type slice -stream_loop 1000 -i ./test.avi -benchmark -f null -
      frame=10010 fps= 53 q=-0.0 Lsize=N/A time=00:38:26.30 bitrate=N/A speed=12.3x
      video:5240kB audio:432432kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
      bench: utime=165.135s stime=100.456s rtime=187.994s
      bench: maxrss=275476kB
      
      ./ffmpeg -y -threads 2 -thread_type frame -stream_loop 1000 -i ./test.avi -benchmark -f null -
      frame=10010 fps= 61 q=-0.0 Lsize=N/A time=00:38:26.30 bitrate=N/A speed=14.1x
      video:5240kB audio:432432kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
      bench: utime=171.386s stime=122.102s rtime=163.637s
      bench: maxrss=340308kB
      Signed-off-by: 's avatarLimin Wang <lance.lmwang@gmail.com>
      Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
      f0dbeb5e
    • Steven Liu's avatar
      avformat/hls: add option for the m3u8 list load max times · d5e3d8e2
      Steven Liu authored
      set max times for load m3u8 when the m3u8 list refresh do not with new
      segments any times.
      Signed-off-by: 's avatarSteven Liu <lq@chinaffmpeg.org>
      d5e3d8e2
  5. 24 Nov, 2019 15 commits
  6. 23 Nov, 2019 1 commit