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 > 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 30 output_afterpatch.m3u8 > [root@localhost ffmpeg]# > [root@localhost ffmpeg]# > [root@localhost ffmpeg]# cat output_afterpatch.m3u8 > #EXTM3U > #EXT-X-VERSION:3 > #EXT-X-TARGETDURATION:4 > #EXT-X-MEDIA-SEQUENCE:0 > #EXTINF:3.040000, > output_afterpatch0.ts > #EXTINF:3.160000, > output_afterpatch1.ts > #EXTINF:2.840000, > output_afterpatch2.ts > #EXTINF:3.160000, > output_afterpatch3.ts > #EXTINF:2.880000, > output_afterpatch4.ts > #EXTINF:3.080000, > output_afterpatch5.ts > #EXTINF:2.920000, > output_afterpatch6.ts > #EXTINF:3.120000, > output_afterpatch7.ts > #EXTINF:2.880000, > output_afterpatch8.ts > #EXTINF:2.960000, > output_afterpatch9.ts > #EXTINF:-0.040000, > output_afterpatch10.ts > #EXT-X-ENDLIST > > > support split hls segment at duration set by hls_time > > Signed-off-by: LiuQi <li...@gosun.com> > --- > libavformat/hlsenc.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-)
missing update to the documentation [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I know you won't believe me, but the highest form of Human Excellence is to question oneself and others. -- Socrates
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel