[FFmpeg-devel] [PATCH] avcodec/nvenc: Add support for H.265 encoding

2015-03-23 Thread Philip Langdale
Sufficiently new nvenc hardware (GM20x or later) has support for H.265 encoding. This works the same as the H.264 encoder except the codec parameters are different. Due to the fact that common codec parameters are not shareable, there's quite a bit of conditional logic you'd wish we could do witho

Re: [FFmpeg-devel] Fix Patch for Ticket #2622- Remuxing of hdmv pgs subtitles

2015-03-23 Thread Philip Langdale
Hi Niklesh, On Mon, 23 Mar 2015 12:52:16 +0530 Niklesh Lalwani wrote: > Hi everyone, > I have fixed the issue #2622 > through this pull request . > These changes enables to remux m2ts file so that the new file has >

Re: [FFmpeg-devel] Fwd: GSoC: APNG

2015-03-23 Thread Michael Niedermayer
On Mon, Mar 23, 2015 at 11:02:21PM +, Donny Yang wrote: > On 24 March 2015 at 01:18, Michael Niedermayer wrote: > > > Either way, changes to libavcodec and libavformat should be in 2 > > seperate patches > > > Okay, I've attached the separated patches. > > > > and your code changes output t

Re: [FFmpeg-devel] Fwd: GSoC: APNG

2015-03-23 Thread Donny Yang
On 24 March 2015 at 01:18, Michael Niedermayer wrote: > Either way, changes to libavcodec and libavformat should be in 2 > seperate patches > Okay, I've attached the separated patches. > and your code changes output to normal .png files, that is every > whatever.png is now a apng file, iam not

Re: [FFmpeg-devel] [PATCH 1/2] libavformat/mxfenc: add container duration and package name to primer pack

2015-03-23 Thread Michael Niedermayer
On Mon, Mar 23, 2015 at 09:03:08PM +0100, Tomas Härdin wrote: > On Sat, 2015-03-21 at 16:45 -0700, Mark Reid wrote: > > --- > > libavformat/mxfenc.c | 2 ++ > > tests/ref/lavf/mxf | 6 ++--- > > tests/ref/lavf/mxf_d10 | 2 +- > > tests/ref/lavf/mxf_opatom | 4

[FFmpeg-devel] [PATCH] avformat/utils: Terminate SPS in avci100_1080i_extradata to avoid warnings during parsing

2015-03-23 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavformat/utils.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 6a0f666..6eec7a1 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -4345,7 +4345,7 @@ int ff_generate_avci_

Re: [FFmpeg-devel] [PATCH 2/2] libavformat/mxfenc: add support for muxing mxf opatom audio

2015-03-23 Thread Tomas Härdin
On Sat, 2015-03-21 at 16:45 -0700, Mark Reid wrote: > --- > libavformat/mxfenc.c | 100 > ++- > 1 file changed, 83 insertions(+), 17 deletions(-) Looks fine as far as I can tell. My only nitpick is that it might be better to call "timecode rate" Ed

Re: [FFmpeg-devel] [PATCH 1/2] libavformat/mxfenc: add container duration and package name to primer pack

2015-03-23 Thread Tomas Härdin
On Sat, 2015-03-21 at 16:45 -0700, Mark Reid wrote: > --- > libavformat/mxfenc.c | 2 ++ > tests/ref/lavf/mxf | 6 ++--- > tests/ref/lavf/mxf_d10 | 2 +- > tests/ref/lavf/mxf_opatom | 4 ++-- > tests/ref/seek/lavf-mxf_opatom | 54 > +-

Re: [FFmpeg-devel] What consequences does "overread end of atom 'colr' by 1 bytes" have?

2015-03-23 Thread Robert Krüger
On Mon, Mar 23, 2015 at 5:37 PM, Michael Niedermayer wrote: > On Mon, Mar 23, 2015 at 04:28:57PM +0100, Robert Krüger wrote: > > Hi, > > > > after a recent library upgrade in our application, we see tons of those > > messages. What are the consequences of this? Does libavformat consider > this >

Re: [FFmpeg-devel] [PATCH] avutil/frame: Add some very basic documentation for AVFrameSideData

2015-03-23 Thread Michael Niedermayer
On Mon, Mar 23, 2015 at 01:40:47PM -0400, Ronald S. Bultje wrote: > Hi, > > On Mon, Mar 23, 2015 at 1:35 PM, Michael Niedermayer > wrote: > > > Signed-off-by: Michael Niedermayer > > --- > > libavutil/frame.h |7 +++ > > 1 file changed, 7 insertions(+) > > > > diff --git a/libavutil/fr

