W dniu 2026-06-25 o 00:58, Deron via ffmpeg-user pisze:
I have an srt stream that I ingest that includes three separate programs in a single mpegts stream. I was using ffmpeg to split it into 3 individual streams. This worked fine until recently when they must have changed something in the stream. They swear the stream works for others, and they are out of their depth in diagnosing what was changed on their end.

I captured a couple minutes of this stream using tsduck, and the file can be pulled from https://faroutprojects.com/daystar.ts

A simple example that fails is:

 > ffmpeg -i https://faroutprojects.com/daystar.ts -map p:1 -y daystar_hd.ts -map p:2 -y daystar_es.ts -map p:3 -y daystar_sd.ts

It gives tons of errors like this:

      [aist#0:5/ac3 @ 0x5e9de818bac0] timestamp discontinuity (stream id=53): 15975889, new offset= -15975973 [... cut ...]

On 6/24/26 7:16 PM, BloodMan via ffmpeg-user wrote:
Hello Deron,

ffmpeg is trying to align streams, that is impossible - so you have many timestamp errors.

btw. Your example is seriously ruining the quality ;p

Try:
ffmpeg -copyts -i https://faroutprojects.com/daystar.ts -map p:1 -c copy -y daystar_hd.ts -map p:2 -c copy -y daystar_es.ts -map p:3 -c copy -y daystar_sd.ts

(yes, the key is "-copyts" of course)

Have fun.


Thanks BloodMan,

btw. Your example is seriously ruining the quality ;p
;p

I am presuming then that the streams were originally encoding using the same machine/clock, and they must have moved one or more to different machines/clocks?

I'm not sure why ffmpeg was trying to align the streams, but I clearly see this fixes the issue. Thanks again! I really appreciate it!

Deron


_______________________________________________
ffmpeg-user mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to