#6888: HLS segmenter doesn't cut .m4s files at its expected duration -------------------------------------+------------------------------------- Reporter: beloko | Owner: Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: HLS | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+-------------------------------------
Comment (by beloko): I would like to be able to upload all my files, but attachments can't exceed the 2.5Mo size limit on the tracker. Error: Upload failed Maximum attachment size: 2621440 bytes So I'm just able to upload : . big_buck_bunny.m3u8 as HLS playlist file . init.mp4 as MP4 header . big_bunny1.m4s as 1st segment of the video stream However you can reproduce the issue easily on any computer : . build an FFMPEG from its GIT-Master repository . and copy paste my FFMPEG command line . execute the command line . and wait for less than 1 minute to create the HLS output stream Here is my command line : {{{ ffmpeg_x64.exe -i "http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4" -loglevel verbose -threads 0 -an -sn -vcodec libx264 -force_key_frames "expr:gte(t,n_forced*4)" -sc_threshold 0 -r 25 -f hls -hls_time 4 -hls_list_size 99999 -start_number 1 -hls_segment_type fmp4 -hls_fmp4_init_filename "C:\inetpub\wwwroot\fmp4_x264\init.mp4" -t 30 "C:\inetpub\wwwroot\fmp4_x264\big_bunny.m3u8" }}} As you see I used the common video file "Big buck bunny" as video source (available here : http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4). FFMPEG can download it from the command line throught the HTTP protocole. So you don't need to download it on your hard drive to create HLS files. And of course you'll need to replace my output folder (C:\inetpub\wwwroot\fmp4_x264\) by your prefered output folder. For the init.mp4 file and the big_bunny.m3u8 file. This 2 files may be in the same folder. -- Ticket URL: <https://trac.ffmpeg.org/ticket/6888#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://ffmpeg.org/mailman/listinfo/ffmpeg-trac