Re: [FFmpeg-devel] [PATCH] delete the old segment file from hls list

2014-08-11 Thread Steven Liu
2014-08-12 7:26 GMT+08:00 Simon Thelen ffmpeg-...@c-14.de: On 11/08/14 at 17:39, Steven Liu wrote: Hi Guys, Hello, The FFmpeg hls module can make m3u8 and ts, but it dosen't delete the old ts segment file. If always run this module, the disk will full, so this patch can fix

Re: [FFmpeg-devel] [PATCH] delete the old segment file from hls list

2014-08-11 Thread Steven Liu
2014-08-12 7:26 GMT+08:00 Simon Thelen ffmpeg-...@c-14.de: On 11/08/14 at 17:39, Steven Liu wrote: Hi Guys, Hello, The FFmpeg hls module can make m3u8 and ts, but it dosen't delete the old ts segment file. If always run this module, the disk will full, so this patch can fix

Re: [FFmpeg-devel] [PATCH] delete the old segment file from hls list

2014-08-12 Thread Steven Liu
On Aug 12, 2014, at 8:37 PM, Simon Thelen ffmpeg-...@c-14.de wrote: On 12/08/14 at 10:36, Steven Liu wrote: 2014-08-12 7:26 GMT+08:00 Simon Thelen ffmpeg-...@c-14.de: On 11/08/14 at 17:39, Steven Liu wrote: [..] The FFmpeg hls module can make m3u8 and ts, but it dosen't delete the old ts

Re: [FFmpeg-devel] [PATCH] delete the old segment file from hls list

2014-08-21 Thread Steven Liu
repost new patch: when update the hls m3u8 list, the old file is not unlinked this patch can do this operation delete the old ts segment which not show in m3u8, use hls_sync_list. Signed-off-by: Steven Liu qi@chinacache.com --- libavformat/hlsenc.c | 15 ++- 1 files changed

Re: [FFmpeg-devel] [PATCH] delete the old segment file from hls list

2014-08-29 Thread Steven Liu
On Aug 28, 2014, at 4:52 AM, Anshul anshul.ffm...@gmail.com wrote: On August 22, 2014 8:01:20 AM IST, Steven Liu lingjiujia...@gmail.com wrote: repost new patch: when update the hls m3u8 list, the old file is not unlinked this patch can do this operation delete the old ts segment which

Re: [FFmpeg-devel] [PATCH] delete the old segment file from hls list

2014-08-31 Thread Steven Liu
Anshul anshul.ffm...@gmail.com: On August 30, 2014 8:57:12 AM IST, Steven Liu lingjiujia...@gmail.com wrote: On Aug 28, 2014, at 4:52 AM, Anshul anshul.ffm...@gmail.com wrote: On August 22, 2014 8:01:20 AM IST, Steven Liu lingjiujia...@gmail.com wrote: repost new patch: when update

[FFmpeg-devel] [PATCH]refine the flv tagtype read for check as spec

2014-09-04 Thread Steven Liu
: 8 = audio 9 = video 18 = script data Signed-off-by: Steven Liu qi@chinacache.com --- libavformat/flvdec.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/flvdec.c b/libavformat

Re: [FFmpeg-devel] [PATCH] lavf/segment: add segment_format_options option

2014-09-10 Thread Steven Liu
What about push this option into format hls? 2014-09-07 19:23 GMT+08:00 Stefano Sabatini stefa...@gmail.com: On date Saturday 2014-09-06 22:00:05 +0200, Michael Niedermayer encoded: On Sat, Sep 06, 2014 at 03:46:03PM +0200, Stefano Sabatini wrote: TODO: bump micro ---

Re: [FFmpeg-devel] [PATCH] lavf/segment: add segment_format_options option

2014-09-11 Thread Steven Liu
Okay, I'vemake a patch for the hls with this option :-) 2014-09-11 18:13 GMT+08:00 Stefano Sabatini stefa...@gmail.com: On date Wednesday 2014-09-10 17:57:04 +0800, Steven Liu encoded: What about push this option into format hls? Please open a ticket on trac so I won't forget

[FFmpeg-devel] [PATCH] add hls_ts_option into hlsenc

2014-09-11 Thread Steven Liu
same as COMMITID 4f5493fe2380ad4aba67759baa7d7d4437f2e776 --- doc/muxers.texi | 5 + libavformat/hlsenc.c | 24 +++- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index 57e81f4..cc62705dc 100644 --- a/doc/muxers.texi

Re: [FFmpeg-devel] [PATCH] add hls_ts_option into hlsenc

2014-09-12 Thread Steven Liu
I have refine the patch as Stefano's suggestion:-) 2014-09-12 17:29 GMT+08:00 Stefano Sabatini stefa...@gmail.com: [resending as I sent it privately] In data Friday 2014-09-12 10:48:44 +0800, Steven Liu ha scritto: same as COMMITID 4f5493fe2380ad4aba67759baa7d7d4437f2e776 --- doc

Re: [FFmpeg-devel] Bypass video H264 IP UDP Multicast over FLV RTMP

2014-11-11 Thread Steven Liu
On Nov 5, 2014, at 4:36 PM, Dang Duc Hung ddh...@vasc.com.vn wrote: Hi I’m using FFmpeg to convert UDP video to RTMP like that ffmpeg -i udp://x.x.x.x:xxx -vcodec copy -acodec aac -strict -2 -b:a 32k -ac 1 -ar 32000 -f flv rtmp://x.x.x.x/ app=testtv playpath=high And then convert

