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.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th October 2007, 22:26   #1  |  Link
Roscoe62
Registered User
 
Join Date: Nov 2004
Location: NZ
Posts: 141
How do you remux Spiderman 2 BD?

Oh boy....

I bought the spidey trilogy on BD (luckily for me it's released here quite a bit earlier than it is in the US). The first movie I've ripped to HD & remuxed using the usual tools - no problems.

However, Spidey 2 represents a new problem. The disc has both spidey 2 & 2.1 and uses seamless branching EXTENSIVELY. Whereas in the past I've been able to use xport or TsRemux to extract the audio or video files from the one or two main m2ts files, on this disc there are a LOT more than just 2 files. I will try to attach a file showing the list of files in the STREAM sub-directory. It's not a complete list, but those files out of the picture are pretty small - the picture is enough so you get the idea.

I'm hoping a solution can be found to handle this, but I'm guessing it's going to take some time. If anyone can show me some other way of doing this I'd be very grateful.

On the other hand, if there's any further information I can provide to the developers of those (or other) tools, I'm happy to help.
Attached Images
 
Roscoe62 is offline   Reply With Quote
Old 8th October 2007, 13:04   #2  |  Link
idbirch2
Registered User
 
Join Date: Oct 2002
Location: UK
Posts: 680
I too am trying to figure this out, I can tell you how to get the files joined into one useable m2ts file but I don't know how to figure out what order they go in without manually opening each one and figuring it out.

In order to join, just use the "copy /b 000001.m2ts + 000002.m2ts + ..... JoinedMovie.m2ts" command from a command prompt to join the files. This will produce a single m2ts file but you need to remove the stream end flags to fix the timecodes, simply run the file through TSRemux to achieve this.
idbirch2 is offline   Reply With Quote
Old 8th October 2007, 13:28   #3  |  Link
musicman2311
Registered User
 
Join Date: Jun 2007
Posts: 164
Quote:
Originally Posted by idbirch2 View Post
I too am trying to figure this out, I can tell you how to get the files joined into one useable m2ts file but I don't know how to figure out what order they go in without manually opening each one and figuring it out.

In order to join, just use the "copy /b 000001.m2ts + 000002.m2ts + ..... JoinedMovie.m2ts" command from a command prompt to join the files. This will produce a single m2ts file but you need to remove the stream end flags to fix the timecodes, simply run the file through TSRemux to achieve this.
hi there,
as for which parts belong together in which order, use bdedit and look at each m2ts file. there will be one which shows the parts needed in which order (i did that for deja vu).
as for copy /b - i have better results if i apply that to the elementary streams (audio, video) then remux.
hope this helps
musicman2311 is offline   Reply With Quote
Old 9th October 2007, 01:26   #4  |  Link
Roscoe62
Registered User
 
Join Date: Nov 2004
Location: NZ
Posts: 141
idbirch2,

Thanks so much for doing the legwork for this. However, once all the pieces are joined into one .m2ts file....


Quote:
Originally Posted by idbirch2 View Post
but you need to remove the stream end flags to fix the timecodes, simply run the file through TSRemux to achieve this.
Exactly how do I "run the file through TSRemux" to remove the stream end flags? Do you mean just remux the joined m2ts to output a new m2ts file? Are there any extra settings that need to be selected?
Roscoe62 is offline   Reply With Quote
Old 8th October 2007, 15:06   #5  |  Link
honai
Guest
 
Posts: n/a
It would be nice if the user who figured out the correct order (and which of those files actually belong to the main feature) posted his findings. Thanks.
  Reply With Quote
Old 8th October 2007, 15:47   #6  |  Link
idbirch2
Registered User
 
Join Date: Oct 2002
Location: UK
Posts: 680
Well I've used BDEdit on the source files and found two playlists for the main movie, I assume the longer one is Spiderman 2.1. The comand for joining the longer of the two is:

Quote:
copy /b 00000.m2ts + 00005.m2ts + 00006.m2ts + 00008.m2ts + 00009.m2ts + 00016.m2ts + 00017.m2ts + 00055.m2ts + 00056.m2ts + 00022.m2ts + 00023.m2ts + 00024.m2ts + 00025.m2ts + 00026.m2ts + 00027.m2ts + 00030.m2ts + 00031.m2ts + 00032.m2ts + 00033.m2ts + 00057.m2ts + 00103.m2ts + 00050.m2ts F:\sm2.m2ts
Save this as a .bat or .cmd file and place it in the same folder as all of your m2ts files. Obviously replace the F:\ with whatever drive you want the output to be.

The other playlist is as so:
Quote:
copy /b 00001.m2ts + 00005.m2ts + 00007.m2ts + 00008.m2ts + 00010.m2ts + 00016.m2ts + 00038.m2ts + 00055.m2ts + 00054.m2ts + 00022.m2ts + 00041.m2ts + 00024.m2ts + 00042.m2ts + 00026.m2ts + 00043.m2ts + 00030.m2ts + 00045.m2ts + 00032.m2ts + 00046.m2ts + 00057.m2ts + 00058.m2ts + 00050.m2ts F:\sm2.m2ts

Last edited by idbirch2; 9th October 2007 at 07:05.
idbirch2 is offline   Reply With Quote
Old 9th October 2007, 04:57   #7  |  Link
honai
Guest
 
Posts: n/a
@idbirch2

Thanks for doing the work, appreciate it.

I've noticed you're concat'ing to "F:\sm3.m2ts". So is that Spiderman 2 or Spiderman 3?

@Roscoe62

Just remux, don't change anything (unless you want to exclude some audio tracks, for example).

Last edited by honai; 9th October 2007 at 05:03.
  Reply With Quote
Old 9th October 2007, 07:06   #8  |  Link
idbirch2
Registered User
 
Join Date: Oct 2002
Location: UK
Posts: 680
Ah, well spotted honai, just a typo there, Spiderman 3 doesn't have any seamless branching, it's all in one m2ts file. Editted post to avoid confusion.
idbirch2 is offline   Reply With Quote
Old 10th October 2007, 22:14   #9  |  Link
Roscoe62
Registered User
 
Join Date: Nov 2004
Location: NZ
Posts: 141
OK, well I can confirm this method is working well. I ended up with the joined .m2ts file, remuxed it to another .m2ts file with TSRemux. From there I used xport to extract the video file and the TruHD audio file.

I muxed the video into a matroska container making sure to include the timecodes.txt file to ensure a 23.976 framerate. I used EAC3to to convert the TruHD audio track into a multi-channel .wav file and muxed that and the video into a new mkv file.

Only problem now is the audio starts off in sync, but by the end of the movie the audio is more than a second ahead of the video.

I don't know if I've done anything incorrectly or if there's a way to fix this problem.

Has anyone else remuxed this to mkv? If so, is your audio OK?
Roscoe62 is offline   Reply With Quote
Old 10th October 2007, 22:39   #10  |  Link
idbirch2
Registered User
 
Join Date: Oct 2002
Location: UK
Posts: 680
I have exactly the same issue after a slightly different procedure. I joined into a single m2ts file and then re-encoded the video using HCEnc to MPEG2. I then extracted the audio using TSRemux and converted it to AC3 using eac3to. After muxing the MPEG2 video with the a3 audio, I have good sync at the start and completely out by the end. I did sit down and work out which join it lost sync at but I can't remember what it was now.

The problem is with tsremux, it is not joining properly. I had exactly the same problem with Alien Vs Predator and had to spend quite some time manually snipping bits out and joining back together to achieve sync.

For Spiderman 2, I have re-encoded each m2ts file seperately and extracted the audio for each m2ts seperately too. I then muxed each of the 22 .m2v and .ac3 files into seperate .ts files and then joined them. No sync issues now.

Last edited by idbirch2; 10th October 2007 at 22:57.
idbirch2 is offline   Reply With Quote
Old 10th October 2007, 23:10   #11  |  Link
Roscoe62
Registered User
 
Join Date: Nov 2004
Location: NZ
Posts: 141
Thanks for posting back.

OK, so you've got a solution - even if it does involve a bit of work.

3 questions...

1) What tool are you using to mux each of the audio/video files into a ts file?

2) Can the tool handle AVC video, or only MPEG2?

3) Can the tool handle other audio formats - I personally used multi-channel wav, but I don't know whether ts will handle that. (trying to keep the audio lossless)

I'd prefer keeping the AVC video, but I'll convert to MPEG2 if I have to.
Roscoe62 is offline   Reply With Quote
Old 10th October 2007, 23:15   #12  |  Link
idbirch2
Registered User
 
Join Date: Oct 2002
Location: UK
Posts: 680
Looks like I jumped the gun, my final .ts file is also having sync issues The (correction) 22 sperate .ts file are all synced perfectly but when I join them the sync issue is back.

I used Manzanita for muxing, it only supports MPEG2. If I can find a method that works properly, I'll post back. You won't have to re-encode to MPEG2 if you don't want, the key is to process each m2ts seperately, regardless of how you process it.
idbirch2 is offline   Reply With Quote
Old 11th October 2007, 00:04   #13  |  Link
Roscoe62
Registered User
 
Join Date: Nov 2004
Location: NZ
Posts: 141
Thanks idbirch2,

Let us know how you get on.
Roscoe62 is offline   Reply With Quote
Old 11th October 2007, 00:14   #14  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
try muxing the joined m2ts file with gdsmux to .mkv (deselect the audio tracks if you want to convert them with eac3to; LPCM generally doesnt work with gdsmux) instead of using tsremux. maybe this helps. mux to .mkv and then another mux with mkvmerge with the timecodes file.
if this doesnt helptry to alter the muxed fps rate of the video to 23.9755 or 23.9765 or something like that. experiment with it.

