Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread compn
On Thu, 09 Apr 2015 22:59:24 +0200 Lukasz Marek wrote: > Sometimes I have a feeling that ffmpeg is an open source project to > feed wm4's project. haha. yes, ffmpeg does not need youtube support because mpv already has it. classic. > I don't want to be drama queen here, but the way author of th

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread James Almer
On 09/04/15 5:59 PM, Lukasz Marek wrote: > On 09.04.2015 13:50, Kieran Kunhya wrote: >> On 9 April 2015 at 12:17, Rodger Combs wrote: >>> Agreed, this belongs in a higher layer. I think it'd be reasonable for >>> FFmpeg to have a higher-layer library handling things like playlists and >>> this,

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread Lukasz Marek
On 09.04.2015 13:50, Kieran Kunhya wrote: On 9 April 2015 at 12:17, Rodger Combs wrote: Agreed, this belongs in a higher layer. I think it'd be reasonable for FFmpeg to have a higher-layer library handling things like playlists and this, but that's another conversation. +1 So instead of c

[FFmpeg-devel] [PATCH] avformat/rtsp: Fix unchecked return value

2015-04-09 Thread Himangi Saraogi
--- This fixes CID 733718. libavformat/rtsp.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index c9871ce..42dbe96 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -174,11 +174,15 @@ static void rtsp_parse_range_npt(

[FFmpeg-devel] Sample file triggering "DVB subtitles with multiple languages is not implemented" & A/V transcoding errors

2015-04-09 Thread Manfred Petz
Hi, I've just uploaded a sample MPEG TS file from satellite Astra 19.2e 12012/v, service 1.1080.8801 as file m.petz-2015.04.09.ts. When using ffmpeg to transcode the audio tracks to mp2 with the following command-line ffmpeg -i - -map 0:v -map 0:a:0 -c:v copy -c:a mp2 -f mpegts - then

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: Add options for level and tier

2015-04-09 Thread Michael Niedermayer
On Sat, Apr 04, 2015 at 01:34:14PM +0200, Timo Rothenpieler wrote: > --- > Changelog | 1 + > libavcodec/nvenc.c | 111 > - > 2 files changed, 111 insertions(+), 1 deletion(-) applied thanks [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/h264: Use only one ERContext

2015-04-09 Thread Michael Niedermayer
On Sat, Apr 04, 2015 at 12:36:43PM +0200, Michael Niedermayer wrote: > This fixes slice threads with error concealment > > Signed-off-by: Michael Niedermayer > --- > libavcodec/h264.c |4 > libavcodec/h264_picture.c |1 + > libavcodec/h264_slice.c | 12 ++-- > 3

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread Nicolas George
Le decadi 20 germinal, an CCXXIII, Gilles Chanteperdrix a écrit : > And -J is to much: it gives you all the available videos and forces You can ignore extra information that you think you do do not need. How do you invent required information that you do not have? > you to reimplement youtube-dl

[FFmpeg-devel] [PATCH 4/4] avutil/mips/intreadwrite: build fix for mips64r6 (instruction 'lwl' not supported)

2015-04-09 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- libavutil/mips/intreadwrite.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/mips/intreadwrite.h b/libavutil/mips/intreadwrite.h index 9ba0491..32084f6 100644 --- a/libavutil/mips/intreadwrite.h +++ b/libavu

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread Gilles Chanteperdrix
On Thu, Apr 09, 2015 at 03:37:30PM +0200, Nicolas George wrote: > Le decadi 20 germinal, an CCXXIII, Gilles Chanteperdrix a écrit : > > Well, in that case, > > ffmpeg -i `youtube-dl -f bestvideo -g $url` > > That could work too, but you still fail to acknowledge that -g is frequently > not enough

[FFmpeg-devel] [PATCH 3/4] configure: add support for 74kf cpu

2015-04-09 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- configure | 5 + 1 file changed, 5 insertions(+) diff --git a/configure b/configure index 788b715..5d741ba 100755 --- a/configure +++ b/configure @@ -3884,6 +3884,11 @@ elif enabled mips; then disable mipsfpu di

[FFmpeg-devel] [PATCH 2/4] configure: add support for mips64r6 and i6400 cpu

2015-04-09 Thread shivraj.patil
From: Shivraj Patil This is a preparation patch to submit optimized code for MSA (MIPS-SIMD-Architecture) Signed-off-by: Shivraj Patil --- configure | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 40435ff..788b715 1007

[FFmpeg-devel] [PATCH 1/4] configure: add support for mips32r5, p5600 cpu and msa

2015-04-09 Thread shivraj.patil
From: Shivraj Patil Imagination Technologies has come up with MIPS Warrior Processor Cores. More details can be found at- http://www.imgtec.com/mips/warrior/pclass.asp http://www.imgtec.com/mips/warrior/iclass.asp This is a preparation patch to submit optimized code for MSA (MIPS-SIMD-Architec

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread Gilles Chanteperdrix
On Thu, Apr 09, 2015 at 01:08:21PM +0200, wm4 wrote: > On Thu, 9 Apr 2015 00:02:50 +0200 > Lukasz Marek wrote: > > > W dniu środa, 8 kwietnia 2015 Gilles Chanteperdrix < > > gilles.chanteperd...@xenomai.org> > > > > And forgot to add my apologies for these bad patches and the noise > > > that fo

Re: [FFmpeg-devel] [PATCH]Autodetect raw flac files

2015-04-09 Thread Michael Niedermayer
On Thu, Apr 09, 2015 at 01:21:32PM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached patch allows to autodetect headerless flac files. > > Please comment, Carl Eugen > flacdec.c |2 ++ > 1 file changed, 2 insertions(+) > 393c746cefb2dd386719591734f01d6df2ca124c patchflac.diff > diff --git

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread Nicolas George
Le decadi 20 germinal, an CCXXIII, Gilles Chanteperdrix a écrit : > Well, in that case, > ffmpeg -i `youtube-dl -f bestvideo -g $url` That could work too, but you still fail to acknowledge that -g is frequently not enough. Regards, -- Nicolas George signature.asc Description: Digital signa

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread Gilles Chanteperdrix
On Wed, Apr 08, 2015 at 10:22:42PM +0200, Nicolas George wrote: > Le nonidi 19 germinal, an CCXXIII, Gilles Chanteperdrix a écrit : > > So, when you just need to run exec, it is stupid > > Exactly what I wrote: not your problem / premature optimization. > > > I do not follow you here. youtube-dl

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread compn
On Thu, 9 Apr 2015 14:36:42 +0200 Nicolas George wrote: > Le decadi 20 germinal, an CCXXIII, compn a écrit : > > what we should do is convince youtube that having youtube support in > > ffmpeg (and thus vlc and other projects) with ad playback, login > > support, etc, is exactly what youtube want

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread Lukasz Marek
> Easy. Just merge webkit into ffmpeg. It's for the greater good! Any specific reason for webkit in ffmpeg? You said something about not being trolling. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-deve

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread wm4
On Thu, 9 Apr 2015 08:30:43 -0400 compn wrote: > On Wed, 8 Apr 2015 20:14:07 +0200 > Gilles Chanteperdrix wrote: > > > > why not machine translate the python to c and import that into > > > ffmpeg? :P > > > > > > https://github.com/pradyun/Py2C > > > > Because then you will have to maintain t

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread Nicolas George
Le decadi 20 germinal, an CCXXIII, compn a écrit : > what we should do is convince youtube that having youtube support in > ffmpeg (and thus vlc and other projects) with ad playback, login > support, etc, is exactly what youtube wants. then youtube sends a patch > and maintains it. Maybe that woul

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread compn
On Wed, 8 Apr 2015 20:14:07 +0200 Gilles Chanteperdrix wrote: > > why not machine translate the python to c and import that into > > ffmpeg? :P > > > > https://github.com/pradyun/Py2C > > Because then you will have to maintain that C, update it as soon as > a youtube-dl python file is updated b

Re: [FFmpeg-devel] Does the H.263 in FFmpeg support two pass encoding

2015-04-09 Thread compn
On Thu, 9 Apr 2015 09:24:42 +0530 Ramprasad N wrote: > Hi, > The second pass shows error (IO error: Error number 0 occurred) but > the file gets generated and looks fine, but I don't know whether it > actually used the 1st pass. run ffmpeg 1pass h263, then run 2pass to another file. then use fra

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread wm4
On Thu, 9 Apr 2015 13:57:39 +0200 Nicolas George wrote: > Le decadi 20 germinal, an CCXXIII, wm4 a écrit : > > Huh? I don't think you quite know what youtube-dl can do. For your > > information, it does everything quvi could do, and more. It's also much > > better at it and faster too. > > And o

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread Nicolas George
Le decadi 20 germinal, an CCXXIII, wm4 a écrit : > Huh? I don't think you quite know what youtube-dl can do. For your > information, it does everything quvi could do, and more. It's also much > better at it and faster too. And once again, you forgot to think before posting. Hint: where is libyout

Re: [FFmpeg-devel] [PATCH 2/2] lavf/assenc: handle extra sections after Events

2015-04-09 Thread wm4
On Thu, 9 Apr 2015 06:12:53 -0500 Rodger Combs wrote: > > > On Apr 8, 2015, at 14:25, Michael Niedermayer wrote: > > > > On Sat, Apr 04, 2015 at 05:31:22AM -0500, Rodger Combs wrote: > >> --- > >> libavformat/assenc.c | 28 ++-- > >> 1 file changed, 26 insertions(+), 2 d

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread wm4
On Thu, 9 Apr 2015 13:13:40 +0200 Nicolas George wrote: > Le decadi 20 germinal, an CCXXIII, wm4 a écrit : > > Maintaining a > > wrapper for a dead library when there's something better > > Please stop spreading your own arbitrary value judgments

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread Kieran Kunhya
On 9 April 2015 at 12:17, Rodger Combs wrote: > >> On Apr 9, 2015, at 06:08, wm4 wrote: >> >> On Thu, 9 Apr 2015 00:02:50 +0200 >> Lukasz Marek wrote: >> >>> W dniu środa, 8 kwietnia 2015 Gilles Chanteperdrix < >>> gilles.chanteperd...@xenomai.org> >>> >>> And forgot to add my apologies for thes

Re: [FFmpeg-devel] [PATCH 2/2] WIP: lavf/segment: provide a virtual AVIOContext representing all the segments

2015-04-09 Thread Rodger Combs
> On Apr 9, 2015, at 05:41, Stefano Sabatini wrote: > > Not sure what's the user case here. See discussion around https://ffmpeg.org/pipermail/ffmpeg-devel/2015-March/170993.html > > [...] > -- > FFmpeg = Fanciful and Funny

[FFmpeg-devel] [PATCH]Autodetect raw flac files

2015-04-09 Thread Carl Eugen Hoyos
Hi! Attached patch allows to autodetect headerless flac files. Please comment, Carl Eugen diff --git a/libavformat/flacdec.c b/libavformat/flacdec.c index 1a8dc19..60551d0 100644 --- a/libavformat/flacdec.c +++ b/libavformat/flacdec.c @@ -178,6 +178,8 @@ fail: static int flac_probe(AVProbeData

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread Rodger Combs
> On Apr 9, 2015, at 06:08, wm4 wrote: > > On Thu, 9 Apr 2015 00:02:50 +0200 > Lukasz Marek wrote: > >> W dniu środa, 8 kwietnia 2015 Gilles Chanteperdrix < >> gilles.chanteperd...@xenomai.org> >> >> And forgot to add my apologies for these bad patches and the noise >>> that followed. >>> >>

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread Nicolas George
Le decadi 20 germinal, an CCXXIII, wm4 a écrit : > Maintaining a > wrapper for a dead library when there's something better Please stop spreading your own arbitrary value judgments everywhere as if they were universal. Unlike what you claim, you

Re: [FFmpeg-devel] [PATCH 2/2] lavf/assenc: handle extra sections after Events

2015-04-09 Thread Rodger Combs
> On Apr 8, 2015, at 14:25, Michael Niedermayer wrote: > > On Sat, Apr 04, 2015 at 05:31:22AM -0500, Rodger Combs wrote: >> --- >> libavformat/assenc.c | 28 ++-- >> 1 file changed, 26 insertions(+), 2 deletions(-) > > do you have a testcase for this which you can share ?

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread wm4
On Thu, 9 Apr 2015 00:02:50 +0200 Lukasz Marek wrote: > W dniu środa, 8 kwietnia 2015 Gilles Chanteperdrix < > gilles.chanteperd...@xenomai.org> > > And forgot to add my apologies for these bad patches and the noise > > that followed. > > > > No need for that. > > Your demuxer seems to use pub

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread wm4
On Wed, 8 Apr 2015 22:26:23 +0200 Gilles Chanteperdrix wrote: > On Wed, Apr 08, 2015 at 10:08:25PM +0200, wm4 wrote: > > On Wed, 08 Apr 2015 20:52:12 +0100 > > Derek Buitenhuis wrote: > > > > > On 4/8/2015 6:16 PM, Gilles Chanteperdrix wrote: > > > > Signed-off-by: Gilles Chanteperdrix > > > >

Re: [FFmpeg-devel] [PATCH 2/2] WIP: lavf/segment: provide a virtual AVIOContext representing all the segments

2015-04-09 Thread Stefano Sabatini
On date Monday 2015-03-30 20:23:20 -0600, Rodger Combs encoded: > This needs a fair bit of testing and review before merge. > --- > libavformat/segment.c | 259 > ++ > 1 file changed, 198 insertions(+), 61 deletions(-) Sorry for the delay, missed t

Re: [FFmpeg-devel] Does the H.263 in FFmpeg support two pass encoding

2015-04-09 Thread Michael Niedermayer
On Thu, Apr 09, 2015 at 09:24:42AM +0530, Ramprasad N wrote: > Hi, > The second pass shows error (IO error: Error number 0 occurred) but the how can this be reproduced ? or can you put a abort()/breakpoint in libavutil/error.c and provide a backtrace from ffmpeg_g ? [...] > Also, > For the same

Re: [FFmpeg-devel] [PATCH] avcodec/libdcadec: honor AVCodecContext bitexact flag

2015-04-09 Thread Michael Niedermayer
On Thu, Apr 09, 2015 at 03:58:39AM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > libavcodec/libdcadec.c | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) LGTM [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Many that live deserve d