Why not register?


Post new topic Reply to topic  [ 18 posts ] 

All times are UTC [ DST ]

Author Message
PostPosted: Wed Dec 29, 2010 10:03 am  Post subject: Convert crappy AVCHD to mkv: audio/video sync issues
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19625
Location: En España
I've downloaded a movie but its annoying ripped in a rubbish AVCHD format and I want to convert repack this as mkv.

I thought this would be pretty easy so i grabbed tsMuxer and demuxed the audio/video streams using the 'demux' option. This outputted a 264 file and a dts file. Next I used mkvmerge and issued:
Code:
mkvmerge -o  Invasion.of.the.Body.Snatchers.1978.1080p.BluRay.x264-RECODE.mkv invasion.264 invasion.dts


However, I've now attempted to play the file, jumped to a scene and found its way, way out of sync. How can i get this to stay in sync?

_________________
Mouse nipple for the win! Trackpoint or death!
Image


Top
 Profile  
PostPosted: Wed Dec 29, 2010 2:55 pm  Post subject: Re: Convert crappy AVCHD to mkv: audio/video sync issues
User avatar
Offline

The Ancient One
Joined: Thu Feb 13, 2003 6:07 pm
Posts: 4463
Location: The Cellar
is the rip a dts originally? or just ac3 6channels.... if so maybe you should go for the ac3 option instead of dts.... if nothing work maybe open the avchd iso and manually take out the file inside and work with it... i usually just stear clear of these avchd iso files myself, so not an expert.. post your solution here if you find any...

_________________
Image
STR - Dead but not forgotten!


Top
 Profile  
PostPosted: Wed Dec 29, 2010 3:03 pm  Post subject: Re: Convert crappy AVCHD to mkv: audio/video sync issues
User avatar
Offline

Will Tear Your Soul Apart
Joined: Sun Nov 19, 2006 2:59 pm
Posts: 627
here is the solution viewtopic.php?f=5&t=21704&p=213384&hilit=tt0077745%2F#p213384 :mrgreen: :mrgreen:


Top
 Profile  
PostPosted: Wed Dec 29, 2010 3:21 pm  Post subject: Re: Convert crappy AVCHD to mkv: audio/video sync issues
User avatar
Offline

Master Of The Dead Donkey
Joined: Mon Jun 19, 2006 4:01 pm
Posts: 708
Use eac3to whenever possible, it's usually more clever than tsMuxer when dealing with delays and problematic sources (like HDTV captures).

BTW, DTS is not part of the AVCHD specs, so that might be the problem for programs trying to demux your particular source.


Top
 Profile  
PostPosted: Wed Dec 29, 2010 4:30 pm  Post subject: Re: Convert crappy AVCHD to mkv: audio/video sync issues
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19625
Location: En España
it outputted two files, one was called DTS and tsMuxer says its DTS. The filename also said DTS. Odd if its not part of the spec, here's the metafile it printed to the little box:
Code:
MUXOPT --no-pcr-on-video-pid --new-audio-pes --demux --vbr  --vbv-len=500
V_MPEG4/ISO/AVC, "00000.m2ts", fps=23.976, insertSEI, contSPS, track=4113
A_DTS, "00000.m2ts", track=4352, lang=eng
#S_HDMV/PGS, "00000.m2ts",bottom-offset=24,font-border=2,text-align=center,video-width=1920,video-height=1080,fps=23.976, track=4608, lang=eng
#S_HDMV/PGS, "00000.m2ts",bottom-offset=24,font-border=2,text-align=center,video-width=1920,video-height=1080,fps=23.976, track=4609, lang=spa
#S_HDMV/PGS, "00000.m2ts",bottom-offset=24,font-border=2,text-align=center,video-width=1920,video-height=1080,fps=23.976, track=4610, lang=fra


I removed all subs.

_________________
Mouse nipple for the win! Trackpoint or death!
Image


Top
 Profile  
PostPosted: Wed Dec 29, 2010 4:35 pm  Post subject: Re: Convert crappy AVCHD to mkv: audio/video sync issues
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19625
Location: En España
eac3to doesn't have a linux version.