Re: [FFmpeg-devel] NVENC dosenot support Tesla M2090

2015-08-17 Thread Steven Liu
2015-08-17 19:53 GMT+08:00 Timo Rothenpieler t...@rothenpieler.org: Device 0: Tesla M2090 CUDA Driver Version / Runtime Version 7.0 / 7.0 CUDA Capability Major/Minor version number:2.0 [nvenc @ 0x2591c20] 1 CUDA capable devices found [nvenc @ 0x2591c20] [ GPU #0 -

[FFmpeg-devel] NVENC dosenot support Tesla M2090

2015-08-17 Thread Steven Liu
Hi Timo Rothenpieler I have try to transcode the input rtmp stream use nvenc, It give me the message bellow: OS info: [root@localhost ffmpeg]# cat /etc/redhat-release CentOS Linux release 7.0.1406 (Core) [root@localhost ffmpeg]# [root@localhost NVIDIA_CUDA-7.0_Samples]# uname -m cat

[FFmpeg-devel] [PATCH] add use_localtime option with hlsenc for expand segment filename with localtime

2015-08-31 Thread Steven Liu
When use %s parameter for the segment filename, it will get error message with Invalid segment filename template, so add the use_localtime option fix it, the default value is 14 for the segment filename. the test example: ./ffmpeg -re -i ~/Movies/objectC/facebook.mp4 -v verbose -c copy

Re: [FFmpeg-devel] [PATCH] remove the hls_wrap option

2016-03-26 Thread Steven Liu
2016-03-26 22:21 GMT+08:00 Carl Eugen Hoyos <ceho...@ag.or.at>: > Steven Liu gmail.com> writes: > > > Because the hls_flags use delete_segments flag can delete the old > > > > segment files and instead of the hls_wrap option, so remove it. > > > >

Re: [FFmpeg-devel] [PATCH] remove the hls_wrap option

2016-03-26 Thread Steven Liu
2016-03-26 22:58 GMT+08:00 Michael Niedermayer <mich...@niedermayer.cc>: > On Sat, Mar 26, 2016 at 10:10:28PM +0800, Steven Liu wrote: > > Because the hls_flags use delete_segments flag can delete the old > > > > segment files and instead of the hls_wrap option, so re

Re: [FFmpeg-devel] [PATCH] remove the hls_wrap option

2016-03-26 Thread Steven Liu
2016-03-26 22:21 GMT+08:00 Carl Eugen Hoyos <ceho...@ag.or.at>: > Steven Liu gmail.com> writes: > > > Because the hls_flags use delete_segments flag can delete the old > > > > segment files and instead of the hls_wrap option, so remove it. > > > >

Re: [FFmpeg-devel] [PATCH] remove the hls_wrap option

2016-03-26 Thread Steven Liu
2016-03-27 0:35 GMT+08:00 Michael Niedermayer <mich...@niedermayer.cc>: > On Sat, Mar 26, 2016 at 11:47:37PM +0800, Steven Liu wrote: > > 2016-03-26 22:58 GMT+08:00 Michael Niedermayer <mich...@niedermayer.cc>: > > > > > On Sat, Mar 26, 2016 at 10:10:28PM +080

Re: [FFmpeg-devel] [PATCH] remove the hls_wrap option

2016-03-26 Thread Steven Liu
2016-03-27 2:42 GMT+08:00 Bodecs Bela <bode...@vivanet.hu>: > > > 2016.03.26. 15:10 keltezéssel, Steven Liu írta: > >> Because the hls_flags use delete_segments flag can delete the old >> >> segment files and instead of the hls_wrap option, so remove it. >

Re: [FFmpeg-devel] Fwd: [PATCH] Automatically inserted bitstream filter 'h264_mp4toannexb' into hlsenc

2016-07-13 Thread Steven Liu
2016-07-13 19:35 GMT+08:00 Michael Niedermayer <mich...@niedermayer.cc>: > On Wed, Jul 13, 2016 at 07:22:52PM +0800, Steven Liu wrote: > > 2016-07-13 18:28 GMT+08:00 Michael Niedermayer <mich...@niedermayer.cc>: > > > > > On Wed, Jun 29, 2016 at 01:

Re: [FFmpeg-devel] [PATCH] Add bitrate and framerate option for openH264

2016-07-14 Thread Steven Liu
2016-07-14 18:22 GMT+08:00 Carl Eugen Hoyos <ceho...@ag.or.at>: > Steven Liu gmail.com> writes: > > > +{ "bitrate", "Set bitrate", OFFSET(bitrate), > > AV_OPT_TYPE_INT, { 0 }, 0, 70, VE }, > > +{ "framerate", "Set

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-24 Thread Steven Liu
2016-07-25 10:29 GMT+08:00 XinZheng Zhang : > Ping. > > On Thu, Jul 21, 2016 at 11:59 AM, XinZheng Zhang > wrote: > > On Thu, Jul 21, 2016 at 5:03 AM, Moritz Barsnick > wrote: > >> On Thu, Jul 21, 2016 at 00:06:44 +0800,

Re: [FFmpeg-devel] [PATCH 2/2] SCTE-35 support in hlsenc

2016-07-21 Thread Steven Liu
2016-07-22 6:31 GMT+08:00 Carlos Fernandez Sanz : > From: carlos > > Signed-off-by: carlos > --- > libavformat/Makefile | 1 + > libavformat/hlsenc.c | 179 +++--- > libavformat/scte_35.c | 489 >

[FFmpeg-devel] [PATCH] add append_list flag into hlsenc

2016-08-11 Thread Steven Liu
When ffmpeg exit by exception, start a new ffmpeg will cover the old segment list, add this flag can continue append the new segments into old hls segment list Signed-off-by: LiuQi --- doc/muxers.texi | 4 libavformat/hlsenc.c | 63

Re: [FFmpeg-devel] [PATCH] add append_list flag into hlsenc

2016-08-14 Thread Steven Liu
2016-08-11 23:04 GMT+08:00 Steven Liu <lingjiujia...@gmail.com>: > When ffmpeg exit by exception, start a new ffmpeg will cover the old > segment list, add this flag can continue append the new segments into old > hls segment list > > Signed-off-by: LiuQi <li...

Re: [FFmpeg-devel] [PATCH] add append_list flag into hlsenc

2016-08-14 Thread Steven Liu
2016-08-11 23:04 GMT+08:00 Steven Liu <lingjiujia...@gmail.com>: > When ffmpeg exit by exception, start a new ffmpeg will cover the old > segment list, add this flag can continue append the new segments into old > hls segment list > > Signed-off-by: LiuQi <li...

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mux: Factor do_packet_auto_bsf() out

2016-07-13 Thread Steven Liu
2016-07-14 1:08 GMT+08:00 Michael Niedermayer : > Signed-off-by: Michael Niedermayer > --- > libavformat/mux.c | 102 > ++--- > 1 file changed, 57 insertions(+), 45 deletions(-) > > diff --git

[FFmpeg-devel] [PATCH] remove the check_bitstream from segment

2016-07-13 Thread Steven Liu
because Michael Niedermayer has re-factor BSF logic into a shareable function and make both av_write_frame and av_interleaved_write_frame use it. Signed-off-by: LiuQi --- libavformat/segment.c | 21 - 1 file changed, 21 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH 2/2] avformat/mux: Apply auto bsfs in av_write_frame() too

2016-07-13 Thread Steven Liu
2016-07-14 1:08 GMT+08:00 Michael Niedermayer : > Signed-off-by: Michael Niedermayer > --- > libavformat/mux.c |4 > 1 file changed, 4 insertions(+) > > diff --git a/libavformat/mux.c b/libavformat/mux.c > index 5cb0ca7..d674bd4 100644 >

[FFmpeg-devel] [PATCH] refine the method option describe of hlsenc doc

2016-07-13 Thread Steven Liu
refine the grammar of patch Thanks for Moritz Barsnick reviewed! Signed-off-by: LiuQi Reviewed-by: Moritz Barsnick --- doc/muxers.texi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 15b63f4..1b99c7e

Re: [FFmpeg-devel] Fwd: [PATCH] Automatically inserted bitstream filter 'h264_mp4toannexb' into hlsenc

2016-07-13 Thread Steven Liu
at 01:07:13AM +0200, Hendrik Leppkes wrote: > > >> On Wed, Jun 29, 2016 at 12:30 AM, Steven Liu <lingjiujia...@gmail.com> > wrote: > > >> > > > >> > > > >> > 2016-06-29 0:16 GMT+08:00 Hendrik Leppkes <h.lepp...@gmail.com>:

[FFmpeg-devel] [PATCH] Add bitrate and framerate option for openH264

2016-07-14 Thread Steven Liu
Signed-off-by: ErLiu <88486...@qq.com> --- libavcodec/libopenh264enc.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/libavcodec/libopenh264enc.c b/libavcodec/libopenh264enc.c index 24bc228..f7f11f9 100644 --- a/libavcodec/libopenh264enc.c +++

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-20 Thread Steven Liu
2016-07-21 5:03 GMT+08:00 Moritz Barsnick : > On Thu, Jul 21, 2016 at 00:06:44 +0800, zhangxinzheng wrote: > > > Subject: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before > video or audio stream was created >^^^ flv > >

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-20 Thread Steven Liu
2016-07-21 7:29 GMT+08:00 Steven Liu <lingjiujia...@gmail.com>: > > > 2016-07-21 5:03 GMT+08:00 Moritz Barsnick <barsn...@gmx.net>: > >> On Thu, Jul 21, 2016 at 00:06:44 +0800, zhangxinzheng wrote: >> >> > Subject: [FFmpeg-devel] [PATCH] avformat/fivd

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-20 Thread Steven Liu
applied patch) could not be checked > successfully. > The error message is same to the log which Steven Liu posted. > Here is my platform message: > egrep (BSD grep) 2.5.1-FreeBSD > osx 10.11.4 > > Your patch is passed by tool/patcheck, and is have read your patch, it re

