Re: [FFmpeg-devel] [PATCH 5/5] avformat/matroskaenc: update AV1 support

2018-07-30 Thread Steve Lhomme
On 30/07/2018 17:13, James Almer wrote: On 7/30/2018 2:03 AM, Steve Lhomme wrote: On 26/07/2018 03:11, James Almer wrote: Make sure to not write forbidden OBUs to CodecPrivate, and do the same with unnecessary OBUs for packets. Does this include reordering the OBUs ? The first one must be the

Re: [FFmpeg-devel] [PATCH 4/5] avformat/mov: add support for AV1 streams

2018-07-30 Thread James Almer
On 7/19/2018 12:16 PM, James Almer wrote: > On 7/19/2018 9:57 AM, Francois Cartegnie wrote: >> Hi, >> >> Sorry, can't reply to thread. >> >>> +if (version != 0) { >>> +av_log(c->fc, AV_LOG_WARNING, "Unknown AV1 Codec Configuration Box >>> version %d\n", version); >>> +return 0;

[FFmpeg-devel] [PATCH] lavc/svq3: Fix regression decoding some files.

2018-07-30 Thread Nikolas Bowe
Fixes some SVQ3 encoded files which fail to decode correctly after 6d6faa2a2d. These files exhibit lots of artifacts and logs show "Media key encryption is not implemented". However they decode without artifacts before 6d6faa2a2d. The attatched patch allows these files to successfully decode, but

Re: [FFmpeg-devel] [PATCH] Avoid undefined behavior when start_time_text is -1<<63

2018-07-30 Thread Michael Niedermayer
On Mon, Jul 30, 2018 at 01:49:24PM -0700, Fredrik Hubinette wrote: > Is casting a negative integer to unsigned defined behavior? yes 6.3.1.3 Signed and unsigned integers 2 Otherwise, if the new type is unsigned, the value is converted by repeatedly adding or subtracting one more than the maxi

[FFmpeg-devel] [PATCH 2/2] avformat/av1: reorder av1C OBUs before writting them

2018-07-30 Thread James Almer
Make sure Sequence Header is first, and only allow one of its kind. Signed-off-by: James Almer --- Both these patches should be applied before "[PATCH 5/5] avformat/matroskaenc: update AV1 support" Was not planning on sending them until https://github.com/AOMediaCodec/av1-isobmff/issues/50 and a

[FFmpeg-devel] [PATCH 1/2] avcodec/av1_parse: return size of the parsed obu in parse_obu_header()

2018-07-30 Thread James Almer
Signed-off-by: James Almer --- libavcodec/av1_parse.c | 6 ++ libavcodec/av1_parse.h | 8 +++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/libavcodec/av1_parse.c b/libavcodec/av1_parse.c index 48feb9fb8a..b1da44ec72 100644 --- a/libavcodec/av1_parse.c +++ b/libavcodec/a

Re: [FFmpeg-devel] [PATCH] Avoid undefined behavior by limiting PTS to 62 bits in ogg decoder

2018-07-30 Thread Michael Niedermayer
On Mon, Jul 30, 2018 at 01:31:59PM -0700, Fredrik Hubinette wrote: > Not sure how to update the commit message. git commit --amend > The undefined behavior occurs in av_add_stable, which is called from > compute_packet_fields. > In that code PTS can be equal to -(1<<63), which then causes a int6

Re: [FFmpeg-devel] [FFmpeg-user] fMP4 generation speed

2018-07-30 Thread Ronak
> On Jul 25, 2018, at 11:42 PM, Liu Steven wrote: > > > >> 在 2018年7月26日,上午11:30,Ronak Patel 写道: >> >> >> >>> On Jul 25, 2018, at 11:25 PM, Ronak Patel >>> wrote: >>> >>> >>> On Jul 25, 2018, at 11:12 PM, Liu Steven wrote: > 在 2018年7月26日,上午7:04,Ronak Patel

Re: [FFmpeg-devel] [GSOC] [PATCH] On the fly generation of default DNN models and code style fixes

2018-07-30 Thread Michael Niedermayer
On Mon, Jul 30, 2018 at 07:59:00PM +0300, Sergey Lavrushkin wrote: > 2018-07-30 2:01 GMT+03:00 Michael Niedermayer : > > > On Sat, Jul 28, 2018 at 01:00:53PM +0300, Sergey Lavrushkin wrote: > > > 2018-07-28 4:31 GMT+03:00 Michael Niedermayer : > > > > > > > On Fri, Jul 27, 2018 at 08:06:15PM +0300

Re: [FFmpeg-devel] [PATCH] avcodec/h264_mp4toannexb_bsf: use enum constants for the NAL unit type values

2018-07-30 Thread James Almer
On 7/29/2018 9:24 PM, myp...@gmail.com wrote: > LGTM Pushed, thanks. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] Avoid undefined behavior when start_time_text is -1<<63

2018-07-30 Thread Fredrik Hubinette
Is casting a negative integer to unsigned defined behavior? On Wed, Jul 18, 2018 at 3:55 AM Michael Niedermayer wrote: > On Tue, Jul 17, 2018 at 02:37:55PM -0700, Fredrik Hubinette wrote: > > > > > utils.c |2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > e69f1a3a447e331cad7ea85