_________________
Mouse nipple for the win! Trackpoint or death!
Image


Top
 Profile  
PostPosted: Wed Dec 29, 2010 4:36 pm  Post subject: Re: Convert crappy AVCHD to mkv: audio/video sync issues
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19625
Location: En España



Its not 1080p, see the last post ;)

_________________
Mouse nipple for the win! Trackpoint or death!
Image


Top
 Profile  
PostPosted: Wed Dec 29, 2010 5:01 pm  Post subject: Re: Convert crappy AVCHD to mkv: audio/video sync issues
User avatar
Offline

Master Of The Dead Donkey
Joined: Mon Jun 19, 2006 4:01 pm
Posts: 708
eac3to is a windows command line app, but it should work via Wine. I think PS3s are the main target of these AVCHDs. Even if DTS is out of specs a PS3 may be able to play it.

Anyway, eac3to would work like this:

Code:
eac3to.exe 00000.m2ts


to see the track numbers and things you have. If the video is in track 1 and the audio in track 2, then do

Code:
eac3to.exe 00000.m2ts 1: video.mkv 2: audio.dts


and then use mkvmerge for remuxing.


Top
 Profile  
PostPosted: Wed Dec 29, 2010 7:02 pm  Post subject: Re: Convert crappy AVCHD to mkv: audio/video sync issues
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19625
Location: En España
would prefer not to install wine, guess i can use my vm... sigh... just can't kill windows.

_________________
Mouse nipple for the win! Trackpoint or death!
Image


Top
 Profile  
PostPosted: Fri Dec 31, 2010 12:42 am  Post subject: Re: Convert crappy AVCHD to mkv: audio/video sync issues
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19625
Location: En España
well it doesn't run under wine, think its because i'm doing it on a remote server with X11:
Code:
[jbriggs@dell-ubuntu STREAM]$ wine /usr/local/eac3to/eac3to.exe '00000.m2ts' '1: video.mkv' '2: audio.dts'
M2TS, 1 video track, 1 audio track, 3 subtitle tracks, 1:55:37, 24p /1.001     
1: Chapters, 32 chapters                                                       
2: h264/AVC, 1080p24 /1.001 (16:9)                                             
3: DTS, English, 5.1 channels, 24 bits, 1509kbps, 48kHz                       
4: Subtitle (PGS), English                                                     
5: Subtitle (PGS), Spanish                                                     
6: Subtitle (PGS), French                                                     
Track 3 is used for destination file " audio.dts".                             
Creating file "1: video - Chapters.txt"...                                     
The destination file "1: video - Chapters.txt" could not be created.           
a03 Extracting audio track number 3...                                         
a03 Extracting audio track number 3...                                         
v02 Extracting video track number 2...                                         
s04 Extracting subtitle track number 4...                                     
s06 Extracting subtitle track number 6...                                     
s05 Extracting subtitle track number 5...                                     
v02 Muxing video to Matroska...                                               
err:ole:CoGetClassObject class {a28f324b-ddc5-4999-aa25-d3a7e25ef7a8} not registered
err:ole:CoGetClassObject no class object {a28f324b-ddc5-4999-aa25-d3a7e25ef7a8} could be created for context 0x1
v02 Getting "Haali Matroska Muxer" instance failed.                           
ALSA lib ../../../src/seq/seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: Permission denied
Aborted at file position 1048576.


But one thing i noted, 24/fps, msMuxer got it wrong.

_________________
Mouse nipple for the win! Trackpoint or death!
Image


Top
 Profile  
PostPosted: Thu Jan 06, 2011 12:47 pm  Post subject: Re: Convert crappy AVCHD to mkv: audio/video sync issues
User avatar
Offline

The Ancient One
Joined: Thu Feb 13, 2003 6:07 pm
Posts: 4463
Location: The Cellar
cant you use poweriso or isobuster so you could extract the m2ts file?..

_________________
Image
STR - Dead but not forgotten!


Top
 Profile  
PostPosted: Fri Jan 07, 2011 8:08 am  Post subject: Re: Convert crappy AVCHD to mkv: audio/video sync issues
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19625
Location: En España
I don't need to, i have the m2ts file but it comes out out-of-sync when i process it.

