Re: [FFmpeg-devel] [PATCH] libavformat/dashdec: Add a re-entrance check point after an interrupt operation

2018-08-29 Thread Liu Steven
> 在 2018年8月9日,上午2:09,Colin NG 写道: > > --- > libavformat/dashdec.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c > index 5730252..310dc20 100644 > --- a/libavformat/dashdec.c > +++ b/libavformat/dashdec.c > @@ -1764,6 +1764,12 @@ sta

Re: [FFmpeg-devel] avformat/dashdec: Fix calc_cur_seg_no if availability_start_time not

2018-08-29 Thread Liu Steven
> 在 2018年8月22日,上午7:36,Steven Liu 写道: > > > >> On Aug 21, 2018, at 20:33, jacek jendrzej wrote: >> >> Hi. >> Here is an example: >> http://vm2.dashif.org/livesim-dev/testpic_2s/Manifest.mpd >> >> ffplay http://vm2.dashif.org/livesim-dev/testpic_2s/Manifest.mpd >> ffplay version N-91650-g697

Re: [FFmpeg-devel] make work (live) libsrt

2018-08-29 Thread Marton Balint
On Wed, 29 Aug 2018, Tudor Suciu wrote: Hello Marton, And should simply set SRTO_PACKETSIZE to our pkt_size parameter if we don't want the libsrt default 1356. At least for the specific case of mpegts I believe it's much better to have fixed size packets(188x*). It helps error recovery if

[FFmpeg-devel] [PATCH v2] avcodec/mips: [loongson] reoptimize simple idct with mmi.

2018-08-29 Thread Shiyou Yin
Performance of mpeg4 decoding improved about 23%(from 128fps to 158fps, tested on loongson 3A3000). Reoptimized following functions with mmi. 1. ff_simple_idct_put_8_mmi 2. ff_simple_idct_add_8_mmi 3. ff_simple_idct_8_mmi Change-Id: I109939240d31ccb74127431c92daabcbc3f3aa03 --- libavcodec/mips/i

[FFmpeg-devel] [PATCH] frei0r: handle string params

2018-08-29 Thread Raphael Graf
This is needed for some of the frei0r filters (facebl0r and facedetect) which accept string parameters. Fixes the issue described here: http://www.ffmpeg-archive.org/Unable-to-set-ffmpeg-frei0r-facedetect-filter-parameter-td4680190.html Signed-off-by: Raphael Graf --- libavfilter/vf_frei0r.c

[FFmpeg-devel] [PATCH V7 1/3] lavc/vaapi_encode: Add max slices number query.

2018-08-29 Thread Jun Zhao
From: Jun Zhao Add max slices number query. Signed-off-by: Jun Zhao --- libavcodec/vaapi_encode.c |4 libavcodec/vaapi_encode.h |4 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c index 313f551..e4a104e 1006

[FFmpeg-devel] [PATCH V7 2/3] lavc/vaapi_encode_h264: respect "slices" option in h264 vaapi encoder

2018-08-29 Thread Jun Zhao
Enable multi-slice support in AVC/H.264 vaapi encoder. Signed-off-by: Wang, Yi A Signed-off-by: Jun Zhao --- libavcodec/vaapi_encode_h264.c | 39 ++- 1 files changed, 34 insertions(+), 5 deletions(-) diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec

[FFmpeg-devel] [PATCH V7 3/3] lavc/vaapi_encode_h265: respect "slices" option in h265 vaapi encoder

2018-08-29 Thread Jun Zhao
Enable multi-slice support in HEVC/H.265 vaapi encoder. Signed-off-by: Wang, Yi A Signed-off-by: Jun Zhao --- libavcodec/vaapi_encode_h265.c | 41 ++- 1 files changed, 35 insertions(+), 6 deletions(-) diff --git a/libavcodec/vaapi_encode_h265.c b/libavcode

[FFmpeg-devel] [PATCH V7 0/3] enable multi-slices in vaapi_h264/265 encoder

2018-08-29 Thread Jun Zhao
V7: - Fix h264 first_mb_in_slice setting issue. (root cause by Mark) - Refine the error handle V6: - Use rectangular slices and refine the code. V5: - In h265_vaapi encoder, when setting slice number > max slice number supported by driver, report error and return. Same as h264_vaapi.

Re: [FFmpeg-devel] [PATCH] ffmpeg.c: add an option "detail_stats" to allow ffmpeg to output stats for each stream

2018-08-29 Thread Michael Niedermayer
On Mon, Aug 27, 2018 at 11:48:46PM -0700, Wang Cao wrote: > From: Wang Cao > > Add an option "detail_stats" to ffmpeg to output stats for each video/audio > streams and each ouptut file ffmpeg output log in print_report. The format of > stats is unchanged. this changes -progress output ./ffmp

Re: [FFmpeg-devel] make work (live) libsrt

2018-08-29 Thread Tudor Suciu
Well, when this is done, working, we can begin to talk business: -add an option to ffmpeg to drop unused input data like srt-file-transmit (before first client connects) -add an option/document if it's already working to ffmpeg to have multiple srt clients like gstreamer Regards, On Wed, Aug 29,

[FFmpeg-devel] [PATCH]tests/ref/fate/pixelutils: Add a newline

2018-08-29 Thread Carl Eugen Hoyos
Hi! Attached patch fixes fate-pixelutils on aix. Please comment, Carl Eugen From 2ec8e85758d83bbe44057a454a6490692465dcfc Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 29 Aug 2018 23:26:01 +0200 Subject: [PATCH] tests/ref/fate/pixelutils: Add a newline. Fixes fate-pixelutils on aix

Re: [FFmpeg-devel] [PATCH] avformat/utils: Don't parse encrypted packets.

2018-08-29 Thread Michael Niedermayer
On Tue, Aug 28, 2018 at 10:58:43AM -0700, Jacob Trimble wrote: > If a packet is full-sample encrypted, then packet data can't be parsed > without decrypting it. So this skips the packet parsing for those > packets. If the packet has sub-sample encryption, it is assumed that > the headers are in t

Re: [FFmpeg-devel] [PATCH] avformat/utils: Don't parse encrypted packets.

2018-08-29 Thread James Almer
On 8/29/2018 7:07 PM, Michael Niedermayer wrote: > On Tue, Aug 28, 2018 at 10:58:43AM -0700, Jacob Trimble wrote: >> If a packet is full-sample encrypted, then packet data can't be parsed >> without decrypting it. So this skips the packet parsing for those >> packets. If the packet has sub-sample

Re: [FFmpeg-devel] [PATCH] fate: add 10-bit test for hue video filter

2018-08-29 Thread Michael Niedermayer
On Tue, Aug 28, 2018 at 01:16:03PM +0200, Tobias Rapp wrote: > Signed-off-by: Tobias Rapp > --- > tests/fate/filter-video.mak | 3 +++ > tests/ref/fate/filter-hue4 | 1 + > 2 files changed, 4 insertions(+) > create mode 100644 tests/ref/fate/filter-hue4 > > diff --git a/tests/fate/filter-video

Re: [FFmpeg-devel] [PATCH] avformat/utils: Don't parse encrypted packets.

2018-08-29 Thread Jacob Trimble
On Wed, Aug 29, 2018 at 3:20 PM James Almer wrote: > > On 8/29/2018 7:07 PM, Michael Niedermayer wrote: > > On Tue, Aug 28, 2018 at 10:58:43AM -0700, Jacob Trimble wrote: > >> If a packet is full-sample encrypted, then packet data can't be parsed > >> without decrypting it. So this skips the pack

Re: [FFmpeg-devel] [PATCH] avformat/utils: Don't parse encrypted packets.

2018-08-29 Thread Michael Niedermayer
On Wed, Aug 29, 2018 at 03:30:39PM -0700, Jacob Trimble wrote: > On Wed, Aug 29, 2018 at 3:20 PM James Almer wrote: > > > > On 8/29/2018 7:07 PM, Michael Niedermayer wrote: > > > On Tue, Aug 28, 2018 at 10:58:43AM -0700, Jacob Trimble wrote: > > >> If a packet is full-sample encrypted, then packet

Re: [FFmpeg-devel] [PATCH 1/1] libavformat/mxfenc: add missing dnxhr mxf container essence ULs

2018-08-29 Thread Baptiste Coudurier
Hey Jay, On Sun, Aug 26, 2018 at 12:20 AM wrote: > Baptiste you are right that DNxHR is variable frame size (0) from > avpriv_dnxhd_get_frame_size and that it breaks the index. > > is there a reason not to use the pkt->size as frame_size since DNxHR is a > constant frame_size for a given resolut

Re: [FFmpeg-devel] [PATCH]tests/ref/fate/pixelutils: Add a newline

2018-08-29 Thread myp...@gmail.com
On Thu, Aug 30, 2018 at 5:36 AM Carl Eugen Hoyos wrote: > > Hi! > > Attached patch fixes fate-pixelutils on aix. > > Please comment, Carl Eugen LGTM ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH v2] avcodec/mips: [loongson] reoptimize h264_chroma_mc8_mmi v2.

2018-08-29 Thread Shiyou Yin
Reoptimize function ff_put_h264_chroma_mc8_mmi and ff_avg_h264_chroma_mc8_mmi. Performance of h264 decoding improved about 5%(from 69fps to 73fps, tested on loongson 3A3000). Change-Id: Iccd7f4e480b2d0bfc47e4d409874c4adb77416cc --- libavcodec/mips/h264chroma_mmi.c | 744 -

[FFmpeg-devel] [PATCH 1/2] Fix typos

2018-08-29 Thread Michael Bunk
--- libavcodec/qsvenc_h264.c | 2 +- libavutil/avassert.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/qsvenc_h264.c b/libavcodec/qsvenc_h264.c index 7aa65e9..dfa4666 100644 --- a/libavcodec/qsvenc_h264.c +++ b/libavcodec/qsvenc_h264.c @@ -1,5 +1,5 @@ /* -

[FFmpeg-devel] [PATCH 2/2] examples: Fix use of AV_CODEC_FLAG_GLOBAL_HEADER

2018-08-29 Thread Michael Bunk
AV_CODEC_FLAG_GLOBAL_HEADER should be set before calling avcodec_open2() to have any effect. --- doc/examples/transcoding.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/examples/transcoding.c b/doc/examples/transcoding.c index a83fa3a..e48837c 100644 --- a/doc/exam