Shouldn't this say "hls->max_seg_size == 0" ? int byterange_mode = (hls->flags & HLS_SINGLE_FILE) || (hls->max_seg_size > > 0);
How can I apply the patch and test it? Can you please give command line example to test it? Thank you for the patch. On Mon, Jul 31, 2017 at 7:09 AM, Steven Liu <lingjiujia...@gmail.com> wrote: > 2017-07-25 15:20 GMT+08:00 pablo platt <pablo.pl...@gmail.com>: > > This is great. > I have sent a new patch , you can check it:) > https://patchwork.ffmpeg.org/patch/4526/ > > > Thank you. > > > > On Tue, Jul 25, 2017 at 9:21 AM, Steven Liu <lingjiujia...@gmail.com> > wrote: > > > >> 2017-07-25 13:44 GMT+08:00 pablo platt <pablo.pl...@gmail.com>: > >> > Hi, > >> > > >> > A recent commit added fmp4 support for HLS [1] but byte-range or > >> > single-file isn't supported [2]. > >> > Being able to use a single mp4 file for both Dash and HLS will be > super > >> > useful. > >> > Any plans to add it? > >> > What's missing? > >> > Is mp4 different than mpegts in regards to byte-range support? > >> Yes, of course, i will support single file later, maybe next week. > >> > > >> > [1] > >> > https://github.com/FFmpeg/FFmpeg/commit/ > 274bd1670b9c85e24f37d08f9043dd > >> 82e0a28c67 > >> > > >> > [2] https://patchwork.ffmpeg.org/patch/4221/ > >> > > >> > Thanks > >> > _______________________________________________ > >> > ffmpeg-user mailing list > >> > ffmpeg-user@ffmpeg.org > >> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > >> > > >> > To unsubscribe, visit link above, or email > >> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > >> _______________________________________________ > >> ffmpeg-user mailing list > >> ffmpeg-user@ffmpeg.org > >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user > >> > >> To unsubscribe, visit link above, or email > >> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > _______________________________________________ > > ffmpeg-user mailing list > > ffmpeg-user@ffmpeg.org > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > To unsubscribe, visit link above, or email > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".