Re: [FFmpeg-devel] [PATCH] avutil/frame: Add some very basic documentation for AVFrameSideData

2015-03-23 Thread Ronald S. Bultje
Hi, On Mon, Mar 23, 2015 at 1:35 PM, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavutil/frame.h |7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/libavutil/frame.h b/libavutil/frame.h > index 6b9ac6a..2fab79e 100644 > --- a/libavutil/frame.h > ++

[FFmpeg-devel] [PATCH] avutil/frame: Add some very basic documentation for AVFrameSideData

2015-03-23 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavutil/frame.h |7 +++ 1 file changed, 7 insertions(+) diff --git a/libavutil/frame.h b/libavutil/frame.h index 6b9ac6a..2fab79e 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -124,6 +124,13 @@ enum AVActiveFormatDescription { AV_

Re: [FFmpeg-devel] [PATCH] avutil: make AVFrameSideData buffers ref-counted.

2015-03-23 Thread Michael Niedermayer
On Mon, Mar 23, 2015 at 12:43:15PM -0400, Ronald S. Bultje wrote: > Hi, > > On Mon, Mar 23, 2015 at 12:15 PM, wm4 wrote: > > > On Mon, 23 Mar 2015 11:02:30 -0400 > > "Ronald S. Bultje" wrote: > > > > > Hi, > > > > > > On Mon, Mar 23, 2015 at 3:41 AM, Nicolas George wrote: > > > > > > > Le duod

[FFmpeg-devel] UDP Multicast

2015-03-23 Thread Andre Lopes
H I was trying to setup a ffmpeg client to work with an Arecont camera in multicast and realized that the camera would only return a multicast stream after an RSTP call, if the SETUP was requested with the following transport: Transport: RTP/AVP;multicast;client_port=x Since the current im

Re: [FFmpeg-devel] [PATCH] avutil: make AVFrameSideData buffers ref-counted.

2015-03-23 Thread Ronald S. Bultje
Hi, On Mon, Mar 23, 2015 at 12:15 PM, wm4 wrote: > On Mon, 23 Mar 2015 11:02:30 -0400 > "Ronald S. Bultje" wrote: > > > Hi, > > > > On Mon, Mar 23, 2015 at 3:41 AM, Nicolas George wrote: > > > > > Le duodi 2 germinal, an CCXXIII, Ronald S. Bultje a écrit : > > > > --- > > > > libavutil/frame.

Re: [FFmpeg-devel] What consequences does "overread end of atom 'colr' by 1 bytes" have?

2015-03-23 Thread Michael Niedermayer
On Mon, Mar 23, 2015 at 04:28:57PM +0100, Robert Krüger wrote: > Hi, > > after a recent library upgrade in our application, we see tons of those > messages. What are the consequences of this? Does libavformat consider this > file corrupt? Is this an indication for a demuxer bug? Just ignoring the

Re: [FFmpeg-devel] [PATCH 2/2] avutil: make AVFrameSideData buffers ref-counted.

2015-03-23 Thread Ronald S. Bultje
Hi, On Mon, Mar 23, 2015 at 12:16 PM, wm4 wrote: > On Mon, 23 Mar 2015 11:11:19 -0400 > "Ronald S. Bultje" wrote: > > > --- > > libavutil/frame.c | 53 > ++--- > > libavutil/frame.h | 1 + > > 2 files changed, 39 insertions(+), 15 deletions(-) >

Re: [FFmpeg-devel] [PATCH 4/5] doc: Use @lisp where appropriate

2015-03-23 Thread Michael Niedermayer
On Sun, Mar 22, 2015 at 08:47:19PM -0700, Timothy Gu wrote: > --- > doc/developer.texi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB What does censorship reveal? It reveals fear. -- J

Re: [FFmpeg-devel] [PATCH 3/5] doc: More semantic markup using @samp and @var where appropriate

2015-03-23 Thread Michael Niedermayer
On Sun, Mar 22, 2015 at 08:47:18PM -0700, Timothy Gu wrote: > --- > doc/ffprobe.texi | 33 + > doc/filters.texi | 15 --- > doc/metadata.texi | 26 +++--- > doc/utils.texi| 10 +- > 4 files changed, 45 insertions(+), 39

Re: [FFmpeg-devel] [PATCH 2/2] avutil: make AVFrameSideData buffers ref-counted.

2015-03-23 Thread wm4
On Mon, 23 Mar 2015 11:11:19 -0400 "Ronald S. Bultje" wrote: > --- > libavutil/frame.c | 53 ++--- > libavutil/frame.h | 1 + > 2 files changed, 39 insertions(+), 15 deletions(-) > > diff --git a/libavutil/frame.c b/libavutil/frame.c > index 85f5

Re: [FFmpeg-devel] [PATCH] avutil: make AVFrameSideData buffers ref-counted.

2015-03-23 Thread wm4
On Mon, 23 Mar 2015 11:02:30 -0400 "Ronald S. Bultje" wrote: > Hi, > > On Mon, Mar 23, 2015 at 3:41 AM, Nicolas George wrote: > > > Le duodi 2 germinal, an CCXXIII, Ronald S. Bultje a écrit : > > > --- > > > libavutil/frame.c | 171 > > +++--- >

Re: [FFmpeg-devel] [PATCH 2/5] Use @verbatim instead of @example for ASCII arts

2015-03-23 Thread Michael Niedermayer
On Sun, Mar 22, 2015 at 08:47:17PM -0700, Timothy Gu wrote: > Partially fixes #3869. > --- > doc/ffmpeg.texi | 20 ++-- > doc/ffserver.texi | 6 -- > doc/filters.texi | 4 ++-- > 3 files changed, 16 insertions(+), 14 deletions(-) this seems to cause: make POD doc/ffmp

[FFmpeg-devel] What consequences does "overread end of atom 'colr' by 1 bytes" have?

2015-03-23 Thread Robert Krüger
Hi, after a recent library upgrade in our application, we see tons of those messages. What are the consequences of this? Does libavformat consider this file corrupt? Is this an indication for a demuxer bug? Just ignoring the message does not feel right. Regards, Robert __

Re: [FFmpeg-devel] [PATCH 1/2] dxva2_h264: fix slice offset in long slice structs

2015-03-23 Thread Michael Niedermayer
On Mon, Mar 23, 2015 at 03:58:26PM +0100, Hendrik Leppkes wrote: > Fixes Ticket #4384 > --- > libavcodec/dxva2_h264.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Breaking DRM is a littl

Re: [FFmpeg-devel] [PATCH 2/2] vaapi_h264: fix slice data offset

2015-03-23 Thread Michael Niedermayer
On Mon, Mar 23, 2015 at 03:58:27PM +0100, Hendrik Leppkes wrote: > --- > libavcodec/vaapi_h264.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The bravest are surely those who have the cl

[FFmpeg-devel] [PATCH 1/2] lavu/frame: move av_frame_copy_props() up in the file.

2015-03-23 Thread Ronald S. Bultje
Preparation for following patch. --- libavutil/frame.c | 140 +++--- 1 file changed, 70 insertions(+), 70 deletions(-) diff --git a/libavutil/frame.c b/libavutil/frame.c index 12fe0a6..85f5637 100644 --- a/libavutil/frame.c +++ b/libavutil/frame.c @

[FFmpeg-devel] [PATCH 2/2] avutil: make AVFrameSideData buffers ref-counted.

2015-03-23 Thread Ronald S. Bultje
--- libavutil/frame.c | 53 ++--- libavutil/frame.h | 1 + 2 files changed, 39 insertions(+), 15 deletions(-) diff --git a/libavutil/frame.c b/libavutil/frame.c index 85f5637..4596927 100644 --- a/libavutil/frame.c +++ b/libavutil/frame.c @@ -115,7

Re: [FFmpeg-devel] [PATCH] avutil: make AVFrameSideData buffers ref-counted.

2015-03-23 Thread Ronald S. Bultje
Hi, On Mon, Mar 23, 2015 at 3:41 AM, Nicolas George wrote: > Le duodi 2 germinal, an CCXXIII, Ronald S. Bultje a écrit : > > --- > > libavutil/frame.c | 171 > +++--- > > libavutil/frame.h | 1 + > > 2 files changed, 98 insertions(+), 74 deletio

[FFmpeg-devel] [PATCH 1/2] dxva2_h264: fix slice offset in long slice structs

2015-03-23 Thread Hendrik Leppkes
Fixes Ticket #4384 --- libavcodec/dxva2_h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dxva2_h264.c b/libavcodec/dxva2_h264.c index 451d8a0..62a868b 100644 --- a/libavcodec/dxva2_h264.c +++ b/libavcodec/dxva2_h264.c @@ -222,7 +222,7 @@ static void fill_slice_

[FFmpeg-devel] [PATCH 2/2] vaapi_h264: fix slice data offset

2015-03-23 Thread Hendrik Leppkes
--- libavcodec/vaapi_h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vaapi_h264.c b/libavcodec/vaapi_h264.c index 9794a96..aef0791 100644 --- a/libavcodec/vaapi_h264.c +++ b/libavcodec/vaapi_h264.c @@ -328,7 +328,7 @@ static int vaapi_h264_decode_slice(AVCodec

Re: [FFmpeg-devel] Fwd: GSoC: APNG

2015-03-23 Thread Michael Niedermayer
On Mon, Mar 23, 2015 at 10:50:17AM +, Donny Yang wrote: > Hello > > I was told to send my patch to ffmpeg-devel as well, so here it is. > Please comment/critique on it and how I should improve the patch. Theres another student working on this qualification task already, each student should id

Re: [FFmpeg-devel] [PATCH] lavfi: add inverse telecine filter

2015-03-23 Thread Michael Niedermayer
On Mon, Mar 23, 2015 at 12:47:54PM +, Kieran Kunhya wrote: > > Kieran, the material used in testing is CFR to the best of my knowedge > > the material does not start at pts 0, the code ignores the start time > > aka the first pts. Theres only one possibility to fix this and that is > > to use t

Re: [FFmpeg-devel] [PATCH] lavfi: add inverse telecine filter

2015-03-23 Thread Kieran Kunhya
> Kieran, the material used in testing is CFR to the best of my knowedge > the material does not start at pts 0, the code ignores the start time > aka the first pts. Theres only one possibility to fix this and that is > to use the first pts, no (de)telecine operation can maintain sync > with anothe

Re: [FFmpeg-devel] [PATCH] lavfi: add inverse telecine filter

2015-03-23 Thread Michael Niedermayer
On Mon, Mar 23, 2015 at 11:54:17AM +, Kieran Kunhya wrote: > > why does the filter not use the input pts? > > Michael, none of the PTS hacks will ever work - (inverse)telecine is a > CFR operation. > It inherently requires knowing the duration of the frame and in VFR > mode you don't know it.

Re: [FFmpeg-devel] [PATCH 1/5] doc/fate: better formatting

2015-03-23 Thread Michael Niedermayer
On Sun, Mar 22, 2015 at 08:47:16PM -0700, Timothy Gu wrote: > The initial spaces get ignored anyway so let's be consistent with other docs. > --- > doc/fate.texi | 64 > +-- > 1 file changed, 32 insertions(+), 32 deletions(-) applied thank

Re: [FFmpeg-devel] [PATCH] lavfi: add inverse telecine filter

2015-03-23 Thread Kieran Kunhya
> why does the filter not use the input pts? Michael, none of the PTS hacks will ever work - (inverse)telecine is a CFR operation. It inherently requires knowing the duration of the frame and in VFR mode you don't know it. Kieran ___ ffmpeg-devel mailin

Re: [FFmpeg-devel] Fwd: GSoC: APNG

2015-03-23 Thread Donny Yang
On 23 March 2015 at 21:50, Donny Yang wrote: > Hello > > I was told to send my patch to ffmpeg-devel as well, so here it is. > Please comment/critique on it and how I should improve the patch. > > Regards, > Donny > > -- Forwarded message -- > From: Donny Yang > Date: 22 March 20

[FFmpeg-devel] Fwd: GSoC: APNG

2015-03-23 Thread Donny Yang
Hello I was told to send my patch to ffmpeg-devel as well, so here it is. Please comment/critique on it and how I should improve the patch. Regards, Donny -- Forwarded message -- From: Donny Yang Date: 22 March 2015 at 01:10 Subject: GSoC: APNG To: one...@gmail.com Hello I'm

Re: [FFmpeg-devel] [PATCH] avutil: make AVFrameSideData buffers ref-counted.

2015-03-23 Thread Nicolas George
Le duodi 2 germinal, an CCXXIII, Ronald S. Bultje a écrit : > --- > libavutil/frame.c | 171 > +++--- > libavutil/frame.h | 1 + > 2 files changed, 98 insertions(+), 74 deletions(-) What consequences does it have for API users ? If there are not,

[FFmpeg-devel] Fix Patch for Ticket #2622- Remuxing of hdmv pgs subtitles

2015-03-23 Thread Niklesh Lalwani
Hi everyone, I have fixed the issue #2622 through this pull request . These changes enables to remux m2ts file so that the new file has playable subtitles. However, the subtitle stream type is still unknown, which is m