View Full Version : .m2ts order for "Saving Sarah Marshall"?
ggking7
4th December 2008, 19:26
Has anyone figured out the order of .m2ts files for "Saving Sarah Marshall"?
Atak_Snajpera
4th December 2008, 19:44
Eac3to will find correct order for you
kkloster21
4th December 2008, 20:51
i think the movie is called "Forgetting Sarah Marshall" :)
QuadcoreHD
4th December 2008, 21:03
Great movie, just saw it for the first time recently. You can add the correct playlist on TSmuxer, you'll know when you've picked the right one as it will display the feature time for the movie (i.e. around 2hrs or so). eac3to has a nearly identical function I believe as well.
ggking7
4th December 2008, 21:53
Thanks a lot guys. So eac3to won't rip it, I rip it first, examine it with eac3to, and write down the sequence of files I need to play?
Atak_Snajpera
4th December 2008, 22:32
eac3to will automatically join all .m2ts into one nice .mkv !
ggking7
5th December 2008, 02:58
Does creating an mkv mean I'm transcoding? If so, can I get the information or an output file without transcoding?
blutach
5th December 2008, 05:42
i think the movie is called "Forgetting Sarah Marshall" :)
Maybe there's another flick coming out soon called Forgetting Private Ryan :D
Regards
dat720
5th December 2008, 06:21
ggking, you should read up on eac3to if your going to be ripping blurays.
You should also learn what containers are....
M2TS is a container, as is AVI MPG VOB and MKV
Containers store audio video and sometimes subtitle streams, using eac3to to output a MKV file simply demuxes the video streams and muxes them into a MKV container, the streams are still their original format so no yo are not transcoding.
Transcoding is changing one format to another (stream format not container format) ie convert a DVD to AVI involves transcoding the M2V video stream to XVID or DIVX.
ggking7
5th December 2008, 15:58
Sounds good, thank you. Can you provide an example command of how to turn a ripped Blu-Ray (mpls file?) into an mkv?
dat720
6th December 2008, 00:16
eac3to e: 1) 3: Video.mkv 4: Audio.ac3 -libav
e: is your bluray drive (this could also be a local folder)
1) is the title number
3: is the video track number
Video.mkv is the output filename for the video track
4: is the audio track number
Audio.ac3 is the output filename for the audio track
-libav is the decoder to use for the audio (libav is free and has worked perfectly so far for me)
You need to pick your title number and track numbers after viewing the log of eac3to it prints it on screen like so:
EVO, 1 video track, 3 audio tracks, 4 subtitle tracks, 1:42:54
"Feature Presentation"
1: Joined EVO file
2: Chapters, 29 chapters with names
3: VC-1, 1080p24 /1.001 (16:9) with pulldown flags
4: E-AC3, English, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB, 7ms
5: E-AC3, French, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB, 7ms
6: E-AC3, Spanish, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB, -9ms
7: Subtitle, English
8: Subtitle, English, "SDH"
9: Subtitle, French
10: Subtitle, Spanish
ggking7
6th December 2008, 19:03
Thank you dat720. I'm running it in Linux via wine. I get a message saying:
"This audio conversion is not supported."
I'm working on getting this fixed. Please let me know if you have any ideas.
I can -demux just fine but then I end up with separate audio and video files. Is there another program I can run them through to remux them?
dat720
6th December 2008, 22:45
Try make sure you are using a valid output extension....
What type of audio stream owuld you liek eac3to to produce?
Can you paste the log from your movie, and the command you are using.
ggking7
6th December 2008, 23:19
I don't think I'll be able to mux into an mkv since I'm using wine and can't install Haali Matroska Muxer. I'm hoping to mux into .ts or .mpg but I'm getting the "audio conversion is not supported" error. I'd like the audio in any format other than TrueHD.
dat720
7th December 2008, 00:29
paste the command line you are using and the log from eac3to
ggking7
7th December 2008, 01:11
Here it is:
eac3to v2.79
command line: /home/ggking7/Desktop/eac3to/eac3to.exe forgettingsarahmarshall forgettingsarahmarshall.ts
------------------------------------------------------------------------------
Hooking GetModuleFileNameA failed (Success).
M2TS, 3 video tracks, 7 audio tracks, 5 subtitle tracks, 1:57:45
1: Chapters, 20 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: h264/AVC, 480p24 /1.001 (20:11)
4: h264/AVC, 480p24 /1.001 (20:11)
5: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz)
6: DTS, Spanish, 5.1 channels, 24 bits, 768kbps, 48khz
7: DTS, French, 5.1 channels, 24 bits, 768kbps, 48khz
8: AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB
9: AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB
10: E-AC3, English, 2.0 channels, 192kbps, 48khz
11: E-AC3, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB
12: Subtitle (PGS), English
13: Subtitle (PGS), Spanish
14: Subtitle (PGS), French
15: Subtitle (PGS), Spanish
16: Subtitle (PGS), French
Track 5 is used for destination file "forgettingsarahmarshall.ts".
Hooking WriteConsoleA failed (Success).
This audio conversion is not supported.
dat720
7th December 2008, 01:23
It won't work like that......
For a start you haven't selected any streams....
Try eac3to e: 2: Video.264 5: Audio.dts
You'll then need to mux video.264 and audio.dts to the container of yoru choice.
If you are using a folder as the source replace e: with the foldername
Or you could simply try eac3to e: 1) -demux this will demux the first video track and all audio tracks and leave you with a folder full of tracks.
ggking7
7th December 2008, 02:33
-demux works, but I can't figure out how to mux the separate video and audio files together. Can you tell me how to do that?
Without -demux I get:
$ wine /home/ggking7/eac3to/eac3to.exe forgettingsarahmarshall 2: Video.264 5: Audio.dts
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
fixme:reg:GetNativeSystemInfo (0x32f668) using GetSystemInfo()
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Hooking GetModuleFileNameA failed (Success).
err:ole:apartment_createwindowifneeded CreateWindow failed with error 2
M2TS, 3 video tracks, 7 audio tracks, 5 subtitle tracks, 1:57:45
1: Chapters, 20 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: h264/AVC, 480p24 /1.001 (20:11)
4: h264/AVC, 480p24 /1.001 (20:11)
5: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz)
6: DTS, Spanish, 5.1 channels, 24 bits, 768kbps, 48khz
7: DTS, French, 5.1 channels, 24 bits, 768kbps, 48khz
8: AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB
9: AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB
10: E-AC3, English, 2.0 channels, 192kbps, 48khz
11: E-AC3, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB
12: Subtitle (PGS), English
13: Subtitle (PGS), Spanish
14: Subtitle (PGS), French
15: Subtitle (PGS), Spanish
16: Subtitle (PGS), French
Hooking WriteConsoleA failed (Success).
This video conversion is not supported.
dat720
7th December 2008, 03:00
I've never done it with linux, but use tsMuxeR
There is Windows and Linux version available.
http://www.smlabs.net/tsmuxer_en.html this is the only muxer i use for *ts files, it produces m2ts that happily play on my PS3....
Take the streams generated with -demux and mux them with tsMuxeR, of course leave out the streams you don't want...
ggking7
7th December 2008, 03:17
I'd love to but I get "Unsupported file format" errors from tsmuxer whenever I try to select an m2ts file or either of these separate tracks. Very frustrating.
dat720
7th December 2008, 03:32
Hmm i guess you'll have to find a muxer that works in linux....
ggking7
7th December 2008, 03:41
I've got muxing working with mkvmerge which is great. I should be able to use wine+eac3to to get an audio track and a video track, and then I can use mkvmerge to mux them into an mkv. This solves my "which m2ts files in which order?" problem and also takes care of TrueHD audio. Thank you very much for your help.
Can you tell me how you decide which title number to specify? I can't tell from the eac3to output.
EDIT: eac3to can't decrypt from the Blu-Ray disc right? I need to continue with aacskeys+dumphd for that right?
dat720
7th December 2008, 04:25
eac3to can't decrypt no, for windows users its easy AnyDVD decrypts on the fly.
But in linux you will need to decrypt the disc first. Unless of course SlySoft release a Linux version of AnyDVD!
Thats abit of trial and error, the main movie is usually title 1
From this example 1 and 2 look the same, i would say that 3 is the theatrical cut and 1 and 2 are directors cut's, i could be completely wrong.... you could use mplayer to play the mpls playlist to check before you choose.
1) 00041.mpls, 2:00:22
[112+127+115+128+117+129+119+130+121+131+123+132+125].m2ts
- h264/AVC, 1080p24 /1.001 (16:9)
- h264/AVC, 480p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48khz
- AC3, French, multi-channel, 48khz
- AC3, English, stereo, 48khz
2) 00042.mpls, 2:00:22
[112+127+115+128+117+129+119+130+121+131+123+132+125].m2ts
- h264/AVC, 1080p24 /1.001 (16:9)
- h264/AVC, 480p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48khz
- AC3, French, multi-channel, 48khz
- AC3, English, stereo, 48khz
3) 00040.mpls, 1:31:32
[112+114+115+116+117+118+119+120+121+122+123+124+125].m2ts
- h264/AVC, 1080p24 /1.001 (16:9)
- h264/AVC, 480p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48khz
- AC3, French, multi-channel, 48khz
- AC3, English, stereo, 48khz
ggking7
7th December 2008, 04:44
Very nice, how did you get that output?
Have you played a Blu-Ray .mpls file via mplayer? I can't get mine to.
dat720
7th December 2008, 05:23
Come to think of it no, but i know for a fact mplayer will play m2ts.
ggking7
7th December 2008, 06:12
mplayer definitely plays m2ts files but sometimes a title is broken up over a whole bunch of them in non-sequential order. eac3to fixes that though.
How did you get the above output with the duration information for each title?
dat720
7th December 2008, 06:57
eac3to e:
Will produce that sort of output, assuming the disc structure has more than 1 title, if it only has 1 title you won't get that output.
ggking7
7th December 2008, 07:10
OK, trying to specify a title number, I get:
$ wine /home/ggking7/eac3to/eac3to forgettingsarahmarshall 2) -demux
-su: syntax error near unexpected token `)'
Do you really use the ")" character there?
I'm also having an audio/video synchronization problem after muxing with mkvmerge. Have you had any problems like that?
dat720
7th December 2008, 07:14
Yeah i always use the ) character, but that looks like its sudo havign a shit there not eac3to
Did you apply the delay stated in the eac3to log?
ggking7
7th December 2008, 07:22
It sounds like I need to let eac3to demux the entire image so it will generate a log file from which I can determine the a/v delay? If so, how do I apply the delay? mkvmerge doesn't seem to have the ability to do that. Maybe your muxer does?
dat720
7th December 2008, 07:28
mkvmerge can set delays, --sync 0:20 would set a 20ms delay.
If a audio stream has delay then it will list the delay at the end of each audio stream:
4: E-AC3, English, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB, 7ms
This stream has 7ms delay.
dat720
7th December 2008, 07:46
While playing around i noticed this:
If you look down in the lines beginning with [a04], 3rd line it looks liked eac3to automaticly applies the delay diretly to the audio stream
D:\VidTools>EAC3to\eac3to.exe e: 1) 4: Audio.eac3
EVO, 1 video track, 3 audio tracks, 6 subtitle tracks, 1:56:49
"Main Movie"
1: Joined EVO file
2: Chapters, 24 chapters with names
3: VC-1, 1080p24 /1.001 (16:9) with pulldown flags
4: E-AC3, English, 5.1 channels, 1536kbps, 48khz, dialnorm: -27dB, 334ms
5: AC3, French, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB, 334ms
6: AC3, Spanish, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB, 334ms
"mono"
7: Subtitle, English
8: Subtitle, English, "SDH"
9: Subtitle, French
10: Subtitle, Spanish
11: Subtitle, French, "forced"
12: Subtitle, Spanish, "forced"
[a04] Extracting audio track number 4...
[a04] Removing E-AC3 dialog normalization...
[a04] Applying (E-)AC3 delay...
[a04] Creating file "Audio.eac3"...
--
This is the Coming to America HD DVD, i'm demuxing the eac3 track to drop in a m2ts container with the converted ac3 track to see if the PS3 will play a m2ts with 2 audio tracks.
dat720
7th December 2008, 09:23
If anyone is curious, Yes the PS3 will play m2ts files with multiple audio tracks, it just won't play the eac3 track.
ggking7
7th December 2008, 15:55
it looks liked eac3to automaticly applies the delay diretly to the audio stream
I think you're right. After letting eac3to finish the demux, I notice a lot of the following in the output:
[a11] The audio file was demuxed without making use of the gap/overlap information.
[a11] Please rerun the same eac3to command line. That will correct the gaps/overlaps.
I'm running the same command again and hopefully it will be all synced up. I'll report back of course.
ggking7
7th December 2008, 19:09
I let it run again and it reported:
[a05] Realizing DTS gaps...
but the a/v sync is still off. Please let me know if you have any ideas.
ggking7
7th December 2008, 21:26
I'm being told that using eac3to to demux to separate files removes timecode information which causes the files to end up out of sync when muxed. I think this means I'm back to square #1.
dat720
8th December 2008, 10:44
I don't think thats right, i have done around 40 BD's and HD's and none of them have gone out of sync using the method i described.
I'm not exactly sure where to go from here.
ggking7
8th December 2008, 15:24
You're demuxing to mkv and ac3 though right? I'm thinking that since you demux to mkv, the timecode information is retained in the mkv file. I can't demux to mkv via eac3to because I'm using wine. I have to demux to a raw video file and audio file before I mux via mkvmerge.
EDIT: If you get a chance, maybe you could demux via -demux and then mux via tsmuxer to see if you have a/v sync?
dat720
8th December 2008, 20:33
I've just done that with my The Fast and the Furious HD DVD, i'll mux it tonight when i get home from work and let you know how it goes.
ggking7
8th December 2008, 22:44
I can verify it works! Do you know how to remux with tsmuxer straight from a decrypted Blu-Ray disc and skip eac3to altogether? I need it to follow a stream across multiple non-sequential m2ts files via an mpls file. I know it can do this but I don't know how to write the .meta file.
dat720
9th December 2008, 08:21
Never done that, i always use eac3to as i need to convert HD/BD's next gen audio tracks to AC3 so the PS3 will play them.
jj666
9th December 2008, 13:54
Be careful using TSMUXER for joining files - it can make an audio sync issue due to the audio file overlap / gaps - EAC3TO will fix all of these errors during processing, so for seamless-joined files, I consider EAC3TO a must first step. It's especially important if playing back on a media player like Tvix or NMT-based. TSMUXER is also limited when remuxing LPCM (PCM2TSMU must be used before muxing) or TrueHD (TSREMUX should be used in this case).
-jj-
ggking7
9th December 2008, 15:23
dat720 & jj666,
It sounds like both of you are saying tsmuxer can't convert TrueHD audio, but it has these options:
down-to-dts - Available only to DTS-HD tracks. Makes conversion DTS-HD into standard DTS.
down-to-ac3 - Is only available for TRUE-HD tracks with AC3 inside the nucleus (usually written on Blu-ray discs).
http://forum.doom9.org/showthread.php?t=142559
Have you tried it?
jj666
9th December 2008, 16:28
Bluray TrueHD contains (normally) a standard 640kb/sec AC3 core, and DTS-HD [all types] contains (normally) a standard 1536kb/sec DTS core. In case your amp doesn't support the HD-audio, the core files will play back on a normal SPDIF connection. Yes, I've used this option in TSMUXER a lot and it works perfectly fine. (For your info, normally I'm converting TrueHD to DTS with EAC3TO/Surcode and just keeping the DTS core from DTS-HD files). Playing back all remuxes on an Istar HD 1.3 unit on a 5.1 system. EAC3TO works also for HD-DVD remuxing btw. It really depends on your audio system / personal preference, as to whether you keep the HD-audio intact.
Cheers,
-jj-
ggking7
9th December 2008, 17:16
Thank you and this brings up another question I've been wondering about. My audio system is a simple 2-channel configuration and I won't be adding more speakers. What is the ideal format for me to end up with? Should I use eac3to's down2 option?
jj666
9th December 2008, 17:43
For that setup, I'd simply remux the original files with the HD audio downconverted to AC3/DTS with TSMUXER then, overall this is the quickest way and in most cases you can just use the one program for your needs. If you do then upgrade to 5.1 system, the files are also perfectly suitable.
I would suggest to use EAC3TO only for joining seamless branched files together (get EAC3TO to demux the audio cores with -core option, also the video stream and any subs) then remux all together with TSMUXER.
This will be the quickest solution anyway... :-)
Cheers,
-jj-
ggking7
9th December 2008, 17:48
Thanks jj. I've read that tsmuxer can also following branching m2ts files via an mpls file but I've been unable to write the necessary .meta file.
jj666
9th December 2008, 19:01
Yes it can join multiple files based on the playlist but you often end up with audio synchronisation issues (especially when playing back on a standalone player) if you use TSMUXER to do the joining and not EAC3TO.
I saw you mentioned that EAC3TO requires a directshow filter to work. I think this should only be needed if you are muxing to MKV, which isn't necessary. Just demux the necessary video stream to .264 or .VC1 or whatever.
Here's what I'd do in similar situation:
eac3to v2.80
command line: "x:\eac3to\eac3to.exe" "x:\Daddy ohne Plan\"
------------------------------------------------------------------------------
1) 00139.mpls, 2:07:03
[92+1+93+3+94+5+95+7+96+9+97+11+98+13+99+15+16+100+18+101+20+102+22+103+24+104+26+105+28+106+30+107+32+108+109+35+110+37+111+39+112+41+113+43+114+45+115+47+116+49+117+51+118+53+119+55+120+57+121+59+122+61+123+63+124+65+125+67+126+69+127+71+128+73+129+75+130+77+78+131+80+132+82+133+84+134+86+135+88+136+90+137].m2ts
- h264/AVC, 1080p24 /1.001 (16:9)
- RAW/PCM, English, multi-channel, 48khz
- AC3, English, multi-channel, 48khz
- AC3, English, multi-channel, 48khz
- DTS, English, multi-channel, 48khz
- AC3, English, multi-channel, 48khz
- DTS, English, multi-channel, 48khz
- AC3, English, stereo, 48khz
- AC3, English, multi-channel, 48khz
<snip>
<snip>
M2TS, 1 video track, 8 audio tracks, 11 subtitle tracks, 2:06:59
1: Chapters, 21 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: RAW/PCM, English, 5.1 channels, 16 bits, 48khz
4: AC3, English, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB
5: AC3, English, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB
6: DTS, English, 5.1 channels, 24 bits, 1509kbps, 48khz
7: AC3, English, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB
8: DTS, English, 5.1 channels, 24 bits, 1509kbps, 48khz, dialnorm: -4dB
9: AC3, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB
10: AC3, English, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB
<snip>
command line: "x:\eac3to\eac3to.exe" "x:\Daddy ohne Plan\" 1) 2: "x:\track1.h264" 10: "x:\track1.ac3"
Then simply mux the resulting files with TSMUXER. You may need to run EAC3TO twice (it will correct audio gaps on the second pass).
Cheers,
-jj-
ggking7
9th December 2008, 20:25
That is exactly what I do after tons of trial, error, and research. eac3to to demux and tsmuxer to mux. It seems to work perfectly although constantly editing the .meta file gets old. I wish it could do autodetection of the audio and video codecs.
jj666
9th December 2008, 20:55
Does MKVmerge not work in Linux, that may be an alternative if you can't get the GUI from TSMUXER to work? Sorry I've no idea on that operating system :-)
-jj-
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.