I couldn't be arsed, i just deleted it and will wait for a proper rip instead of this avchd shit

_________________
Mouse nipple for the win! Trackpoint or death!
Image


Top
 Profile  
PostPosted: Sun Jan 16, 2011 7:25 pm  Post subject: Re: Convert crappy AVCHD to mkv: audio/video sync issues
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19625
Location: En España
Tired the exact same approach on a rip of beetlejuice and it worked fine; so I'm guessing it was some n00b ps3 rip for invasion of the body snatchers.

Which this avchd crap would just f*ck off and die already! :lol:

_________________
Mouse nipple for the win! Trackpoint or death!
Image


Top
 Profile  
PostPosted: Mon Jan 17, 2011 1:25 am  Post subject: Re: Convert crappy AVCHD to mkv: audio/video sync issues
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19625
Location: En España
spudthedestroyer wrote:
Tired the exact same approach on a rip of beetlejuice and it worked fine; so I'm guessing it was some n00b ps3 rip for invasion of the body snatchers.

Which this avchd crap would just f*ck off and die already! :lol:


and now on a copy of The Colour of Magic:
Code:
jbriggs@jbriggs-media:~/Downloads/complete/Movies/The_Color_Of_Magic_2008_1080P_VC-1_DTS-HD_MA_5.1-CHDBits.par2/The Color Of Magic 2008 1080P VC-1 DTS-HD MA 5.1-CHDBits/BDMV/STREAM$ ls -al
total 46463624
drwxr-xr-x  2 jbriggs jbriggs        4096 2011-01-16 23:46 .
drwxr-xr-x 10 jbriggs jbriggs        4096 2010-07-10 11:05 ..
-rw-r--r--  1 jbriggs jbriggs 23030267904 2010-07-10 16:18 00000.m2ts
-rw-r--r--  1 jbriggs jbriggs    20631552 2010-07-10 16:13 00001.m2ts
-rw-r--r--  1 jbriggs jbriggs     4601856 2010-07-10 14:59 00002.m2ts
-rw-r--r--  1 jbriggs jbriggs   187011072 2010-07-10 16:17 00004.m2ts
-rw-r--r--  1 jbriggs jbriggs   166957056 2010-07-10 16:17 00005.m2ts
-rw-r--r--  1 jbriggs jbriggs   155455488 2010-07-10 16:16 00007.m2ts
-rw-r--r--  1 jbriggs jbriggs   155455488 2010-07-10 16:17 00008.m2ts
-rw-r--r--  1 jbriggs jbriggs     7974912 2010-07-10 16:00 00009.m2ts
-rw-r--r--  1 jbriggs jbriggs     2414592 2010-07-10 13:28 00010.m2ts
-rw-r--r--  1 jbriggs jbriggs     2420736 2010-07-10 13:28 00011.m2ts
-rw-r--r--  1 jbriggs jbriggs     2414592 2010-07-10 13:28 00012.m2ts
-rw-r--r--  1 jbriggs jbriggs    84449280 2010-07-10 16:17 00013.m2ts
-rw-r--r--  1 jbriggs jbriggs    81850368 2010-07-10 16:17 00014.m2ts
-rw-r--r--  1 jbriggs jbriggs    68591616 2010-07-10 16:10 00021.m2ts
-rw-r--r--  1 jbriggs jbriggs   593479680 2010-07-10 16:18 00023.m2ts
-rw-r--r--  1 jbriggs jbriggs   854323200 2010-07-10 16:17 00024.m2ts
-rw-r--r--  1 jbriggs jbriggs   445556736 2010-07-10 16:17 00025.m2ts
-rw-r--r--  1 jbriggs jbriggs   117381120 2010-07-10 11:09 00053.m2ts
-rw-r--r--  1 jbriggs jbriggs 21579098112 2010-07-10 16:18 00054.m2ts
-rw-r--r--  1 jbriggs jbriggs     5775360 2010-07-10 15:41 00055.m2ts
-rw-r--r--  1 jbriggs jbriggs     6395904 2010-07-10 13:22 00056.m2ts
-rw-r--r--  1 jbriggs jbriggs     6187008 2010-07-10 15:41 00057.m2ts
jbriggs@jbriggs-media:~/Downloads/complete/Movies/The_Color_Of_Magic_2008_1080P_VC-1_DTS-HD_MA_5.1-CHDBits.par2/The Color Of Magic 2008 1080P VC-1 DTS-HD MA 5.1-CHDBits/BDMV/STREAM$ tsMuxerGUI 00001.m2ts
jbriggs@jbriggs-media:~/Downloads/complete/Movies/The_Color_Of_Magic_2008_1080P_VC-1_DTS-HD_MA_5.1-CHDBits.par2/The Color Of Magic 2008 1080P VC-1 DTS-HD MA 5.1-CHDBits/BDMV/STREAM$ tsMuxerGUI 00001.m2ts


