Re: [FFmpeg-devel] compile error caused by configure script's change

2017-03-25 Thread Masaru Nomiya
Hello, Sorry for late reply. In the Message; Subject: Re: [FFmpeg-devel] compile error caused by configure script's change Message-ID : <782762766.1879842.1490244866...@mail.yahoo.com> Date & Time: Thu, 23 Mar 2017 04:54:26 + (UTC) Dzung Hoang

Re: [FFmpeg-devel] [PATCH 1/2] ffprobe: support skip_samples packet side data information

2017-03-25 Thread James Almer
On 3/25/2017 4:25 PM, Rostislav Pehlivanov wrote: > On 25 March 2017 at 19:04, James Almer wrote: > >> Signed-off-by: James Almer >> --- >> ffprobe.c | 5 + >> 1 file changed, 5 insertions(+) >> >> diff --git a/ffprobe.c b/ffprobe.c >> index

Re: [FFmpeg-devel] [PATCH 4/6] avcodec/extract_extradata_bsf: use the parsing code from vc1_split()

2017-03-25 Thread James Almer
On 3/25/2017 9:53 PM, Michael Niedermayer wrote: > On Fri, Mar 24, 2017 at 07:31:45PM -0300, James Almer wrote: >> It's a simplifaction of the same code, originally commited as b4b9a64bdb6. >> >> Signed-off-by: James Almer >> --- >> libavcodec/extract_extradata_bsf.c | 18

Re: [FFmpeg-devel] [PATCH 5/6] avcodec/extract_extradata_bsf: use the parsing code from mpeg4video_split()

2017-03-25 Thread James Almer
On 3/25/2017 9:50 PM, Michael Niedermayer wrote: > On Fri, Mar 24, 2017 at 07:31:46PM -0300, James Almer wrote: >> It's a simplifaction of the same code, originally commited as 3b5ad8fbf77. >> >> Signed-off-by: James Almer >> --- >> libavcodec/extract_extradata_bsf.c | 12

Re: [FFmpeg-devel] [PATCH 1/6] avcodec/extract_extradata_bsf: use the parsing code from mpegvideo_split()

2017-03-25 Thread James Almer
On 3/25/2017 9:48 PM, Michael Niedermayer wrote: > On Fri, Mar 24, 2017 at 07:31:42PM -0300, James Almer wrote: >> Required by some samples, like PVA_test-partial.pva >> >> Signed-off-by: James Almer >> --- >> libavcodec/extract_extradata_bsf.c | 46 >>

Re: [FFmpeg-devel] [PATCH 4/6] avcodec/extract_extradata_bsf: use the parsing code from vc1_split()

2017-03-25 Thread Michael Niedermayer
On Fri, Mar 24, 2017 at 07:31:45PM -0300, James Almer wrote: > It's a simplifaction of the same code, originally commited as b4b9a64bdb6. > > Signed-off-by: James Almer > --- > libavcodec/extract_extradata_bsf.c | 18 +++--- > 1 file changed, 7 insertions(+), 11

Re: [FFmpeg-devel] [PATCH 5/6] avcodec/extract_extradata_bsf: use the parsing code from mpeg4video_split()

2017-03-25 Thread Michael Niedermayer
On Fri, Mar 24, 2017 at 07:31:46PM -0300, James Almer wrote: > It's a simplifaction of the same code, originally commited as 3b5ad8fbf77. > > Signed-off-by: James Almer > --- > libavcodec/extract_extradata_bsf.c | 12 ++-- > 1 file changed, 6 insertions(+), 6

Re: [FFmpeg-devel] [PATCH 1/6] avcodec/extract_extradata_bsf: use the parsing code from mpegvideo_split()

2017-03-25 Thread Michael Niedermayer
On Fri, Mar 24, 2017 at 07:31:42PM -0300, James Almer wrote: > Required by some samples, like PVA_test-partial.pva > > Signed-off-by: James Almer > --- > libavcodec/extract_extradata_bsf.c | 46 > ++ > 1 file changed, 37 insertions(+), 9