Last edited by Thunderbolt8; 11th October 2007 at 00:19.
Thunderbolt8 is offline   Reply With Quote
Old 11th October 2007, 00:52   #15  |  Link
idbirch2
Registered User
 
Join Date: Oct 2002
Location: UK
Posts: 680
Well I've managed to get my MPEG2 re-encode in sync. I joined the 22 aforementioned .ts files with a program called TSSplitter. The resulting .ts would only show up as about 25 minutes in any playback app though so I ran it through a few remuxing apps and the only one I could find which fixed the timecodes and didn't skew audio was TSRemux!

Roscoe, if Thuderbolt's advice does not work, try processing each m2ts seperatley, joining the resulting files together and then running it through TSRemux.
idbirch2 is offline   Reply With Quote
Old 11th October 2007, 15:02   #16  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
can tssplitter also handle .m2ts files to join the same way as normal .ts files ?
Thunderbolt8 is offline   Reply With Quote
Old 13th October 2007, 04:10   #17  |  Link
maya
Registered User
 
Join Date: Mar 2004
Posts: 71
Quote:
Originally Posted by Thunderbolt8 View Post
can tssplitter also handle .m2ts files to join the same way as normal .ts files ?
Yes, tssplitter will join m2ts files-have done it with Crimson Tide BD, The Rock BD, and Con Air BD.
maya is offline   Reply With Quote
Old 13th October 2007, 22:11   #18  |  Link
DeepBeepMeep
Registered User
 
Join Date: Jun 2006
Posts: 133
It seems TSRemux causes sync issues. What you could do is not use it at all that is:
- merge all the file using the copy method
- use xport to extract the AVC and trueHd track even if continuity issues are reported
- extract from the true hd track, the AC3 track using EAC3TO
- remux the AVC track and the AC3 with 23.976 timestamps into a matroska file using mkvmerge

The end result seems to offer a proper audio /video sync
DeepBeepMeep is offline   Reply With Quote
Old 11th October 2007, 15:23   #19  |  Link
idbirch2
Registered User
 
Join Date: Oct 2002
Location: UK
Posts: 680
I honestly dont know. I'm sure I've used TSSplitter to join some .001, .002 etc files in the past and I think it will just join anything you tell it to, give it a try and let us know how it goes.
idbirch2 is offline   Reply With Quote
Old 12th October 2007, 14:04   #20  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
I mean im quite sure it'll do that, but what I meant was will the result be allright regarding the delay, as there is also no delay caused by this using normal .ts files
Thunderbolt8 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:00.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.