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 > General > DVD2AVI / DGIndex

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th April 2009, 15:17   #1  |  Link
Shido_Tatsuhiko
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.
Shido_Tatsuhiko is offline   Reply With Quote
Old 6th April 2009, 18:37   #2  |  Link
Varies
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)
I like anime too

Last edited by Varies; 6th April 2009 at 18:40.
Varies is offline   Reply With Quote
Old 7th April 2009, 00:56   #3  |  Link
Shido_Tatsuhiko
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)
Shido_Tatsuhiko is offline   Reply With Quote
Old 7th April 2009, 01:00   #4  |  Link
Inspector.Gadget
Registered User
 
Join Date: May 2008
Posts: 1,618
Edit: Nevermind.
Inspector.Gadget is offline   Reply With Quote
Old 8th April 2009, 06:32   #5  |  Link
Varies
Registered User
 
Join Date: Aug 2008
Posts: 64
^ ^
Ofcourse you must tweak megui option

and your script wants correction
I think, normal suit of functions is
Code:
Source
Deinderlace
Trim
crop
resize
sharp
denoise
color and bright correction
Varies is offline   Reply With Quote
Old 8th April 2009, 07:59   #6  |  Link
Shido_Tatsuhiko
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 .
Shido_Tatsuhiko is offline   Reply With Quote
Old 8th April 2009, 11:01   #7  |  Link
Varies
Registered User
 
Join Date: Aug 2008
Posts: 64
Quote:
Small question, is the audio delay automatically fixed with audiocutter or is it still present?
I think yes As usual i just cut audio and mux into mkv or mp4
Varies is offline   Reply With Quote
Old 8th April 2009, 14:39   #8  |  Link
Shido_Tatsuhiko
Registered User
 
Join Date: May 2006
Posts: 4
Ok, I'll tag it so that mkvmergeGUI will recognise its delay . Thanks a lot!!! .
Shido_Tatsuhiko is offline   Reply With Quote
Reply

Tags
.ts, audio

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 00:23.


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