[FFmpeg-devel] [PATCH] avcodec/mips: Improve avc chroma vert mc msa functions

2017-09-25 Thread kaustubh.raste
From: Kaustubh Raste Replace generic with block size specific function. Signed-off-by: Kaustubh Raste --- libavcodec/mips/h264chroma_msa.c | 237 ++ 1 file changed, 112 insertions(+), 125 deletions(-) diff --git a/libavcodec/mips/h264chroma_msa.c b/libavco

[FFmpeg-devel] [PATCH] avcodec/mips: Improve avc weighted mc msa functions

2017-09-25 Thread kaustubh.raste
From: Kaustubh Raste Replace generic with block size specific function. Signed-off-by: Kaustubh Raste --- libavcodec/mips/h264dsp_msa.c | 423 ++- libavutil/mips/generic_macros_msa.h | 36 +++ 2 files changed, 306 insertions(+), 153 deletions(-) diff -

[FFmpeg-devel] [PATCH] avcodec/mips: Removed generic function call in avc intra msa functions

2017-09-25 Thread kaustubh.raste
From: Kaustubh Raste Signed-off-by: Kaustubh Raste --- libavcodec/mips/h264pred_msa.c | 215 +--- 1 file changed, 92 insertions(+), 123 deletions(-) diff --git a/libavcodec/mips/h264pred_msa.c b/libavcodec/mips/h264pred_msa.c index c297aec..b9990c1 100644 -

Re: [FFmpeg-devel] [PATCH V2] mpeg2_hwaccel: always submit twice for a frame with two fileds.

2017-09-25 Thread Li, Zhong
> -Original Message- > From: Li, Zhong > Sent: Thursday, September 21, 2017 2:13 PM > To: ffmpeg-devel@ffmpeg.org > Cc: s...@jkqxz.net; Zhao, Jun ; nfx...@googlemail.com; > Li, Zhong > Subject: [FFmpeg-devel][PATCH V2] mpeg2_hwaccel: always submit twice > for a frame with two fileds. > >

[FFmpeg-devel] [PATCH] lavf/movdec: flag chapter streams as such, even when not reading them

2017-09-25 Thread Rodger Combs
This allows the use of the `ignore_chapters` option to avoid performing extra seeks at startup without producing "subtitle" chapter streams. --- libavformat/mov.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 25197

[FFmpeg-devel] [PATCH] lavf/dashenc: add format_options option, mirroring segment.c

2017-09-25 Thread Rodger Combs
--- libavformat/dashenc.c | 13 + 1 file changed, 13 insertions(+) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 6471649eb7..5e5bea54c4 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -90,6 +90,7 @@ typedef struct DASHContext { AVRational min_

[FFmpeg-devel] [PATCH] lavu/file: fix build on Android NDK with unified headers

2017-09-25 Thread Rodger Combs
--- libavdevice/fbdev_enc.c | 1 + libavformat/os_support.h | 6 ++ libavutil/file.c | 1 + 3 files changed, 8 insertions(+) diff --git a/libavdevice/fbdev_enc.c b/libavdevice/fbdev_enc.c index b4e5f84975..a9be608383 100644 --- a/libavdevice/fbdev_enc.c +++ b/libavdevice/fbdev_enc.c

[FFmpeg-devel] [PATCH 8/9] avcodec/videotoolbox: use decode_params to propagate PPS changes and restart on SPS changes

2017-09-25 Thread Aman Gupta
From: Aman Gupta If the VideoToolbox session needs to be restarted, and videotoolbox_start() fails for some reason (for instance, if the video is interlaced and the decoder is running on iOS), avcodec will return AVERROR_EXTERNAL. This can be used by the API user to switch to another decoder. ---

[FFmpeg-devel] [PATCH 7/9] avcodec/h264: add decode_params callback to AVHWAccel

2017-09-25 Thread Aman Gupta
From: Aman Gupta This callback will be used by the VideoToolbox H264 hwaccel so that it can receive SPS and PPS NALUs. VideoToolbox requires PPS changes to be fed into the decoder session, and for the session to be recreated when the SPS changes. --- libavcodec/avcodec.h | 12 libav

[FFmpeg-devel] [PATCH 4/9] avcodec/videotoolbox: reset bitstream_size in end_frame

2017-09-25 Thread Aman Gupta
From: Aman Gupta This allows decode_slice to be invoked multiple times before end_frame, causing slices to accumulate before being fed into the VT decoder. An upcoming commit will re-use decode_slice for SPS and PPS nalus, so they can be propagated into the VT decoder session along with slide da

[FFmpeg-devel] [PATCH 1/9] avcodec/videotoolboxenc: remove spurious warning

2017-09-25 Thread Aman Gupta
From: Aman Gupta --- libavcodec/videotoolboxenc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index eba6cc672f..a7bef72da8 100644 --- a/libavcodec/videotoolboxenc.c +++ b/libavcodec/videotoolboxenc.c @@ -1853,8 +1853,6 @@ stati

[FFmpeg-devel] [PATCH 6/9] avcodec/h264, videotoolbox: return AVERROR_INVALIDDATA when no frames are produced

2017-09-25 Thread Aman Gupta
From: Aman Gupta The only reason videotoolbox wouldn't produce frames is if the data fed to it was invalid, so returning AVERROR_INVALIDDATA makes sense here. Further, it means AVERROR_EXTERNAL can be used in further commits to signal fatal VideoToolbox errors, letting the user know that they ne

[FFmpeg-devel] [PATCH 9/9] avcodec/videotoolbox: create avcC even when h264 extradata is missing

2017-09-25 Thread Aman Gupta
From: Aman Gupta Removes the avctx->extradata_size requirement when creating avcC, since avctx->extradata is only used in the esds code path. This fixes an issue where the VideoToolbox decoder would not work unless avformat_find_stream_info() was called. --- libavcodec/videotoolbox.c | 65 +

[FFmpeg-devel] [PATCH 2/9] avcodec/videotoolbox: extract videotoolbox_{start, stop} helpers

2017-09-25 Thread Aman Gupta
From: Aman Gupta These helpers will be used in later commits to automatically restart the decoder session when SPS changes are encountered. --- libavcodec/videotoolbox.c | 36 ++-- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/libavcodec/videotoo

[FFmpeg-devel] [PATCH 3/9] avcodec/videotoolbox: h264 decoder on iOS is unable to decode interlaced video

2017-09-25 Thread Aman Gupta
From: Aman Gupta VideoToolbox's support for interlaced H264 is quite poor. On macOS, VTSessionCopySupportedPropertyDictionary() will show that kVTDecompressionPropertyKey_FieldMode is supported. Possible values for this option include DeinterlaceFields and BothFields. However, files that use MB

[FFmpeg-devel] [PATCH 5/9] avcodec/videotoolbox: print descriptive errors on decode failures

2017-09-25 Thread Aman Gupta
From: Aman Gupta --- libavcodec/videotoolbox.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/libavcodec/videotoolbox.c b/libavcodec/videotoolbox.c index 1de556f3e8..f56ab1f8c9 100644 --- a/libavcodec/videotoolbox.c +++ b/libavcodec/videotoolbox.c @@ -425,7

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/avpacket: deprecate av_copy_packet()

2017-09-25 Thread James Almer
On 9/25/2017 3:08 PM, James Almer wrote: > On 9/23/2017 8:35 PM, James Almer wrote: >> It does the same thing as av_packet_ref(). >> >> Signed-off-by: James Almer >> --- >> libavcodec/avcodec.h | 3 +++ >> libavcodec/avpacket.c | 4 ++-- >> 2 files changed, 5 insertions(+), 2 deletions(-) >> >>

Re: [FFmpeg-devel] [PATCH 1/2] ffmpeg: re-enable hwaccel_lax_profile_check use hwaccel_flags.

2017-09-25 Thread Jun Zhao
On 2017/9/21 15:21, Jun Zhao wrote: Ping? and can you help to review the small patch ? ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH 1/2 v2] movenc: Add an option for enabling negative CTS offsets

