Re: [FFmpeg-devel] [PATCH 1/2] ffmpeg: reset tty state correctly

2015-07-27 Thread Nicolas George
L'octidi 8 thermidor, an CCXXIII, Ganesh Ajjanagadde a écrit : > tty state was not being reset upon "hard" signals (SIGSEGV etc) A good shell can do that for you. > This resets tty state in such situations, fixes Ticket2964 This ticket is only about tcsetattr() not putting the tty in raw mode wh

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: silence unused return value warnings

2015-07-27 Thread Nicolas George
L'octidi 8 thermidor, an CCXXIII, Ganesh Ajjanagadde a écrit : > GCC throws a -Wunused-result for not checking return value > of write(); silence it > > Signed-off-by: Ganesh Ajjanagadde > --- > ffmpeg.c | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/f

Re: [FFmpeg-devel] [PATCH 1/2] ffmpeg: reset tty state correctly

2015-07-27 Thread Nicolas George
L'octidi 8 thermidor, an CCXXIII, Ganesh Ajjanagadde a écrit : > +abort(); Sorry to not have noticed it before: abort() is not in the list of async-signal-safe functions, see: http://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html But the specification for abort(

Re: [FFmpeg-devel] [PATCH] avcodec: add new Videotoolbox hwaccel.

2015-07-27 Thread Zhang Rui
2015-07-15 21:51 GMT+08:00 Clément Bœsch : > On Sat, Jun 20, 2015 at 01:33:00PM +0200, Sebastien Zwickert wrote: >> Old videtotoolbox patch rebased and updated to target the new HWAccel API. >> As VDA is a wrapper of VideoToolbox framework, the changes base vda >> implementation >> upon the videot

Re: [FFmpeg-devel] [PATCH] Add support for Audible AA files

2015-07-27 Thread wm4
On Mon, 27 Jul 2015 01:33:49 +0300 Vesselin Bontchev wrote: > From ba73543efc3fdc4b5c61e9cb56f998d748716e00 Mon Sep 17 00:00:00 2001 > From: Vesselin Bontchev > Date: Sun, 19 Jul 2015 23:16:36 +0200 > Subject: [PATCH] Add support for Audible AA files > > https://en.wikipedia.org/wiki/Audible.co

Re: [FFmpeg-devel] [PATCH] avcodec: add new Videotoolbox hwaccel.

2015-07-27 Thread wm4
On Mon, 27 Jul 2015 18:13:30 +0800 Zhang Rui wrote: > 2015-07-15 21:51 GMT+08:00 Clément Bœsch : > > On Sat, Jun 20, 2015 at 01:33:00PM +0200, Sebastien Zwickert wrote: > >> Old videtotoolbox patch rebased and updated to target the new HWAccel API. > >> As VDA is a wrapper of VideoToolbox framewo

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: silence unused return value warnings

2015-07-27 Thread wm4
On Sun, 26 Jul 2015 23:53:23 -0400 Ganesh Ajjanagadde wrote: > GCC throws a -Wunused-result for not checking return value > of write(); silence it > > Signed-off-by: Ganesh Ajjanagadde > --- > ffmpeg.c | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/f

Re: [FFmpeg-devel] [PATCH 1/2] ffmpeg: reset tty state correctly

2015-07-27 Thread wm4
On Mon, 27 Jul 2015 10:39:16 +0200 Nicolas George wrote: > > +signal(SIGSEGV, sigterm_handler); /* Segmentation fault (ANSI). */ > > +signal(SIGILL , sigterm_handler); /* Invalid instruction (ANSI).*/ > > +signal(SIGFPE , sigterm_handler); /* Arithmetic error (ANSI). */

[FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for VP9 bilinear functions

2015-07-27 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- libavcodec/mips/vp9_mc_msa.c | 2123 libavcodec/mips/vp9dsp_init_mips.c |2 + libavcodec/mips/vp9dsp_mips.h | 32 + 3 files changed, 2157 insertions(+) diff --git a/libavcodec/mips/vp9_mc

Re: [FFmpeg-devel] [PATCH] avcodec: add new Videotoolbox hwaccel.

2015-07-27 Thread Clément Bœsch
On Mon, Jul 27, 2015 at 06:13:30PM +0800, Zhang Rui wrote: > 2015-07-15 21:51 GMT+08:00 Clément Bœsch : > > On Sat, Jun 20, 2015 at 01:33:00PM +0200, Sebastien Zwickert wrote: > >> Old videtotoolbox patch rebased and updated to target the new HWAccel API. > >> As VDA is a wrapper of VideoToolbox fr

Re: [FFmpeg-devel] [PATCH 2/2] mcfps filter WIP

2015-07-27 Thread Michael Niedermayer
On Sun, Jul 26, 2015 at 09:41:51PM +0200, wm4 wrote: > On Fri, 24 Jul 2015 20:50:56 +0200 > Michael Niedermayer wrote: > > > Works well with some scenes, works really not well with others > > More work needed > > if you can improve it, i would not be unhappy > > > > this should not be optimized

Re: [FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for VP9 bilinear functions

2015-07-27 Thread Ronald S. Bultje
Hi, On Mon, Jul 27, 2015 at 7:59 AM, wrote: > From: Shivraj Patil > > Signed-off-by: Shivraj Patil > --- > libavcodec/mips/vp9_mc_msa.c | 2123 > > libavcodec/mips/vp9dsp_init_mips.c |2 + > libavcodec/mips/vp9dsp_mips.h | 32 + > 3 files

Re: [FFmpeg-devel] [PATCH 1/2] ffmpeg: reset tty state correctly

2015-07-27 Thread Ganesh Ajjanagadde
On Mon, Jul 27, 2015 at 7:35 AM, wm4 wrote: > On Mon, 27 Jul 2015 10:39:16 +0200 > Nicolas George wrote: > > >> > +signal(SIGSEGV, sigterm_handler); /* Segmentation fault (ANSI). */ >> > +signal(SIGILL , sigterm_handler); /* Invalid instruction (ANSI).*/ >> > +signal(SIGFPE ,

[FFmpeg-devel] Fwd: [PATCH 1/2] ffmpeg: reset tty state correctly

2015-07-27 Thread Ganesh Ajjanagadde
Apologies for this; I accidentally replied just to the responder and not the mailing list. -- Forwarded message -- From: Ganesh Ajjanagadde Date: Mon, Jul 27, 2015 at 8:27 AM Subject: Re: [FFmpeg-devel] [PATCH 1/2] ffmpeg: reset tty state correctly To: Nicolas George On Mon, Ju

[FFmpeg-devel] Fwd: [PATCH 1/2] ffmpeg: reset tty state correctly

2015-07-27 Thread Ganesh Ajjanagadde
Once again, apologies. -- Forwarded message -- From: Nicolas George Date: Mon, Jul 27, 2015 at 8:52 AM Subject: Re: [FFmpeg-devel] [PATCH 1/2] ffmpeg: reset tty state correctly To: Ganesh Ajjanagadde Le nonidi 9 thermidor, an CCXXIII, Ganesh Ajjanagadde a écrit : > Apparently z

[FFmpeg-devel] Fwd: [PATCH 2/2] ffmpeg: silence unused return value warnings

2015-07-27 Thread Ganesh Ajjanagadde
Apologies. -- Forwarded message -- From: Ganesh Ajjanagadde Date: Mon, Jul 27, 2015 at 8:31 AM Subject: Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: silence unused return value warnings To: Nicolas George On Mon, Jul 27, 2015 at 4:42 AM, Nicolas George wrote: > L'octidi 8 thermidor,

Re: [FFmpeg-devel] Fwd: [PATCH 1/2] ffmpeg: reset tty state correctly

2015-07-27 Thread Nicolas George
Le nonidi 9 thermidor, an CCXXIII, Ganesh Ajjanagadde a écrit : > Apologies for this; I accidentally replied just to the responder and > not the mailing list. I replied: > Apparently zsh was not doing it. ttyctl -f > Core is still being dumped due to the abort call. > The handler is pretty mini

Re: [FFmpeg-devel] [PATCH] Add support for Audible AA files

2015-07-27 Thread Nicolas George
Le nonidi 9 thermidor, an CCXXIII, Vesselin Bontchev a écrit : > Hi! > > This patch adds support for Audible AA files. > > Audible samples can be obtained from, > > https://gitlab.com/vesselin.bontchev/audible-samples/tree/master > https://samples.ffmpeg.org/audible/ > > Currently, this code g

Re: [FFmpeg-devel] Fwd: [PATCH 1/2] ffmpeg: reset tty state correctly

2015-07-27 Thread Ganesh Ajjanagadde
On Mon, Jul 27, 2015 at 9:06 AM, Nicolas George wrote: > Le nonidi 9 thermidor, an CCXXIII, Ganesh Ajjanagadde a écrit : >> Apologies for this; I accidentally replied just to the responder and >> not the mailing list. > > I replied: > >> Apparently zsh was not doing it. > > ttyctl -f Sure, but th

Re: [FFmpeg-devel] [PATCH] avcodec: add new Videotoolbox hwaccel.

2015-07-27 Thread Zhang Rui
2015-07-27 19:22 GMT+08:00 wm4 : > On Mon, 27 Jul 2015 18:13:30 +0800 > Zhang Rui wrote: > >> 2015-07-15 21:51 GMT+08:00 Clément Bœsch : >> > On Sat, Jun 20, 2015 at 01:33:00PM +0200, Sebastien Zwickert wrote: >> >> Old videtotoolbox patch rebased and updated to target the new HWAccel API. >> >> A

Re: [FFmpeg-devel] Fwd: [PATCH 1/2] ffmpeg: reset tty state correctly

2015-07-27 Thread Nicolas George
Le nonidi 9 thermidor, an CCXXIII, Ganesh Ajjanagadde a écrit : > > ttyctl -f > Sure, but this is a command invoked once ffmpeg exits. This is a command that should be present in everybody's .zshrc. > What I meant to say was that ffmpeg changes tty state, > and upon a sigsegv, it did not change t

Re: [FFmpeg-devel] [PATCH 3/3] libavutil/softfloat: Add functions.

2015-07-27 Thread Nedeljko Babic
>> +/** >> + * Rounding-to-nearest used. >> + */ >> +static av_always_inline void av_sincos_sf(int a, int *s, int *c) > >this function seems to be buggy >the sine values are very accurate but the cosine values are not > >look: (tested with libavutil/softfloat-test and tightened up thresholds) Coul

Re: [FFmpeg-devel] Fwd: [PATCH 1/2] ffmpeg: reset tty state correctly

2015-07-27 Thread Ganesh Ajjanagadde
On Mon, Jul 27, 2015 at 9:33 AM, Nicolas George wrote: > Le nonidi 9 thermidor, an CCXXIII, Ganesh Ajjanagadde a écrit : >> > ttyctl -f >> Sure, but this is a command invoked once ffmpeg exits. > > This is a command that should be present in everybody's .zshrc. Wasn't there in mine, thanks! > >>

Re: [FFmpeg-devel] Fwd: [PATCH 1/2] ffmpeg: reset tty state correctly

2015-07-27 Thread Nicolas George
Le nonidi 9 thermidor, an CCXXIII, Ganesh Ajjanagadde a écrit : > Wasn't there in mine, thanks! Glad I could be useful. > No, since 2964 reports command: > > ffmpeg -f lavfi -i testsrc -f null - 2>/dev/null > > Say I change this trivially to: > > /dev/null > > Then your solution would not wor

[FFmpeg-devel] [PATCH] ffmpeg: modify tty state when stderr is redirected

2015-07-27 Thread Ganesh Ajjanagadde
This fixes Ticket2964 Signed-off-by: Ganesh Ajjanagadde --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index 751c7d3..98f812e 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -372,7 +372,7 @@ void term_init(void) struct termios tty;

Re: [FFmpeg-devel] [PATCH] avcodec: add new Videotoolbox hwaccel.

2015-07-27 Thread Zhang Rui
2015-07-27 20:14 GMT+08:00 Clément Bœsch : > On Mon, Jul 27, 2015 at 06:13:30PM +0800, Zhang Rui wrote: >> 2015-07-15 21:51 GMT+08:00 Clément Bœsch : >> > On Sat, Jun 20, 2015 at 01:33:00PM +0200, Sebastien Zwickert wrote: >> >> Old videtotoolbox patch rebased and updated to target the new HWAccel

Re: [FFmpeg-devel] [PATCH 1/2] ffmpeg: reset tty state correctly

2015-07-27 Thread wm4
On Mon, 27 Jul 2015 08:30:38 -0400 Ganesh Ajjanagadde wrote: > On Mon, Jul 27, 2015 at 7:35 AM, wm4 wrote: > > On Mon, 27 Jul 2015 10:39:16 +0200 > > Nicolas George wrote: > > > > > >> > +signal(SIGSEGV, sigterm_handler); /* Segmentation fault (ANSI). > >> > */ > >> > +signal(SIGIL

Re: [FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for VP9 bilinear functions

2015-07-27 Thread Shivraj Patil
Hi, On Mon, Jul 27, 2015 at 7:59 AM, mailto:shivraj.pa...@imgtec.com>> wrote: From: Shivraj Patil mailto:shivraj.pa...@imgtec.com>> Signed-off-by: Shivraj Patil mailto:shivraj.pa...@imgtec.com>> --- libavcodec/mips/vp9_mc_msa.c | 2123 libavcodec/mip

Re: [FFmpeg-devel] [PATCH 1/2] ffmpeg: reset tty state correctly

2015-07-27 Thread wm4
On Mon, 27 Jul 2015 10:16:04 -0400 Ganesh Ajjanagadde wrote: > On Mon, Jul 27, 2015 at 10:11 AM, wm4 wrote: > > On Mon, 27 Jul 2015 08:30:38 -0400 > > Ganesh Ajjanagadde wrote: > > > >> On Mon, Jul 27, 2015 at 7:35 AM, wm4 wrote: > >> > On Mon, 27 Jul 2015 10:39:16 +0200 > >> > Nicolas George

Re: [FFmpeg-devel] [PATCH 2/2] mcfps filter WIP

2015-07-27 Thread wm4
On Mon, 27 Jul 2015 14:16:20 +0200 Michael Niedermayer wrote: > On Sun, Jul 26, 2015 at 09:41:51PM +0200, wm4 wrote: > > On Fri, 24 Jul 2015 20:50:56 +0200 > > Michael Niedermayer wrote: > > > > > Works well with some scenes, works really not well with others > > > More work needed > > > if you

Re: [FFmpeg-devel] [PATCH 1/2] ffmpeg: reset tty state correctly

2015-07-27 Thread Ganesh Ajjanagadde
On Mon, Jul 27, 2015 at 10:11 AM, wm4 wrote: > On Mon, 27 Jul 2015 08:30:38 -0400 > Ganesh Ajjanagadde wrote: > >> On Mon, Jul 27, 2015 at 7:35 AM, wm4 wrote: >> > On Mon, 27 Jul 2015 10:39:16 +0200 >> > Nicolas George wrote: >> > >> > >> >> > +signal(SIGSEGV, sigterm_handler); /* Segmentat

[FFmpeg-devel] [PATCH] avcodec/dvbsubdec: Allow selecting the substream, or all substreams

2015-07-27 Thread Michael Niedermayer
From: Michael Niedermayer Signed-off-by: Michael Niedermayer --- libavcodec/dvbsubdec.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index e3b72ab..ade3dc5 100644 --- a/libavcodec/dvbsubdec.c +++ b/lib

Re: [FFmpeg-devel] [PATCH 7/8] tests: Add aac_fixed decoder test

2015-07-27 Thread Nedeljko Babic
Hi, >On Sat, Jul 25, 2015 at 05:37:56AM +0200, Michael Niedermayer wrote: >> On Mon, Jul 20, 2015 at 01:36:21PM +0200, Nedeljko Babic wrote: >> > Signed-off-by: Nedeljko Babic >> > --- >> > tests/fate/aac.mak | 58 >> > +- >> > 1 file changed,

Re: [FFmpeg-devel] [PATCH 2/2] mcfps filter WIP

2015-07-27 Thread Michael Niedermayer
On Mon, Jul 27, 2015 at 04:28:50PM +0200, wm4 wrote: > On Mon, 27 Jul 2015 14:16:20 +0200 > Michael Niedermayer wrote: > > > On Sun, Jul 26, 2015 at 09:41:51PM +0200, wm4 wrote: > > > On Fri, 24 Jul 2015 20:50:56 +0200 > > > Michael Niedermayer wrote: > > > > > > > Works well with some scenes,

Re: [FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for VP9 bilinear functions

2015-07-27 Thread Michael Niedermayer
On Mon, Jul 27, 2015 at 02:11:58PM +, Shivraj Patil wrote: > > Hi, > > On Mon, Jul 27, 2015 at 7:59 AM, > mailto:shivraj.pa...@imgtec.com>> wrote: > From: Shivraj Patil > mailto:shivraj.pa...@imgtec.com>> > > Signed-off-by: Shivraj Patil > mailto:shivraj.pa...@imgtec.com>> > --- > libavc

Re: [FFmpeg-devel] [PATCH 3/3] libavutil/softfloat: Add functions.

2015-07-27 Thread Michael Niedermayer
On Mon, Jul 27, 2015 at 01:36:42PM +, Nedeljko Babic wrote: > >> +/** > >> + * Rounding-to-nearest used. > >> + */ > >> +static av_always_inline void av_sincos_sf(int a, int *s, int *c) > > > >this function seems to be buggy > >the sine values are very accurate but the cosine values are not > >

[FFmpeg-devel] avfoundation AVMediaTypeMuxed device support

2015-07-27 Thread Gianluigi Tiesi
Hi, with the attached patch, ffmpeg avfoundation device input is able to find my canopus dv firewire adapter. I only have 1 format 'muxed' and it's not possible to set resolution or framerate via 'setValue'. I've looked at the code in the AVRecorder sample: https://developer.apple.com/library/mac

Re: [FFmpeg-devel] avfoundation AVMediaTypeMuxed device support

2015-07-27 Thread Gianluigi Tiesi
forgot to add the output: [avfoundation @ 0x7fa2bb824a00] Selected framerate (29.970030) is not supported by the device [avfoundation @ 0x7fa2bb824a00] Selected pixel format (yuv420p) is not supported by the input device. [avfoundation @ 0x7fa2bb824a00] Supported pixel formats: [avfoundation @ 0

Re: [FFmpeg-devel] avfoundation AVMediaTypeMuxed device support

2015-07-27 Thread Gianluigi Tiesi
If I force resolution to 720x576 using capture_dict = @{ (id)kCVPixelBufferWidthKey : @(720), (id)kCVPixelBufferHeightKey : @(576), (id)kCVPixelBufferPixelFormatTypeKey : pixel_format }; The video looks ok but resolution becomes 703(?)x576 Stream #0:0: Vide

Re: [FFmpeg-devel] [PATCH] AAC Encoder: clipping avoidance

2015-07-27 Thread Michael Niedermayer
On Mon, Jul 20, 2015 at 11:40:54PM -0300, Claudio Freire wrote: > On Mon, Jul 20, 2015 at 11:39 PM, Claudio Freire > wrote: > > On Fri, Jul 17, 2015 at 8:42 PM, Michael Niedermayer > > wrote: > >>> If you mean a transition in time, I don't think it makes any > >>> difference. 0.95 is a ~0.5db ch

Re: [FFmpeg-devel] [PATCH] ffplay: Use sws_scale to scale subtitles

2015-07-27 Thread compn
On Sun, 26 Jul 2015 21:32:48 +0200 Michael Niedermayer wrote: > From: Michael Niedermayer > > Fixes some files from Ticket679 > > This also changes subtitles to 4:2:0 matching the output format and > thus simplifying the blend code. > This restricts placement to the chroma sample resolution th

Re: [FFmpeg-devel] avfoundation AVMediaTypeMuxed device support

2015-07-27 Thread Gianluigi Tiesi
Hi, looks like setting capture_dict with: AVVideoScalingModeKey : AVVideoScalingModeResizeAspect fixes the problem -- Gianluigi Tiesi EDP Project Leader Netfarm S.r.l. - http://www.netfarm.it/ Free Software: http://oss.netfarm.it/ ___ ffmpeg-devel ma

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/internal: Deprecate ff_alloc_packet() in favor of ff_alloc_packet2()

2015-07-27 Thread Michael Niedermayer
On Mon, Jul 06, 2015 at 12:07:54PM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/internal.h |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Good peop

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/internal: Document how to avoid the internal->byte_buffer with ff_alloc_packet2()

2015-07-27 Thread Michael Niedermayer
On Mon, Jul 06, 2015 at 12:07:55PM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/internal.h |3 +++ > 1 file changed, 3 insertions(+) patch droped, implemented differently [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC78704

[FFmpeg-devel] AVDISCARD_NONKEY for some interlaced content

2015-07-27 Thread Michael Niedermayer
Hi Can you share the testcase you used for below ? this is not correct (for FFmpeg at least). I know how to fix it but having a testcase would ensure that the fix works Thanks! commit b7040e67ec18259ca634a0e29d98469b3484a87c Author: John Högberg Date: Fri Jul 24 15:30:38 2015 +020

Re: [FFmpeg-devel] [PATCH] ffplay: Use sws_scale to scale subtitles

2015-07-27 Thread Marton Balint
On Sun, 26 Jul 2015, Michael Niedermayer wrote: From: Michael Niedermayer Fixes some files from Ticket679 This also changes subtitles to 4:2:0 matching the output format and thus simplifying the blend code. This restricts placement to the chroma sample resolution though, speak up if you cons

Re: [FFmpeg-devel] [PATCH] Add support for Audible AA files

2015-07-27 Thread Vesselin Bontchev
27.07.2015, 16:16, "Nicolas George" : > Le nonidi 9 thermidor, an CCXXIII, Vesselin Bontchev a écrit : >>  This patch adds support for Audible AA files. >> >>  Audible samples can be obtained from, >> >>  https://gitlab.com/vesselin.bontchev/audible-samples/tree/master >>  https://samples.ffmpeg.o

Re: [FFmpeg-devel] [PATCH 6/8] lavf/http: Implement server side network code.

2015-07-27 Thread Stephan Holljes
On Sat, Jul 25, 2015 at 5:04 PM, Nicolas George wrote: > Le septidi 7 thermidor, an CCXXIII, Stephan Holljes a écrit : >> Attached patch fixes a bug where a oneshot server would not finish a >> handshake, because s->handshake_finish was not set. > > Thanks for the patch series. I have no remarks a

[FFmpeg-devel] [PATCH 1/8] lavf/network: split ff_listen_bind into ff_listen and ff_accept

2015-07-27 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- libavformat/network.c | 27 +-- libavformat/network.h | 20 2 files changed, 41 insertions(+), 6 deletions(-) diff --git a/libavformat/network.c b/libavformat/network.c index 47ade8c..7a326d2 100644 --- a/libavformat

[FFmpeg-devel] [PATCH 2/8] lavf/avio: add ffurl_accept and ffurl_handshake

2015-07-27 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- libavformat/avio.c | 20 libavformat/url.h | 25 + 2 files changed, 45 insertions(+) diff --git a/libavformat/avio.c b/libavformat/avio.c index c188adc..21713d9 100644 --- a/libavformat/avio.c +++ b/libavformat/avio

[FFmpeg-devel] [PATCH 3/8] lavf/avio: add avio_accept and avio_handshake

2015-07-27 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- libavformat/avio.h| 29 + libavformat/aviobuf.c | 17 + 2 files changed, 46 insertions(+) diff --git a/libavformat/avio.h b/libavformat/avio.h index 9b8fcce..06dd7f5 100644 --- a/libavformat/avio.h +++ b/libavform

Re: [FFmpeg-devel] [PATCH 8/8] doc/example: Add http multi-client example code

2015-07-27 Thread Stephan Holljes
On Sat, Jul 25, 2015 at 5:23 PM, Nicolas George wrote: > Le septidi 7 thermidor, an CCXXIII, Stephan Holljes a écrit : >> Signed-off-by: Stephan Holljes >> --- >> doc/examples/Makefile | 1 + >> doc/examples/http_multiclient.c | 163 >> >> 2

[FFmpeg-devel] [PATCH 6/8] lavf/http: Implement server side network code.

2015-07-27 Thread Stephan Holljes
add http_accept, add http_handshake and move handshake logic there, handle connection closing. Signed-off-by: Stephan Holljes --- libavformat/http.c | 182 ++--- 1 file changed, 158 insertions(+), 24 deletions(-) Changes since last version: - Use

[FFmpeg-devel] [PATCH 4/8] lavf/tcp: add tcp_accept

2015-07-27 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- libavformat/tcp.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/libavformat/tcp.c b/libavformat/tcp.c index f24cad2..c559b80 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Stre

[FFmpeg-devel] [PATCH 5/8] lavf/tcp: increase range for listen and call the underlying socket operations accordingly

2015-07-27 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- libavformat/tcp.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/libavformat/tcp.c b/libavformat/tcp.c index c559b80..bee349e 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -45,7 +45,7 @@ typedef struct TCPContext

[FFmpeg-devel] [PATCH 7/8] doc/protocols: document experimental mutli-client api

2015-07-27 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- doc/protocols.texi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/protocols.texi b/doc/protocols.texi index f152f5a..905bc09 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -304,6 +304,8 @@ autodetection in the future. If set to 1 enables

[FFmpeg-devel] [PATCH 8/8] doc/example: Add http multi-client example code

2015-07-27 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- doc/examples/Makefile | 1 + doc/examples/http_multiclient.c | 155 2 files changed, 156 insertions(+) create mode 100644 doc/examples/http_multiclient.c Changes since last version: - Check resource properl

[FFmpeg-devel] [PATCH] ffplay: Use sws_scale to scale subtitles

2015-07-27 Thread Michael Niedermayer
From: Michael Niedermayer Fixes some files from Ticket679 This also changes subtitles to 4:2:0 matching the output format and thus simplifying the blend code. This restricts placement to the chroma sample resolution though, speak up if you consider this a problem, say so, the code could be chang

Re: [FFmpeg-devel] [PATCH] ffplay: Use sws_scale to scale subtitles

2015-07-27 Thread Michael Niedermayer
On Tue, Jul 28, 2015 at 01:01:33AM +0200, Marton Balint wrote: > > On Sun, 26 Jul 2015, Michael Niedermayer wrote: > > >From: Michael Niedermayer > > > >Fixes some files from Ticket679 > > > >This also changes subtitles to 4:2:0 matching the output format and thus > >simplifying the blend code.

Re: [FFmpeg-devel] [PATCH v2] avdevice/decklink: Fix build error caused by a change in the SDK.

2015-07-27 Thread Michael Niedermayer
On Sun, Jul 19, 2015 at 08:32:49PM +0100, Chris Spencer wrote: > In version 10.4 of the DeckLink SDK, GetBufferedAudioSampleFrameCount() was > changed to take an unsigned int instead of an unsigned long. > > Signed-off-by: Chris Spencer > --- > libavdevice/decklink_common.h | 6 ++ > 1 file