I'm trying to segment multiple mp4 files from a .txt (just like concatenation works), but it doesn't seem to work for me.
This is my concat.txt:
file video1.mp4
file video2.mp4
file video3.mp4
etc...
and my ffmpeg commands are:
ffmpeg -i concat.txt -map 0 -codec:v libx264 -codec:a libfaac -f ssegment \
-segment_list playlist.m3u8 -segment_list_flags +live -segment_time 10 out%03d.ts
Unfortunately every mediaplayer throws an error on playback.
Can I use the concat file, or do I have to concat all the mp4s first into a single mp4 file, and segment that mp4 file to get the final m3u8?
ffmpeg -i "concat:file1.mp4|file2.mp4|fileN.mp4" [...]- Gergely Lukacsy