Log in

View Full Version : Mixing different video files


Sagekilla
9th December 2007, 01:48
I don't know if this the proper place to post this but, if I have a video file encoded with 16 refs placed after a video with 6 refs in a mkv container, will I run into any issues?

And likewise, will I run into any problems with two videos encoded with different widths in a mkv? Like video encoded at 864x480 followed by one at 1024x480 then back to 864x480.

Thank you!

bond
9th December 2007, 17:12
I don't know if this the proper place to post this but, if I have a video file encoded with 16 refs placed after a video with 6 refs in a mkv container, will I run into any issues?

And likewise, will I run into any problems with two videos encoded with different widths in a mkv? Like video encoded at 864x480 followed by one at 1024x480 then back to 864x480.

Thank you!for both: theoretcially no, practically yes

the video specs are stored in the so called sps and pps in the video stream. while normally a video stream only carries one sps and pps (like the case in mpeg4 asp) it is allowed to change those throughout a stream. therefore it is theoretically possible to create video streams with changing specs

practically hardly any tool supports this (especially players). you can try to merge your streams with mp4box (which should be able to create streams with multiple sps/pps) and try to play your streams