[Libav-user] How to handle dynamically changing streams / parameters / codecs?

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Nov 4 19:20:56 CET 2012

Andrea3000 <andrea3000 at ...> writes:

> file1: https://dl.dropbox.com/u/11879013/file1.m2ts
> file2: https://dl.dropbox.com/u/11879013/file2.m2ts

I also tested cat file1.m2ts file1.m2ts >test1.ts and 
cat file2.m2ts file2.m2ts >test2.ts (and WMP) and it 
could be possible that this cannot be supported due 
to different encoding parameters.

If you know that the stream changes, you can always 
close and reopen the decoder.

Carl Eugen

More information about the Libav-user mailing list