In the GUI *yuck* I unselected the primary audio (german), and all of the subs, then selected demux. Muxing was simple:
Code:
mkvmerge -o The.Colour.of.Magic.Part.I.2008.1080p.VC1-RECODE.mkv part1/.track_4113.vc1 part1/.track_4353.dts
mkvmerge -o The.Colour.of.Magic.Part.II.2008.1080p.VC1-RECODE.mkv part2/.track_4113.vc1 part2/.track_4353.dts


Only problem is hardcoded german subs... damn it.

_________________
Mouse nipple for the win! Trackpoint or death!
Image


Top
 Profile  
PostPosted: Mon Jan 17, 2011 2:46 pm  Post subject: Re: Convert crappy AVCHD to mkv: audio/video sync issues
User avatar
Offline

The Ancient One
Joined: Thu Feb 13, 2003 6:07 pm
Posts: 4463
Location: The Cellar
there is alot of noobs out there... fuck i wasted 4 weeks on a 11gb file that should be 1080p, it was 500p something.. that wasnt the worst, the screensize was fucked up. it was impossible to get it widescreen without streaching the picture or if you did a zoom you lost half of the screen. on normal it was big black borders all around with the picture in the middle, no it wasnt 4:3. but something strange inbetween 4:3 and 16:9.. the idiot should be shot!... i wish all format should be mkv with video file, ac3 sound and only eng subtitles if needed...

another thing i have discovered with tsmuxer it cant handle chapters... it always fuck it up so no pictures if you remove chapters... tsmuxer is a disaster..

_________________
Image
STR - Dead but not forgotten!


Top
 Profile  
PostPosted: Tue Jan 18, 2011 10:23 pm  Post subject: Re: Convert crappy AVCHD to mkv: audio/video sync issues
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19625
Location: En España
I'm not bothered about the size but i am about the formats; like its invasion of the body snatchers!!! Come on, its a good film, where is the 1080p?

_________________
Mouse nipple for the win! Trackpoint or death!
Image


Top
 Profile  
PostPosted: Tue Jan 18, 2011 11:15 pm  Post subject: Re: Convert crappy AVCHD to mkv: audio/video sync issues
User avatar
Offline

Will Tear Your Soul Apart
Joined: Sun Nov 19, 2006 2:59 pm
Posts: 627
spudthedestroyer wrote:
I'm not bothered about the size but i am about the formats; like its invasion of the body snatchers!!! Come on, its a good film, where is the 1080p?



here they have a 1080p :outsider: :outsider: you need a invite i don´t have none :moon:

donwload a shitbuster rip is the best thing you can do :rock:


Top
 Profile  
PostPosted: Fri Jan 21, 2011 8:36 pm  Post subject: Re: Convert crappy AVCHD to mkv: audio/video sync issues
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19625
Location: En España
Somebody just posted a 1080p mkv on news, will post that.

If someone anonymously helped me out, awesome!

_________________
Mouse nipple for the win! Trackpoint or death!
Image


Top
 Profile  
Display posts from previous:  Sort by  

All times are UTC [ DST ]

Post new topic Reply to topic  [ 18 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


Moderator: Help Mods

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Frontpage / Forums / Scifi


What's blood for, if not for shedding?