The application of this is for HTTP Live Streaming. (audio only)
I have two 10-second mp2 files that are continuous (they are encoded one after the other but if spliced together play as one seamless file). I would like to create two mpeg-2 transport streams from these files. Unfortunately, when I do the following:
ffmpeg -i 0.mp2 0.ts
The output is successful but I get the following:
[mp3 @ 0x7fcc2a006600] max_analyze_duration 5000000 reached at 5015510 microseconds
[mp3 @ 0x7fcc2a006600] Estimating duration from bitrate, this may be inaccurate
Also, if I create the m3u8 manifest file with 0.ts and 1.ts, there is a space between the two.
Because I am creating the playlist dynamically, I don't have access to both files at the same time, otherwise I would simply concatenate and then segment the file after conversion.
What am I missing here? Is there a different way that I should be encoding the mp2's? I am using twolame and doing 10 seconds at a time.