Re: [FFmpeg-devel] [PATCH] avformat: Add multi protocol

2016-07-18 Thread Steven Liu
LGTM But why don't add rtmp? Michael Niedermayer 于2016年7月18日 周一下午8:45写道: > TODO: docs, version bump, > TODO: option passing support (as seperate commit/patch) > > Signed-off-by: Michael Niedermayer > --- > libavformat/Makefile|1 + >

[FFmpeg-devel] [PATCH 2/2] doc/muxers: improve hlsenc description

2016-07-18 Thread Steven Liu
Signed-off-by: Moritz Barsnick --- doc/muxers.texi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index 66539c1..5873269 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -396,8 +396,8 @@ which can be

[FFmpeg-devel] [PATCH 1/2] doc/muxers: add hls_flags option description

2016-07-18 Thread Steven Liu
Signed-off-by: Steven Liu <li...@gosun.com> Reviewed-by: Moritz Barsnick <barsn...@gmx.net> --- doc/muxers.texi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 1b99c7e..66539c1 100644 --- a/doc/muxers.texi +++ b/doc/muxers.te

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-20 Thread Steven Liu
2016-07-20 21:46 GMT+08:00 XinZheng Zhang : > There has an error when seeking in a flv file, which key frames was > sorted before video frame. > This ensures that all the key frames was cached, and add to > corresponding stream when it was created. > > On Wed, Jul 20, 2016

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-20 Thread Steven Liu
XinZheng Zhang <zhangxzh...@gmail.com>于2016年7月20日 周三下午11:05写道: > What are you meaning for the original mail? > > On Wed, Jul 20, 2016 at 10:24 PM, Steven Liu <lingjiujia...@gmail.com> > wrote: > > > > > > 2016-07-20 21:46 GMT+08:00 XinZheng Zhang &l

