- 30 11月, 2019 11 次提交
-
-
由 Andriy Gelman 提交于
Signed-off-by: NAndriy Gelman <andriy.gelman@gmail.com> Signed-off-by: NJames Almer <jamrial@gmail.com>
-
由 Andreas Rheinhardt 提交于
This happens if allocating extradata fails and s->remove is unset. Reviewed-by: NPaul B Mahol <onemda@gmail.com> Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: NJames Almer <jamrial@gmail.com>
-
由 James Almer 提交于
Skip the avcC specific size bytes and the NAL header bits. Signed-off-by: NJames Almer <jamrial@gmail.com>
-
由 James Almer 提交于
Signed-off-by: NJames Almer <jamrial@gmail.com>
-
由 James Almer 提交于
This is required to demux annexb samples when a decoder isn't available. Signed-off-by: NJames Almer <jamrial@gmail.com>
-
由 James Almer 提交于
This uses a raw h264 bitstream as source, in order to test the avcC generation code. Signed-off-by: NJames Almer <jamrial@gmail.com>
-
由 James Almer 提交于
Signed-off-by: NJames Almer <jamrial@gmail.com>
-
由 Zhao Zhili 提交于
Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Andreas Rheinhardt 提交于
Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Paul B Mahol 提交于
-
由 Paul B Mahol 提交于
-
- 29 11月, 2019 16 次提交
-
-
由 Jun Zhao 提交于
fix potential null pointer dereference Signed-off-by: NJun Zhao <barryjzhao@tencent.com>
-
由 Jun Zhao 提交于
check avformat_new_stream() return. Reviewed-by: NMichael Niedermayer <michael@niedermayer.cc> Signed-off-by: NJun Zhao <barryjzhao@tencent.com>
-
由 Limin Wang 提交于
Signed-off-by: NLimin Wang <lance.lmwang@gmail.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Andreas Rheinhardt 提交于
Put an AVIOContext whose lifetime doesn't extend beyond the function where it is allocated on the stack instead of allocating and freeing it. This also avoids the need to free it, which in this case fixes possible memleaks on error. Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 James Almer 提交于
Signed-off-by: NJames Almer <jamrial@gmail.com>
-
由 Andreas Rheinhardt 提交于
By using avio_get_dyn_buf() + ffio_free_dyn_buf() instead of avio_close_dyn_buf() + av_free() one can avoid an allocation + copy for small dynamic buffers. Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
-
由 Andreas Rheinhardt 提交于
By using avio_get_dyn_buf() + ffio_free_dyn_buf() instead of avio_close_dyn_buf() + av_free() one can avoid an allocation + copy for small dynamic buffers (i.e. small master elements). Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
-
由 Andreas Rheinhardt 提交于
By using avio_get_dyn_buf() + ffio_free_dyn_buf() instead of avio_close_dyn_buf() + av_free() one can avoid an allocation + copy for small tags. Furthermore, it simplifies freeing. Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
-
由 Andreas Rheinhardt 提交于
By using avio_get_dyn_buf() + ffio_free_dyn_buf() instead of avio_close_dyn_buf() + av_free() one can avoid an allocation + copy for small extradata. Furthermore, it simplifies freeing. Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
-
由 Andreas Rheinhardt 提交于
By using avio_get_dyn_buf() + ffio_free_dyn_buf() instead of avio_close_dyn_buf() + av_free() one can avoid an allocation + copy for small headers. Furthermore, it simplifies freeing. Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
-
由 Andreas Rheinhardt 提交于
By using avio_get_dyn_buf() + ffio_free_dyn_buf() instead of avio_close_dyn_buf() + av_free() one can avoid an allocation + copy for small tags. Furthermore, it simplifies freeing. Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
-
由 Andreas Rheinhardt 提交于
Up until now, using a dynamic buffer entailed at least three allocations: One for the AVIOContext, one for the AVIOContext's opaque (which, among other things, contains the small write buffer), and one for the big buffer that is independently allocated that is returned when calling avio_close_dyn_buf(). It is possible to avoid the third allocation if one doesn't use a packetized dynamic buffer, if all the data written so far fit into the write buffer and if one does not require the actual (big) buffer to have an indefinite lifetime. This is done by making avio_get_dyn_buf() return a pointer to the data in the write buffer if nothing has been written to the main buffer yet. The dynamic buffer will then be freed using ffio_free_dynamic_buffer (which needed to be modified not to call avio_close_dyn_buf() internally). So a typical use-case like: size = avio_close_dyn_buf(dyn_pb, &buf); do something with buf av_free(buf); can be converted to: size = avio_get_dyn_buf(dyn_pb, &buf); do something with buf ffio_free_dynamic_buffer(&dyn_pb); In more complex scenarios this can simplify freeing as well, because it is now clear that freeing always has to be performed via ffio_free_dynamic_buffer(). Of course, in case this saves an allocation it also saves a memcpy. Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
-
由 Limin Wang 提交于
Reviewed-by: NPaul B Mahol <onemda@gmail.com> Signed-off-by: NLimin Wang <lance.lmwang@gmail.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Andreas Rheinhardt 提交于
The extradata is not changed at all. Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Zhao Zhili 提交于
webp decoder doesn't set update_thread_context field $ ffmpeg -i rgb_q80.webp -f null - [webp @ 0x7ffbd5823200] Multiple ff_thread_finish_setup() calls Reviewed-by: NPeter Ross <pross@xvid.org> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Limin Wang 提交于
Signed-off-by: NLimin Wang <lance.lmwang@gmail.com> Reviewed-by: NPaul B Mahol <onemda@gmail.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
- 28 11月, 2019 6 次提交
-
-
由 Linjie Fu 提交于
Signed-off-by: NLinjie Fu <linjie.fu@intel.com>
-
由 Zhong Li 提交于
Reviewed-by: NGyan Doshi <ffmpeg@gyani.pro> Signed-off-by: NZhong Li <zhongli_dev@126.com>
-
由 Zhong Li 提交于
Signed-off-by: NZhong Li <zhongli_dev@126.com>
-
由 Thierry Foucu 提交于
Disable by default to output all the layers, to match libaomdec wrapper. Add option to select the operating point for the spatial layers. Update the documentation with the new options. Signed-off-by: NJames Almer <jamrial@gmail.com>
-
由 Paul B Mahol 提交于
-
由 Paul B Mahol 提交于
-
- 27 11月, 2019 2 次提交
-
-
由 Steven Liu 提交于
Suggested-by: NGyan <ffmpeg@gyani.pro> Suggested-by: NRodney Baker <rodney.baker@iinet.net.au> Signed-off-by: NSteven Liu <lq@chinaffmpeg.org>
-
由 Carl Eugen Hoyos 提交于
Reported and tested by Sean Darcy.
-
- 26 11月, 2019 2 次提交
-
-
由 Oleg Dobkin 提交于
Signed-off-by: NTimo Rothenpieler <timo@rothenpieler.org>
-
由 Steven Liu 提交于
fix ticket: 8388 Reviewed-by: NJan Ekström <jeebjp@gmail.com> Signed-off-by: NSteven Liu <lq@chinaffmpeg.org>
-
- 25 11月, 2019 3 次提交
-
-
由 Limin Wang 提交于
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: NLimin Wang <lance.lmwang@gmail.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Limin Wang 提交于
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: NLimin Wang <lance.lmwang@gmail.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Steven Liu 提交于
set max times for load m3u8 when the m3u8 list refresh do not with new segments any times. Signed-off-by: NSteven Liu <lq@chinaffmpeg.org>
-