Try this: Add -dts_delta_threshold 0 *before* the input and retest. On Sun, 23 Feb 2020, 16:27 Crazy Red Elephant via ffmpeg-user, < [email protected]> wrote:
> I tried adding "-fflags +ignpts" before input but that didn't help, there > are still DTS warnings, however, this time the values are not equal for > some reason (except the first pair): > > [mp4 @ 000001a902a100c0] Non-monotonous DTS in output stream 0:0; > previous: 6030, current: 6030; changing to 6031. This may result in > incorrect timestamps in the output file. > [mp4 @ 000001a902a100c0] Non-monotonous DTS in output stream 0:0; > previous: 180204, current: 177177; changing to 180205. This may result in > incorrect timestamps in the output file. > [hls @ 000001a901cc9380] Opening 'crypto:part1.ts' for reading > [mp4 @ 000001a902a100c0] Non-monotonous DTS in output stream 0:0; > previous: 360384, current: 357357; changing to 360385. This may result in > incorrect timestamps in the output file. > [mp4 @ 000001a902a100c0] Non-monotonous DTS in output stream 0:0; > previous: 540565, current: 537538; changing to 540566. This may result in > incorrect timestamps in the output file. > [hls @ 000001a901cc9380] Opening 'crypto:part2.ts' for reading > [mp4 @ 000001a902a100c0] Non-monotonous DTS in output stream 0:0; > previous: 720745, current: 717718; changing to 720746. This may result in > incorrect timestamps in the output file. > [mp4 @ 000001a902a100c0] Non-monotonous DTS in output stream 0:0; > previous: 900925, current: 897898; changing to 900926. This may result in > incorrect timestamps in the output file. > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > On Sunday, February 23, 2020 3:15 PM, Crazy Red Elephant via ffmpeg-user < > [email protected]> wrote: > > > 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 > [email protected] 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 > > > [email protected] > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > To unsubscribe, visit link above, or email > > > [email protected] with subject "unsubscribe". > > > > ffmpeg-user mailing list > > [email protected] > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > To unsubscribe, visit link above, or email > > [email protected] with subject "unsubscribe". > > > _______________________________________________ > ffmpeg-user mailing list > [email protected] > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
