Re: [libav-devel] [PATCH 1/2] avcodec: Undeprecate reordered_opaque

2014-08-06 Thread Vladimir Pantelic
I agree with Kieran and Martin, it is very useful to be able to pass a reference to frame specific private data through the decoder. so I am happy to see this undeprecated Regards, Vladimir On Wed, Aug 6, 2014 at 1:40 PM, Martin Storsjö mar...@martin.st wrote: On Mon, 4 Aug 2014, Diego

Re: [libav-devel] [PATCH 1/6] dsputil: Drop unused bit_depth parameter from all init functions

2014-07-11 Thread Vladimir Pantelic
Looks good to me On Wed, Jul 9, 2014 at 4:02 PM, Diego Biurrun di...@biurrun.de wrote: --- libavcodec/arm/dsputil_arm.h| 3 +-- libavcodec/arm/dsputil_init_arm.c | 5 ++--- libavcodec/arm/dsputil_init_armv6.c | 3 +-- libavcodec/dsputil.c| 8 +++-

[libav-devel] [PATCH] adpcmenc: allow to force a certain blocksize when encoding, ADPCM

2014-07-09 Thread Vladimir Pantelic
$subject From 3daffc80be7e112e92844791a07c5e5e82365b4f Mon Sep 17 00:00:00 2001 From: Vladimir Pantelic vlado...@gmail.com Date: Wed, 9 Jul 2014 14:38:26 +0200 Subject: [PATCH] adpcmenc: allow to force a certain blocksize when encoding ADPCM Signed-off-by: Vladimir Pantelic vlado...@gmail.com

Re: [libav-devel] [PATCH 118/132] x86: dsputil: Replace silly mmx suffix on encoding init functions by x86

2014-07-08 Thread Vladimir Pantelic
it does as advertised, OK by me On 07/08/2014 02:39 PM, Diego Biurrun wrote: --- libavcodec/x86/dsputil_init.c | 2 +- libavcodec/x86/dsputil_x86.h| 4 ++-- libavcodec/x86/dsputilenc_mmx.c | 4 ++-- libavcodec/x86/motion_est.c | 2 +- 4 files changed, 6 insertions(+), 6

[libav-devel] [PATCH] http: allow to seek to the end of a file

2014-03-14 Thread Vladimir Pantelic
$subject From 40591ddc0f25992fe1accbe0fc33afc2cd1cd1d1 Mon Sep 17 00:00:00 2001 From: Vladimir Pantelic vlado...@gmail.com Date: Fri, 14 Mar 2014 15:25:19 +0100 Subject: [PATCH] http: allow to seek to the end of a file Seeking to the end of the file is a valid operation but not supported by HTTP

[libav-devel] [PATCH 3/5] asfenc: add ASF_Reserved_4 as defined in section 10.10 of the ASF spec

2013-09-19 Thread Vladimir Pantelic
Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- libavformat/asf.c | 4 libavformat/asf.h | 1 + 2 files changed, 5 insertions(+) diff --git a/libavformat/asf.c b/libavformat/asf.c index 52afa09..ec34b50 100644 --- a/libavformat/asf.c +++ b/libavformat/asf.c @@ -117,6 +117,10

[libav-devel] asfenc: mux chapters in ASF files (v3)

2013-09-19 Thread Vladimir Pantelic
long awaited, finally we can have chapters in the bestest container format ever! now handling chapters without a name ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

[libav-devel] [PATCH 5/5] asfenc: mux chapters in ASF files using an ASF marker section

2013-09-19 Thread Vladimir Pantelic
ASF markers only have a start time, so we lose the chapter end times, but that is ASF for you Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- Changelog| 1 + libavformat/asfenc.c | 66 +++- 2 files changed, 66 insertions(+), 1

[libav-devel] [PATCH 4/5] asfenc: remember send time and offset of the index entries

2013-09-19 Thread Vladimir Pantelic
Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- libavformat/asf.h| 2 ++ libavformat/asfenc.c | 4 2 files changed, 6 insertions(+) diff --git a/libavformat/asf.h b/libavformat/asf.h index 4ac644e..2f6722a 100644 --- a/libavformat/asf.h +++ b/libavformat/asf.h @@ -78,6 +78,8

[libav-devel] [PATCH 2/5] asfdec: replace magic constant with DATA_HEADER_SIZE

2013-09-19 Thread Vladimir Pantelic
Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- libavformat/asfenc.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c index 6be285c..e37b6f7 100644 --- a/libavformat/asfenc.c +++ b/libavformat/asfenc.c @@ -182,6

[libav-devel] [PATCH 1/5] asfdec: substract preroll time from marker presentation time

2013-09-19 Thread Vladimir Pantelic
this was forgotten when we changed ASF to not output the preroll time Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- libavformat/asfdec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index f3978f0..b99cb02 100644 --- a/libavformat

Re: [libav-devel] [PATCH 1/5] asfdec: substract preroll time from marker presentation time

2013-09-19 Thread Vladimir Pantelic
On Sep 19, 2013 7:35 PM, Diego Biurrun di...@biurrun.de wrote: On Thu, Sep 19, 2013 at 05:50:34PM +0200, Vladimir Pantelic wrote: this was forgotten when we changed ASF to not output the preroll time Start sentences capitalized and end in a period. period I forgot, capitalized is against my

Re: [libav-devel] [PATCH 2/5] asfdec: replace magic constant with DATA_HEADER_SIZE