[FFmpeg-devel] [PATCH 2/2] refine the method option describe of hlsenc doc

2016-07-12 Thread Steven Liu
resend the patch, delete the trailing whitespace and check patch by ./tools/patcheck Signed-off-by: LiuQi --- doc/muxers.texi |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index bf5bc82..f6fc8e5 100644 ---

[FFmpeg-devel] [PATCH 1/2] refine the doc of hlsenc

2016-07-12 Thread Steven Liu
resend the patch, delete the trailing whitespace and check patch by ./tools/patcheck add the hls_flags round_durations, discont_start, omit_endlist flags describe Signed-off-by: LiuQi --- doc/muxers.texi | 12 1 files changed, 12 insertions(+), 0 deletions(-)

Re: [FFmpeg-devel] Fwd: [PATCH] Automatically inserted bitstream filter 'h264_mp4toannexb' into hlsenc

2016-07-13 Thread Steven Liu
2016-07-13 18:28 GMT+08:00 Michael Niedermayer <mich...@niedermayer.cc>: > On Wed, Jun 29, 2016 at 01:07:13AM +0200, Hendrik Leppkes wrote: > > On Wed, Jun 29, 2016 at 12:30 AM, Steven Liu <lingjiujia...@gmail.com> > wrote: > > > > > > > > >

[FFmpeg-devel] [PATCH 2/2] refine the method option describe of hlsenc doc

2016-07-11 Thread Steven Liu
Signed-off-by: LiuQi --- doc/muxers.texi |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index bf5bc82..f6fc8e5 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -520,6 +520,15 @@ Emit

[FFmpeg-devel] [PATCH 1/2] refine the doc of hlsenc

2016-07-11 Thread Steven Liu
add the hls_flags round_durations, discont_start, omit_endlist flags describe Signed-off-by: LiuQi --- doc/muxers.texi | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index 15b63f4..bf5bc82 100644 ---

Re: [FFmpeg-devel] [PATCH 1/2] refine the doc of hlsenc

2016-07-17 Thread Steven Liu
2016-07-13 4:24 GMT+08:00 Michael Niedermayer <mich...@niedermayer.cc>: > On Tue, Jul 12, 2016 at 09:35:46PM +0800, Steven Liu wrote: > > resend the patch, delete the trailing whitespace and check patch by > > ./tools/patcheck > > > > add the hls_flags round_durat

[FFmpeg-devel] [PATCH] Automatically inserted bitstream filter 'h264_mp4toannexb' into hlsenc

2016-06-28 Thread Steven Liu
before patched: [root@localhost ffmpeg]# ./ffmpeg_g -re -i /root/facebook.mp4 -c copy -f hls -v verbose -y .m3u8 ffmpeg version N-80779-gb18d6c5 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17) configuration: --prefix=/usr/

Re: [FFmpeg-devel] how to download specific track data of a m3u8 content?

2016-06-28 Thread Steven Liu
2016-06-28 14:26 GMT+08:00 aihua zhao : > Hi Experts: > > I use ffmpeg to parse/demux media content, and created a player basing on > it. > > here is a m3u8 content: > >

Re: [FFmpeg-devel] [PATCH] Automatically inserted bitstream filter 'h264_mp4toannexb' into hlsenc

2016-06-28 Thread Steven Liu
2016-06-29 0:16 GMT+08:00 Hendrik Leppkes <h.lepp...@gmail.com>: > On Tue, Jun 28, 2016 at 3:29 PM, Steven Liu <lingjiujia...@gmail.com> > wrote: > > before patched: > > [root@localhost ffmpeg]# ./ffmpeg_g -re -i /root/facebook.mp4 -c copy -f > > hls -v verbo

Re: [FFmpeg-devel] Fwd: [PATCH] Automatically inserted bitstream filter 'h264_mp4toannexb' into hlsenc