2017-09-25 Thread Jan Ekström
From: Martin Storsjö This reduces the need for an edit list; streams that start with e.g. dts=-1, pts=0 can be encoded as dts=0, pts=0 (which is valid in mov/mp4) by shifting the dts values of all packets forward. This avoids the need for edit lists for such streams (while they still are needed f

[FFmpeg-devel] [PATCH 1/2 v3] movenc: Add an option for enabling negative CTS offsets

2017-09-25 Thread Jan Ekström
From: Martin Storsjö This reduces the need for an edit list; streams that start with e.g. dts=-1, pts=0 can be encoded as dts=0, pts=0 (which is valid in mov/mp4) by shifting the dts values of all packets forward. This avoids the need for edit lists for such streams (while they still are needed f

Re: [FFmpeg-devel] [PATCH] swscale_unscaled: fix DITHER_COPY macro, use it only for dst_depth == 8

2017-09-25 Thread Mateusz
W dniu 2017-09-25 o 22:53, Carl Eugen Hoyos pisze: > 2017-09-23 19:18 GMT+02:00 Mateusz : >> W dniu 2017-09-23 o 17:01, Michael Niedermayer pisze: >>> On Fri, Sep 22, 2017 at 02:10:01AM +0200, Mateusz wrote: To reduce bit depth in planar YUV or gray pixel formats ffmpeg uses DITHER_COPY m

Re: [FFmpeg-devel] [PATCH] videotoolbox: log errors

2017-09-25 Thread Aman Gupta
On Wed, May 24, 2017 at 6:47 AM, wm4 wrote: > With the new decode API, you can't handle errors directly in the API > user - you only know that the hwaccel did not initialize at all. > > Add some approximate logging. > --- > libavcodec/videotoolbox.c | 6 ++ > 1 file changed, 6 insertions(+)

Re: [FFmpeg-devel] [PATCH] mov: fix decode of fragments that overlap in time

2017-09-25 Thread John Stebbins
On 09/25/2017 02:27 PM, Carl Eugen Hoyos wrote: > 2017-09-25 23:12 GMT+02:00 John Stebbins : >> FYI, such a facility for marking frames to drop would also >> be useful for frame accurate playback of MP4 edit lists. > Do you have samples with edit lists that do not play > correctly with current FFmp

Re: [FFmpeg-devel] Supporting DirecTV captioning.

2017-09-25 Thread Joseph Van Riper
On Sat, Sep 23, 2017 at 5:44 PM Helmut K. C. Tessarek wrote: > On 2017-09-22 16:34, Joseph Van Riper wrote: > > I would prefer not to sprinkle changes throughout something > > if I can avoid it. > > Have you thought about a third party library then? > > This library can be maintained by the Direc

Re: [FFmpeg-devel] [PATCH] mov: fix decode of fragments that overlap in time

2017-09-25 Thread Carl Eugen Hoyos
2017-09-25 23:12 GMT+02:00 John Stebbins : > FYI, such a facility for marking frames to drop would also > be useful for frame accurate playback of MP4 edit lists. Do you have samples with edit lists that do not play correctly with current FFmpeg? (Others will hopefully comment on this issue, I ce

Re: [FFmpeg-devel] [PATCH] mov: fix decode of fragments that overlap in time

2017-09-25 Thread John Stebbins
On 09/25/2017 01:12 PM, Carl Eugen Hoyos wrote: > 2017-09-25 19:10 GMT+02:00 John Stebbins : >> When keyframe intervals of dash segments are not perfectly aligned, >> fragments in the stream can overlap in time. Append new "trun" index >> entries to the end of the index instead of sorting by time

Re: [FFmpeg-devel] [PATCH] swscale_unscaled: fix DITHER_COPY macro, use it only for dst_depth == 8

2017-09-25 Thread Carl Eugen Hoyos
2017-09-23 19:18 GMT+02:00 Mateusz : > W dniu 2017-09-23 o 17:01, Michael Niedermayer pisze: >> On Fri, Sep 22, 2017 at 02:10:01AM +0200, Mateusz wrote: >>> To reduce bit depth in planar YUV or gray pixel formats >>> ffmpeg uses DITHER_COPY macro. >>> Now it makes images greener and with visible di

Re: [FFmpeg-devel] [PATCH 1/2] libavfilter/scale: More descriptive in/ref/out logging

2017-09-25 Thread Michael Niedermayer
On Sun, Sep 24, 2017 at 09:14:28PM -0400, Kevin Mark wrote: > Hi Ronald, > > On Sat, Sep 23, 2017 at 11:54 AM, Ronald S. Bultje wrote: > > > > Yes, -E works on Mac. > > Thanks! Are there any remaining blockers for a potential merge? There is no gurantee that 3 av_log() calls will be executed wi

[FFmpeg-devel] [PATCH] avcodec/avpacket: deprecate av_copy_packet_side_data()

2017-09-25 Thread James Almer
It leaks memory and destroys the dst packet in case of failure, and it ultimately duplicates functionality already existing in the saner av_packet_copy_props(). Signed-off-by: James Almer --- libavcodec/avcodec.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/avcodec.h b/libav

Re: [FFmpeg-devel] [PATCH] avfilter/interlace: rename two variables for consistency

2017-09-25 Thread Carl Eugen Hoyos
2017-09-19 22:54 GMT+02:00 Thomas Mundt : > The attached patch needs to be applied on top of > "avfilter/interlace: add support for 10 and 12 bit". Pushed. Thank you, Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mai

Re: [FFmpeg-devel] [PATCH] mov: fix decode of fragments that overlap in time

2017-09-25 Thread Carl Eugen Hoyos
2017-09-25 19:10 GMT+02:00 John Stebbins : > When keyframe intervals of dash segments are not perfectly aligned, > fragments in the stream can overlap in time. Append new "trun" index > entries to the end of the index instead of sorting by timestamp. > Sorting by timestamp causes packets to be read

Re: [FFmpeg-devel] libavcodec/hapdec : add support for HapAphaOnly decoding

2017-09-25 Thread Carl Eugen Hoyos
2017-09-25 21:25 GMT+02:00 Martin Vignali : > 2017-09-25 20:19 GMT+02:00 Carl Eugen Hoyos : > >> 2017-09-25 9:48 GMT+02:00 Martin Vignali : >> >> >> >> Sorry if I misunderstand: >> >> If the format only contains one layer, why is the pix_fmt >> >> rgb0 and not gray8? >> >> > I follow the existing t

Re: [FFmpeg-devel] Frame CRC muxer

2017-09-25 Thread Carl Eugen Hoyos
2017-09-25 20:49 GMT+02:00 Bjorn Roche : > In the meantime, I've attached the patch if anyone wants to look at it. Can you explain why you had to patch the gif encoder? I thought it is able to encode transparency, no? Carl Eugen ___ ffmpeg-devel mailin

Re: [FFmpeg-devel] [PATCH v2 1/3] lavu: add an AV_FRAME_DATA_GAMMA side data type

2017-09-25 Thread James Almer
On 9/25/2017 4:28 PM, Rostislav Pehlivanov wrote: > Signed-off-by: Rostislav Pehlivanov > --- > doc/APIchanges | 3 +++ > libavutil/frame.h | 6 ++ > libavutil/version.h | 2 +- > 3 files changed, 10 insertions(+), 1 deletion(-) > > diff --git a/doc/APIchanges b/doc/APIchanges > index

Re: [FFmpeg-devel] [PATCH v2 2/3] pngdec: expose gAMA and cHRM chunks as side data

2017-09-25 Thread James Almer
On 9/25/2017 4:28 PM, Rostislav Pehlivanov wrote: > Signed-off-by: Rostislav Pehlivanov > --- > libavcodec/pngdec.c | 48 > 1 file changed, 48 insertions(+) > > diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c > index 0d6612ccca..2d005f90fc

Re: [FFmpeg-devel] [PATCH v2 3/3] ffprobe: add support for logging gamma side data

2017-09-25 Thread James Almer
On 9/25/2017 4:28 PM, Rostislav Pehlivanov wrote: > Signed-off-by: Rostislav Pehlivanov > --- > ffprobe.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/ffprobe.c b/ffprobe.c > index b2e8949d9f..171f856c2d 100644 > --- a/ffprobe.c > +++ b/ffprobe.c > @@ -2227,6 +2227,9 @@ static voi

[FFmpeg-devel] [PATCH v2 1/3] lavu: add an AV_FRAME_DATA_GAMMA side data type

2017-09-25 Thread Rostislav Pehlivanov
Signed-off-by: Rostislav Pehlivanov --- doc/APIchanges | 3 +++ libavutil/frame.h | 6 ++ libavutil/version.h | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index d06144f1e9..427d7e5613 100644 --- a/doc/APIchanges +++ b/doc/APIcha

[FFmpeg-devel] [PATCH v2 3/3] ffprobe: add support for logging gamma side data

2017-09-25 Thread Rostislav Pehlivanov
Signed-off-by: Rostislav Pehlivanov --- ffprobe.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ffprobe.c b/ffprobe.c index b2e8949d9f..171f856c2d 100644 --- a/ffprobe.c +++ b/ffprobe.c @@ -2227,6 +2227,9 @@ static void show_frame(WriterContext *w, AVFrame *frame, AVStream *stream,

[FFmpeg-devel] [PATCH v2 2/3] pngdec: expose gAMA and cHRM chunks as side data

2017-09-25 Thread Rostislav Pehlivanov
Signed-off-by: Rostislav Pehlivanov --- libavcodec/pngdec.c | 48 1 file changed, 48 insertions(+) diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index 0d6612ccca..2d005f90fc 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -2

Re: [FFmpeg-devel] libavcodec/hapdec : add support for HapAphaOnly decoding

2017-09-25 Thread Martin Vignali
2017-09-25 20:19 GMT+02:00 Carl Eugen Hoyos : > 2017-09-25 9:48 GMT+02:00 Martin Vignali : > >> > >> Sorry if I misunderstand: > >> If the format only contains one layer, why is the pix_fmt > >> rgb0 and not gray8? > > > I follow the existing texture dsp design, who output RGB0 > > or RGBA dependi

Re: [FFmpeg-devel] Frame CRC muxer

2017-09-25 Thread James Almer
On 9/25/2017 3:49 PM, Bjorn Roche wrote: > Hi there, > > I have a patch for this issue: > > https://trac.ffmpeg.org/ticket/4443 > > However, when running the automated ("fate") tests, I get the error pasted > below. I'm not sure what's going on since the output formats look different > when runn

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/videotoolbox: fix decoding of some h264 bitstreams

2017-09-25 Thread Aman Gupta
On Mon, Sep 25, 2017 at 3:06 AM, wm4 wrote: > On Mon, 25 Sep 2017 09:02:36 +0200 > Hendrik Leppkes wrote: > > > On Mon, Sep 25, 2017 at 3:31 AM, Aman Gupta wrote: > > > > > > How do the other hwaccels handle mid-stream SPS changes? > > > > > > > Real HWAccels (ie. VAAPI, VDPAU or DXVA) communic

[FFmpeg-devel] Frame CRC muxer

2017-09-25 Thread Bjorn Roche
Hi there, I have a patch for this issue: https://trac.ffmpeg.org/ticket/4443 However, when running the automated ("fate") tests, I get the error pasted below. I'm not sure what's going on since the output formats look different when running a the test vs when I run the same command with my built

Re: [FFmpeg-devel] [PATCH 3/4] avdevice/decklink_dec: Added Closed caption decode from VANC

2017-09-25 Thread Marton Balint
On Wed, 20 Sep 2017, Jeyapal, Karthick wrote: Then please add the relevant copyright line to the file you changed. (Probably "Rafaël Carré" but please verify yourself) Carl Eugen Thanks for the clarification. I have added the copyright line as you have advised. (Yes, I have verified that th

Re: [FFmpeg-devel] libavcodec/hapdec : add support for HapAphaOnly decoding

2017-09-25 Thread Carl Eugen Hoyos
2017-09-25 9:48 GMT+02:00 Martin Vignali : >> >> Sorry if I misunderstand: >> If the format only contains one layer, why is the pix_fmt >> rgb0 and not gray8? > I follow the existing texture dsp design, who output RGB0 > or RGBA depending of the texture. > But you're right, the format is gray only

Re: [FFmpeg-devel] libavcodec/hapenc : add support for hap alpha only encoding

2017-09-25 Thread Carl Eugen Hoyos
2017-09-25 9:55 GMT+02:00 Martin Vignali : >> >> Same question as before: >> How can 24bit input be encoded into alpha? > > For now, the texturedspenc, only support rgba as input. > This encoder, use the alpha part of the rgba input and > ignore the rgb part. > > But maybe it's more convenient, to

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/avpacket: deprecate av_copy_packet()

2017-09-25 Thread James Almer
On 9/23/2017 8:35 PM, James Almer wrote: > It does the same thing as av_packet_ref(). > > Signed-off-by: James Almer > --- > libavcodec/avcodec.h | 3 +++ > libavcodec/avpacket.c | 4 ++-- > 2 files changed, 5 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/avcodec.h b/libavcodec/avc

Re: [FFmpeg-devel] [PATCH] mov: fix decode of fragments that overlap in time

2017-09-25 Thread John Stebbins
On 09/25/2017 10:31 AM, wm4 wrote: > On Mon, 25 Sep 2017 10:10:58 -0700 > John Stebbins wrote: > >> When keyframe intervals of dash segments are not perfectly aligned, >> fragments in the stream can overlap in time. Append new "trun" index >> entries to the end of the index instead of sorting by t

Re: [FFmpeg-devel] [PATCH] avdevice/decklink: new options 'list_pixelformats' and 'pixelformat_code' to allow pixelformat selection by code

2017-09-25 Thread Marton Balint
On Thu, 21 Sep 2017, Gildas Fargeas wrote: Hey, do you need more stuff changed on this patch ? No, just waiting for other pending decklink patches to push (and test) them at once. Regards, Marton 2017-09-07 14:46 GMT+02:00 Gildas Fargeas : Ok, I changed the texi, added the bitrate an

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/avpacket: add av_packet_copy_side_data()

2017-09-25 Thread James Almer
On 9/25/2017 2:45 PM, wm4 wrote: > On Mon, 25 Sep 2017 14:37:52 -0300 > James Almer wrote: > >> On 9/25/2017 2:29 PM, wm4 wrote: >>> On Mon, 25 Sep 2017 14:07:54 -0300 >>> James Almer wrote: >>> On 9/25/2017 1:43 PM, wm4 wrote: > On Mon, 25 Sep 2017 10:58:31 -0300 > James Almer

Re: [FFmpeg-devel] [PATCH] mov: fix decode of fragments that overlap in time

2017-09-25 Thread John Stebbins
On 09/25/2017 10:12 AM, Carl Eugen Hoyos wrote: > 2017-09-25 19:10 GMT+02:00 John Stebbins : >> When keyframe intervals of dash segments are not perfectly aligned, >> fragments in the stream can overlap in time. Append new "trun" index >> entries to the end of the index instead of sorting by timest

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/avpacket: add av_packet_copy_side_data()

2017-09-25 Thread wm4
On Mon, 25 Sep 2017 14:37:52 -0300 James Almer wrote: > On 9/25/2017 2:29 PM, wm4 wrote: > > On Mon, 25 Sep 2017 14:07:54 -0300 > > James Almer wrote: > > > >> On 9/25/2017 1:43 PM, wm4 wrote: > >>> On Mon, 25 Sep 2017 10:58:31 -0300 > >>> James Almer wrote: > >>> > > Using av_pac

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/avpacket: add av_packet_copy_side_data()

2017-09-25 Thread James Almer
On 9/25/2017 2:29 PM, wm4 wrote: > On Mon, 25 Sep 2017 14:07:54 -0300 > James Almer wrote: > >> On 9/25/2017 1:43 PM, wm4 wrote: >>> On Mon, 25 Sep 2017 10:58:31 -0300 >>> James Almer wrote: >>> > Using av_packet_copy_props() instead of introducing yet another weird > function would b

Re: [FFmpeg-devel] [PATCH] mov: fix decode of fragments that overlap in time

2017-09-25 Thread wm4
On Mon, 25 Sep 2017 10:10:58 -0700 John Stebbins wrote: > When keyframe intervals of dash segments are not perfectly aligned, > fragments in the stream can overlap in time. Append new "trun" index > entries to the end of the index instead of sorting by timestamp. > Sorting by timestamp causes pac

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/avpacket: add av_packet_copy_side_data()

2017-09-25 Thread wm4
On Mon, 25 Sep 2017 14:07:54 -0300 James Almer wrote: > On 9/25/2017 1:43 PM, wm4 wrote: > > On Mon, 25 Sep 2017 10:58:31 -0300 > > James Almer wrote: > > > >>> Using av_packet_copy_props() instead of introducing yet another weird > >>> function would be better. > >> > >> It can't be used

Re: [FFmpeg-devel] [PATCH] mov: fix decode of fragments that overlap in time

2017-09-25 Thread Carl Eugen Hoyos
2017-09-25 19:10 GMT+02:00 John Stebbins : > When keyframe intervals of dash segments are not perfectly aligned, > fragments in the stream can overlap in time. Append new "trun" index > entries to the end of the index instead of sorting by timestamp. > Sorting by timestamp causes packets to be read

[FFmpeg-devel] [PATCH] mov: fix decode of fragments that overlap in time

2017-09-25 Thread John Stebbins
When keyframe intervals of dash segments are not perfectly aligned, fragments in the stream can overlap in time. Append new "trun" index entries to the end of the index instead of sorting by timestamp. Sorting by timestamp causes packets to be read out of decode order and results in decode errors.

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/avpacket: add av_packet_copy_side_data()

2017-09-25 Thread James Almer
On 9/25/2017 1:43 PM, wm4 wrote: > On Mon, 25 Sep 2017 10:58:31 -0300 > James Almer wrote: > >>> Using av_packet_copy_props() instead of introducing yet another weird >>> function would be better. >> >> It can't be used in some cases. Look at the last two patches in the set. >> copy_props can't

Re: [FFmpeg-devel] [PATCH] avfilter/interlace: rename two variables for consistency

2017-09-25 Thread Thomas Mundt
2017-09-19 22:54 GMT+02:00 Thomas Mundt : > The attached patch needs to be applied on top of > "avfilter/interlace: add support for 10 and 12 bit". > Thanks. > Ping This patch is needful cosmetic after last commit. ___ ffmpeg-devel mailing list ffmpeg-d

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/avpacket: add av_packet_copy_side_data()

2017-09-25 Thread wm4
On Mon, 25 Sep 2017 10:58:31 -0300 James Almer wrote: > > Using av_packet_copy_props() instead of introducing yet another weird > > function would be better. > > It can't be used in some cases. Look at the last two patches in the set. > copy_props can't be used there without some extra pointle

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/avpacket: add av_packet_copy_side_data()

2017-09-25 Thread James Almer
On 9/25/2017 6:50 AM, wm4 wrote: > On Sun, 24 Sep 2017 22:06:09 -0300 > James Almer wrote: > >> It's added as a replacemet of av_copy_packet_side_data() using the proper >> av_packet_* namespace, and differs from it in the following ways: >> >> - Side data already allocated and copied is properly

[FFmpeg-devel] [PATCH] avcodec/mips: preload data in hevc sao edge 45 degree filter msa functions

2017-09-25 Thread kaustubh.raste
From: Kaustubh Raste Signed-off-by: Kaustubh Raste --- libavcodec/mips/hevc_lpf_sao_msa.c | 197 1 file changed, 135 insertions(+), 62 deletions(-) diff --git a/libavcodec/mips/hevc_lpf_sao_msa.c b/libavcodec/mips/hevc_lpf_sao_msa.c index 39c647e..c192265

[FFmpeg-devel] [PATCH v2 1/2] avfilter/vf_fps: clean-up filter options

2017-09-25 Thread Tobias Rapp
Align order of "start_time" option within filter documentation to actual implementation and add missing AV_OPT_FLAG_FILTERING_PARAM flag. Fix indent of "round" named constants and clear unused field values. Also fix some documentation cosmetics. Signed-off-by: Tobias Rapp --- doc/filters.texi

[FFmpeg-devel] [PATCH v2 2/2] avfilter/vf_fps: add eof_action filter option

2017-09-25 Thread Tobias Rapp
Allows to specify the action to be performed when reading the last frame from the internal FIFO buffer. By default the last frame is written to filter output depending on the timestamp rounding method. When using "pass" action the last frame is passed through if input duration has not been reached

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/videotoolbox: fix decoding of some h264 bitstreams

2017-09-25 Thread wm4
On Mon, 25 Sep 2017 09:02:36 +0200 Hendrik Leppkes wrote: > On Mon, Sep 25, 2017 at 3:31 AM, Aman Gupta wrote: > > > > How do the other hwaccels handle mid-stream SPS changes? > > > > Real HWAccels (ie. VAAPI, VDPAU or DXVA) communicate the SPS/PPS > content for every frame, they don't keep a

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/avpacket: add av_packet_copy_side_data()

2017-09-25 Thread wm4
On Sun, 24 Sep 2017 22:06:09 -0300 James Almer wrote: > It's added as a replacemet of av_copy_packet_side_data() using the proper > av_packet_* namespace, and differs from it in the following ways: > > - Side data already allocated and copied is properly freed in case of failure. > - The dst pac

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_fps: clean-up filter options

2017-09-25 Thread Tobias Rapp
On 23.09.2017 17:05, Michael Niedermayer wrote: On Fri, Sep 22, 2017 at 08:52:26AM +0200, Tobias Rapp wrote: On 22.09.2017 01:58, Michael Niedermayer wrote: On Thu, Sep 21, 2017 at 04:55:51PM +0200, Tobias Rapp wrote: Align order of "start_time" option to documentation and add missing AV_OPT_F

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

2017-09-25 Thread Martin Vignali
> > > Yes. > > Or we could switch now to a file that we know we will have > to add. > No strong opinion here: I just wanted to point out that we > will need another sample - that we already have. I wonder > if keeping the size of fate small(er) is also a relevant > argument. > Ok, feel free to rep

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

2017-09-25 Thread Carl Eugen Hoyos
2017-09-25 9:52 GMT+02:00 Martin Vignali : >> > >> > But we can of course have more than one sample >> > for cineform... > > I don't know the exact guidelines for fate test, but i think > we can have several sample, who test several things. > > For now, there is no fate test for this decoder > we c

Re: [FFmpeg-devel] libavcodec/hapenc : add support for hap alpha only encoding

2017-09-25 Thread Martin Vignali
> > Same question as before: > How can 24bit input be encoded into alpha? > > > > For now, the texturedspenc, only support rgba as input. This encoder, use the alpha part of the rgba input and ignore the rgb part. But maybe it's more convenient, to use Gray8 as input for HapAlphaOnly and not suppo

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

2017-09-25 Thread Martin Vignali
> > > > But we can of course have more than one sample > > for cineform... > > I don't know the exact guidelines for fate test, but i think we can have several sample, who test several things. For now, there is no fate test for this decoder we can use the sample of this patch, for a first fate t

Re: [FFmpeg-devel] [PATCH] swscale_unscaled: fix DITHER_COPY macro, use it only for dst_depth == 8

2017-09-25 Thread Mateusz
W dniu 2017-09-25 o 01:42, Carl Eugen Hoyos pisze: > 2017-09-23 19:18 GMT+02:00 Mateusz : > >> In reality -- current version of DITHER_COPY mess >> up the average color tone. > > You could explain how we can reproduce this. Please take any video with colors that you can see change to green color

Re: [FFmpeg-devel] libavcodec/hapdec : add support for HapAphaOnly decoding

2017-09-25 Thread Martin Vignali
> > Sorry if I misunderstand: > If the format only contains one layer, why is the pix_fmt > rgb0 and not gray8? > > Carl Eugen > > > Hello, I follow the existing texture dsp design, who output RGB0 or RGBA depending of the texture. But you're right, the format is gray only, Martin ___

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/videotoolbox: fix decoding of some h264 bitstreams

2017-09-25 Thread Hendrik Leppkes
On Mon, Sep 25, 2017 at 3:31 AM, Aman Gupta wrote: > > How do the other hwaccels handle mid-stream SPS changes? > Real HWAccels (ie. VAAPI, VDPAU or DXVA) communicate the SPS/PPS content for every frame, they don't keep a persistent state internally - that way the only "state" is the frame size a