Re: [FFmpeg-devel] [GSoC] Motion Interpolation

2016-07-26 Thread Davinder Singh
On Wed, Jul 27, 2016 at 1:06 AM Ronald S. Bultje wrote: > Hi, > > On Tue, Jul 26, 2016 at 3:30 PM, Davinder Singh > wrote: > > > hi > > > > On Mon, Jul 25, 2016 at 9:55 PM Ronald S. Bultje > > wrote: > > > > > Hi, > > > > > > On Mon, Jul 25, 2016 at 5:39 AM, Michael Niedermayer > > > > > > wro

[FFmpeg-devel] [PATCH 2/2] avformat/flvdec: parse keyframe before a\v stream was created add_keyframes_index() when stream created or keyframe parsed

2016-07-26 Thread Xinzheng Zhang
--- libavformat/flvdec.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 633cad0..0afeba5 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -128,6 +128,7 @@ static void add_keyframes_index(AVFormatContext *

[FFmpeg-devel] [PATCH 1/2] avformat/flvdec: splitting add_keyframes_index() out from parse_keyframes_index()

2016-07-26 Thread Xinzheng Zhang
--- libavformat/flvdec.c | 76 +--- 1 file changed, 60 insertions(+), 16 deletions(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 2bf1e05..633cad0 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -61,6 +61,11 @@ typ

Re: [FFmpeg-devel] [PATCH] avformat/matroskaenc: Write duration early during mkv_write_header (Rev #3)

2016-07-26 Thread Soft Works
> From: ffmpeg-devel on behalf of Soft Works > > Sent: Tuesday, July 19, 2016 3:33 AM > To: FFmpeg development discussions and patches > Subject: [FFmpeg-devel] [PATCH] avformat/matroskaenc: Write duration early > during mkv_write_header (Rev #3) > > From 7d6d6a7775fef707ea1e8e705acc3362f20b6

Re: [FFmpeg-devel] [PATCH] avcodec/alsdec: implement floating point decoding

2016-07-26 Thread Umair Khan
On Tue, Jul 26, 2016 at 4:52 AM, Michael Niedermayer wrote: > On Mon, Jul 25, 2016 at 10:13:38PM +0530, Umair Khan wrote: >> On Sun, Jul 24, 2016 at 1:47 AM, Umair Khan wrote: >> > >> > HI, >> > >> > On Fri, Jul 22, 2016 at 9:19 PM, Michael Niedermayer >> > wrote: >> > > On Fri, Jul 22, 2016 at

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-26 Thread XinZheng Zhang
On Wed, Jul 27, 2016 at 10:17 AM, Michael Niedermayer wrote: > On Wed, Jul 27, 2016 at 09:56:02AM +0800, XinZheng Zhang wrote: >> On Wed, Jul 27, 2016 at 7:25 AM, Michael Niedermayer >> wrote: >> > On Wed, Jul 27, 2016 at 01:31:29AM +0800, XinZheng Zhang wrote: >> >> On Wed, Jul 27, 2016 at 1:12

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-26 Thread Michael Niedermayer
On Wed, Jul 27, 2016 at 09:56:02AM +0800, XinZheng Zhang wrote: > On Wed, Jul 27, 2016 at 7:25 AM, Michael Niedermayer > wrote: > > On Wed, Jul 27, 2016 at 01:31:29AM +0800, XinZheng Zhang wrote: > >> On Wed, Jul 27, 2016 at 1:12 AM, Michael Niedermayer > >> wrote: > >> > On Tue, Jul 26, 2016 at

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-26 Thread XinZheng Zhang
On Wed, Jul 27, 2016 at 7:25 AM, Michael Niedermayer wrote: > On Wed, Jul 27, 2016 at 01:31:29AM +0800, XinZheng Zhang wrote: >> On Wed, Jul 27, 2016 at 1:12 AM, Michael Niedermayer >> wrote: >> > On Tue, Jul 26, 2016 at 08:17:46PM +0800, Xinzheng Zhang wrote: > [...] >> >> + >> >> +AVStream

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-26 Thread Michael Niedermayer
On Tue, Jul 26, 2016 at 08:17:46PM +0800, Xinzheng Zhang wrote: > --- > libavformat/flvdec.c | 84 > ++-- > 1 file changed, 69 insertions(+), 15 deletions(-) also: someone please fix the spelling&grammer in the commit message: "avformat/fivdec: ca

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-26 Thread Michael Niedermayer
On Wed, Jul 27, 2016 at 01:31:29AM +0800, XinZheng Zhang wrote: > On Wed, Jul 27, 2016 at 1:12 AM, Michael Niedermayer > wrote: > > On Tue, Jul 26, 2016 at 08:17:46PM +0800, Xinzheng Zhang wrote: [...] > >> + > >> +AVStream *streams[2] = {vstream, astream}; > >> +for (i = 0; i < 2; i++) {

Re: [FFmpeg-devel] [PATCH] avformat/utils: Fix find_stream_info not considering the extradata it found

2016-07-26 Thread Michael Niedermayer
On Tue, Jul 26, 2016 at 08:39:03PM +0300, Anssi Hannula wrote: > 26.07.2016, 17:59, Michael Niedermayer kirjoitti: > > On Tue, Jul 26, 2016 at 03:56:13PM +0300, Anssi Hannula wrote: > >> Commit 9200514ad8717c6 ("lavf: replace AVStream.codec with > >> AVStream.codecpar") merged in commit 6f69f7a8bf6

Re: [FFmpeg-devel] [PATCH] ffprobe.xsd: add missing timecode attribute to frameSideDataType

2016-07-26 Thread Michael Niedermayer
On Tue, Jun 07, 2016 at 07:58:10PM -0400, Dave Rice wrote: > A timecode attribute was added to the ffprobe output of side_data. This patch > updates the XSD to include the attribute as well. > Dave Rice > > ffprobe.xsd |1 + > 1 file changed, 1 insertion(+) > dbc571dacd2fbb68dd1ac830b5ce535

Re: [FFmpeg-devel] [PATCH 2/2] libopenh264: Support building with the 1.6 release

2016-07-26 Thread Michael Niedermayer
On Tue, Jul 26, 2016 at 09:31:18PM +0300, Martin Storsjö wrote: > This fixes trac issue #5417. > > This is cherry-picked from libav commit > d825b1a5306576dcd0553b7d0d24a3a46ad92864. > --- > Updated the commit message to mention the ticket number. > --- > libavcodec/libopenh264dec.c | 2 ++ > li

Re: [FFmpeg-devel] [PATCH 1/2] Add an OpenH264 decoder wrapper

2016-07-26 Thread Michael Niedermayer
On Tue, Jul 26, 2016 at 09:31:17PM +0300, Martin Storsjö wrote: > This is cherrypicked from libav, from commits > 82b7525173f20702a8cbc26ebedbf4b69b8fecec and > d0b1e6049b06ca146ece4d2f199c5dba1565. > > --- > Fixed the issues pointed out by Michael, removed the parts of the > commit message as

Re: [FFmpeg-devel] [GSoC] Motion Interpolation

2016-07-26 Thread Ronald S. Bultje
Hi, On Tue, Jul 26, 2016 at 3:30 PM, Davinder Singh wrote: > hi > > On Mon, Jul 25, 2016 at 9:55 PM Ronald S. Bultje > wrote: > > > Hi, > > > > On Mon, Jul 25, 2016 at 5:39 AM, Michael Niedermayer > > > > wrote: > > > > > On Mon, Jul 25, 2016 at 04:05:54AM +, Davinder Singh wrote: > > > >

Re: [FFmpeg-devel] [GSoC] Motion Interpolation

2016-07-26 Thread Davinder Singh
hi On Mon, Jul 25, 2016 at 9:55 PM Ronald S. Bultje wrote: > Hi, > > On Mon, Jul 25, 2016 at 5:39 AM, Michael Niedermayer > > wrote: > > > On Mon, Jul 25, 2016 at 04:05:54AM +, Davinder Singh wrote: > > > https://github.com/dsmudhar/FFmpeg/commits/dev > > > So, correct me if I'm wrong, but

Re: [FFmpeg-devel] [PATCH 1/2] v2 SCTE extraction from mpegts

2016-07-26 Thread Carlos Fernandez Sanz
On Mon, Jul 25, 2016 at 5:41 PM, Michael Niedermayer wrote: > This breaks > http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket1827/vc1_dts_mplayerAudioProblem_sb41_cut.m2ts I need some help with this. HDMV audio is not detected correctly, since we are giving priority to ISO based stream_type 8

Re: [FFmpeg-devel] [PATCH] libavformat/matroskadec: fix unsigned overflow to improve seeking

2016-07-26 Thread Chris Cunningham
Happy to make a test. Stand by for patch. On Sat, Jul 23, 2016 at 2:26 AM, Michael Niedermayer wrote: > On Thu, Jul 21, 2016 at 12:01:45PM -0700, Chris Cunningham wrote: > > When seeking a file where codec delay is greater than 0, the timecode > > can become negative after offsetting by the code

[FFmpeg-devel] [PATCH 2/2] libopenh264: Support building with the 1.6 release

2016-07-26 Thread Martin Storsjö
This fixes trac issue #5417. This is cherry-picked from libav commit d825b1a5306576dcd0553b7d0d24a3a46ad92864. --- Updated the commit message to mention the ticket number. --- libavcodec/libopenh264dec.c | 2 ++ libavcodec/libopenh264enc.c | 26 -- 2 files changed, 26 ins

[FFmpeg-devel] [PATCH 1/2] Add an OpenH264 decoder wrapper

2016-07-26 Thread Martin Storsjö
This is cherrypicked from libav, from commits 82b7525173f20702a8cbc26ebedbf4b69b8fecec and d0b1e6049b06ca146ece4d2f199c5dba1565. --- Fixed the issues pointed out by Michael, removed the parts of the commit message as requested by Carl. --- Changelog | 1 + configure

Re: [FFmpeg-devel] [PATCH] libavformat/matroskaenc: omit segment UID for webm

2016-07-26 Thread James Almer
On 7/26/2016 2:47 PM, Michael Bradshaw wrote: > Could this patch please be reapplied? It seems like it was accidentally > reverted in commit 5d48e4eafa6c4559683892b8638d10508125f3cf Done. I wonder how a merge did that to begin with. ___ ffmpeg-devel mail

Re: [FFmpeg-devel] ffmpeg stuck in transcoding H264 using QSV

2016-07-26 Thread Chao Liu
On Tue, Jul 26, 2016 at 2:08 AM, Ivan Uskov wrote: > > Hello Chao, > > Tuesday, July 26, 2016, 9:04:49 AM, you wrote: > > > I tried to debug it a bit by comparing ffmpeg code with intel media SDK. > > There is sth. I don't understand. Not sure whether it's related.. > > In ffmpeg, we decode the f

Re: [FFmpeg-devel] [PATCH] libavformat/matroskaenc: omit segment UID for webm

2016-07-26 Thread Michael Bradshaw
Could this patch please be reapplied? It seems like it was accidentally reverted in commit 5d48e4eafa6c4559683892b8638d10508125f3cf ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avformat/utils: Fix find_stream_info not considering the extradata it found

2016-07-26 Thread Anssi Hannula
26.07.2016, 17:59, Michael Niedermayer kirjoitti: > On Tue, Jul 26, 2016 at 03:56:13PM +0300, Anssi Hannula wrote: >> Commit 9200514ad8717c6 ("lavf: replace AVStream.codec with >> AVStream.codecpar") merged in commit 6f69f7a8bf6a0d01 changed >> avformat_find_stream_info() to put the extradata it go

[FFmpeg-devel] [PATCH] avformat/matroskaenc: fix Voids with size < 10

2016-07-26 Thread Michael Bradshaw
Hi, Attached patch fixes the MKV muxer when trying to write Void elements that have a size < 10. The current code subtracts 1 from the size, which accounts for the element ID byte, but it doesn't account for the additional size byte. This causes the Void element to take up 1 more byte than intende

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-26 Thread XinZheng Zhang
On Wed, Jul 27, 2016 at 1:12 AM, Michael Niedermayer wrote: > On Tue, Jul 26, 2016 at 08:17:46PM +0800, Xinzheng Zhang wrote: >> --- >> libavformat/flvdec.c | 84 >> ++-- >> 1 file changed, 69 insertions(+), 15 deletions(-) >> >> diff --git a/libav

Re: [FFmpeg-devel] ffprobe missing string in code

2016-07-26 Thread Michael Niedermayer
On Fri, Jul 22, 2016 at 08:52:00AM +0300, Dmitry Vagin wrote: > Hi Michael, > > sorry for my mistake, updated patch in attachment. applied thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Those who are best at talking, realize last or never when they are w

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-26 Thread Michael Niedermayer
On Tue, Jul 26, 2016 at 08:17:46PM +0800, Xinzheng Zhang wrote: > --- > libavformat/flvdec.c | 84 > ++-- > 1 file changed, 69 insertions(+), 15 deletions(-) > > diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c > index 2bf1e05..82b9f83 1006

Re: [FFmpeg-devel] [PATCH 1/4] lavc: add mpeg4 mediacodec decoder

2016-07-26 Thread Thomas Volkert
On 26.07.2016 11:15, Matthieu Bouron wrote: > On Tue, Jul 26, 2016 at 11:00:46AM +0200, Matthieu Bouron wrote: >> On Sun, Jul 24, 2016 at 03:06:14PM +0200, Thomas Volkert wrote: >>> From: Thomas Volkert >>> >>> --- >>> Changelog| 1 + >>> configure

Re: [FFmpeg-devel] [PATCH 1/2] Add an OpenH264 decoder wrapper

2016-07-26 Thread Michael Niedermayer
On Tue, Jul 26, 2016 at 03:41:52PM +0300, Martin Storsjö wrote: [...] > +static int svc_decode_frame(AVCodecContext *avctx, void *data, > +int *got_frame, AVPacket *avpkt) > +{ > +SVCContext *s = avctx->priv_data; > +SBufferInfo info = { 0 }; > +uint8_t* ptr

Re: [FFmpeg-devel] [PATCH 1/2] Add an OpenH264 decoder wrapper

2016-07-26 Thread Michael Niedermayer
On Tue, Jul 26, 2016 at 10:30:48AM -0400, compn wrote: > On Tue, 26 Jul 2016 14:06:57 + (UTC) > Carl Eugen Hoyos wrote: > > > > one could potentially want to use it to take advantage > > > of the cisco patent license offer. > > > > I am not sure I understand this, could you elaborate? > > In

Re: [FFmpeg-devel] [PATCH] avformat/utils: Fix find_stream_info not considering the extradata it found

2016-07-26 Thread Michael Niedermayer
On Tue, Jul 26, 2016 at 03:56:13PM +0300, Anssi Hannula wrote: > Commit 9200514ad8717c6 ("lavf: replace AVStream.codec with > AVStream.codecpar") merged in commit 6f69f7a8bf6a0d01 changed > avformat_find_stream_info() to put the extradata it got from > st->parser->parser->split() to st->internal->a

Re: [FFmpeg-devel] [PATCH 1/2] Add an OpenH264 decoder wrapper

2016-07-26 Thread Carl Eugen Hoyos
compn mi.rr.com> writes: > > > one could potentially want to use it to take advantage > > > of the cisco patent license offer. > > > > I am not sure I understand this, could you elaborate? > > In any case, this should imo not be part of the commit > > message. > > http://www.openh264.org/faq.h

Re: [FFmpeg-devel] [PATCH 1/2] Add an OpenH264 decoder wrapper

2016-07-26 Thread compn
On Tue, 26 Jul 2016 14:06:57 + (UTC) Carl Eugen Hoyos wrote: > > one could potentially want to use it to take advantage > > of the cisco patent license offer. > > I am not sure I understand this, could you elaborate? > In any case, this should imo not be part of the commit > message. http:

Re: [FFmpeg-devel] [PATCH 2/2] libopenh264: Support building with the 1.6 release

2016-07-26 Thread Carl Eugen Hoyos
Martin Storsjö martin.st> writes: > This is cherry-picked from libav commit > d825b1a5306576dcd0553b7d0d24a3a46ad92864. Please mention ticket #5417 in the commit message, push if it works for you, this was requested often. Carl Eugen ___ ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 0/1] af_hdcd: Process stereo channels together, fix #5727

2016-07-26 Thread Carl Eugen Hoyos
Burt P gmail.com> writes: > For review, a fix for #5727. Please test and comment. My suggestion is that you send your public key to Michael and commit yourself including adding yourself as maintainer of hdcd. [...] > One strange case is John Mellencamp - [1994] Mr. Happy Go Lucky > 06. Emoti

Re: [FFmpeg-devel] [PATCH 1/2] Add an OpenH264 decoder wrapper

2016-07-26 Thread Carl Eugen Hoyos
Hi! Martin Storsjö martin.st> writes: > While it is less featureful (and slower) than the > built-in H264 decoder, I don't think this is an issue, having an additional decoder can make testing issues much easier. > one could potentially want to use it to take advantage > of the cisco patent

Re: [FFmpeg-devel] avio starting offset and hls regression in 3.1

2016-07-26 Thread Anssi Hannula
25.07.2016, 22:13, Anssi Hannula kirjoitti: > Hi all, > > Commit d0fc5de3a643fe7f974ed14e410c2ac2f4147d7e [1] merged in > commit 81306fd4bdeb5c17d4db771e4fec684773b5790f "hls: eliminate ffurl_* > usage" from libav, which changed the hls demuxer to use AVIOContext > instead of URLContext for its HT

Re: [FFmpeg-devel] libavcodec : add psd image file decoder

2016-07-26 Thread Martin Vignali
Sorry, forgot one out of array issue in the previous patch Correct patch in attach Martin From 99c60ace42f29b681fc8e5729f4b0081a204cfe5 Mon Sep 17 00:00:00 2001 From: Martin Vignali Date: Tue, 26 Jul 2016 15:05:57 +0200 Subject: [PATCH 1/2] libavformat : add Photoshop PSD file. --- libavformat

[FFmpeg-devel] [PATCH] avformat/utils: Fix find_stream_info not considering the extradata it found

2016-07-26 Thread Anssi Hannula
Commit 9200514ad8717c6 ("lavf: replace AVStream.codec with AVStream.codecpar") merged in commit 6f69f7a8bf6a0d01 changed avformat_find_stream_info() to put the extradata it got from st->parser->parser->split() to st->internal->avctx instead of st->codec (from where it will be later copied to st->co

[FFmpeg-devel] [PATCH 1/2] Add an OpenH264 decoder wrapper

2016-07-26 Thread Martin Storsjö
While it is less featureful (and slower) than the built-in H264 decoder, one could potentially want to use it to take advantage of the cisco patent license offer. This is cherrypicked from libav, from commits 82b7525173f20702a8cbc26ebedbf4b69b8fecec and d0b1e6049b06ca146ece4d2f199c5dba1565. --

[FFmpeg-devel] [PATCH 2/2] libopenh264: Support building with the 1.6 release

2016-07-26 Thread Martin Storsjö
This is cherry-picked from libav commit d825b1a5306576dcd0553b7d0d24a3a46ad92864. --- libavcodec/libopenh264dec.c | 2 ++ libavcodec/libopenh264enc.c | 26 -- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/libavcodec/libopenh264dec.c b/libavcodec/libopenh2

Re: [FFmpeg-devel] why are audio/video encoding/decoding functions marked as attribute_deprecated?

2016-07-26 Thread Hendrik Leppkes
On Tue, Jul 26, 2016 at 12:57 PM, qw wrote: > Hi, > > avcodec_decode_video2(), avcodec_decode_audio4(), avcodec_encode_video2(), > and avcodec_encode_audio2(). The following url links are ffmpeg 3.1.1 > description: > Because they are deprecated and replacement functions have been created. That

Re: [FFmpeg-devel] [PATCH] libavcodec/libopenjpegenc: don't define OPJ_STATIC with openjpeg 2.1.1

2016-07-26 Thread Michael Bradshaw
On Sun, Jul 24, 2016 at 10:09 PM, Kia wrote: > This fixes bug #5694 and builds with libopenjpeg 2.1.1. > > openjpeg commit 3ed5858902055d3500a6ab183f1395686921d026 hides all > symbols with __attribute__ ((visibility ("hidden"))) if OPJ_STATIC is > defined > > Signed-off-by: Kia > --- > libavcod

[FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-26 Thread Xinzheng Zhang
--- libavformat/flvdec.c | 84 ++-- 1 file changed, 69 insertions(+), 15 deletions(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 2bf1e05..82b9f83 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -61,6 +61,12 @@ typ

Re: [FFmpeg-devel] [PATCH] avformat/utils: Fix find_stream_info not considering the extradata it found

2016-07-26 Thread Michael Niedermayer
On Tue, Jul 26, 2016 at 01:51:04PM +0300, Anssi Hannula wrote: > Commit 9200514ad8717c6 ("lavf: replace AVStream.codec with > AVStream.codecpar") merged in commit 6f69f7a8bf6a0d01 changed > avformat_find_stream_info() to put the extradata it got from > st->parser->parser->split() to avctx instead o

Re: [FFmpeg-devel] [PATCH]: avfilter/f_drawgraph: add another slide mode

2016-07-26 Thread Nicolas George
Le nonidi 9 thermidor, an CCXXIV, Paul B Mahol a écrit : > patch attached. I think you forgot to update the docs. Regards, -- Nicolas George signature.asc Description: Digital signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://

[FFmpeg-devel] [PATCH]: avfilter/f_drawgraph: add another slide mode

2016-07-26 Thread Paul B Mahol
Hi, patch attached. 0001-avfilter-f_drawgraph-add-another-slide-mode.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avdev/jack: remove duplicated dispatch macros

2016-07-26 Thread Michael Niedermayer
On Fri, Jul 22, 2016 at 04:09:06PM +0100, Josh de Kock wrote: > The macros were moved to compat/dispatch_semaphore/semaphore.h after a libav > merge, and were never removed from jack.c > --- > libavdevice/jack.c | 10 -- > 1 file changed, 10 deletions(-) LGTM thx [...] -- Michael

[FFmpeg-devel] why are audio/video encoding/decoding functions marked as attribute_deprecated?

2016-07-26 Thread qw
Hi, avcodec_decode_video2(), avcodec_decode_audio4(), avcodec_encode_video2(), and avcodec_encode_audio2(). The following url links are ffmpeg 3.1.1 description: http://ffmpeg.org/doxygen/3.1/group__lavc__decoding.html#ga3ac51525b7ad8bca4ced9f3446e96532 http://ffmpeg.org/doxygen/3.1/group__lavc_

[FFmpeg-devel] [PATCH] avformat/utils: Fix find_stream_info not considering the extradata it found

2016-07-26 Thread Anssi Hannula
Commit 9200514ad8717c6 ("lavf: replace AVStream.codec with AVStream.codecpar") merged in commit 6f69f7a8bf6a0d01 changed avformat_find_stream_info() to put the extradata it got from st->parser->parser->split() to avctx instead of st->codec. However, in the same function, the "is stream ready?" che

[FFmpeg-devel] [PATCH v3 2/2] avcodec/bsf: Forbid packet without payload in av_bsf_send_packet

2016-07-26 Thread sebechlebskyjan
From: Jan Sebechlebsky Signed-off-by: Jan Sebechlebsky --- libavcodec/avcodec.h | 3 ++- libavcodec/bsf.c | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index ca8dba8..36f7935 100644 --- a/libavcodec/avcodec.h +++ b/libavco

[FFmpeg-devel] [PATCH v3 1/2] avcodec/bsf: Set EOF flag only in pkt == NULL

2016-07-26 Thread sebechlebskyjan
From: Jan Sebechlebsky Set BSF EOF flag only if pkt == NULL in av_bsf_send_packet(). Signed-off-by: Jan Sebechlebsky --- libavcodec/bsf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/bsf.c b/libavcodec/bsf.c index 88b7f29..9b9ada7 100644 --- a/libavcodec/bsf.c

Re: [FFmpeg-devel] [PATCH v2] avcodec/bsf: Set EOF flag only if pkt == NULL

2016-07-26 Thread Jan Sebechlebsky
On 07/25/2016 05:14 PM, Nicolas George wrote: Le septidi 7 thermidor, an CCXXIV, Jan Sebechlebsky a écrit : I gave this a second thought, wouldn't it be better to simply ignore pkt without payload? So after caller would send empty packet using av_bsf_send_packet, he would get AVERROR(EAGAIN) fr

Re: [FFmpeg-devel] [PATCH 1/4] lavc: add mpeg4 mediacodec decoder

2016-07-26 Thread Matthieu Bouron
On Sun, Jul 24, 2016 at 03:06:14PM +0200, Thomas Volkert wrote: > From: Thomas Volkert > > --- > Changelog| 1 + > configure| 1 + > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/mediacodecde

Re: [FFmpeg-devel] [PATCH 1/4] lavc: add mpeg4 mediacodec decoder

2016-07-26 Thread Matthieu Bouron
On Tue, Jul 26, 2016 at 11:00:46AM +0200, Matthieu Bouron wrote: > On Sun, Jul 24, 2016 at 03:06:14PM +0200, Thomas Volkert wrote: > > From: Thomas Volkert > > > > --- > > Changelog| 1 + > > configure| 1 + > > libavcodec/Makefile

Re: [FFmpeg-devel] ffmpeg stuck in transcoding H264 using QSV

2016-07-26 Thread Ivan Uskov
Hello Chao, Tuesday, July 26, 2016, 9:04:49 AM, you wrote: > I tried to debug it a bit by comparing ffmpeg code with intel media SDK. > There is sth. I don't understand. Not sure whether it's related.. > In ffmpeg, we decode the frame in a loop >

Re: [FFmpeg-devel] [PATCH] lavc/ffjni: replace ff_jni_{attach, detach} with ff_jni_get_env

2016-07-26 Thread Matthieu Bouron
On Mon, Jul 25, 2016 at 09:50:58AM +0200, Benoit Fouet wrote: > Hi, Hi, > > On 24/07/2016 23:05, Matthieu Bouron wrote: > > From: Matthieu Bouron > > > > If a JNI environment is not already attached to the thread where the > > MediaCodec calls are made the current implementation will attach / >