2013-09-11 Thread Vladimir Pantelic
On Sep 11, 2013 9:54 PM, Diego Biurrun di...@biurrun.de wrote: On Wed, Sep 11, 2013 at 08:19:05PM +0200, vladimir wrote: --- a/libavformat/asfenc.c +++ b/libavformat/asfenc.c @@ -533,6 +535,7 @@ static int asf_write_header1(AVFormatContext *s, int64_t file_size, /* movie chunk,

Re: [libav-devel] asfenc: mux chapters in ASF files

2013-09-11 Thread Vladimir Pantelic
yeah. I'll fix my setup On Sep 11, 2013 10:29 PM, Vladimir Pantelic vlado...@gmail.com wrote: Elvis? On Sep 11, 2013 9:53 PM, Diego Biurrun di...@biurrun.de wrote: On Wed, Sep 11, 2013 at 08:19:03PM +0200, vladimir wrote: long awaited, finally we can have chapters in the bestest container

Re: [libav-devel] asfenc: mux chapters in ASF files

2013-09-11 Thread Vladimir Pantelic
Elvis? On Sep 11, 2013 9:53 PM, Diego Biurrun di...@biurrun.de wrote: On Wed, Sep 11, 2013 at 08:19:03PM +0200, vladimir wrote: long awaited, finally we can have chapters in the bestest container format ever! Can we have a proper name please? Diego

[libav-devel] [PATCH 5/5] asfenc: mux chapters in ASF files using an ASF marker section

2013-09-11 Thread Vladimir Pantelic
ASF markers only have a start time, so we lose the chapter end times, but that is ASF for you Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- Changelog| 1 + libavformat/asfenc.c | 63 +++- 2 files changed, 63 insertions(+), 1

[libav-devel] [PATCH 1/5] asfdec: substract preroll time from marker presentation time

2013-09-11 Thread Vladimir Pantelic
this was forgotten when we changed ASF to not output the preroll time Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- libavformat/asfdec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index f3978f0..b99cb02 100644 --- a/libavformat

[libav-devel] [PATCH 4/5] asfenc: remember send time and offset of the index entries

2013-09-11 Thread Vladimir Pantelic
Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- libavformat/asf.h| 2 ++ libavformat/asfenc.c | 4 2 files changed, 6 insertions(+) diff --git a/libavformat/asf.h b/libavformat/asf.h index 4ac644e..2f6722a 100644 --- a/libavformat/asf.h +++ b/libavformat/asf.h @@ -78,6 +78,8

[libav-devel] [PATCH 2/5] asfdec: replace magic constant with DATA_HEADER_SIZE

2013-09-11 Thread Vladimir Pantelic
Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- libavformat/asfenc.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c index 6be285c..e37b6f7 100644 --- a/libavformat/asfenc.c +++ b/libavformat/asfenc.c @@ -182,6

[libav-devel] [PATCH 3/5] asfenc: add ASF_Reserved_4 as defined in section 10.10 of the ASF spec

2013-09-11 Thread Vladimir Pantelic
Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- libavformat/asf.c | 4 libavformat/asf.h | 1 + 2 files changed, 5 insertions(+) diff --git a/libavformat/asf.c b/libavformat/asf.c index 52afa09..ec34b50 100644 --- a/libavformat/asf.c +++ b/libavformat/asf.c @@ -117,6 +117,10

Re: [libav-devel] [PATCH] FLV doesn't support multiple audio or video streams

2013-04-15 Thread Vladimir Pantelic
Luca Barbato wrote: We could extend the flv muxer to support multiple streams but it is a little gory and should be used mostly for rtmp. FLV-ng? ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] [PATCH] asfenc: return error on negative timestamp

2013-03-18 Thread Vladimir Pantelic
Luca Barbato wrote: According to the specification the timestamp is represented by a 32bit unsigned. CC: libav-sta...@libav.org --- As pointed by Anton and Vladimir. libavformat/asfenc.c | 8 1 file changed, 8 insertions(+) diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c

[libav-devel] [PATCH] asfdec: support reading ID3v2 tags in ASF files

2013-02-08 Thread Vladimir Pantelic
Yes, these files do exist Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- Changelog|1 + libavformat/asfdec.c | 24 +--- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/Changelog b/Changelog index c235727..f56c112 100644

Re: [libav-devel] [PATCH 1/2] asfdec: do not assume every AVStream has a correspodning ASFStream

2013-02-08 Thread Vladimir Pantelic
On 02/08/2013 02:01 PM, Anton Khirnov wrote: This won't be true for ID3 attached picture. Also stop allocating now useless dummy ASFStreams for ASF native attached pictures. --- libavformat/asfdec.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git

[libav-devel] [PATCH] avplay: apply the stream aspect ratio to libavfilter'ed frames

2013-02-07 Thread Vladimir Pantelic
So far we took only the codec sample aspect ratio into account and ignored the one from the stream when using libavfilter. Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- avplay.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/avplay.c b/avplay.c index

Re: [libav-devel] [PATCH] avplay: apply the stream aspect ratio to libavfilter'ed frames

2013-02-07 Thread Vladimir Pantelic
On 02/07/2013 02:34 PM, Luca Barbato wrote: On 07/02/13 14:09, Vladimir Pantelic wrote: So far we took only the codec sample aspect ratio into account and ignored the one from the stream when using libavfilter. Signed-off-by: Vladimir Pantelicvlado...@gmail.com --- avplay.c |6 ++ 1

[libav-devel] [PATCH v2] avplay: apply the stream sample_aspect_ratio to decoded video frames

2013-02-07 Thread Vladimir Pantelic
If there is a sample_aspect_ratio in the stream, then apply it to every decoded frame in the same way as avconv does. This also makes sure that the avfilter chain has access to the aspect ratio. Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- avplay.c |3 +++ 1 files changed, 3

[libav-devel] [PATCH] asfdec: handle Metadata Library Object

2013-02-06 Thread Vladimir Pantelic
some ASF files hold metadata and cover art in the Metadata Library Object which was so far not read e.g.: before: Input #0, asf, from 'wma_with_metadata_library_object_tag.wma': Metadata: track : 0 WM/MediaPrimaryClassID: {D1607DBC-E323-4BE2-86A1-48A42A28441E}

[libav-devel] [PATCH 1/3] asfdec: silence a warning

2013-02-06 Thread Vladimir Pantelic
Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- libavformat/asfdec.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index a1dfec3..1fcf5c3 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -112,7 +112,7

[libav-devel] [PATCH 2/3] asfdec: read the full Metadata Object, not just aspect ratio information

2013-02-06 Thread Vladimir Pantelic
use the same get_tag()/get_value() as for the Extended Content Description but handle the 16 bit vs 32 bit difference for type 2 (BOOL) Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- libavformat/asfdec.c | 51 ++--- 1 files changed, 27

[libav-devel] [PATCH 3/3] asfdec: also read Metadata Library Object

2013-02-06 Thread Vladimir Pantelic
in some ASF files this objects holds cover art and other tags. Compared to Metadata Object it can also hold GUIDs, but we ignore these for now. Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- libavformat/asf.c|4 libavformat/asf.h|1 + libavformat/asfdec.c |6

[libav-devel] [PATCH] asfdec: handle Metadata Library Object

2013-02-06 Thread Vladimir Pantelic
Now with proper capitalization ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

[libav-devel] [PATCH 1/3] asfdec: silence a warning

2013-02-06 Thread Vladimir Pantelic
Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- libavformat/asfdec.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index a1dfec3..1fcf5c3 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -112,7 +112,7

[libav-devel] [PATCH 3/3] asfdec: also read Metadata Library Object

2013-02-06 Thread Vladimir Pantelic
In some ASF files this objects holds cover art and other tags. Compared to Metadata Object it can also hold GUIDs, but we ignore these for now. Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- libavformat/asf.c|4 libavformat/asf.h|1 + libavformat/asfdec.c |6

[libav-devel] [PATCH 2/3] asfdec: read the full Metadata Object, not just aspect ratio information

2013-02-06 Thread Vladimir Pantelic
Use the same get_tag()/get_value() as for the Extended Content Description but handle the 16 bit vs 32 bit difference for type 2 (BOOL) Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- libavformat/asfdec.c | 51 ++--- 1 files changed, 27

Re: [libav-devel] [PATCH 2/3] asfdec: read the full Metadata Object, not just aspect ratio information

2013-02-06 Thread Vladimir Pantelic
On 02/06/2013 02:47 PM, Luca Barbato wrote: On 06/02/13 14:35, Vladimir Pantelic wrote: Use the same get_tag()/get_value() as for the Extended Content Description but handle the 16 bit vs 32 bit difference for type 2 (BOOL) Not sure if using a different value_type and proper macro would look

[libav-devel] [PATCH] vc1dec: use codec_id instead of codec_tag for VC1IMAGE

2013-02-05 Thread Vladimir Pantelic
see $subject, current behaviour forces the user to set the codec_tag to WVP2 which is otherwise unneeded since the rest of the codec queries codec_id already. From 9459553eb09d41f59b083e262fb218319d97f397 Mon Sep 17 00:00:00 2001 From: Vladimir Pantelic vlado...@gmail.com Date: Tue, 5 Feb 2013 13

Re: [libav-devel] [PATCH] vc1dec: use codec_id instead of codec_tag for VC1IMAGE

2013-02-05 Thread Vladimir Pantelic
On 02/05/2013 05:54 PM, Hendrik Leppkes wrote: On Tue, Feb 5, 2013 at 5:46 PM, Vladimir Pantelicvlado...@gmail.com wrote: see $subject, current behaviour forces the user to set the codec_tag to WVP2 which is otherwise unneeded since the rest of the codec queries codec_id already. Do all

[libav-devel] [PATCH] asf.c: fix indentation

2013-02-05 Thread Vladimir Pantelic
last time I checked, we use 4 spaces :) From 7d57870ab1ccb34ea987afcf89b74f95a9d6ef07 Mon Sep 17 00:00:00 2001 From: Vladimir Pantelic vlado...@gmail.com Date: Tue, 5 Feb 2013 22:51:59 +0100 Subject: [PATCH] asf.c: fix indentation Signed-off-by: Vladimir Pantelic vlado...@gmail.com

Re: [libav-devel] [PATCH] asf: KR formatting cosmetics

2013-02-05 Thread Vladimir Pantelic
On 02/06/2013 12:40 AM, Diego Biurrun wrote: @@ -100,48 +100,73 @@ static const AVClass asf_class = { // Fix Me! FRAME_HEADER_SIZE may be different. static const ff_asf_guid index_guid = { -0x90, 0x08, 0x00, 0x33, 0xb1, 0xe5, 0xcf, 0x11, 0x89, 0xf4, 0x00, 0xa0, 0xc9, 0x03, 0x49, 0xcb +

[libav-devel] [PATCH] Add av_strnstr() function

2013-01-24 Thread Vladimir Pantelic
taking Diego's remarks into account. From 72983b8cf23eb6c4a7996d150c3a326b468ee6ea Mon Sep 17 00:00:00 2001 From: Vladimir Pantelic vlado...@gmail.com Date: Thu, 24 Jan 2013 11:31:41 +0100 Subject: [PATCH] lavu: Add av_strnstr() This is a length limited version of strstr() Signed-off

Re: [libav-devel] [PATCH] avfilter: allow setpts filter to use wallclock time for calculations

2013-01-24 Thread Vladimir Pantelic
Vladimir Pantelic wrote: Martin Storsjö wrote: On Wed, 23 Jan 2013, Vladimir Pantelic wrote: I have a webcam that outputs raw MJPEG over HTTP and for which I need to create timestamps in order to properly avplay or avconv the stream. Thus I extended vf_setpts to allow to get the current

[libav-devel] [PATCH] avfilter: allow setpts filter to use wallclock time for calculations

2013-01-24 Thread Vladimir Pantelic
changed to use RTCTIME and RTCSTART From 272d056828858c2adb73511405b107ac805212c8 Mon Sep 17 00:00:00 2001 From: Vladimir Pantelic vlado...@gmail.com Date: Wed, 23 Jan 2013 13:54:08 +0100 Subject: [PATCH] avfilter: allow setpts filter to use wallclock time for calculations Signed-off

Re: [libav-devel] [PATCH] avfilter: allow setpts filter to use wallclock time for calculations

2013-01-24 Thread Vladimir Pantelic
Janne Grunau wrote: Some examples follow: @@ -1883,6 +1889,9 @@ setpts=N/(25*TB) # fixed rate 25 fps with some jitter setpts='1/(25*TB) * (N + 0.05 * sin(N*2*PI/25))' + +# generate timestamps from a live source and rebase onto the current timebase +setpts='(GETTIME - STARTTIME) / (TB *

Re: [libav-devel] [PATCH] avfilter: allow setpts filter to use wallclock time for calculations

2013-01-24 Thread Vladimir Pantelic
184c07a82336e2afb47db79a3a421fdc82f4a227 Mon Sep 17 00:00:00 2001 From: Vladimir Pantelic vlado...@gmail.com Date: Wed, 23 Jan 2013 13:54:08 +0100 Subject: [PATCH] avfilter: allow setpts filter to use wallclock time for calculations Signed-off-by: Vladimir Pantelic vlado...@gmail.com --- doc/filters.texi|9

Re: [libav-devel] [PATCH] avfilter: allow setpts filter to use wallclock time for calculations

2013-01-23 Thread Vladimir Pantelic
Martin Storsjö wrote: On Wed, 23 Jan 2013, Vladimir Pantelic wrote: I have a webcam that outputs raw MJPEG over HTTP and for which I need to create timestamps in order to properly avplay or avconv the stream. Thus I extended vf_setpts to allow to get the current wallclock time and use

[libav-devel] [PATCH] Add av_strnstr() function

2013-01-23 Thread Vladimir Pantelic
see $subject From 28417b86f12b8cac79090a7b341b606e59635bbe Mon Sep 17 00:00:00 2001 From: Vladimir Pantelic vlado...@gmail.com Date: Wed, 23 Jan 2013 14:16:10 +0100 Subject: [PATCH] Add av_strnstr() function This is a length limited version of strstr() Signed-off-by: Vladimir Pantelic vlado

[libav-devel] [RFC][PATCH] probe for raw/mime MJPEG

2013-01-23 Thread Vladimir Pantelic
I have a webcam that outputs raw MJPEG over HTTP, in fact not fully raw but as a mime attachment like: --Ba4oTvQMY8ew04N8dcnM Content-Type: image/jpeg 0xFFD8 JPEG frame --Ba4oTvQMY8ew04N8dcnM Content-Type: image/jpeg 0xFFD8 JPEG frame in order not to have to specify -f mjpeg, I added

Re: [libav-devel] [RFC][PATCH] probe for raw/mime MJPEG

2013-01-23 Thread Vladimir Pantelic
Luca Barbato wrote: On 23/01/13 15:33, Vladimir Pantelic wrote: @@ -41,7 +43,10 @@ int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt) pkt-pos= avio_tell(s-pb); pkt-stream_index = 0; + if( s1-gen_ts ) + pkt-pts = (av_gettime() - s1-starttime) / 1000; +av_log(NULL, AV_LOG_ERROR

[libav-devel] [PATCH] lavu: Add av_strnstr()

2013-01-23 Thread Vladimir Pantelic
From d09072fcdfdbf7d5aa860e60a7e8697a999de820 Mon Sep 17 00:00:00 2001 From: Vladimir Pantelic vlado...@gmail.com Date: Wed, 23 Jan 2013 16:56:16 +0100 Subject: [PATCH] lavu: Add av_strnstr() This is a length limited version of strstr() Signed-off-by: Vladimir Pantelic vlado...@gmail.com

Re: [libav-devel] [RFC][PATCH] probe for raw/mime MJPEG

2013-01-23 Thread Vladimir Pantelic
Justin Ruggles wrote: On 01/23/2013 09:33 AM, Vladimir Pantelic wrote: +if( p-buf[ofs] == 0xFF p-buf[ofs + 1] == 0xD8) { +av_log(NULL, AV_LOG_ERROR, mjpeg_probe FFD8\n); +return AVPROBE_SCORE_MAX; +} +return 0; I have a feeling this part would lead to some false positives

[libav-devel] [PATCH] lavu: Add av_strnstr()

2013-01-23 Thread Vladimir Pantelic
From aaf7000b03161352075194be3300fe06320c80e3 Mon Sep 17 00:00:00 2001 From: Vladimir Pantelic vlado...@gmail.com Date: Wed, 23 Jan 2013 16:56:16 +0100 Subject: [PATCH] lavu: Add av_strnstr() This is a length limited version of strstr() Signed-off-by: Vladimir Pantelic vlado...@gmail.com

Re: [libav-devel] [EVIL/PATCH] The Evil Plan, part I

2013-01-10 Thread Vladimir Pantelic
Luca Barbato wrote: On 10/01/13 09:01, Andreas Öman wrote: Me neither. FWIW, in my code i have an fixed size array (currently 64 items) of my own metadata struct. I then just use reordered_opaque as an index to this array and keep incrementing reordered_opaque for every new packet and let it

Re: [libav-devel] [PATCH] vc1dec: handle pred_flag parameter not given to get_mvdata_interlaced()

2013-01-10 Thread Vladimir Pantelic
Vladimir Pantelic wrote: mashiat.sar...@gmail.com wrote: On 01/09/2013 10:16 AM, Vladimir Pantelic wrote: see $subject this prevents lavc to crash on one VC1 interlaced sample that I have. the sample still does not play correctly though. I can haz the sample? of course :) uploaded

Re: [libav-devel] [PATCH] vc1dec: prevent a crash due missing pred_flag parameter

2013-01-10 Thread Vladimir Pantelic
mashiat.sar...@gmail.com wrote: The thing is, unless the picture is interlaced field coded, numref shouldn't be 1. The fact that numref is 1 implies that it's interlaced field coded picture and a pred_flag pointer has been passed to the function. Since this is happening for the sample Vladimir

Re: [libav-devel] FOSDEM

2013-01-10 Thread Vladimir Pantelic
Diego Biurrun wrote: As every year, there will be FOSDEM the first weekend of February (2nd and 3rd of February this year): https://fosdem.org/2013/ Who else is planning to go? /me ___ libav-devel mailing list libav-devel@libav.org

[libav-devel] [PATCH] vc1dec: handle pred_flag parameter not given to get_mvdata_interlaced()

2013-01-09 Thread Vladimir Pantelic
see $subject this prevents lavc to crash on one VC1 interlaced sample that I have. the sample still does not play correctly though. From 2f9e3e8fbee509b2244f4820242d848b992d6d9c Mon Sep 17 00:00:00 2001 From: Vladimir Pantelic vlado...@gmail.com Date: Wed, 9 Jan 2013 15:59:05 +0100 Subject

Re: [libav-devel] [EVIL/PATCH] The Evil Plan, part I

2013-01-09 Thread Vladimir Pantelic
Luca Barbato wrote: : // those are very lavc-specific, but quite useful so i'm unsure // what to do about them. pkt_pts might potentially be replaced by pts, // since pts is currently not used for anything useful when decoding // but pkt_dts is apparently

Re: [libav-devel] [EVIL/PATCH] The Evil Plan, part I

2013-01-09 Thread Vladimir Pantelic
Luca Barbato wrote: On 09/01/13 17:28, Vladimir Pantelic wrote: Luca Barbato wrote: : // those are very lavc-specific, but quite useful so i'm unsure // what to do about them. pkt_pts might potentially be replaced by pts, // since pts is currently not used

Re: [libav-devel] [PATCH] vc1dec: handle pred_flag parameter not given to get_mvdata_interlaced()

2013-01-09 Thread Vladimir Pantelic
mashiat.sar...@gmail.com wrote: On 01/09/2013 10:16 AM, Vladimir Pantelic wrote: see $subject this prevents lavc to crash on one VC1 interlaced sample that I have. the sample still does not play correctly though. I can haz the sample? of course

Re: [libav-devel] [PATCH] mp3/ac3 probe: search for PES headers to prevent probing MPEG-PS as MP3.

2012-05-03 Thread Vladimir Pantelic
Ronald S. Bultje wrote: Hi guys, On Wed, May 2, 2012 at 4:06 PM, Ronald S. Bultjersbul...@gmail.com wrote: From: Ronald S. Bultjersbul...@gmail.com --- libavformat/ac3dec.c | 29 - libavformat/mp3dec.c | 29 - 2 files

Re: [libav-devel] [PATCH 3/3] aacps: NEON optimisations

2012-04-27 Thread Vladimir Pantelic
Måns Rullgård wrote: Mans Rullgardm...@mansr.com writes: Signed-off-by: Mans Rullgardm...@mansr.com --- libavcodec/aacpsdsp.c |3 + libavcodec/aacpsdsp.h |1 + libavcodec/arm/Makefile|6 +- libavcodec/arm/aacpsdsp_init_arm.c | 53

Re: [libav-devel] [PATCH 12/12] rv40dsp: defer pixel access and computations untill they are needed

2012-04-18 Thread Vladimir Pantelic
Christophe Gisquet wrote: Hi, 2012/4/18 Ronald S. Bultjersbul...@gmail.com: Change itself looks good. As Mans said, this looks like another simd target (but that's unrelated to this patch going in). Yes, and with 23% of the runtime, they would be good candidates. But this is so messy for a

Re: [libav-devel] [PATCH 0/3] Add tidsp hwaccel support to avcodec

2012-02-27 Thread Vladimir Pantelic
Måns Rullgård wrote: Felipe Contrerasfelipe.contre...@gmail.com writes: Hi, This patch series is a first try of implementing support for TI's OMAP3 DSP algorithms. These algorithms are privided officially by TI and distributed in many products like the Nokia N900, and also publicly for

Re: [libav-devel] [PATCH 0/3] Add tidsp hwaccel support to avcodec

2012-02-27 Thread Vladimir Pantelic
Felipe Contreras wrote: On Sun, Feb 26, 2012 at 9:44 PM, Luca Barbatolu_z...@gentoo.org wrote: On 2/26/12 8:37 PM, Måns Rullgård wrote: Felipe Contrerasfelipe.contre...@gmail.comwrites: This patch series is a first try of implementing support for TI's OMAP3 DSP algorithms. These

Re: [libav-devel] [PATCH 0/3] Add tidsp hwaccel support to avcodec

2012-02-27 Thread Vladimir Pantelic
Felipe Contreras wrote: 2012/2/26 Måns Rullgårdm...@mansr.com: Felipe Contrerasfelipe.contre...@gmail.com writes: This patch series is a first try of implementing support for TI's OMAP3 DSP algorithms. These algorithms are privided officially by TI and distributed in many products like

Re: [libav-devel] [PATCH 0/3] Add tidsp hwaccel support to avcodec

2012-02-27 Thread Vladimir Pantelic
Luca Barbato wrote: On 2/26/12 9:20 PM, Felipe Contreras wrote: On Sun, Feb 26, 2012 at 9:44 PM, Luca Barbatolu_z...@gentoo.org wrote: On 2/26/12 8:37 PM, Måns Rullgård wrote: Felipe Contrerasfelipe.contre...@gmail.com writes: This patch series is a first try of implementing

Re: [libav-devel] [PATCH 0/3] Add tidsp hwaccel support to avcodec

2012-02-27 Thread Vladimir Pantelic
Luca Barbato wrote: On 2/27/12 12:51 PM, Vladimir Pantelic wrote: Luca Barbato wrote: On 2/26/12 9:20 PM, Felipe Contreras wrote: On Sun, Feb 26, 2012 at 9:44 PM, Luca Barbatolu_z...@gentoo.org wrote: On 2/26/12 8:37 PM, Måns Rullgård wrote: Felipe Contrerasfelipe.contre...@gmail.com

Re: [libav-devel] [PATCH 0/3] Add tidsp hwaccel support to avcodec

2012-02-27 Thread Vladimir Pantelic
Felipe Contreras wrote: On Mon, Feb 27, 2012 at 11:05 AM, Vladimir Pantelicvlado...@gmail.com wrote: Måns Rullgård wrote: Felipe Contrerasfelipe.contre...@gmail.comwrites: Hi, This patch series is a first try of implementing support for TI's OMAP3 DSP algorithms. These

Re: [libav-devel] [PATCH 0/3] Add tidsp hwaccel support to avcodec

2012-02-27 Thread Vladimir Pantelic
Felipe Contreras wrote: On Mon, Feb 27, 2012 at 11:07 AM, Vladimir Pantelicvlado...@gmail.com wrote: Felipe Contreras wrote: On Sun, Feb 26, 2012 at 9:44 PM, Luca Barbatolu_z...@gentoo.orgwrote: On 2/26/12 8:37 PM, Måns Rullgård wrote: Felipe

Re: [libav-devel] [PATCH 0/3] Add tidsp hwaccel support to avcodec

2012-02-27 Thread Vladimir Pantelic
Felipe Contreras wrote: On Mon, Feb 27, 2012 at 4:39 PM, Vladimir Pantelicvlado...@gmail.com wrote: Felipe Contreras wrote: tidspbridge? That would be a bit cumbersome: tidspbridge_mpeg4.c --enable-tidspbridge, and so on. And inconsistent, because the library would be tidsp. But it's

Re: [libav-devel] [PATCH 0/3] Add tidsp hwaccel support to avcodec

2012-02-27 Thread Vladimir Pantelic
Felipe Contreras wrote: 2012/2/27 Måns Rullgårdm...@mansr.com: Felipe Contrerasfelipe.contre...@gmail.com writes: tidspbridge? That would be a bit cumbersome: tidspbridge_mpeg4.c --enable-tidspbridge, and so on. And inconsistent, because the library would be tidsp. But it's your call.

Re: [libav-devel] [PATCHv2 0/3] Add tidsp hwaccel support to avcodec

2012-02-27 Thread Vladimir Pantelic
On 02/27/2012 10:12 PM, Felipe Contreras wrote: Hi, On Mon, Feb 27, 2012 at 10:46 PM, Felipe Contreras felipe.contre...@gmail.com wrote: Compared to vaapi and vdpau, this code is much simpler; frames in, frames out, and not many parameters are required. It's also worth remembering that this

Re: [libav-devel] [PATCHv2 0/3] Add tidsp hwaccel support to avcodec

2012-02-27 Thread Vladimir Pantelic
On 02/27/2012 11:25 PM, Felipe Contreras wrote: On Tue, Feb 28, 2012 at 12:18 AM, Vladimir Pantelicvlado...@gmail.com wrote: On 02/27/2012 10:12 PM, Felipe Contreras wrote: Hi, On Mon, Feb 27, 2012 at 10:46 PM, Felipe Contreras felipe.contre...@gmail.comwrote: Compared to vaapi and

Re: [libav-devel] [PATCHv2 0/3] Add tidsp hwaccel support to avcodec

2012-02-27 Thread Vladimir Pantelic
On 02/27/2012 11:30 PM, Vladimir Pantelic wrote: Yes, but it's packed; not split into multiple planes. I'll take a look into the display_width stuff. I have never tried that. I am quite sure the OMAP3 codecs support both packed and planar, at least they do when using them via CE/link. Whether

Re: [libav-devel] [PATCHv2 0/3] Add tidsp hwaccel support to avcodec

2012-02-27 Thread Vladimir Pantelic
On 02/28/2012 12:06 AM, Felipe Contreras wrote: On Tue, Feb 28, 2012 at 12:30 AM, Vladimir Pantelicvlado...@gmail.com wrote: On 02/27/2012 11:25 PM, Felipe Contreras wrote: On Tue, Feb 28, 2012 at 12:18 AM, Vladimir Pantelicvlado...@gmail.com wrote: On 02/27/2012 10:12 PM, Felipe

Re: [libav-devel] [PATCHv2 0/3] Add tidsp hwaccel support to avcodec

2012-02-27 Thread Vladimir Pantelic
On 02/27/2012 11:56 PM, Kieran Kunhya wrote: AVCodecContext-get_buffer()? http://git.mansr.com/?p=omapfbplay;a=blob;f=avcodec.c is a nice example of how to use it. yes, one can either make libav use the libdsp allocated buffers or one could even pass libav allocated buffer to the dsp since

Re: [libav-devel] [PATCHv2 0/3] Add tidsp hwaccel support to avcodec

2012-02-27 Thread Vladimir Pantelic
On 02/28/2012 12:13 AM, Felipe Contreras wrote: On Tue, Feb 28, 2012 at 12:50 AM, Vladimir Pantelicvlado...@gmail.com wrote: On 02/27/2012 11:30 PM, Vladimir Pantelic wrote: Yes, but it's packed; not split into multiple planes. I'll take a look into the display_width stuff. I have never

Re: [libav-devel] [PATCHv2 0/3] Add tidsp hwaccel support to avcodec

2012-02-27 Thread Vladimir Pantelic
On 02/28/2012 12:18 AM, Felipe Contreras wrote: On Tue, Feb 28, 2012 at 1:12 AM, Vladimir Pantelicvlado...@gmail.com wrote: On 02/28/2012 12:06 AM, Felipe Contreras wrote: On Tue, Feb 28, 2012 at 12:30 AM, Vladimir Pantelicvlado...@gmail.com wrote: One of the nice things of bridge vs

Re: [libav-devel] [PATCH] Remove libpostproc.

2012-02-24 Thread Vladimir Pantelic
Diego Biurrun wrote: On Thu, Feb 23, 2012 at 07:24:26PM +0100, Kostya Shishkov wrote: On Thu, Feb 23, 2012 at 05:39:10PM +0100, Diego Biurrun wrote: This library does not fit into Libav as a whole and its code is just a maintenance burden. Furthermore it is now available as an external

Re: [libav-devel] [PATCH 1/5] flvdec: Fix indentation

2012-02-22 Thread Vladimir Pantelic
Diego Biurrun wrote: On Wed, Feb 22, 2012 at 11:30:30AM +0200, Martin Storsjö wrote: --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -204,8 +204,8 @@ static int parse_keyframes_index(AVFormatContext *s, AVIOContext *ioc, AVStream if (!ret timeslen == fileposlen) -

Re: [libav-devel] [PATCH 5/5] flvdec: Ignore the index if the ignidx flag is set

2012-02-22 Thread Vladimir Pantelic
Martin Storsjö wrote: --- libavformat/flvdec.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 1ee1ad4..dea6d6c 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -145,6 +145,9 @@ static int

Re: [libav-devel] [PATCH] tta: use skip_bits_long()

2012-02-07 Thread Vladimir Pantelic
Diego Biurrun wrote: On Mon, Feb 06, 2012 at 05:30:24PM +, Paul B Mahol wrote: On 2/6/12, Vladimir Pantelicvlado...@gmail.com wrote: Kostya Shishkov wrote: On Sun, Feb 05, 2012 at 07:39:13PM +, Paul B Mahol wrote: Signed-off-by: Paul B Maholone...@gmail.com ---

Re: [libav-devel] [PATCH] tta: use skip_bits_long()

2012-02-06 Thread Vladimir Pantelic
Kostya Shishkov wrote: On Sun, Feb 05, 2012 at 07:39:13PM +, Paul B Mahol wrote: Signed-off-by: Paul B Maholone...@gmail.com --- libavcodec/tta.c | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) looks OK LGTY? ___

Re: [libav-devel] vorbis: fix FPE when multiple values of x in the floor1 list

2012-01-13 Thread Vladimir Pantelic
Ronald S. Bultje wrote: Hi, On Thu, Jan 12, 2012 at 12:51 PM, Stratulat Oana oanaandreeastratu...@gmail.com wrote: int adx = x1 - x0; int ady = FFABS(dy); int sy = dy 0 ? -1 : 1; +if (adx == 0) +adx = 1; OK, I guess. The ugliness has to go somewhere. Maybe

Re: [libav-devel] [PATCH] vorbis: fix FPE when multiple values of x in the floor1 list

2012-01-12 Thread Vladimir Pantelic
Ronald S. Bultje wrote: Hi, On Thu, Jan 12, 2012 at 12:12 AM, Kostya Shishkov kostya.shish...@gmail.com wrote: On Thu, Jan 12, 2012 at 10:00:54AM +0200, Stratulat Oana wrote: It prevent libav to crash when multiple values of x are find in the floor type 1 list. Passes all fate tests. --

Re: [libav-devel] [PATCH] rgb2rgb: rgb12tobgr12()

2012-01-11 Thread Vladimir Pantelic
Paul B Mahol wrote: --- libswscale/rgb2rgb.c | 15 +++ libswscale/rgb2rgb.h |1 + libswscale/swscale_unscaled.c |1 + 3 files changed, 17 insertions(+), 0 deletions(-) diff --git a/libswscale/rgb2rgb.c b/libswscale/rgb2rgb.c index 0f07e57..5458d26

Re: [libav-devel] [PATCH] rgb2rgb: rgb12tobgr12()

2012-01-11 Thread Vladimir Pantelic
Janne Grunau wrote: +int i; +int num_pixels = src_size 1; + +for (i = 0; i num_pixels; i++) { give operators room to breathe and don't do double spaces: don't be fooled by the misquoting of your email client gee, responsible bits will be found and punished for sure!

[libav-devel] [PATCH] mpegts: replace some magic numbers with the existing define

2011-12-16 Thread Vladimir Pantelic
From 6016e8071f51cb7cd9aff108558309f6e2e982f7 Mon Sep 17 00:00:00 2001 From: Vladimir Pantelic vlado...@gmail.com Date: Fri, 16 Dec 2011 10:01:16 +0100 Subject: [PATCH] mpegts: replace some magic numbers with the existing define --- libavformat/mpegts.c |6 +++--- 1 files changed, 3

Re: [libav-devel] [PATCH] v4l2: do not force interlaced mode

2011-12-06 Thread Vladimir Pantelic
Janne Grunau wrote: On Mon, Nov 28, 2011 at 06:51:05PM +0100, Luca Barbato wrote: On 11/28/11 12:28 PM, Janne Grunau wrote: I have no idea what v4l2 drivers typically return for V4L2_FIELD_ANY but there are more interlaced formats than V4L2_FIELD_INTERLACED. I can try to map/support all of

Re: [libav-devel] [Event] Fosdem 2011

2011-12-06 Thread Vladimir Pantelic
Luca Barbato wrote: The fosdem is getting closer, so the usual question applies: - who is going there? I am most likely - who is willing to man the stand? (if we want one we need to be quick) I am not sure having one brings much benefit. I am hoping that beagleboard will be there with

Re: [libav-devel] [PATCH] Fix seeking in wmv files that have no index

2011-11-15 Thread Vladimir Pantelic
Luca Barbato wrote: On 11/15/11 1:35 AM, John Stebbins wrote: On 11/14/2011 01:35 PM, John Stebbins wrote: On 11/14/2011 11:56 AM, Luca Barbato wrote: On 11/14/11 7:17 PM, John Stebbins wrote: On 11/14/2011 12:47 AM, Luca Barbato wrote: On 11/13/11 8:37 PM, John Stebbins wrote: I'm

Re: [libav-devel] [PATCH 2/7] lavf: add M3U playlist demuxer.

2011-10-07 Thread Vladimir Pantelic
Anton Khirnov wrote: +static int m3u_read_header(AVFormatContext *s, AVFormatParameters *ap) +{ +uint8_t buf[1024]; +int ret = 0; + +while (ff_get_line(s-pb, buf, sizeof(buf)) 0) { +if (!buf[0] || buf[0] == '#') +continue; hmm, so you want to drop valuable

[libav-devel] [PATCH] remove references to past conflicts in the conflict resolution section

2011-09-03 Thread Vladimir Pantelic
see $topic, as discussed at VDD between libav and FFmpeg developers From f9dbf678a809cdcf8056b982ae179073e79e356c Mon Sep 17 00:00:00 2001 From: Vladimir Pantelic vladi...@lgf.net Date: Sat, 3 Sep 2011 17:23:40 +0200 Subject: [PATCH] remove references to past conflicts in the conflict resolution

Re: [libav-devel] [PATCH] avconv: Replace raw picture frame swapping hack.

2011-08-30 Thread Vladimir Pantelic
Alex Converse wrote: --- avconv.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/avconv.c b/avconv.c index 6514269..93484b8 100644 --- a/avconv.c +++ b/avconv.c @@ -18,6 +18,7 @@ * License along with Libav; if not, write to the Free Software * Foundation,

Re: [libav-devel] [PATCH] Use deinterleavers for demangling audio packets in RealMedia.

2011-08-28 Thread Vladimir Pantelic
Kostya Shishkov wrote: Unlike other containers RealMedia stores its audio packets in scrambled form, not only RealMedia, MKV does the same for some audio codecs, no? with interleaver ID preceeding audio codec ID. Currently deinterleaving decision is tied to the codec while it's possible to

Re: [libav-devel] [PATCH] make parsers' repeat_pict consistent with decoders

2011-08-26 Thread Vladimir Pantelic
John Stebbins wrote: On 08/25/2011 07:45 PM, John Stebbins wrote: As we discussed on IRC this morning, this makes the value of repeat_pict returned by the parsers the same as the value returned by the decoders. The parser was returning a value for repeat_pict that was the actual number of

Re: [libav-devel] [PATCH] make parsers' repeat_pict consistent with decoders

2011-08-26 Thread Vladimir Pantelic
On 08/26/2011 05:43 PM, John Stebbins wrote: Hi, On 08/26/2011 05:48 AM, Vladimir Pantelic wrote: int ticks = st-st-codec-ticks_per_frame + (ist-st-parser ? ist-st-parser-repeat_pict : 0); Well, after all that, I did some more code reading and spelunking of mailing list archives

Re: [libav-devel] [PATCH 5/6] libx264: use medium preset by default.

2011-08-22 Thread Vladimir Pantelic
Anton Khirnov wrote: On Sat, 20 Aug 2011 18:57:11 +0200, Luca Barbatolu_z...@gentoo.org wrote: On 8/20/11 5:00 PM, Anton Khirnov wrote: --- libavcodec/libx264.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Seems fine, please break those long lines though, a

Re: [libav-devel] [PATCH 3/3] Use parsers for RealVideo 3/4 to determine correct PTS

2011-08-17 Thread Vladimir Pantelic
Ronald S. Bultje wrote: Hi, On Tue, Aug 16, 2011 at 11:06 PM, Kostyakostya.shish...@gmail.com wrote: On Tue, Aug 16, 2011 at 04:13:35PM -0700, Ronald S. Bultje wrote: On Mon, Aug 15, 2011 at 11:43 PM, Kostyakostya.shish...@gmail.com wrote: On Mon, Aug 15, 2011 at 09:42:50PM +0100, Måns

  1   2   >