Log in

View Full Version : Matroska - Multiple Video Angles Questions for Better Compression


Derailed
18th April 2005, 03:01
I am trying to encode a source that has two types of video angles where only certain parts of the video need different angles. Is there a way to create it so that it can look at certain time periods, where it doesn't need two different angles, and let that portion be considered both angles at that time period, while at certain other time periods it uses two different video files to be used for each angle? I need to know if this is possible for compressions sake. Otherwise the final file is double the size of what I would like it to be. Sorry about the crazy run on sentence :D .

Derailed
18th April 2005, 03:14
Forgot to mention that I am using xvid 1.1, 2 aac audio streams, and 2 ssa sub streams, for those who would like to know.

stephanV
18th April 2005, 08:17
You could make seperate matroska files for each section and then join them with copy /b. This should work with Haali's splitter.

While what you are suggesting theoritically should be possible with Matroska I think, there is no good practical implementation for it (no tools).

Derailed
18th April 2005, 08:39
Ah okay, now what do you mean about this /copy b thing with haali's splitter? Would it put them together into one matroska file? How would I use it?

stephanV
18th April 2005, 09:09
Lets say your movie consists of five parts or segments: A, B , C, D and E. A, C and E are multiangle, B and D are normal.

What you now do is, you treat each segment as a seperate movie. You encode it and mux it like you would for any other movie. (you can only mux multiple video streams with graphedit and Gabest's muxer at the moment BTW).

After you have finished segments A-E, (lets call them A.mkv to E.mkv), you can join them in cmd with "copy /b *.mkv mymovie.mkv". Haali's splitter can handle such files and allows for video stream switching as well.

It's far from a perfect solution and probably a lot of work, but it is currently the only way you can do something like this.

[edit] maybe an easier solution would be to just replace the redundant parts in one angle with blackness. That should encode pretty efficient.

Derailed
18th April 2005, 10:45
Thanks for your input stephanV! Gonna try this out :D .

stephanV
18th April 2005, 11:01
maybe alexnoe on the mailing list had a better idea though... editions might do it (didnt know they were supported already).

Derailed
18th April 2005, 11:25
Hmm...I tried what you said...it worked...but it made a section called segments...and it didn't automatically switch to the next segments. Is there any other way to get the result I need?

Elic
22nd April 2005, 08:40
I have similar question. I have two nearly identical movies - an original and a shorted version (with some episoded removed and some others are shifted in time; let's one movie has episodes A-B-C-D-E and other has A-D-B-E). I want to assemble them into one file, in order that I would can watch one or other version as I wish (or switch to one or other on-the-fly). I didn't work with Matroska at all (AVI and OGM only) but Matroska is interesting to me.

iapir
22nd April 2005, 09:25
If the second version is just shorter, you can use chapter editions for that. The main one (long) can be basic. The other one should be an ordered edition, with chapters covering the parts of the movie you want to display and not the rest.