Re: [FFmpeg-devel] [PATCH] Respect payload offset in av_grow_packet

2016-05-25 Thread Andriy Lysnevych
You are right. Please review updated patch. From 62b31fa4b05fc600eada4fb28b352e5b87bd60f8 Mon Sep 17 00:00:00 2001 From: Andriy Lysnevych Date: Wed, 25 May 2016 12:55:39 +0300 Subject: [PATCH] Respect payload offset in av_grow_packet --- libavcodec/avpacket.c | 19 --- 1 file cha

Re: [FFmpeg-devel] [PATCH] Respect payload offset in av_grow_packet

2016-05-25 Thread Michael Niedermayer
On Wed, May 25, 2016 at 01:01:27PM +0300, Andriy Lysnevych wrote: > You are right. Please review updated patch. > avpacket.c | 19 --- > 1 file changed, 12 insertions(+), 7 deletions(-) > 44aa8ad5f855c68cbed7da06dbf2be888ede301d > 0001-Respect-payload-offset-in-av_grow_packet.

Re: [FFmpeg-devel] [PATCH 1/2] lavfi/vf_overlay: change variable name to avoid shadowing

2016-05-25 Thread Michael Niedermayer
On Tue, May 24, 2016 at 09:42:57PM -0500, Rodger Combs wrote: > --- > libavfilter/vf_overlay.c | 32 > 1 file changed, 16 insertions(+), 16 deletions(-) LGTM thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB You can kill me, b

[FFmpeg-devel] [PATCH 0/5] avutil/qsv add hwcontext_qsv

