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. |
6th April 2009, 15:17 | #1 | Link |
Registered User
Join Date: May 2006
Posts: 4
|
.TS audio handling
Hi . I'm handling an unedited transport stream of an anime (MPEG-2 TS, 1440x1080, AAC 2.0ch VBR) which has commercials after the opening theme, at the middle of the episode and after the ending credits (but before the next episode preview). I created 4 D2V files (with DGIndex), but when demuxing the audio files, all 4 had different delay times, as in:
Segment 1: -325ms Segment 2: -389ms Segment 3: -32ms Segment 4: -220ms Video handling is not an issue because it's possible to join up those 4 segments in the AVS script, or I could demux the video of the files and then join the m2v files in DGIndex. My problem is that I've been looking for a tool that can fix the delays of the files and join them to create the complete audio track, and I haven't found one. I also tried to trim the TS file using TSMuxer, but even though I set the times right, it always gives me a minute less than needed. Maybe there's a better muxer/editing GUI for TS files that I don't know of. Perhaps someone with more expertise could help me ^_^. Thanks in advance. |
6th April 2009, 18:37 | #2 | Link |
Registered User
Join Date: Aug 2008
Posts: 64
|
Just create 1 d2v file and trim in the script like that (use Megui AVS Cutter):
Code:
DGDecode_mpeg2source("D:\video\kyounogononi\Kyou no Go 12 (D-TX).d2v") # tdeintted = TDeint(mode=2,type=1,mtnmode=3,tryWeave=true,slow=2) tfm(order=-1,clip2=tdeintted, pp=7).tdecimate(mode=1,hybrid=0,nt=1,denoise=true) # __film = last __t0 = __film.trim(22, 2418) __t1 = __film.trim(3858, 17811) __t2 = __film.trim(19970, 38022) __t0 ++ __t1 ++ __t2 # crop( 8, 8, -6, -6) # BlackmanResize(1280,720,taps=16) Last edited by Varies; 6th April 2009 at 18:40. |
7th April 2009, 00:56 | #3 | Link |
Registered User
Join Date: May 2006
Posts: 4
|
Thanks Varies ^^, AVS Cutter did the trick, and it was easy to work with.
But when using Audio Cutter, I load the cuts (.clt) file and name the output .aac, then queue the job, but when I try to run it, MeGUI says there's an error and it doesn't create the audio: Oh, I have BeSplit in the tools directory. My script so far (just in case is needed): Code:
MPEG2Source("Phantom HDTV 01 (D-TX 1080p MPEG-2 TS).d2v") __film = last __t0 = __film.trim(11, 6482) __t1 = __film.trim(8282, 22186) __t2 = __film.trim(24885, 46762) __t3 = __film.trim(48562, 49759) |
8th April 2009, 07:59 | #6 | Link |
Registered User
Join Date: May 2006
Posts: 4
|
Thank you, Varies ^_^. Small question, is the audio delay automatically fixed with audiocutter or is it still present?
As for the script, that's not the final script of course XD, it's my initial script with just the trims, just in case :P. I will IVTC and stuff, so don't worry . |
Tags |
.ts, audio |
Thread Tools | Search this Thread |
Display Modes | |
|
|