View Full Version : @Koepi Oggmux Splitting
raistlin2k
24th May 2002, 11:51
Wanted to ask you when you will add key-frame accurate cutting?
OggCutter does, combineaviogg does, but your tool is the best in muxing capabilities. I would really love to split the movies already in Oggmux without haveing to use another tool!
Another question: Would it be realizeable to let the splitter use the chapter-infos, so that it splits at a chapter beginning before the set size (e.g. 650), so that it stills fits on CD??
(It shouldn't split one chapter later, file would be bigger than limit-size then.)
Raist
Koepi
24th May 2002, 12:16
a) The not-keyframe-accurate situation is a phenomenon of the filters. OggMux isn't responsible. If OggCut is keyframe-accurate for you, oggmux will it be as well.
b) I'm thinking about a clever way to recalculate chapter times and reinjecting them into the filtergraph - so if you split an OGM the chapter times for the second CD could work as well.
I was talking with Tobias and he wrote that it is in the current state NOT possible to delete chapters from a list. Setting the first chapters to a zero-time is a bad thing to do either, with older filters this results in unplayable files.
Using a "chapter-accurate" cutting function would be taking some time to code.
Tobias thinks about making his filters an opensource project - if he does, I give him my oggmux sources as well and then anybody interested can extend oggmux.
Regards,
Koepi
raistlin2k
24th May 2002, 14:02
Thanks for quick response!
An open-source project with OggDS & OggMux would be great, I think!
CyberDemonII, the author of CombineAviOgg, already has an option for key-frame accurate splitting, unfortunately, it has no subtitle support, only one language can be used at the moment, even no chapters.
A mix of your Oggmux & his tool would lead to a perfect tool!
In a future of my dreams, the mode2cdmaker is also integrated into this tool, so I don't have to create an ogm anymore, but already an XCD-image:cool: Well, but this is just a dream (?)
Thanks again
Raist
p.S. who is your xcd backup creator proceeding?
Koepi
24th May 2002, 14:31
His tool is only keyframe accurate for DivX4 files as he uses those opendivx routines to read the source.
Regards,
Koepi
raistlin2k
24th May 2002, 16:00
Ah, I see, thought it works also with DivX5 & Xvid.
Something about OggCutter: in oggmux there is written that it is not cutting key-frame-accurate, on tobias' site oggcutter is told to work key-frame accurate, now you say your tool does it as oggcutter.
What is now correct?:confused:
Are they both key-frame accurate or not?
Raist
David caid
27th May 2002, 10:25
Originally posted by Koepi
b) I'm thinking about a clever way to recalculate chapter times and reinjecting them into the filtergraph - so if you split an OGM the chapter times for the second CD could work as well.
That's would be nice.
Right now, the solution I found to split an OGM file with chapters (and have a valid chapter list for the 2nd CD) is
Make the Xvid file.
- Split the video file with Virtualdub.
- Split the audio (ogg) with oggcut.
- Then mix the video+audio and the first part of chapter with Oggmux
- And mix the second part of video/audio + the second part of the chapter where all the time value are negative offset (with the time length of the first part).
Of course, the problem with this solution is the accuracy of cutting EXACTLY at the same time for the video and the audio.
The other solution is to mux the entire video and the audio + chapter and cut the OGM file this OGGcut and then edit the 2nd part with an hexa editor to change the value of each chapter (not very handy).
I hope to see your next version of this great tool : oggmux.
Best regards,
David
kilg0r3
27th May 2002, 11:55
For the cutting of ogg files, i'd rather use VCUT which can do sample-exact cutting.
Sample: in 48000khz file 48000 samples=1sec.
raistlin2k
27th May 2002, 14:12
Well, sounds like a lot of work.
Until splitting the ogm is not perfect, I suggest using a ripper that is capable of splitting the movie on chapters, so the second part of the movie is usable. (Splitting a vob not on a certain position results in a non working second part)
Easiest ripper with such chapter-support is Smartripper, but some DVDs are not rippable by this one, so try Vstrip to split the movie on ripping, so you have no problems with splitting the final ogm.
BTW, Smartripper produces an info-file that may be used by oggmux for chapters, in this file, the chapter-time is already fixed!
otherwise you have to use chapter-extractor, by right-clicking on the chapters of the first part, use "Don't use in timestamp" from context-menu, so chapter time will get recalculated for the second part.
THAT's IT!
NO SPLITTING PROBLEMS AT ALL!
cheers
Raist
P.S I just saw that yesterday new DVDDecrypter was released, offering this features. I'll test them and post if they work correctly.
Eric B
28th May 2002, 11:13
the second part of the chapter where all the time value are negative offset (with the time length of the first part).
I've tried such method to make a chapter valid 2nd part. I've already made as you for split and mux the 1st part, but not mux the 2nd part.
But could you explain how/where write the time offset ?
David caid
28th May 2002, 14:48
Originally posted by raistlin2k
Well, sounds like a lot of work.
Until splitting the ogm is not perfect,
that's the reason why I split the video part and the audio part before muxing them into OGM format.
I suggest using a ripper that is capable of splitting the movie on chapters, so the second part of the movie is usable. (Splitting a vob not on a certain position results in a non working second part)
Yes, but how could you be sure that a split with chapter will give you the desired file size ?
let's say for example, that you have 20 chapters, you want to have a file of 600 MB for the 1st CD (because you have the bonuses on 1st CD) and 700 MB for the 2nd. You have to look for the time of your film and then find what is the relevant chapter nuber for your 1st part and for your second part.
And with your method, if I remind well, when you extract the sound from DVD2AVI, you'll get 1 file for all the vob you've selected.
In that case you have the exact same length for your video and your audio part.
Sounds a better approach. I shall try that.
BTW, Smartripper produces an info-file that may be used by oggmux for chapters, in this file, the chapter-time is already fixed!
otherwise you have to use chapter-extractor, by right-clicking on the chapters of the first part, use "Don't use in timestamp" from context-menu, so chapter time will get recalculated for the second part.
Yes it works also. My method was just using ChaptereXtractor and on the bottom right you have a place to put a offset (in the format page).
ChapterExctator accepts a negative offset ( (just put a minus before your number), then all your chapter of the first part are set to zero and the 2nd part is recalculated (just like your methode with timestamp).
Salutations,
David
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.