Re: [FFmpeg-devel] [PATCH] Avoid undefined behavior by limiting PTS to 62 bits in ogg decoder

2018-07-30 Thread Fredrik Hubinette
Not sure how to update the commit message. The undefined behavior occurs in av_add_stable, which is called from compute_packet_fields. In that code PTS can be equal to -(1<<63), which then causes a int64_t to overflow. On Wed, Jul 18, 2018 at 4:04 AM Michael Niedermayer wrote: > On Mon, Jul 16,

[FFmpeg-devel] [PATCH] avformat/utils: set AV_PKT_FLAG_KEY for data packets

2018-07-30 Thread Baptiste Coudurier
--- libavformat/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index c9cdd2b470..b15f20dd23 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -1405,7 +1405,7 @@ static void compute_pkt_fields(AVFormatContext *s, AV

[FFmpeg-devel] Media Player Dveloper

2018-07-30 Thread Sanjeev Narula
Deat Sir, We are looking for a developer to help us build a Media Player for providing IPTV Services. Sanjeev K Narula CEO, Brands TV Media New Delhi M +919818719906 ( What's App ) ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/

Re: [FFmpeg-devel] [PATCH] avcodec/libopusenc: allow encoding channel mapping 2

2018-07-30 Thread Felicia Lim
On Sat, Jul 28, 2018 at 10:46 AM Rostislav Pehlivanov wrote: > On 27 July 2018 at 20:44, Felicia Lim > wrote: > > > --- > > libavcodec/libopusenc.c | 22 ++ > > 1 file changed, 22 insertions(+) > > > > diff --git a/libavcodec/libopusenc.c b/libavcodec/libopusenc.c > > index

Re: [FFmpeg-devel] [GSOC] [PATCH] On the fly generation of default DNN models and code style fixes

2018-07-30 Thread Sergey Lavrushkin
2018-07-30 2:01 GMT+03:00 Michael Niedermayer : > On Sat, Jul 28, 2018 at 01:00:53PM +0300, Sergey Lavrushkin wrote: > > 2018-07-28 4:31 GMT+03:00 Michael Niedermayer : > > > > > On Fri, Jul 27, 2018 at 08:06:15PM +0300, Sergey Lavrushkin wrote: > > > > Hello, > > > > > > > > The first patch provi

Re: [FFmpeg-devel] [PATCH 5/5] avformat/matroskaenc: update AV1 support

2018-07-30 Thread James Almer
On 7/30/2018 2:03 AM, Steve Lhomme wrote: > On 26/07/2018 03:11, James Almer wrote: >> Make sure to not write forbidden OBUs to CodecPrivate, and do the same >> with >> unnecessary OBUs for packets. > > Does this include reordering the OBUs ? The first one must be the > Sequence Header OBU. Also i

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

2018-07-30 Thread Jun Zhao
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. - Clean the logic when setting first_slice_segment_in_pic_flags. V4: - Change the array malloc

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

2018-07-30 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 | 30 -- 1 files changed, 24 insertions(+), 6 deletions(-) diff --git a/libavcodec/vaapi_encode_h265.c b/libavcodec/vaapi_e

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

2018-07-30 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 910fd1b..53d6424 1006

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

2018-07-30 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 | 31 +-- 1 files changed, 25 insertions(+), 6 deletions(-) diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_e

[FFmpeg-devel] hardware codec acceleration of ffmpeg

2018-07-30 Thread tugouxp
hi folks: how to utilize the hardware video decoder on specify platform based on ffmpeg framework? now a have a platform with hardware decoder which supports full video format, but i cant use the utility because the decoder process go through the software flow. ___

Re: [FFmpeg-devel] Why not integrate libyuv as a scale filter

2018-07-30 Thread Moritz Barsnick
On Tue, Jul 24, 2018 at 01:41:14 +0200, Michael Niedermayer wrote: > > Finding out why it has better performance (figures?) and integrating the > > same optimizations would be more in line with the project policy, I > > think. > > same oppinion here, if its better in some case, please integrate wh

Re: [FFmpeg-devel] [PATCH 2/2] fate: add tests for audio channel up-/downmixing with pan filter

2018-07-30 Thread Tobias Rapp
On 27.07.2018 16:10, Nicolas George wrote: Tobias Rapp (2018-07-26): Add tests for upmixing and downmixing with audio channel counts that have a corresponding default layout and also tests where there is no default layout. Update the existing "stereo4" test so it actually outputs stereo like th

Re: [FFmpeg-devel] [PATCH 1/2] tests/audiogen: raise channel count limit to 12

2018-07-30 Thread Tobias Rapp
On 27.07.2018 21:48, Michael Niedermayer wrote: On Thu, Jul 26, 2018 at 09:13:41AM +0200, Tobias Rapp wrote: Signed-off-by: Tobias Rapp --- tests/audiogen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/audiogen.c b/tests/audiogen.c index 8d596b5..c43bb70 100644 -