Re: [libav-devel] [PATCH 16/24] examples/encode_video: set the framerate

2016-10-24 Thread Vittorio Giovara
On Thu, Oct 20, 2016 at 10:07 AM, Anton Khirnov wrote: > --- > doc/examples/encode_video.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/doc/examples/encode_video.c b/doc/examples/encode_video.c > index 72020e0..bd10d40 100644 > ---

Re: [libav-devel] [PATCH 17/24] examples/encode_video: use the AVFrame API for allocating the frame

2016-10-24 Thread Vittorio Giovara
On Thu, Oct 20, 2016 at 10:07 AM, Anton Khirnov wrote: > It is more efficient and so preferred over allocating the buffers > manually. > --- > doc/examples/encode_video.c | 19 --- > 1 file changed, 12 insertions(+), 7 deletions(-) > > diff --git

[libav-devel] [PATCH] mov: Evaluate the movie display matrix

2016-10-24 Thread Vittorio Giovara
This matrix needs to be applied after all others have (currently only display matrix from trak), but cannot be handled in movie box, since streams are not allocated yet. So store it in main context, and apply it when appropriate, that is after parsing the tkhd one. Fate tests are updated

[libav-devel] [PATCH 2/3] fate: Add tests for mov display matrix

2016-10-24 Thread Vittorio Giovara
Rotation, sample/display aspect ratio and pure matrix export. Signed-off-by: Vittorio Giovara --- Split tests as requested, moved them back to mov.mak. Vittorio tests/Makefile| 1 + tests/fate-run.sh | 4 tests/fate/mov.mak

[libav-devel] [PATCH 1/3] avprobe: Add -show_stream_entry to get a single stream property

2016-10-24 Thread Vittorio Giovara
This is needed for improved fate testing and it is modeled after -show_format_entry. The main behavioral difference is that when a print function is called with an empty key, rather than discarding it, the closes key in the hierarchy is used instead. Signed-off-by: Vittorio Giovara

[libav-devel] [PATCH 3/3] mov: Evaluate the movie display matrix

2016-10-24 Thread Vittorio Giovara
This matrix needs to be applied after all others have (currently only display matrix from trak), but cannot be handled in movie box, since streams are not allocated yet. So store it in main context, and apply it when appropriate, that is after parsing the tkhd one. Fate tests are updated

Re: [libav-devel] [PATCH 05/24] examples/encode_audio: use the AVFrame API for allocating the data

2016-10-24 Thread Vittorio Giovara
On Thu, Oct 20, 2016 at 10:07 AM, Anton Khirnov wrote: > It is simpler and more efficient. > --- > doc/examples/encode_audio.c | 28 +++- > 1 file changed, 11 insertions(+), 17 deletions(-) > > diff --git a/doc/examples/encode_audio.c

Re: [libav-devel] [PATCH] scale_npp: fix passthrough mode

2016-10-24 Thread Luca Barbato
On 24/10/2016 15:00, Yogender Gupta wrote: > The pass through mode is broken, since error is returned when none of the > stages is needed. In such a case only 0 should be returned. > > Try command line with i/p resolution = o/p resolution to observe the issue. > > Sample Command Line : avconv

Re: [libav-devel] [PATCH] scale_npp: fix passthrough mode

2016-10-24 Thread Yogender Gupta
>>Sample Command Line : avconv -y -hwaccel cuvid -c:v h264_cuvid -vsync 0 -i >>amazing_10.mp4 -vf scale_npp=1920:1072 -vcodec h264_nvenc tmp0.mp4 >>(amazing.mp4 should be 1920x1072 in this case) Correction - CUVID is not supported by libav currently. A patch will be submitted shortly. Thanks,

Re: [libav-devel] [PATCH 01/12] yadif: x86 assembly for 16-bit samples

2016-10-24 Thread Diego Biurrun
On Sat, Oct 22, 2016 at 12:40:14PM +0200, Janne Grunau wrote: > On 2016-10-21 10:06:23 +0200, Anton Khirnov wrote: > > Quoting Janne Grunau (2016-10-16 20:10:51) > > > From: James Darnley > > > > > > This is a fairly dumb copy of the assembly for 8-bit samples but it > >

[libav-devel] [PATCH] scale_npp: fix passthrough mode

2016-10-24 Thread Yogender Gupta
The pass through mode is broken, since error is returned when none of the stages is needed. In such a case only 0 should be returned. Try command line with i/p resolution = o/p resolution to observe the issue. Sample Command Line : avconv -y -hwaccel cuvid -c:v h264_cuvid -vsync 0 -i

[libav-devel] [PATCH] fate: Add --ignore-tests configure option for omitting specific FATE tests

2016-10-24 Thread Diego Biurrun
This can be useful to filter out noise in known-broken scenarios like miscompilation by legacy compilers and similar. --- Updated help text description, removed stray extra whitespace. configure | 11 +++ doc/fate.texi | 1 + tests/Makefile | 2 +- tests/fate.sh | 1 + 4 files