Re: [FFmpeg-devel] [PATCH 7/9] pthread_frame: do not run hwaccel decoding asynchronously unless it's safe

2017-03-25 Thread James Almer
On 3/25/2017 9:23 PM, Michael Niedermayer wrote: > On Sat, Mar 18, 2017 at 09:56:04AM +0100, wm4 wrote: >> From: Anton Khirnov >> >> Certain hardware decoding APIs are not guaranteed to be thread-safe, so >> having the user access decoded hardware surfaces while the decoder is

Re: [FFmpeg-devel] [PATCH 7/9] pthread_frame: do not run hwaccel decoding asynchronously unless it's safe

2017-03-25 Thread Michael Niedermayer
On Sat, Mar 18, 2017 at 09:56:04AM +0100, wm4 wrote: > From: Anton Khirnov > > Certain hardware decoding APIs are not guaranteed to be thread-safe, so > having the user access decoded hardware surfaces while the decoder is > running in another thread can cause failures (this

Re: [FFmpeg-devel] [PATCH 1/3] configure: use c++11 and fallback to c++0x for c++ files

2017-03-25 Thread James Almer
On 3/25/2017 8:51 PM, Marton Balint wrote: > Needed for the C+11 atomics. Also change add_cxxflags to check_cxxflags. > > Signed-off-by: Marton Balint > --- > configure | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure b/configure > index

Re: [FFmpeg-devel] fate/cineform : add test for yuv 10b

2017-03-25 Thread Michael Niedermayer
On Sat, Mar 25, 2017 at 02:04:03PM +0100, Martin Vignali wrote: > Hello, > > In attach patch to add fate test for cineform decoder > > Sample can be found here : > https://we.tl/y06cKrKh3a > > there is two sample in the download link > The test is about : cineform_yuv10b_hd.mov uploaded

[FFmpeg-devel] [PATCH 3/3] avdevice/decklink: deprecate @mode syntax in device name to specify mode

2017-03-25 Thread Marton Balint
Signed-off-by: Marton Balint --- libavdevice/decklink_common.cpp | 7 +++ libavdevice/decklink_dec.cpp| 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libavdevice/decklink_common.cpp b/libavdevice/decklink_common.cpp index f17c263..c9107c0 100644 ---

[FFmpeg-devel] [PATCH 2/3] avdevice/decklink_enc: convert to std::atomic

2017-03-25 Thread Marton Balint
Signed-off-by: Marton Balint --- libavdevice/decklink_enc.cpp | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libavdevice/decklink_enc.cpp b/libavdevice/decklink_enc.cpp index 8892d19..18ef905 100644 --- a/libavdevice/decklink_enc.cpp +++

[FFmpeg-devel] [PATCH 1/3] configure: use c++11 and fallback to c++0x for c++ files

2017-03-25 Thread Marton Balint
Needed for the C+11 atomics. Also change add_cxxflags to check_cxxflags. Signed-off-by: Marton Balint --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index c1aeb6e..6823894 100755 --- a/configure +++ b/configure @@ -4648,7

Re: [FFmpeg-devel] [PATCH] Ignore expired cookies

2017-03-25 Thread Micah Galizia
On Sat, Mar 25, 2017 at 10:51 AM, wm4 wrote: > This can overflow sizeof(exp_buf). Sorry, new patch cleans that up. >> + >> +// move the string beyond the day of week >> +i = 0; >> +while ((exp_buf[i] < '0' || exp_buf[i] >

[FFmpeg-devel] [PATCH] Ignore expired cookies

2017-03-25 Thread Micah Galizia
Signed-off-by: Micah Galizia --- libavformat/http.c | 43 +++ 1 file changed, 39 insertions(+), 4 deletions(-) diff --git a/libavformat/http.c b/libavformat/http.c index 293a8a7..53fae2a 100644 --- a/libavformat/http.c +++

Re: [FFmpeg-devel] [PATCH 1/2] ffprobe: support skip_samples packet side data information

2017-03-25 Thread Rostislav Pehlivanov
On 25 March 2017 at 19:04, James Almer wrote: > Signed-off-by: James Almer > --- > ffprobe.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/ffprobe.c b/ffprobe.c > index 4a7ec0ad31..ba27bce823 100644 > --- a/ffprobe.c > +++ b/ffprobe.c > @@

[FFmpeg-devel] [PATCH 2/2] ffprobe: fix printing packet side data information

2017-03-25 Thread James Almer
Signed-off-by: James Almer --- ffprobe.c | 4 ++-- tests/ref/fate/mov-aac-2048-priming | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ffprobe.c b/ffprobe.c index ba27bce823..dc69a89b78 100644 --- a/ffprobe.c +++ b/ffprobe.c @@

[FFmpeg-devel] [PATCH 1/2] ffprobe: support skip_samples packet side data information

2017-03-25 Thread James Almer
Signed-off-by: James Almer --- ffprobe.c | 5 + 1 file changed, 5 insertions(+) diff --git a/ffprobe.c b/ffprobe.c index 4a7ec0ad31..ba27bce823 100644 --- a/ffprobe.c +++ b/ffprobe.c @@ -1806,6 +1806,11 @@ static void print_pkt_side_data(WriterContext *w,

Re: [FFmpeg-devel] [PATCH] rtmpproto: send swfverify value as swfurl if latter is unused

2017-03-25 Thread Ricardo Constantino
Ping. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] Ignore expired cookies

2017-03-25 Thread wm4
On Sat, 25 Mar 2017 10:31:00 -0400 Micah Galizia wrote: > Signed-off-by: Micah Galizia > --- > libavformat/http.c | 43 +++ > 1 file changed, 39 insertions(+), 4 deletions(-) > > diff --git

[FFmpeg-devel] [PATCH] Ignore expired cookies

2017-03-25 Thread Micah Galizia
Signed-off-by: Micah Galizia --- libavformat/http.c | 43 +++ 1 file changed, 39 insertions(+), 4 deletions(-) diff --git a/libavformat/http.c b/libavformat/http.c index 293a8a7..f7d1925 100644 --- a/libavformat/http.c +++

Re: [FFmpeg-devel] [PATCH] Ignore expired cookies

2017-03-25 Thread Micah Galizia
On 2017-03-25 07:11 AM, wm4 wrote: >> -while ((param = av_strtok(cookie, "; ", _param))) { >> +while ((param = av_strtok(cookie, ";", _param))) { >> + >> +// move past any leading whitespace >> +param += strspn(param, WHITESPACES); >> + > Not quite sure

Re: [FFmpeg-devel] fate/exr : add test for exr with offsets set to zero

2017-03-25 Thread Michael Niedermayer
On Sat, Mar 25, 2017 at 01:01:12PM +0100, Martin Vignali wrote: > Hello, > > In attach a fate test for the patch by Dzung Hoang, who add support for > scanline file > who have scanline offsets set to zero. > > I modify a previous fate sample, to set offsets table to zero (this sample > can be

Re: [FFmpeg-devel] [FFmpeg-cvslog] Implement optimal huffman encoding for (M)JPEG.

2017-03-25 Thread James Almer
On 3/16/2017 6:24 PM, James Almer wrote: >> ffmpeg | branch: master | Jerry Jiang | Wed >> Feb 1 23:23:04 2017 -0800| [884506dfe2e29a5b2bd2905ca4f17e277e32acb1] | >> committer: Rostislav Pehlivanov >> >> Implement optimal huffman encoding for (M)JPEG. >> >>> seems to break >>> make

[FFmpeg-devel] [PATCH v2] avformat/flvdec: check FLVHeader PreviousTagSize0

2017-03-25 Thread Steven Liu
refer to SPEC: Annex E. The FLV File Format said: E.3 TheFLVFileBody have a table: FieldTypeComment PreviousTagSize0 UI32Always 0 Signed-off-by: Steven Liu --- libavformat/flvdec.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff

[FFmpeg-devel] fate/cineform : add test for yuv 10b

2017-03-25 Thread Martin Vignali
Hello, In attach patch to add fate test for cineform decoder Sample can be found here : https://we.tl/y06cKrKh3a there is two sample in the download link The test is about : cineform_yuv10b_hd.mov this sample need to be put inside ./fate-suite/cineform/ (the folder doesn't exist) and can be

Re: [FFmpeg-devel] [PATCH] pthread_frame: do not attempt to unlock a mutex on the wrong thread

2017-03-25 Thread Michael Niedermayer
On Sat, Mar 25, 2017 at 01:13:13PM +0100, wm4 wrote: > On Sat, 25 Mar 2017 13:01:58 +0100 > Michael Niedermayer wrote: > > > On Sat, Mar 25, 2017 at 12:03:23PM +0100, wm4 wrote: > > > On Fri, 24 Mar 2017 18:53:41 +0100 > > > Michael Niedermayer

Re: [FFmpeg-devel] [PATCH] pthread_frame: do not attempt to unlock a mutex on the wrong thread

2017-03-25 Thread wm4
On Sat, 25 Mar 2017 13:01:58 +0100 Michael Niedermayer wrote: > On Sat, Mar 25, 2017 at 12:03:23PM +0100, wm4 wrote: > > On Fri, 24 Mar 2017 18:53:41 +0100 > > Michael Niedermayer wrote: > > > > > On Fri, Mar 24, 2017 at 01:47:10PM +0100, wm4

[FFmpeg-devel] fate/exr : add test for exr with offsets set to zero

2017-03-25 Thread Martin Vignali
Hello, In attach a fate test for the patch by Dzung Hoang, who add support for scanline file who have scanline offsets set to zero. I modify a previous fate sample, to set offsets table to zero (this sample can be decode by the official library) The sample can be found here :

Re: [FFmpeg-devel] libavcodec/exr : add support for uint32

2017-03-25 Thread Martin Vignali
Ping for apply Martin ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] libavcodec/exr : cosmetics : rename variable

2017-03-25 Thread Martin Vignali
Hello, In attach a patch who rename tile variable to better follow ffmpeg coding style Martin -- Martin Vignali Jokyo Images 18 rue du Transvaal 69008 Lyon 06 99 89 33 30 m.vign...@jokyo-images.com http://www.jokyo-images.com/ 0003-libavcodec-exr-cosmetics-variable-name.patch Description:

Re: [FFmpeg-devel] [PATCH] pthread_frame: do not attempt to unlock a mutex on the wrong thread

2017-03-25 Thread Michael Niedermayer
On Sat, Mar 25, 2017 at 12:03:23PM +0100, wm4 wrote: > On Fri, 24 Mar 2017 18:53:41 +0100 > Michael Niedermayer wrote: > > > On Fri, Mar 24, 2017 at 01:47:10PM +0100, wm4 wrote: > > > async_mutex has is used in a very strange but intentional way: it is > > > locked by

Re: [FFmpeg-devel] [PATCH] avcodec/exr detect invalid line offset table and recreate table

2017-03-25 Thread Martin Vignali
Hello, The latest patch appear to have a problem : fatal: corrupt patch at line 6 And it doesn't work for me (head variable seems to be important). I put in attach a patch, based on the previous one, who works for me. Martin 0001-libavcodec-exr-add-support-for-scanline-file-where-o.patch

[FFmpeg-devel] [PATCH v3] avformat, ffmpeg: deprecate old rotation API

2017-03-25 Thread wm4
The old "API" that signaled rotation as a metadata value has been replaced by DISPLAYMATRIX side data quite a while ago. There is no reason to make muxers/demuxers/API users support both. In addition, the metadata API is dangerous, as user tags could "leak" into it, creating unintended features