[FFmpeg-devel] [PATCH]Set option flags for AV_CODEC_FLAG_TRUNCATED

2015-09-23 Thread Carl Eugen Hoyos
Hi! The flag truncated is currently not shown by the help output. Please comment, Carl Eugen diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h index 2171aea..8b32ae2 100644 --- a/libavcodec/options_table.h +++ b/libavcodec/options_table.h @@ -70,7 +70,7 @@ static const AVOption

Re: [FFmpeg-devel] [PATCH] Update Cookies on Setcookie playlist response

2015-09-23 Thread wm4
On Wed, 23 Sep 2015 00:55:39 + Lucas Andrade wrote: > I've tested and this works. Cookies is being set correctly. As you can see, > I've removed the opts2 as it isn't needed anymore. I've added the cookie > update to open_url (setting the HLSContext->cookies and the opts (maybe > used on ciph

Re: [FFmpeg-devel] [DECISION] Server "move"

2015-09-23 Thread Gwenole Beauchesne
Hi, 2015-09-22 14:21 GMT+02:00 Clément Bœsch : > On Mon, Sep 21, 2015 at 08:27:47PM +0100, Kieran Kunhya wrote: >> > This "decision" thingy, is intended to confirm that >> > * Stuff should be moved to the telepoint server, possibly duplicates >> > should be left at/moved to the hetzner server fo

Re: [FFmpeg-devel] [PATCH] hls, libstagefright

2015-09-23 Thread Michael Niedermayer
On Wed, Sep 23, 2015 at 01:05:53PM +0800, 赵宇龙 wrote: > From f5ff9a07a755123c259f6483fa3c55be1bb41abf Mon Sep 17 00:00:00 2001 > From: zylthinking > Date: Wed, 23 Sep 2015 12:55:27 +0800 > Subject: [PATCH] initialize duration of a living hls stream to an known > value > > Signed-off-by: zylthinkin

Re: [FFmpeg-devel] [RFC][PATCH] ffmpeg: add option to transform metadata using iconv

2015-09-23 Thread James Darnley
On 2015-09-22 20:22, Nicolas George wrote: > Le primidi 1er vendémiaire, an CCXXIV, James Darnley a écrit : >> +@item -metadata_iconv_code_page_list @var{code_page_list} >> +Force the metadata from input files to be converted through the given >> codepages >> +using iconv. This allows the user to

[FFmpeg-devel] [PATCH] movenc: Don't require a global sidx box to write the dash brand

2015-09-23 Thread Derek Buitenhuis
There's no reason this should be required. Signed-off-by: Derek Buitenhuis --- As far as I know, anyway. --- libavformat/movenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index af03d1e..10cd044 100644 --- a/libavformat/movenc

[FFmpeg-devel] [PATCH 0/2] vf_scale handling of chroma sample position

2015-09-23 Thread Christophe Gisquet
Currently, the related ffmpeg's command-line parameters are ignored. While the handling may catch buggy behaviour by forcing sane values, breaking the command line sounds like a larger problem. A fate test is added, as the issue was never caught. The modification does not seem to break fate-vfilte

[FFmpeg-devel] [PATCH 1/2] vf_scale: conditionally override chroma position

2015-09-23 Thread Christophe Gisquet
For yuv420p, the chroma position is unilaterally overriden, even if ffmpeg's command-line explicitly set it. To fix this, override only if the value is the default one. Regression since 1515bfb3. --- libavfilter/vf_scale.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/

[FFmpeg-devel] [PATCH 2/2] fate: add chroma position scale test

2015-09-23 Thread Christophe Gisquet
The sample position is made weird and non-nominal to force catching such issues as default values or specialized operations hiding issues in corner cases. --- tests/fate/filter-video.mak | 4 tests/ref/fate/filter-scalechroma | 26 ++ 2 files changed, 30 inserti

Re: [FFmpeg-devel] [PATCH] movenc: Don't require a global sidx box to write the dash brand

2015-09-23 Thread Derek Buitenhuis
On 9/23/2015 2:02 PM, Derek Buitenhuis wrote: > There's no reason this should be required. > > Signed-off-by: Derek Buitenhuis > --- > As far as I know, anyway. Dropping this: [14:13] < Daemon404> muken, ping [14:13] < Daemon404> any comment on: http://ffmpeg.org/pipermail/ffmpeg-devel/2015-Se

Re: [FFmpeg-devel] [PATCH] hls, libstagefright

2015-09-23 Thread Ganesh Ajjanagadde
On Wed, Sep 23, 2015 at 7:09 AM, Michael Niedermayer wrote: > On Wed, Sep 23, 2015 at 01:05:53PM +0800, 赵宇龙 wrote: >> From f5ff9a07a755123c259f6483fa3c55be1bb41abf Mon Sep 17 00:00:00 2001 >> From: zylthinking >> Date: Wed, 23 Sep 2015 12:55:27 +0800 >> Subject: [PATCH] initialize duration of a l

[FFmpeg-devel] [PATCH] hevc: fix WPP mode

2015-09-23 Thread Christophe Gisquet
Hi, under highly-threaded loads, parallel decoding of WPP is subject to a race condition. This basically fixes ticket #4365. -- Christophe From ec49c1774c93b52ff83098b8b531ba4084b3bbb2 Mon Sep 17 00:00:00 2001 From: Christophe Gisquet Date: Tue, 14 Apr 2015 17:56:54 +0200 Subject: [PATCH 71/88

Re: [FFmpeg-devel] [RFC][PATCH] ffmpeg: add option to transform metadata using iconv

2015-09-23 Thread Nicolas George
Le primidi 1er vendémiaire, an CCXXIV, James Darnley a écrit : > At present it only converts global metadata as that is what I wanted to do. > It > should be possible to extend it so that the conversion can be different for > different files or streams. > --- > doc/ffmpeg.texi | 6 +++ > ffmpe

Re: [FFmpeg-devel] [PATCH] hevc: fix WPP mode

2015-09-23 Thread Ronald S. Bultje
Hi, On Wed, Sep 23, 2015 at 10:33 AM, Christophe Gisquet < christophe.gisq...@gmail.com> wrote: > Hi, > > under highly-threaded loads, parallel decoding of WPP is subject to a > race condition. > > This basically fixes ticket #4365. Nice catch! Lgtm. Ronald

Re: [FFmpeg-devel] [PATCH] hevc: fix WPP mode

2015-09-23 Thread Mickaël Raulet
Hi Christophe, the fix looks weird to me. There is something else underlying. Mickaël 2015-09-23 16:53 GMT+02:00 Ronald S. Bultje : > Hi, > > On Wed, Sep 23, 2015 at 10:33 AM, Christophe Gisquet < > christophe.gisq...@gmail.com> wrote: > > > Hi, > > > > under highly-threaded loads, parallel dec

[FFmpeg-devel] [PATCH] checkasm/x86: Correctly handle variadic functions

2015-09-23 Thread Henrik Gramner
The System V ABI on x86-64 specifies that the al register contains an upper bound of the number of arguments passed in vector registers when calling variadic functions, so we aren't allowed to clobber it. checkasm_fail_func() is a variadic function so also zero al before calling it. --- tests/che

Re: [FFmpeg-devel] [PATCH] hevc: fix WPP mode

2015-09-23 Thread Christophe Gisquet
Hi, 2015-09-23 17:06 GMT+02:00 Mickaël Raulet : > the fix looks weird to me. There is something else underlying. The issue appeared in d249e682 (not the hash I reported, for some reason). If you want to test, that commit is buggy (it causes crashes): commit 7117547 is needed to fix it. IIRC (the

[FFmpeg-devel] lavu: add text encoding conversion API

2015-09-23 Thread Nicolas George
Hi. This is a proposal for an API in libavutil to perform text encoding conversions. I had it in mind to clean up the subtitles code initially, and now it could be useful for James' proposal about metadata. The issues are relying on the optional system feature iconv, clumsy and annoying buffer man

[FFmpeg-devel] PATCH: gdigrab work for DPI in windows

2015-09-23 Thread Roger Pack
See attached, tested locally. Cheers! -roger- 0001-gdigrab-grab-right-desktop-size-if-DPI-in-use-based-.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] Internet radio using ffmpeg?

2015-09-23 Thread Abhilash Mhaisne
Hey all, I am working on an internet radio, which will stream music continuosly. I plan on implementing the RTP/RTSP protocol. I plan to use java. Can this be done using ffmpeg? Are there java bindings for the same? How well do you guys think is ffmpeg suitable for the application? Is there a b

Re: [FFmpeg-devel] [RFC][PATCH] ffmpeg: add option to transform metadata using iconv

2015-09-23 Thread James Darnley
On 2015-09-23 16:56, Nicolas George wrote: > Le primidi 1er vendémiaire, an CCXXIV, James Darnley a écrit : >> At present it only converts global metadata as that is what I wanted to do. >> It >> should be possible to extend it so that the conversion can be different for >> different files or str

[FFmpeg-devel] [PATCH] avfilter/af_tremolo: make it bit-exact with sox effect of same name

2015-09-23 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/Makefile | 2 +- libavfilter/af_tremolo.c | 45 ++--- 2 files changed, 23 insertions(+), 24 deletions(-) diff --git a/libavfilter/Makefile b/libavfilter/Makefile index 7054275..c70887e 100644 --- a/libavfilt

Re: [FFmpeg-devel] [PATCH 1/2] vf_scale: conditionally override chroma position

2015-09-23 Thread Michael Niedermayer
On Wed, Sep 23, 2015 at 03:06:01PM +0200, Christophe Gisquet wrote: > For yuv420p, the chroma position is unilaterally overriden, even > if ffmpeg's command-line explicitly set it. To fix this, override > only if the value is the default one. > > Regression since 1515bfb3. > --- > libavfilter/vf_

Re: [FFmpeg-devel] lavu: add text encoding conversion API

2015-09-23 Thread James Darnley
On 2015-09-23 19:28, Nicolas George wrote: > Hi. > > This is a proposal for an API in libavutil to perform text encoding > conversions. I had it in mind to clean up the subtitles code initially, and > now it could be useful for James' proposal about metadata. The issues are > relying on the option

Re: [FFmpeg-devel] [PATCH 2/2] fate: add chroma position scale test

2015-09-23 Thread Michael Niedermayer
On Wed, Sep 23, 2015 at 03:06:02PM +0200, Christophe Gisquet wrote: > The sample position is made weird and non-nominal to force catching > such issues as default values or specialized operations hiding > issues in corner cases. > --- > tests/fate/filter-video.mak | 4 > tests/ref/fate

Re: [FFmpeg-devel] [PATCH] avfilter/af_tremolo: make it bit-exact with sox effect of same name

2015-09-23 Thread Kyle Swanson
Looks good. Thanks for the clean-up. On Wed, Sep 23, 2015 at 4:22 PM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavfilter/Makefile | 2 +- > libavfilter/af_tremolo.c | 45 ++--- > 2 files changed, 23 insertions(+), 24 deletions(-) >

[FFmpeg-devel] OpenJPEG2 for JPEG2000

2015-09-23 Thread Vincent Olivier
Hi guys, I was just wondering if it would be possible to link to OpenJPEG v2 instead of v1 for JPEG2000 encoding/decoding. I compiled 2.8 on my arch linux 4.1.6 machine and it linked to version 1. I found this : https://trac.ffmpeg.org/ticket/2016 It is marked as “fixed” but it doesn’t appear

Re: [FFmpeg-devel] [PATCH] checkasm: add vp9dsp.itxfm_add tests.

2015-09-23 Thread Ronald S. Bultje
Hi, On Tue, Sep 22, 2015 at 1:26 PM, Ronald S. Bultje wrote: > --- > tests/checkasm/vp9dsp.c | 273 > > 1 file changed, 273 insertions(+) Poke. Ronald ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpe

Re: [FFmpeg-devel] [PATCH] avformat/http: detect end of received on chunked persistenc

2015-09-23 Thread Michael Niedermayer
On Tue, Sep 22, 2015 at 05:02:38AM +, Schenk, Michael wrote: > Dear friends, > we had a problem with an HLS server which was using chunked http transfer > over persistence http connection. > Even if we have received all data (chunksize = 0) the read of a m3u8 playlist > was blocked till the s

[FFmpeg-devel] [PATCH]Remove --disable-avutil and sanitize --disable-all

2015-09-23 Thread Carl Eugen Hoyos
Hi! The configure option --disable-avutil has no effect, --disable-all does not disable avutil (it never has), but it currently disables all dependencies of libavutil in an unexpected way: A library that was never disabled has to be enabled (with --enable-avutil) to enable dependent options. At

Re: [FFmpeg-devel] [PATCH] avcodec/x86/cavsdsp: silence -Wunuse-variable on --disable-mmx

2015-09-23 Thread Michael Niedermayer
On Sat, Sep 19, 2015 at 10:41:57AM -0400, Ganesh Ajjanagadde wrote: > On Sat, Sep 19, 2015 at 10:34 AM, Ganesh Ajjanagadde > wrote: > > This silences -Wunused-variable when compiled with --disable-mmx, e.g > > http://fate.ffmpeg.org/log.cgi?time=20150919094617&log=compile&slot=x86_64-archlinux-gcc

Re: [FFmpeg-devel] [PATCHv2] avcodec/ac3enc: use long long after switch to 64 bit bitrate

2015-09-23 Thread Michael Niedermayer
On Sat, Sep 19, 2015 at 09:57:56AM -0400, Ganesh Ajjanagadde wrote: > Commit 7404f3bdb switched bitrate to 64 bits. > This triggers -Wabsolute-value on clang, e.g > http://fate.ffmpeg.org/log.cgi?time=20150917122742&log=compile&slot=x86_64-darwin-clang-3.7-O3. > Therefore, usage of abs is changed t