> 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@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to