[FFmpeg-user] "Non-monotonous DTS in output stream" error, previous and current values are equal

Crazy Red Elephant crazyredelephant at protonmail.com
Sun Feb 23 15:15:59 EET 2020

Guys please, I still have not found a solution and I'm so desperate :-( I asked this question on multiple sites and nobody is helping...

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, February 12, 2020 12:44 AM, Ted Park <kumowoon1025 at gmail.com> wrote:

> > 4.  A general question - is there any difference between (a) decrypting all .ts parts separately, then concatenating them into one big .ts file and remuxing it into .mp4 and (b) concatenating all encrypted .ts parts first, then decrypting the big .ts result file and then remuxing it into .mp4?
> This makes me think you are not decrypting the segments correctly, I had understood the specs to mean that if it isn’t specified, the IV needs to be incremented for each segment (so you would need to use 0x00000000000000000000000000000000 for the first segment, 0x00000000000000000000000000000001 for the second, etc. based on the initial media sequence number of 0).
> I don’t think the missing picture message at the end is unexpected, since the stream was cut arbitrarily after all, this is the result of my attempt at decrypting each segment with openssl and using cat to put them together (ffmpeg wasn’t used, except to test the file).
> https://media.kumowoon1025.com/videos/cat.ts https://media.kumowoon1025.com/videos/cat.ts
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list