2016-06-28 Thread Steven Liu
2016-06-29 7:07 GMT+08:00 Hendrik Leppkes <h.lepp...@gmail.com>: > On Wed, Jun 29, 2016 at 12:30 AM, Steven Liu <lingjiujia...@gmail.com> > wrote: > > > > > > 2016-06-29 0:16 GMT+08:00 Hendrik Leppkes <h.lepp...@gmail.com>: > >> > >

Re: [FFmpeg-devel] how to download specific track data of a m3u8 content?

2016-06-28 Thread Steven Liu
policy like this. > but I haven't found one top level interface of ffmpeg for it. > recheck_discard_flags() is called once only during hls_read_packet() when > c->first_packet is set -- this flag is set in hls_read_header() only. > > > 2016-06-28 22:22 GMT+08:00 Steven Liu <l

Re: [FFmpeg-devel] [PATCH] add split_by_time flag for support splite mpegts segment at non-keyframe

2016-07-06 Thread Steven Liu
2016-07-07 3:54 GMT+08:00 Michael Niedermayer <mich...@niedermayer.cc>: > On Wed, Jul 06, 2016 at 05:57:57PM +0800, Steven Liu wrote: > > support split hls segment at duration set by hls_time > > > > after the patch , the ffmpeg can split the mpegts for hls by hls_time

[FFmpeg-devel] [PATCH] add split_by_time flag for support splite mpegts segment at non-keyframe

2016-07-08 Thread Steven Liu
add update document of patch support split hls segment at duration set by hls_time Signed-off-by: LiuQi --- doc/muxers.texi | 6 ++ libavformat/hlsenc.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index

[FFmpeg-devel] [PATCH] add split_by_time flag for support splite mpegts segment at non-keyframe

2016-07-06 Thread Steven Liu
support split hls segment at duration set by hls_time after the patch , the ffmpeg can split the mpegts for hls by hls_time parameter [root@localhost ffmpeg]# ./ffmpeg -i /root/facebook.mp4 -v quiet -c copy -f hls -hls_time 3 -hls_flags split_by_time -bsf:v h264_mp4toannexb -hls_list_size 20 -t

Re: [FFmpeg-devel] [PATCH 1/2] doc/muxers: add hls_flags option description

2016-07-22 Thread Steven Liu
2016-07-18 20:13 GMT+08:00 Steven Liu <lingjiujia...@gmail.com>: > > Signed-off-by: Steven Liu <li...@gosun.com> > Reviewed-by: Moritz Barsnick <barsn...@gmx.net> > --- > doc/muxers.texi | 11 +++ > 1 file changed, 11 insertions(+) > > diff

Re: [FFmpeg-devel] [PATCH 2/2] doc/muxers: improve hlsenc description

2016-07-22 Thread Steven Liu
2016-07-18 20:15 GMT+08:00 Steven Liu <lingjiujia...@gmail.com>: > Signed-off-by: Moritz Barsnick <barsn...@gmx.net> > --- > doc/muxers.texi | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/doc/muxers.texi b/doc/muxers.texi &

Re: [FFmpeg-devel] [PATCH 4/4] v5 - Correct Indentation

2016-08-15 Thread Steven Liu
Carlos Fernandez Sanz 于2016年8月16日 周二上午1:48写道: > From: Carlos Fernandez > > Signed-off-by: Carlos Fernandez > --- > libavformat/hlsenc.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: add hls_flag option to create segments atomically

2017-02-01 Thread Steven Liu
2017-02-01 4:29 GMT+08:00 Aman Gupta : > From: Aman Gupta > > Adds a `-hls_flags +temp_file` which will write segment data to > filename.tmp, and then rename to filename when the segment is complete > and before the file is added to the m3u8 playlist. > > This

Re: [FFmpeg-devel] [PATCH v3] avformat/hlsenc: add hls_flag option to write segments to temporary file until complete

2017-02-06 Thread Steven Liu
2017-02-05 23:09 GMT+08:00 Steven Liu <lingjiujia...@gmail.com>: > > > 2017-02-05 4:38 GMT+08:00 Bodecs Bela <bode...@vivanet.hu>: > >> >> >> 2017.02.04. 20:45 keltezéssel, Hendrik Leppkes írta: >> >>> On Sat, Feb 4, 2017 at 6:55 PM, Aman

Re: [FFmpeg-devel] [PATCH v3] avformat/hlsenc: add hls_flag option to write segments to temporary file until complete

2017-02-05 Thread Steven Liu
2017-02-05 4:38 GMT+08:00 Bodecs Bela : > > > 2017.02.04. 20:45 keltezéssel, Hendrik Leppkes írta: > >> On Sat, Feb 4, 2017 at 6:55 PM, Aman Gupta wrote: >> >>> From: Aman Gupta >>> >>> Adds a `-hls_flags +temp_file` which will write segment

[FFmpeg-devel] [PATCH] avformat/hlsenc: deprecate hls_wrap option

2017-02-07 Thread Steven Liu
it. Signed-off-by: Steven Liu <l...@chinaffmpeg.org> --- doc/muxers.texi | 5 ++--- libavformat/hlsenc.c | 24 libavformat/version.h | 4 3 files changed, 30 insertions(+), 3 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index cb875a4..c

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: add hls_flag option to write segments to temporary file until complete

2017-02-03 Thread Steven Liu
2017-02-03 23:15 GMT+08:00 Steven Liu <lingjiujia...@gmail.com>: > > > 2017-02-02 8:28 GMT+08:00 Aman Gupta <ffm...@tmm1.net>: > >> From: Aman Gupta <a...@tmm1.net> >> >> Adds a `-hls_flags +temp_file` which will write segment data to >> file

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: add hls_flag option to write segments to temporary file until complete

2017-02-03 Thread Steven Liu
2017-02-02 8:28 GMT+08:00 Aman Gupta : > From: Aman Gupta > > Adds a `-hls_flags +temp_file` which will write segment data to > filename.tmp, and then rename to filename when the segment is complete. > > This patch is similar in spirit to one used in Plex's ffmpeg

Re: [FFmpeg-devel] [PATCH] libavformat/rtmppkt.c ff_rtmp_packet_write write RTMP_PS_ONEBYTE chunks based on hypothesis than channel_id < 64.

2017-01-22 Thread Steven Liu
2017-01-23 13:55 GMT+08:00 Wentao Tang : > Although ffmpeg use internel defined video and audio channel ids that are > than less than 64, I think it's better to patch ff_rtmp_packet_write write > chunk logic for more clearness? > > here is the patch(already tested by

[FFmpeg-devel] [PATCH] avformat/hlsenc: improve to write m3u8 head block

2017-01-23 Thread Steven Liu
Signed-off-by: Steven Liu <l...@chinaffmpeg.org> --- libavformat/hlsenc.c | 34 +++--- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index f070bc3..df482ac 100644 --- a/libavformat/hlsenc.c +++ b/libav

[FFmpeg-devel] [PATCH 2/2] avformat/flvenc: refine the flvenc shift_data code

2017-01-23 Thread Steven Liu
refine the flvenc shift_data move data option Signed-off-by: Steven Liu <l...@chinaffmpeg.org> --- libavformat/flvenc.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c index 5714321..d7506c5 100644 --- a/libav

[FFmpeg-devel] [PATCH 1/2 v2] avformat/hlsenc: fix typo of AV_TIME_BASE

2017-01-23 Thread Steven Liu
the code use 100 * duration, use AV_TIME_BASE replace 100 Signed-off-by: Steven Liu <l...@chinaffmpeg.org> --- libavformat/hlsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 85d3955..f070bc3

[FFmpeg-devel] [PATCH 1/2] aformat/hlsenc: fix typo of AV_TIME_BASE

2017-01-23 Thread Steven Liu
the code use 100 * duration, use AV_TIME_BASE replace 100 Signed-off-by: Steven Liu <l...@chinaffmpeg.org> --- libavformat/hlsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 85d3955..f070bc3

Re: [FFmpeg-devel] [PATCH 1/2] aformat/hlsenc: fix typo of AV_TIME_BASE

2017-01-23 Thread Steven Liu
2017-01-23 17:04 GMT+08:00 Steven Liu <l...@chinaffmpeg.org>: > the code use 100 * duration, use AV_TIME_BASE replace 100 > > Signed-off-by: Steven Liu <l...@chinaffmpeg.org> > --- > libavformat/hlsenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-

Re: [FFmpeg-devel] Contribute to ffmpeg

2017-01-22 Thread Steven Liu
2017-01-20 15:45 GMT+08:00 Mayank Agarwal : > Hi all, > > I want to contribute to ffmpeg.How can i start. > First i want to modify some testcases. > > In which modules/files i can look into to do the same. > http://ffmpeg.org/developer.html

Re: [FFmpeg-devel] [PATCH 1/2 v2] avformat/hlsenc: fix typo of AV_TIME_BASE

2017-01-23 Thread Steven Liu
2017-01-23 18:43 GMT+08:00 Bodecs Bela <bode...@vivanet.hu>: > > > 2017.01.23. 10:05 keltezéssel, Steven Liu írta: > >> the code use 100 * duration, use AV_TIME_BASE replace 100 >> >> Signed-off-by: Steven Liu <l...@chinaffmpeg.org> >>

[FFmpeg-devel] [PATCH] avformat/hlsenc: improve the code readable of 1000000

2017-01-23 Thread Steven Liu
Reviewed-by: Bodecs Bela <bode...@vivanet.hu> Signed-off-by: Steven Liu <l...@chinaffmpeg.org> --- libavformat/hlsenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 85d3955..0170b34 100644 --- a/libavformat/hl

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: improve the code readable of 1000000

2017-01-23 Thread Steven Liu
2017-01-23 22:14 GMT+08:00 James Almer <jamr...@gmail.com>: > On 1/23/2017 8:01 AM, Steven Liu wrote: > > Reviewed-by: Bodecs Bela <bode...@vivanet.hu> > > Signed-off-by: Steven Liu <l...@chinaffmpeg.org> > > --- > > libavformat/hlsenc.c | 3 ++- >

[FFmpeg-devel] [PATCH v2] avformat/hlsenc: improve the code readable of 1000000

2017-01-23 Thread Steven Liu
Reviewed-by: Bodecs Bela <bode...@vivanet.hu> Signed-off-by: Steven Liu <l...@chinaffmpeg.org> --- libavformat/hlsenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 85d3955..0170b34 100644 --- a/libavformat/hl

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: improve the code readable of 1000000

2017-01-23 Thread Steven Liu
2017-01-23 23:18 GMT+08:00 wm4 <nfx...@googlemail.com>: > On Mon, 23 Jan 2017 19:01:14 +0800 > Steven Liu <l...@chinaffmpeg.org> wrote: > > > Reviewed-by: Bodecs Bela <bode...@vivanet.hu> > > Signed-off-by: Steven Liu <l...@chinaffmpeg.org> > >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/flvenc: refine the flvenc shift_data code

2017-01-23 Thread Steven Liu
2017-01-23 17:05 GMT+08:00 Steven Liu <l...@chinaffmpeg.org>: > refine the flvenc shift_data move data option > > Signed-off-by: Steven Liu <l...@chinaffmpeg.org> > --- > libavformat/flvenc.c | 12 +++- > 1 file changed, 7 insertions(+), 5 deletions(-

Re: [FFmpeg-devel] possible to create a new ffmpeg-xcam plugin in video filters

2017-01-22 Thread Steven Liu
2017-01-22 16:17 GMT+08:00 Wind Yuan : > Hi there, > I'm planning to implement a new video filter xcam-filter in ffmpeg. > It's from libXCam(https://github.com/01org/libxcam/wiki) which is a > project opensourced in 2015 and focusing on image/video quality

[FFmpeg-devel] [PATCH] avformat/hlsenc: fix hls_flags temp_file bug

2017-02-21 Thread Steven Liu
refer to ticket id: #6170 rename file from temp to origin name after complete current segment Signed-off-by: Steven Liu <l...@chinaffmpeg.org> --- libavformat/hlsenc.c | 40 ++-- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/libav

Re: [FFmpeg-devel] [PATCH] hlsenc: don't use %s for strftime on msvc

2017-02-21 Thread Steven Liu
2017-02-21 15:26 GMT+08:00 Hendrik Leppkes : > On Tue, Feb 21, 2017 at 8:24 AM, Hendrik Leppkes > wrote: > > MSVC doesn't support the %s time format, and instead of returning an > > error the invalid parameter handler is invoked which (by default) > >

[FFmpeg-devel] [PATCH v2] avformat/hlsenc: fix hls_flags temp_file bug

2017-02-21 Thread Steven Liu
refer to ticket id: #6170 rename file from temp to origin name after complete current segment Signed-off-by: Steven Liu <l...@chinaffmpeg.org> --- libavformat/hlsenc.c | 55 ++-- 1 file changed, 27 insertions(+), 28 deletions(-) diff

[FFmpeg-devel] [PATCH] avformat/hlsenc: fix cid 1401346 Dereferencing pointer error

2017-02-20 Thread Steven Liu
check if proto is null before av_strcasecmp CID: 1401346 Signed-off-by: Steven Liu <l...@chinaffmpeg.org> --- libavformat/hlsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index e673f59..fad6cae 100644 --- a/libav

Re: [FFmpeg-devel] [PATCH] avfilter/af_atempo: fix drift calculation, ticket #6157

2017-02-18 Thread Steven Liu
2017-02-19 10:22 GMT+08:00 Pavel Koshevoy <pkoshe...@gmail.com>: > On 02/18/2017 07:04 PM, Steven Liu wrote: > >> >> >> 2017-02-19 6:46 GMT+08:00 <pkoshe...@gmail.com > pkoshe...@gmail.com>>: >> >> From: Pavel Kos

Re: [FFmpeg-devel] [PATCH] Consistent use of user_agent in hls.c

2017-02-17 Thread Steven Liu
2017-02-17 23:16 GMT+08:00 Jan Berkel : > > > 2017-02-17 12:00 GMT+01:00 Jan Berkel : > > > This came up while debugging a problem with mpv: > > > https://github.com/mpv-player/mpv/issues/4155 > > > --- > > > libavformat/hls.c | 6 +++--- > > > 1 file changed, 3

Re: [FFmpeg-devel] [PATCH] avfilter/af_atempo: fix sound shake when change speed

2017-02-17 Thread Steven Liu
2017-02-18 10:28 GMT+08:00 Pavel Koshevoy <pkoshe...@gmail.com>: > On Fri, Feb 17, 2017 at 1:55 AM, Steven Liu <l...@chinaffmpeg.org> wrote: > > commandline: > > ./ffmpeg -i ~/Downloads/test.wav -af atempo=1.5 -acodec aac -y > > output.aac > > > >

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: set default http method to PUT when method is null

2017-02-17 Thread Steven Liu
2017-02-16 8:34 GMT+08:00 Steven Liu <l...@chinaffmpeg.org>: > When the http method is not set, the method will use POST for ts, > PUT for m3u8, it is not unify, now set it unify. > This ticket id: 5315 > > Reviewed-by: Moritz Barsnick <barsn...@gmx.net> >

Re: [FFmpeg-devel] [PATCH] hlsenc: don't use %s for strftime on msvc

2017-02-24 Thread Steven Liu
2017-02-21 21:31 GMT+08:00 Steven Liu <lingjiujia...@gmail.com>: > > > 2017-02-21 15:26 GMT+08:00 Hendrik Leppkes <h.lepp...@gmail.com>: > >> On Tue, Feb 21, 2017 at 8:24 AM, Hendrik Leppkes <h.lepp...@gmail.com> >> wrote: >> > MSVC doesn't s

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: fix hls_flags temp_file bug

2017-02-24 Thread Steven Liu
2017-02-22 7:53 GMT+08:00 Steven Liu <l...@chinaffmpeg.org>: > refer to ticket id: #6170 > > rename file from temp to origin name after complete current segment > > Signed-off-by: Steven Liu <l...@chinaffmpeg.org> > --

Re: [FFmpeg-devel] [PATCH] avfilter/af_atempo: fix drift calculation, ticket #6157

2017-02-18 Thread Steven Liu
2017-02-19 6:46 GMT+08:00 : > From: Pavel Koshevoy > > --- > libavfilter/af_atempo.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/libavfilter/af_atempo.c b/libavfilter/af_atempo.c > index a487882..eb62656 100644 > ---

Re: [FFmpeg-devel] [PATCH] avfilter/af_atempo: fix drift calculation, ticket #6157

2017-02-19 Thread Steven Liu
2017-02-19 10:42 GMT+08:00 Steven Liu <lingjiujia...@gmail.com>: > > > 2017-02-19 10:22 GMT+08:00 Pavel Koshevoy <pkoshe...@gmail.com>: > >> On 02/18/2017 07:04 PM, Steven Liu wrote: >> >>> >>> >>> 2017-02-19 6:46 GMT+08:00 <pko

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix cid 1401346 Dereferencing pointer error

2017-02-21 Thread Steven Liu
2017-02-20 17:03 GMT+08:00 Steven Liu <l...@chinaffmpeg.org>: > check if proto is null before av_strcasecmp > CID: 1401346 > > Signed-off-by: Steven Liu <l...@chinaffmpeg.org> > --- > libavformat/hlsenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletio

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix stream level metadata handling

2017-02-11 Thread Steven Liu
2017-02-12 5:31 GMT+08:00 Bodecs Bela : > Dear All, > > hls-encoder currently does not provide stream level metadata to mpegts > muxer. This patch also fixes track #3848 bug. > > Please review this bug fix. Thank you in advance. > > > best regards, > > Bela Bodecs > > >

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix stream level metadata handling

2017-02-12 Thread Steven Liu
2017-02-12 17:17 GMT+08:00 Bodecs Bela <bode...@vivanet.hu>: > > > 2017.02.12. 2:36 keltezéssel, Steven Liu írta: > >> 2017-02-12 5:31 GMT+08:00 Bodecs Bela <bode...@vivanet.hu>: >> >> Dear All, >>> >>> hls-encoder currently does not p

Re: [FFmpeg-devel] [PATCH] avformat/http: Check for truncated buffers in http_connect()

2017-02-13 Thread Steven Liu
2017-02-13 20:46 GMT+08:00 Michael Niedermayer : > Reported-by: SleepProgger > Signed-off-by: Michael Niedermayer > --- > libavformat/http.c | 11 ++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > diff --git

Re: [FFmpeg-devel] [PATCH] hlsenc: intialize only on ref_pkt (v2)

2017-02-13 Thread Steven Liu
2017-02-13 21:15 GMT+08:00 Miroslav Slugeň : > This patch will fix cutting hls segments into exactly same length. Because > it will intialize only on first ref_packet, which is video frame, not audio > frame (old behavior) > > Now it should be possible to create segments at

Re: [FFmpeg-devel] [PATCH] hlsenc: intialize only on ref_pkt (v2)

2017-02-14 Thread Steven Liu
2017-02-14 16:30 GMT+08:00 Miroslav Slugeň <thunde...@email.cz>: > Dne 14.2.2017 v 04:59 Steven Liu napsal(a): > > 2017-02-13 21:15 GMT+08:00 Miroslav Slugeň <thunde...@email.cz>: >> >> This patch will fix cutting hls segments into exactly same length. Because &g

Re: [FFmpeg-devel] vf_drawtext: add force_boxw_equl_textw option

2017-02-13 Thread Steven Liu
2017-02-14 15:02 GMT+08:00 su.gao : > Add this option to force the box width equl text width: > > diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c > index 0b94725..5b16cfa 100644 > --- a/libavfilter/vf_drawtext.c > +++ b/libavfilter/vf_drawtext.c > @@ -164,6

Re: [FFmpeg-devel] [PATCH] ffmpeg: add new forced_keyframes option -hls:time

2017-02-14 Thread Steven Liu
2017-02-14 19:18 GMT+08:00 Michael Niedermayer : > On Sun, Feb 12, 2017 at 07:12:31PM +0100, Miroslav Slugeň wrote: > > If we are using copyts parameter it is not possible to inserting key > > frames same way as hlsenc requests, this will lead to different hls > > segments

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: deprecate hls_wrap option

2017-02-09 Thread Steven Liu
2017-02-09 18:46 GMT+08:00 Carl Eugen Hoyos <ceffm...@gmail.com>: > 2017-02-09 8:58 GMT+01:00 Steven Liu <l...@chinaffmpeg.org>: > > > +#if FF_API_HLS_WRAP > > {"hls_wrap", "set number after which the index wraps", > OFFSET(wrap),

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: deprecate hls_wrap option

2017-02-09 Thread Steven Liu
2017-02-09 18:53 GMT+08:00 Carl Eugen Hoyos <ceffm...@gmail.com>: > 2017-02-09 11:52 GMT+01:00 Steven Liu <lingjiujia...@gmail.com>: > > 2017-02-09 18:46 GMT+08:00 Carl Eugen Hoyos <ceffm...@gmail.com>: > > > >> 2017-02-09 8:58

  1   2   3   4   5   6   7   8   9   10   >