Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
6th November 2011, 02:03 | #22 | Link | |
Registered User
Join Date: Jan 2010
Posts: 297
|
Quote:
What were you thinking of requesting?
__________________
Windows 7 x64 i7 870 16GB RAM AMD 6870 |
|
8th November 2011, 23:59 | #23 | Link | ||
Registered User
Join Date: Jan 2011
Posts: 107
|
Quote:
Quote:
Well, my goal is to be able to do Avisynth processing on my blu-rays excluding certain segments within an .m2ts title while maintaining chapters in the final product with start points that land precisely on I-frames (totally smooth chapter navigation). The problem is that television shows will almost always have an OP and an ED. If I demux and process the entire title the OP and ED get processed and encoded for every single episode over and over again. Naturally this wastes a tremendous amount of processing time and drive space and requires a lot of drive thrashing for no reason. Thus, I'd like to be able to use Xin1Generator to specify which chapters get extracted into respective audio, video and subtitle streams (with each chapter as a separate file). Of course, if certain chapters have been excluded from the title then the original chapter start points are no longer useful but that's why the goal is to get each chapter demuxed from the m2ts into it's own separate file. I can then attach an "empty" chapter file (with 0 for a start time) to each chapter file and combine them into whole episodes using mkvmerge. When doing this, mkvmerge automagically assigns the correct chapter start points to land perfectly at the beginning of each chapter segment. As luck would have it, mkvmerge has the ability to split the video, audio and subtitle streams like this. All you have to do is provide it with the appropriate chapter time points which Xin1Generator already has perfect access to Of course, for this to be truly powerful it would need to be accessible in CLI. It shouldn't be too difficult to do this as Xin1Generator already can tell how many chapters are in a title. If they were identified by Xin1Generator as, say, chapters 1-6, then using a command line switch and comma separated list of the chapters I want to keep should be all that's needed and the program could just impose that on mkvmerge. In fact, it could go a step further as sometimes the middle of an episode will have multiple chapter points that we may want to be extracted as one long chapter. For example, for a title with a chapter structure that looks like this: Code:
Chapter 1 - Prologue Chapter 2 - OP Chapter 3 - Part A Chapter 4 - Part B Chapter 5 - ED Chapter 6 - Next Episode Preview Code:
-c 1,3-4,6 Oh well, this is probably too much to be implemented but since I have some access to the developer I figured why not go for the gold. I appreciate your acting as the go-between for us but as a matter of curiosity why doesn't he appear here himself? Or maybe they are too busy at MIT to bother with us :P |
||
9th November 2011, 03:24 | #24 | Link |
Registered User
Join Date: Jan 2010
Posts: 297
|
I think the author is not here because he mostly created the program for his own personal use, but is kind enough to share it with everyone else. Of course, that's just a guess, but it's completely his choice if that's the case.
As far as the way eac3to handles h264 files, I seriously doubt it does anything wrong. Do you extract them, or mux them to mkv? From what I have been told, it's not a good idea to extract raw h264 files, so I always mux them. I've used it on over 100 h264 encoded discs, and never had any problems.
__________________
Windows 7 x64 i7 870 16GB RAM AMD 6870 |
10th November 2011, 01:44 | #25 | Link | |
Registered User
Join Date: Jan 2011
Posts: 107
|
Quote:
At first I wondered if this might be due (somehow) to the fact that one dga was created from the m2ts file directly while the other dga was created from the elementary stream produced by eac3to. So I tried creating a dga from the elementary stream produced by DGAVCIndex (as opposed to the m2ts) and obtained the same results as before. Actually, looking at the files just now I noticed that the DGAVCIndex stream has the extension ".264" while the eac3to stream has the extension ".H264" Perhaps there is some padding in the .264 file or something. I am not aware of the intricacies of the two extensions. TL;DR In any case the testing was valuable because it strongly indicates to me that there would be no trouble trusting mkvmerge's demux of the video stream should any option to use mkvmerge be implemented in Xin1Generator. If you get the chance, thank the developer for me for providing this tool to us. It really is a golden nugget because it's the only tool I know of that can incorporate extra versions from a blu-ray into a single mkv. |
|
10th November 2011, 15:26 | #26 | Link | |||
Registered User
Join Date: Sep 2011
Posts: 4
|
Hi. It's me, the author. Let me first address why I haven't been active in this thread. Xin1Generator started out as a tool for a certain private community, and I still provide support there. About a year ago I made the program publicly available via Google Code. This allowed me to provide support in two additional ways:
I initially did not want to provide support in another way, but apparently many people can't find my contact information on Google Code or simply prefer to post on this forum. I'll monitor this thread more closely from now on. Quote:
I agree. Unfortunately, that's a functionality I hadn't considered while writing the program, and it's not so simple to add at this point due to the way Xin1Generator handles threads and processes. If any developer knows of a relatively simple way to do this in a way more sophisticated than "kill every instance of eac3to and xport", I'm all ears. Quote:
Quote:
|
|||
10th November 2011, 16:01 | #27 | Link | ||
Registered User
Join Date: Jan 2010
Posts: 297
|
Hey! Glad to see you stopping by here. I think you're right that some people have trouble finding your contact info, and I imagine that some are also hesitant to use email, out of fear they would be bugging you.
Quote:
I looked into this a bit a while back, and did see one thing that may be helpful. MKVmerge has two ways of appending files, as described below: Quote:
Oh, and btw, thanks again for sharing your program, and now for providing feedback here. Of course, you've probably opened yourself up to even more requests, and probably even some criticism, just as other developers here subject themselves to.
__________________
Windows 7 x64 i7 870 16GB RAM AMD 6870 Last edited by robpdotcom; 10th November 2011 at 16:16. |
||
10th November 2011, 23:22 | #28 | Link | |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,281
|
Quote:
__________________
Latest MKVToolNix is v83.0 If I ever ask you to upload something, please use my file server. |
|
15th November 2011, 01:18 | #29 | Link |
Registered User
Join Date: Jan 2010
Posts: 297
|
Just an fyi, I tried using mmg to append the m2ts files of a seamless branching disc, and the results were not too good.
Guess we'll have to wait for Mosu to release a version that handles them better.
__________________
Windows 7 x64 i7 870 16GB RAM AMD 6870 |
14th December 2011, 15:41 | #32 | Link |
Matroska find' ich toll
Join Date: Apr 2008
Posts: 1,379
|
i have found a way to get streams with the correct titles like eac3to do.
after generating the files (chapter, tag and extract.cmd) i open the extract.cmd file in an editor an delete all to extracted streams (1:track1 2:track2...) and type only the switch -demux now all streams will be demuxed with the right names of language and other informations. PS: or you unselect all streams. then set xin1-generater in the extract.cmd automaticly the switch "-demux". Last edited by hubblec4; 15th December 2011 at 00:55. |
5th February 2012, 10:31 | #33 | Link |
Registered User
Join Date: Feb 2004
Posts: 9
|
Ok, so I think I understand how this seamless branching/ordered chapters thing works, but I still have some questions.
In your example (and every example I've read about so far) you're using a single video track. That track has a "real" timeline and the ordered chapters are then used to jump around it, creating separate "Cuts." But what if I have a Blu-Ray disc that uses seamless branching with different video tracks? e.g. pretend there's a "Super Duper Cut" that includes all deleted scenes, even ones that not fully post-processed (lacking CGI, lighting, music, etc). These deleted scenes will most likely NOT be 1080p, but rather 480i or else. Also, what if I wanted to include Behind-the-scenes clips in the MKV file, how would I go about doing that if it contained different video characteristics as the main film? I should point out some of this is hypothetical as I haven't encountered a Blu-Ray disc yet that has a Cut as crazy as I described above (with the different video sizes/framerates/codecs, etc) but I'm assuming it's possible? If it is, how would I stuff all that craziness into an ordered-chapter MKV file? Thanks. |
8th February 2012, 18:59 | #36 | Link |
Registered User
Join Date: Sep 2011
Posts: 4
|
The "craziest" seamless branching I've seen was on Certifiable: Live in Buenos Aires by The Police. It has TrueHD/AC3 audio tracks in most of the files, but plain AC3 on two very small files with a total length of 6 seconds. This messed up Xin1Generator because eac3to would ignore those files in demuxing, while Xin1Generator did use those files to determine the number of frames. Temporarily renaming the two files so eac3to wouldn't pick them up in the first place provided a workaround.
I can't guarantee you that other similar problems don't exist, but it's rare enough that we can handle them on a case-by-case basis. |
9th February 2012, 00:24 | #37 | Link |
Registered User
Join Date: Sep 2006
Posts: 2,197
|
^^even that didnt work out properly in my case, because for some reason, my chapterfile was different from yours, although our eac3to and xin1generator versions were the same -.-
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack) |
27th February 2012, 10:49 | #38 | Link |
Registered User
Join Date: Nov 2004
Posts: 251
|
Hi
Can I use this program for DVD as well? If it is not possible, could anyone upload these workable files created by the program? chapters.xml tags.xml qpfile.txt extract.cmd Perhaps I can understand how to use chapters to reach my goal. Thnx. bye szabi |
29th February 2012, 23:14 | #39 | Link |
Registered User
Join Date: Sep 2011
Posts: 4
|
Xin1Generator itself could be fairly easily modified to support DVDs, but unfortunately eac3to (which Xin1Generator relies heavily on) simply doesn't support the DVD structure.
Here's an example of Xin1Generator output: http://www.mediafire.com/?74urzmlg09en0lu |
3rd March 2012, 19:03 | #40 | Link |
Registered User
Join Date: Nov 2004
Posts: 251
|
Thnx for upolading.
I tried to do it manually. There are 19 differences between theatrical and directory version, in the movie. Some scene is not only longer but exchanged as well. When i realised that i postponed the project. If it had been a simple extended version i could have done it. But different scenes, no idea. bye szabi |
Thread Tools | Search this Thread |
Display Modes | |
|
|