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

2014-09-01 Thread Anshul
On 8/31/2014 8:28 PM, Steven Liu wrote: CC Anshul The Follow is the result of the parameter with -hls_wrap 7,It in the older mail of this mail list. When use the option -hls_wrap 7 ./ffmpeg -i shaolinzuqiu.rm -vcodec libx264 -preset ultrafast -an -f hls -hls_wrap 7 a.m3u8 it dose not remove

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

2014-08-31 Thread Steven Liu
CC Anshul The Follow is the result of the parameter with -hls_wrap 7,It in the older mail of this mail list. When use the option -hls_wrap 7 ./ffmpeg -i shaolinzuqiu.rm -vcodec libx264 -preset ultrafast -an -f hls -hls_wrap 7 a.m3u8 it dose not remove the nouse file: [root@localhost ffmpeg]# ls

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

2014-08-30 Thread Anshul
On August 30, 2014 8:57:12 AM IST, Steven Liu wrote: > >On Aug 28, 2014, at 4:52 AM, Anshul wrote: > >> On August 22, 2014 8:01:20 AM IST, Steven Liu > wrote: >>> repost new patch: >>> >>> when update the hls m3u8 list, the old file is not unlinked >>> this patch can do this operation >>> delete

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 wrote: > On August 22, 2014 8:01:20 AM IST, Steven Liu 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 not show in m3u8, >> use hls_sync_list

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

2014-08-27 Thread Anshul
On August 22, 2014 8:01:20 AM IST, Steven Liu 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 not show in m3u8, >use hls_sync_list. > >Signed-off-by: Steven Liu >--- > libavformat/hlsenc.c

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 --- libavformat/hlsenc.c | 15 ++- 1 files changed, 14 insertions(+), 1 del

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

2014-08-21 Thread Steven Liu
Hi Stefano, if unistd is not available under Linux, it will output error message when compile the source code. [root@testrtmp ffmpeg]# make CC libavformat/hlsenc.o libavformat/hlsenc.c: In function ‘hls_append_segment’: libavformat/hlsenc.c:125: error: implicit declaration of function ‘

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

2014-08-14 Thread Stefano Sabatini
On date Monday 2014-08-11 17:39:37 +0800, Steven Liu encoded: > Hi Guys, > > 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 > the problem. > When update the segment

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 wrote: > On 12/08/14 at 10:36, Steven Liu wrote: >> 2014-08-12 7:26 GMT+08:00 Simon Thelen : >>> 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 segment file. If a

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

2014-08-12 Thread Simon Thelen
On 12/08/14 at 10:36, Steven Liu wrote: > 2014-08-12 7:26 GMT+08:00 Simon Thelen : > > 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 segment file. > > > If always run this module, the disk will full, so this pat

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 : > 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 > > the problem.

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 : > 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 > > the problem.

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

2014-08-11 Thread Simon Thelen
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 > the problem. > When update the segment list m3u8 file, it will delete