2016-05-25 Thread nablet developer
added hwcontext_qsv (Intel QuickSync video) it will handle MFX session initialization and deinitialization, and will allow to share that code between libavcodec and libavfilter without adding new API calls for QSV, and also using similar approach to CUDA & VAAPI (VPP filter patch is postponded with

[FFmpeg-devel] [PATCH 4/5] avcodec/qsvenc: use hwcontext_qsv instead of ff_qsv_init_internal_session

2016-05-25 Thread nablet developer
Signed-off-by: nablet developer --- libavcodec/qsvenc.c | 29 +++-- libavcodec/qsvenc.h | 3 +-- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index 6145121..8eefa06 100644 --- a/libavcodec/qsvenc.c +++ b/libavco

[FFmpeg-devel] [PATCH 3/5] avcodec/qsvdec: use hwcontext_qsv instead of ff_qsv_init_internal_session

2016-05-25 Thread nablet developer
Signed-off-by: nablet developer --- libavcodec/qsvdec.c | 29 ++--- libavcodec/qsvdec.h | 4 +--- 2 files changed, 23 insertions(+), 10 deletions(-) diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c index 5253a57..e21ed20 100644 --- a/libavcodec/qsvdec.c +++ b/libav

[FFmpeg-devel] [PATCH 2/5] avutil/qsv: add hwcontext_qsv (QuickSync Video)

2016-05-25 Thread nablet developer
Signed-off-by: nablet developer --- libavutil/Makefile | 3 + libavutil/hwcontext.c | 3 + libavutil/hwcontext.h | 1 + libavutil/hwcontext_internal.h | 1 + libavutil/hwcontext_qsv.c | 255 + libavutil/hwcontext_q

Re: [FFmpeg-devel] [PATCH 2/2] lavfi/vf_overlay: support NV12

2016-05-25 Thread Michael Niedermayer
On Tue, May 24, 2016 at 09:42:58PM -0500, Rodger Combs wrote: > --- > libavfilter/vf_overlay.c | 15 ++- > 1 file changed, 10 insertions(+), 5 deletions(-) should be ok if it works a fate test would also be good thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF1336

[FFmpeg-devel] [PATCH 1/5] avutil/qsv: move ff_qsv_error function from libavcodec into libavutil, because it's going to be shared between libavcodec (existing QSV encoders & decoders), libavfilter (up

2016-05-25 Thread nablet developer
Signed-off-by: nablet developer --- libavcodec/qsv.c | 41 - libavcodec/qsv_internal.h | 5 libavcodec/qsvdec.c | 7 +++--- libavcodec/qsvenc.c | 11 + libavutil/Makefile| 1 + libavutil/qsv_internal.c | 58

[FFmpeg-devel] [PATCH 5/5] avcodec/qsv: remove no longer needed functions ff_qsv_init_internal_session & ff_qsv_close_internal_session, structure QSVSession, since they are now replaced by avutil/hwco

2016-05-25 Thread nablet developer
Signed-off-by: nablet developer --- libavcodec/qsv.c | 186 -- libavcodec/qsv_internal.h | 30 2 files changed, 216 deletions(-) diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c index 8cd03e8..22c99cf 100644 --- a/libavcodec/qsv.c ++

Re: [FFmpeg-devel] [PATCH 2/4] lavc/bsf: add a null bitstream filter.

2016-05-25 Thread Michael Niedermayer
On Thu, May 19, 2016 at 09:47:10AM +0200, Nicolas George wrote: > It passes packets unchanged with a very low overhead. > Using it allows to have the same code path when bitstream filtering > is not used, making the code simpler and avoiding bitroting. > The filter can not be disabled so that appli

[FFmpeg-devel] Ffmpeg with own filter

2016-05-25 Thread Semen Zaytsev
Hi guys, i tried to use information in wirting_filters.txt, but when i'm compiling with MSYS2 in MinGWx64 in Windows, the filter is in config, but i'can not use in ffmpeg by command. How do I resolve this problem? ___ ffmpeg-devel mailing list ffmpeg-deve

Re: [FFmpeg-devel] Ffmpeg with own filter

2016-05-25 Thread Paul B Mahol
On 5/25/16, Semen Zaytsev wrote: > Hi guys, i tried to use information in wirting_filters.txt, but when i'm > compiling with MSYS2 in MinGWx64 in Windows, the filter is in config, but > i'can not use in ffmpeg by command. > How do I resolve this problem? > _

Re: [FFmpeg-devel] Ffmpeg with own filter

2016-05-25 Thread Semen Zaytsev
I defined my filter in those files, and i string about configure this filter in config.mak, I content of vf_edgedetect.c, defined in makefile and in allfilters.c, when i trying to use "ffmpeg -i http://samples.ffmpeg.org/image-samples/lena.pnm -vf foobar foobar.png". I'm receiving [AVFilterGraph @

Re: [FFmpeg-devel] Ffmpeg with own filter

2016-05-25 Thread Semen Zaytsev
I defined my filter in those files, and i string about configure this filter in config.mak, I move content of vf_edgedetect.c to vf_foobar.c, defined in makefile and in allfilters.c, when i trying to use "ffmpeg -i http://samples.ffmpeg.org/image-samples/lena.pnm -vf foobar foobar.png". I'm receivi

Re: [FFmpeg-devel] Ffmpeg with own filter

2016-05-25 Thread Paul B Mahol
Dana 25. 5. 2016. 15:12 osoba "Semen Zaytsev" napisala je: > > I defined my filter in those files, and i string about configure this > filter in config.mak, I move content of vf_edgedetect.c to vf_foobar.c, > defined in makefile and in allfilters.c, when i trying to use "ffmpeg -i > http://samples

Re: [FFmpeg-devel] [PATCH v2 1/2] avcodec/dca_exss: prepare to be called from parser context

2016-05-25 Thread James Almer
On 5/23/2016 11:58 AM, foo86 wrote: > --- > Updated version of the patch: don't print error or warning messages when > called > from parser context to avoid duplicating messages from decoder context. > > libavcodec/dca_exss.c | 31 --- > libavcodec/dca_exss.h | 2 +-

Re: [FFmpeg-devel] [PATCH v2 2/2] avcodec/dca_parser: set duration for core-less streams

2016-05-25 Thread James Almer
On 5/23/2016 11:58 AM, foo86 wrote: > --- > Updated version of the patch: don't set avctx field in DCAExssParser structure > to indicate that ff_dca_exss_parse() is being called from parser context. > > libavcodec/dca_parser.c | 68 > ++--- > 1 file ch

Re: [FFmpeg-devel] Ffmpeg with own filter

2016-05-25 Thread Semen Zaytsev
Of course i corrected this: and looks that: AVFilter ff_vf_foobar = { .name = "foobar", .description = NULL_IF_CONFIG_SMALL("Detect and draw edge."), .priv_size = sizeof(EdgeDetectContext), .init = init, .uninit= uninit, .query_formats = query

Re: [FFmpeg-devel] [PATCH 1/2] lavc/mediacodec: factorize static fields initialization

2016-05-25 Thread Matthieu Bouron
On Tue, May 17, 2016 at 04:44:57PM +0200, Matthieu Bouron wrote: > On Tue, May 17, 2016 at 03:20:53PM +0200, Matthieu Bouron wrote: > > From: Matthieu Bouron > > > > --- > > libavcodec/mediacodec_wrapper.c | 167 > > ++-- > > 1 file changed, 57 insertions(+),

Re: [FFmpeg-devel] [PATCH] Respect payload offset in av_grow_packet

2016-05-25 Thread Andriy Lysnevych
> data_offset should probably be size_t, thats also what offsetof() would > give > a pointer difference can be larger than INT_MAX Done > also please add a av_assert0 that pkt->data is not NULL or handle that > case Done NULL data handling but it makes code more complex. Please check. > as pkt-

Re: [FFmpeg-devel] [PATCH] avfilter/src_movie: add various commands

2016-05-25 Thread Michael Niedermayer
On Thu, Feb 18, 2016 at 01:22:58AM +0700, Muhammad Faiz wrote: > On Wed, Feb 17, 2016 at 10:20 PM, wm4 wrote: > > On Wed, 17 Feb 2016 21:30:20 +0700 > > Muhammad Faiz wrote: > > > >> From 6291c06dacbe2aa48a97bf36835ec8a3bce8a40a Mon Sep 17 00:00:00 2001 > >> From: Muhammad Faiz > >> Date: Wed, 1

Re: [FFmpeg-devel] [PATCH] avfilter/src_movie: add various commands

2016-05-25 Thread Michael Niedermayer
On Wed, Feb 17, 2016 at 11:26:45PM +0700, Muhammad Faiz wrote: > On Wed, Feb 17, 2016 at 10:58 PM, wm4 wrote: > > On Wed, 17 Feb 2016 22:55:47 +0700 > > Muhammad Faiz wrote: > > > >> On Wed, Feb 17, 2016 at 10:20 PM, wm4 wrote: > >> > On Wed, 17 Feb 2016 21:30:20 +0700 > >> > Muhammad Faiz wrot

Re: [FFmpeg-devel] [PATCH 2/2] lavc/mediacodec: add missing MediaCodec.Get{Input, Output}Buffer() checks

2016-05-25 Thread Matthieu Bouron
On Thu, May 19, 2016 at 11:46:22AM +0200, Matthieu Bouron wrote: > On Tue, May 17, 2016 at 03:20:54PM +0200, Matthieu Bouron wrote: > > From: Matthieu Bouron > > > > --- > > libavcodec/mediacodec_wrapper.c | 8 > > 1 file changed, 8 insertions(+) > > > > diff --git a/libavcodec/mediaco

[FFmpeg-devel] Filter: Add snapshot filter. It is enable to save snapshot.

2016-05-25 Thread kl222
Filter: Add snapshot filter. It can save a snapshot picture. Supports .png, .jpg, .bmp formats Snapshot with process_command api. 0003-Filter-Add-snapshot-filter.-It-is-enable-to-save-sna.patch Description: Binary data ___ ffmpeg-devel mailing list f

Re: [FFmpeg-devel] [PATCH] avfilter/src_movie: add various commands

2016-05-25 Thread Michael Niedermayer
On Wed, May 25, 2016 at 04:58:04PM +0200, Michael Niedermayer wrote: > On Wed, Feb 17, 2016 at 11:26:45PM +0700, Muhammad Faiz wrote: > > On Wed, Feb 17, 2016 at 10:58 PM, wm4 wrote: > > > On Wed, 17 Feb 2016 22:55:47 +0700 > > > Muhammad Faiz wrote: > > > > > >> On Wed, Feb 17, 2016 at 10:20 PM,

[FFmpeg-devel] [PATCH] avfilter/src_movie: Add option to remove timestamp discontinuities

2016-05-25 Thread Michael Niedermayer
TODO: docs This can also be extended to remove discontiuities caused by seek commands Signed-off-by: Michael Niedermayer --- libavfilter/src_movie.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c index 9ac115b..737

[FFmpeg-devel] [PATCH 2/2] lavc: show gapless info in stream summary

2016-05-25 Thread Jon Toohill
Also adds trailing_padding to AVCodecContext to match AVCodecParameters so that it doesn't get lost when mapping between them. --- doc/APIchanges | 4 libavcodec/avcodec.h | 11 +++ libavcodec/utils.c | 38 ++ libavcodec/version.h | 2 +-

[FFmpeg-devel] [PATCH 0/2] Pass Xing gapless metadata to users during mp3 parsing

2016-05-25 Thread Jon Toohill
These patches expose the encoder delay/padding parsed from an mp3's Xing header to users of lavc/lavf, and show gapless info in the stream summary string. Jon Toohill (2): lavf/mp3dec: pass Xing gapless metadata to AVCodecParameters lavc: show gapless info in stream summary doc/APIchanges

[FFmpeg-devel] [PATCH 1/2] lavf/mp3dec: pass Xing gapless metadata to AVCodecParameters

2016-05-25 Thread Jon Toohill
--- libavformat/mp3dec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index 3725d67..192f5ef 100644 --- a/libavformat/mp3dec.c +++ b/libavformat/mp3dec.c @@ -234,6 +234,8 @@ static void mp3_parse_info_tag(AVFormatContext *s, AVStream *st,

Re: [FFmpeg-devel] [PATCH] doc/developer.texi: Add a code of conduct

2016-05-25 Thread Rostislav Pehlivanov
On 23 May 2016 at 17:26, Michael Niedermayer wrote: > On Sat, May 21, 2016 at 05:28:09PM -0400, Ronald S. Bultje wrote: > > Hi, > > > > On Sat, May 21, 2016 at 11:32 AM, James Almer wrote: > > > > > On 5/18/2016 3:40 PM, Michael Niedermayer wrote: > > > > Signed-off-by: Michael Niedermayer > >

Re: [FFmpeg-devel] [PATCH 1/2] lavf/mp3dec: pass Xing gapless metadata to AVCodecParameters

2016-05-25 Thread James Almer
On 5/25/2016 1:56 PM, Jon Toohill wrote: > --- > libavformat/mp3dec.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c > index 3725d67..192f5ef 100644 > --- a/libavformat/mp3dec.c > +++ b/libavformat/mp3dec.c > @@ -234,6 +234,8 @@ static void

Re: [FFmpeg-devel] [PATCH 1/2] lavf/mp3dec: pass Xing gapless metadata to AVCodecParameters

2016-05-25 Thread Ronald S. Bultje
Hi, On Wed, May 25, 2016 at 1:24 PM, James Almer wrote: > On 5/25/2016 1:56 PM, Jon Toohill wrote: > > --- > > libavformat/mp3dec.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c > > index 3725d67..192f5ef 100644 > > --- a/libavforma

[FFmpeg-devel] FFmpeg filter overlay + amix

2016-05-25 Thread Semen Zaytsev
Hi guys, is it possible to combine overlay filter and amix filter into one filter? ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH v2 2/2] avcodec/dca_parser: set duration for core-less streams

2016-05-25 Thread foo86
On Wed, May 25, 2016 at 11:34:13AM -0300, James Almer wrote: > On 5/23/2016 11:58 AM, foo86 wrote: > > --- > > Updated version of the patch: don't set avctx field in DCAExssParser > > structure > > to indicate that ff_dca_exss_parse() is being called from parser context. > > > > libavcodec/dca_p

Re: [FFmpeg-devel] [PATCH v2 2/2] avcodec/dca_parser: set duration for core-less streams

2016-05-25 Thread James Almer
On 5/25/2016 3:35 PM, foo86 wrote: > On Wed, May 25, 2016 at 11:34:13AM -0300, James Almer wrote: >> On 5/23/2016 11:58 AM, foo86 wrote: >>> --- >>> Updated version of the patch: don't set avctx field in DCAExssParser >>> structure >>> to indicate that ff_dca_exss_parse() is being called from pars

Re: [FFmpeg-devel] [PATCH v2 2/2] avcodec/dca_parser: set duration for core-less streams

2016-05-25 Thread foo86
On Wed, May 25, 2016 at 04:31:10PM -0300, James Almer wrote: > On 5/25/2016 3:35 PM, foo86 wrote: > > On Wed, May 25, 2016 at 11:34:13AM -0300, James Almer wrote: > >> On 5/23/2016 11:58 AM, foo86 wrote: > >>> --- > >>> Updated version of the patch: don't set avctx field in DCAExssParser > >>> str

Re: [FFmpeg-devel] [PATCH v2 2/2] avcodec/dca_parser: set duration for core-less streams

2016-05-25 Thread James Almer
On 5/25/2016 7:51 PM, foo86 wrote: > On Wed, May 25, 2016 at 04:31:10PM -0300, James Almer wrote: >> On 5/25/2016 3:35 PM, foo86 wrote: >>> On Wed, May 25, 2016 at 11:34:13AM -0300, James Almer wrote: On 5/23/2016 11:58 AM, foo86 wrote: > --- > Updated version of the patch: don't set a

Re: [FFmpeg-devel] [Vote] Code of Conduct

2016-05-25 Thread Michael Niedermayer
On Wed, May 18, 2016 at 08:40:07PM +0200, Michael Niedermayer wrote: > This is the version i had in my pending branch and should be the last > version of the Code of Conduct from march, IIRC there where no further > comments on the last version, so iam calling everyone to vote on this. > Everyone

[FFmpeg-devel] how to deal with the situation of full disk

2016-05-25 Thread qw
Hi, In some rare case, when there are huge AV transcoding tasks, disk will become full if old files are not deleted immediately. Then those running transcoding tasks may not work correctly. In general transcoding application, av_interleaved_write_frame() and av_read_frame() are used to write o

[FFmpeg-devel] [patch]ffmpeg: read interaction command from a file.

2016-05-25 Thread kl222
ffmpeg: read interaction command from a file. ffmpeg-read-interaction-command-from-a-file.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel