Am 05.12.18 um 13:15 schrieb Carl Eugen Hoyos:
> 2018-12-05 11:55 GMT+01:00, Daniel Oberhoff <[email protected]>:
>
>> We are now starting to use the single file hls muxer with the fmp4 file
>> format. While running a test i found the situation where a segment
>> appeared in the playlist that was not yet fully written.
> Command line and complete, uncut console output missing.
> Can you also explain how (exactly) I can reproduce?

sure. so i generate the stream from my mbp webcam like so:

 ffmpeg -f avfoundation -r 10  -i "0" -g 1 -hls_flags single_file
-hls_list_size 0 -hls_segment_type fmp4 -f hls test_single_file_mp4.m3u8

then if you consume this as fast as you can, for example like so:

ffmpeg -i test_single_file_mp4.m3u8 -f null /dev/null

you will get lots of error messages. if you do multi file hls like so:

ffmpeg -f avfoundation -r 10  -i "0" -g 1 -hls_list_size 0
-hls_segment_filename test_segments/segment%07d.ts -hls_base_url
test_segments/  -f hls test_hls.m3u8

and consume like so:

 ffmpeg -i test_hls.m3u8 -f null /dev/null

all is good.


Best


Daniel

Attachment: pEpkey.asc
Description: application/pgp-keys

_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to