Re: [FFmpeg-devel] Adding Webvtt in hls muxer

2015-07-25 Thread Michael Niedermayer
On Thu, Jun 04, 2015 at 01:33:35PM +0530, Anshul wrote: > Hello > > New patch to remove merge conflicts. > > -Anshul > hlsenc.c | 202 > +++ > 1 file changed, 192 insertions(+), 10 deletions(-) > 3bf30e70251b47f644cc999e23c0b237e9952

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/texturedsp: fix undefined shift

2015-07-25 Thread James Almer
On 25/07/15 12:59 AM, Michael Niedermayer wrote: > On Fri, Jul 24, 2015 at 10:14:00PM -0300, James Almer wrote: >> Silences warnings when using -Wshift-overflow (GCC 6+) >> >> Signed-off-by: James Almer >> --- >> libavcodec/texturedsp.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [FFmpeg-devel] [PATCH 2/2] libavcodec/qsvdec_h264.c: using "private_spspps_buf" argument for av_bitstream_filter_filter() to avoid failure after decoder re-initialization.

2015-07-25 Thread Michael Niedermayer
On Sun, Jul 26, 2015 at 12:07:05AM +0300, Ivan Uskov wrote: > Hello All > > This patch uses new "private_spspps_buf" argument of > h264_mp4toannexb_bsf.c. This allow to fix bug when the qsvdec_h264.c > decoder is not able to decode mp4 and mkv. > Please review. > > -- > Best regards, > Ivan

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/h264_mp4toannexb_bsf.c: Optional argument "private_spspps_buf" to avoid extradata modification.

2015-07-25 Thread Michael Niedermayer
On Sun, Jul 26, 2015 at 12:04:30AM +0300, Ivan Uskov wrote: > Hello all, > > This patch implements optional mode which disables context > extradata modification by bsf. The modification of extradata become > an issue when bsf restarts (after stream detection for example). > Please review. > >

[FFmpeg-devel] [PATCH 2/2] libavcodec/qsvdec_h264.c: using "private_spspps_buf" argument for av_bitstream_filter_filter() to avoid failure after decoder re-initialization.

2015-07-25 Thread Ivan Uskov
Hello All This patch uses new "private_spspps_buf" argument of h264_mp4toannexb_bsf.c. This allow to fix bug when the qsvdec_h264.c decoder is not able to decode mp4 and mkv. Please review. -- Best regards, Ivanmailto:ivan.us...@nablet.com 0002-libavcodec-qsvdec_h26

[FFmpeg-devel] [PATCH 1/2] libavcodec/h264_mp4toannexb_bsf.c: Optional argument "private_spspps_buf" to avoid extradata modification.

2015-07-25 Thread Ivan Uskov
Hello all, This patch implements optional mode which disables context extradata modification by bsf. The modification of extradata become an issue when bsf restarts (after stream detection for example). Please review. -- Best regards, Ivan mailto:ivan.us...@nablet.co

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

2015-07-25 Thread Michael Niedermayer
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, 57 inser

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvdec_h264.c bug fixed: decoder fails after restart on non-annex-b content.

2015-07-25 Thread Michael Niedermayer
On Sat, Jul 25, 2015 at 09:21:58PM +0300, Ivan Uskov wrote: > Hello Michael, > > Saturday, July 25, 2015, 9:11:34 PM, you wrote: > > >> MN> if it avoids just a rare or small case then its not worth it > >> I believe this trick will no give visible improvement in performance. > >> Just small win i

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

2015-07-25 Thread Michael Niedermayer
On Thu, Apr 30, 2015 at 01:51:37PM +0200, Nedeljko Babic wrote: > Functions av_gt_sf, av_sqrt_sf and av_sincos_sf added to softfloat > > Signed-off-by: Nedeljko Babic > --- > libavutil/softfloat.h| 93 +++- > libavutil/softfloat_tables.h | 260 >

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvdec_h264.c bug fixed: decoder fails after restart on non-annex-b content.

2015-07-25 Thread Ivan Uskov
Hello Michael, Saturday, July 25, 2015, 9:11:34 PM, you wrote: >> MN> if it avoids just a rare or small case then its not worth it >> I believe this trick will no give visible improvement in performance. >> Just small win in some rare cases. MN> then its better to avoid duplicating the bitstream

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvdec_h264.c bug fixed: decoder fails after restart on non-annex-b content.

2015-07-25 Thread Michael Niedermayer
On Sat, Jul 25, 2015 at 09:02:55PM +0300, Ivan Uskov wrote: > Hello Michael, > > Saturday, July 25, 2015, 8:21:44 PM, you wrote: > >> MN> would this be faster ? > >> MN> avoid a copy/malloc ? > >> If it implemented inside libavcodec/qsvdec_h264.c then it will use > >> about same code like current

Re: [FFmpeg-devel] [PATCH] avcodec: Add QSV VC-1 video decoder.

2015-07-25 Thread Michael Niedermayer
On Sat, Jul 25, 2015 at 07:31:33PM +0300, Ivan Uskov wrote: > Hello all, > > This patch adds QSV-based VC-1 video decoder. > Please review. > > > -- > Best regards, > Ivan mailto:ivan.us...@nablet.com > Changelog |1 > configure |

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvdec_h264.c bug fixed: decoder fails after restart on non-annex-b content.

2015-07-25 Thread Ivan Uskov
Hello Michael, Saturday, July 25, 2015, 8:21:44 PM, you wrote: >> MN> would this be faster ? >> MN> avoid a copy/malloc ? >> If it implemented inside libavcodec/qsvdec_h264.c then it will use >> about same code like current bsf implementation uses but with using of >> private buffer for sps/pps in

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvdec_h264.c bug fixed: decoder fails after restart on non-annex-b content.

2015-07-25 Thread Michael Niedermayer
On Sat, Jul 25, 2015 at 07:00:00PM +0300, Ivan Uskov wrote: > Hello Michael, > > Saturday, July 25, 2015, 6:14:20 PM, you wrote: > > >> I can implement necessary functions to generate annex-b prefixes just into > >> libavcodec/qsvdec_h264.c if Michael will agree this way. > > MN> would this be f

[FFmpeg-devel] [PATCH] avcodec: Add QSV VC-1 video decoder.

2015-07-25 Thread Ivan Uskov
Hello all, This patch adds QSV-based VC-1 video decoder. Please review. -- Best regards, Ivan mailto:ivan.us...@nablet.com 0001-avcodec-Add-QSV-VC-1-video-decoder.patch Description: Binary data ___ ffmpeg-devel mailing lis

[FFmpeg-devel] [PATCH] x86/aacpsdsp: add SSE and SSE3 optimized functions

2015-07-25 Thread James Almer
Between 1.5 and 2.5 times faster Signed-off-by: James Almer --- libavcodec/aacps.c | 4 +- libavcodec/aacpsdsp.h | 1 + libavcodec/aacpsdsp_template.c | 2 + libavcodec/x86/Makefile| 6 +- libavcodec/x86/aacpsdsp.asm| 215 +

Re: [FFmpeg-devel] [PATCH] QSV MPEG-2 video decoder has been added.

2015-07-25 Thread Ivan Uskov
Hello Michael, Saturday, July 25, 2015, 6:30:14 PM, you wrote: MN> btw, if qsv_decode_init/qsv_decode_flush arent intended to be used MN> in the future they can be removed and the function pointers left at MN> NULL Ok, thank. -- Best regards, Ivanmailto:ivan.us..

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvdec_h264.c bug fixed: decoder fails after restart on non-annex-b content.

2015-07-25 Thread Ivan Uskov
Hello Michael, Saturday, July 25, 2015, 6:14:20 PM, you wrote: >> I can implement necessary functions to generate annex-b prefixes just into >> libavcodec/qsvdec_h264.c if Michael will agree this way. MN> would this be faster ? MN> avoid a copy/malloc ? If it implemented inside libavcodec/qsvdec

Re: [FFmpeg-devel] [PATCH] QSV MPEG-2 video decoder has been added.

2015-07-25 Thread Michael Niedermayer
On Sat, Jul 25, 2015 at 05:48:24PM +0300, Ivan Uskov wrote: > Hello all, > > The attached patch adding the QSV-based MPEG2 video decoder. > Please review. > > > -- > Best regards, > Ivan mailto:ivan.us...@nablet.com > Changelog |1 > configure

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

2015-07-25 Thread Nicolas George
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 files changed, 164 insertions(+) > create mode 100644 doc/examp

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvdec_h264.c bug fixed: decoder fails after restart on non-annex-b content.

2015-07-25 Thread Michael Niedermayer
On Sat, Jul 25, 2015 at 04:41:46PM +0300, Ivan Uskov wrote: > Hello Hendrik, > > Saturday, July 25, 2015, 3:13:38 PM, you wrote: > > HL> I'm slightly confused by the entire concept here. > > HL> - Why does the decoder need to re-init anyway? > Each time when I launch a command line like: > ./ffm

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

2015-07-25 Thread Nicolas George
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 about 1-5 and 7, except for one point of API that I will discuss

[FFmpeg-devel] [PATCH] QSV MPEG-2 video decoder has been added.

2015-07-25 Thread Ivan Uskov
Hello all, The attached patch adding the QSV-based MPEG2 video decoder. Please review. -- Best regards, Ivan mailto:ivan.us...@nablet.com 0001-QSV-MPEG-2-video-decoder-has-been-added.patch Description: Binary data ___ ffmp

Re: [FFmpeg-devel] [PATCH] ffmpeg: check value of write syscall

2015-07-25 Thread Ganesh Ajjanagadde
On Sat, Jul 25, 2015 at 10:31 AM, Nicolas George wrote: > Le septidi 7 thermidor, an CCXXIII, Ganesh Ajjanagadde a écrit : >> >> -write(2/*STDERR_FILENO*/, "Received > 3 system signals, hard >> >> exiting\n", >> >> +num_write = write(2/*STDERR_FILENO*/, "Received > 3 system >> >>

Re: [FFmpeg-devel] [PATCH] ffmpeg: check value of write syscall

2015-07-25 Thread Nicolas George
Le septidi 7 thermidor, an CCXXIII, Ganesh Ajjanagadde a écrit : > >> -write(2/*STDERR_FILENO*/, "Received > 3 system signals, hard > >> exiting\n", > >> +num_write = write(2/*STDERR_FILENO*/, "Received > 3 system > >> signals, hard exiting\n", > >> str

Re: [FFmpeg-devel] [PATCH] ffmpeg: check value of write syscall

2015-07-25 Thread Ganesh Ajjanagadde
On Sat, Jul 25, 2015 at 5:16 AM, wm4 wrote: > On Sat, 25 Jul 2015 00:20:01 -0400 > Ganesh Ajjanagadde wrote: > >> This makes code slightly more robust and fixes a -Wunused-result >> >> Signed-off-by: Ganesh Ajjanagadde >> --- >> ffmpeg.c | 6 -- >> 1 file changed, 4 insertions(+), 2 deletio

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvdec_h264.c bug fixed: decoder fails after restart on non-annex-b content.

2015-07-25 Thread Ivan Uskov
Hello Hendrik, Saturday, July 25, 2015, 3:13:38 PM, you wrote: HL> I'm slightly confused by the entire concept here. HL> - Why does the decoder need to re-init anyway? Each time when I launch a command line like: ./ffmpeg -c:v h264_qsv -i hd.mp4 -y result.yuv I can see that: 1. decoder opens, 2.

Re: [FFmpeg-devel] [PATCH] x86/aacpsdsp: add SSE and SSE3 optimized functions

2015-07-25 Thread Michael Niedermayer
On Fri, Jul 24, 2015 at 11:00:55PM -0300, James Almer wrote: > Between 1.5 and 2.5 times faster > > Signed-off-by: James Almer > --- > There's a couple missing, like ps_stereo_interpolate_ipdopd which i wanted to > write > but couldn't test because it was not used by any of the samples i tried.

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvdec_h264.c bug fixed: decoder fails after restart on non-annex-b content.

2015-07-25 Thread Hendrik Leppkes
On Fri, Jul 24, 2015 at 1:34 PM, Ivan Uskov wrote: > Hello All, > > The current implementation of libavcodec/qsvdec_h264.c does not store > original extradata buffer. At the same time the > \libavcodec\h264_mp4toannexb_bsf filter does modify extradata buffer > inplace and fails to process it next

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvdec_h264.c bug fixed: decoder fails after restart on non-annex-b content.

2015-07-25 Thread Ivan Uskov
Hello Michael, Saturday, July 25, 2015, 12:51:36 PM, you wrote: >> Looks like no any parameters to avoid extradata substitution by >> h264_mp4toannexb_bsf. MN> yes, h264_mp4toannexb_bsf needs to be changed to optionally support MN> not doing that. MN> One way is to use the args for that and for

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvdec_h264.c bug fixed: decoder fails after restart on non-annex-b content.

2015-07-25 Thread Michael Niedermayer
On Sat, Jul 25, 2015 at 12:37:25PM +0300, Ivan Uskov wrote: > Hello Michael, > > Friday, July 24, 2015, 11:24:30 PM, you wrote: > > > MN> it should be possible to add a parameter (passed through args) > MN> which disables extradata mangling to h264_mp4toannexb_bsf > > I'm sorry, I do not see th

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvdec_h264.c bug fixed: decoder fails after restart on non-annex-b content.

2015-07-25 Thread Ivan Uskov
Hello Michael, Friday, July 24, 2015, 11:24:30 PM, you wrote: MN> it should be possible to add a parameter (passed through args) MN> which disables extradata mangling to h264_mp4toannexb_bsf I'm sorry, I do not see this possibility. The h264_extradata_to_annexb() into h264_mp4toannexb_bsf repla

Re: [FFmpeg-devel] [PATCH] ffmpeg: check value of write syscall

2015-07-25 Thread wm4
On Sat, 25 Jul 2015 00:20:01 -0400 Ganesh Ajjanagadde wrote: > This makes code slightly more robust and fixes a -Wunused-result > > Signed-off-by: Ganesh Ajjanagadde > --- > ffmpeg.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/ffmpeg.c b/ffmpeg.c > index 751