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. |
24th February 2004, 22:14 | #1 | Link |
Just a Member
Join Date: Nov 2002
Location: Spain
Posts: 2,067
|
ac3/dts/mpa/wav delay+cut tool: v1.2.1.0
Hi all,
I've written a tool able to manage dts and ac3 for: - cutting - delay correction - fix crc errors (only in ac3) May be someone finds it useful... [EDIT]: Deleted the links, not updated Web sites http://www.videohelp.com/~jsoto http://jsoto.posunplugged.com/ [/EDIT] Any bug report will be welcome jsoto Last edited by jsoto; 1st January 2006 at 20:41. |
25th February 2004, 03:04 | #2 | Link |
Registered User
Join Date: Jan 2003
Posts: 29
|
Cool. I record HDTV programming and there are often errors in the AC3 audio that I've had to run through ac3fix. But then the audio would get out of synch with the video. Would I be correct in hoping that using this tool, with the option to replace CRC errors with Silience, would keep the audio in synch with the video?
I am trying it now. What does the message "some basic parameters changed between frame #1 and this frame" mean? I get row after row of this message. |
25th February 2004, 13:47 | #7 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
|
Fab tool!
Just used it to create a 000ms AC3 clip from a -300ms AC3 clip. I then converted the AC3 stream to AAC stream prior to muxing with an XviD Mpeg4 video stream into an MP4 container! Everything was very nicely in sync! Over the past few weeks I've been experimenting with converting Mpeg2/AC3 .TS HiDef TV captures to anamorphic Mpeg4/AAC .MP4 and this tool looks like it can do the business! However, you may not be aware that a lot of HiDef TV broadcasts in Japan use AAC audio (not AC3). And, when the AAC audio stream is demuxed from the Mpeg2 video stream the AAC stream becomes delayed.... So it would really be great if your tool could fix the delay in AAC audio streams too! Cheers and many thanks
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
25th February 2004, 20:13 | #9 | Link |
Registered User
Join Date: Apr 2002
Posts: 88
|
@SeeMoreDigital
are you sure that your cutted track came out at 0ms? afaik ac3 has fixed frame duration of 32ms, which would result in an offset of 12ms, which is virtually a zero-delay due to the frame duration of 40ms (pal). i am if i remember right, but didnt besplit allready cut dts and aac, too? maybe its worth a try (again...). |
25th February 2004, 20:56 | #10 | Link | |||
Just a Member
Join Date: Nov 2002
Location: Spain
Posts: 2,067
|
Too much interest for this little prog (I found the reason, it was mentioned in doom9 news...)
Well, some clarifications: - I've written this tool just to be able to cut dts tracks. The rest of features are already supported by freeware (ac3 delay corrector, BeSweet). I didn't know besplit was able to cut dts... - This is a simple tool, which only manages frames. @patja Quote:
Target file calculations are done using framelength (taken from the first frame) so if there is a major change on this, probably the output file will be unuseful. Quote:
@imel6 multiple cuts at once: You can use CLI support. Seeking is fast. cut by frame: I'll look into it, but I'm now busy in other stuff.. @irulat Quote:
jsoto Last edited by jsoto; 25th February 2004 at 20:59. |
|||
26th February 2004, 10:03 | #12 | Link | |
Registered User
Join Date: Sep 2002
Posts: 15
|
@jsoto
Quote:
Last edited by irulat; 26th February 2004 at 10:06. |
|
26th February 2004, 21:08 | #13 | Link | |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
|
Quote:
Anyway, speaking as a total beginner to this sort of application. Do you have any tips on how I can convert an AC3 file with -504ms delay to 000ms? Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
|
27th February 2004, 18:24 | #14 | Link | ||
Just a Member
Join Date: Nov 2002
Location: Spain
Posts: 2,067
|
@xixi2000
Quote:
@SeeMoreDigital Quote:
For an exact delay correction you will need to reencode, which, IMHO, is a worse solution in terms of quality. BTW, delay can also be corrected in a loseless way during DVD authoring (if this is final destination of the ac3 file). jsoto |
||
2nd March 2004, 05:48 | #15 | Link |
Wewkiee
Join Date: Feb 2002
Location: kashyyyk
Posts: 2,269
|
Your app has a hard time with files fixed with the old ac3 delay corrector. It isnt able to detect the ac3/dts settings and therefor wont process the file. It does fine with files that ac3 corrector makes no correction on (ie you create a 'fix' file but without setting a delay) but with a delay , delaycut doesnt read it. the format might be slightly off after the delay, but everything else (scenarist, ac3 correcter itself, dvd lab etc) has no problem with the file. Just wondering if you can take a look at adding something so it can handle these files.
Thanx for the great app, btw.
__________________
...yeah...but...why on earth would I compare apples with apples? |
3rd March 2004, 20:20 | #17 | Link |
Wewkiee
Join Date: Feb 2002
Location: kashyyyk
Posts: 2,269
|
2.1.b.1
so far.. if i take an ac3.. and with 2.1.b.1 i set -212ms delay (made up a number for the example).. then i load that file into delaycut. delay cut will not pull any info about the ac3/dts and there for will fail to process the file now if i take the new ac3 that 2.1.b.1 delay corrected, and run it through 2.1.b.1 again but with 0 delay (so essentially it just rewrites the file with a new name) .. the new file loads into delaycut fine.. shows all ac3 info and will perform any requested operations it does it on every file ive tried it on that 2.1.b.1 has delay fixed. shows this message Code:
====== INPUT FILE INFO ======================== File is unknown ============================================= ====== TARGET FILE INFO ====================== ============================================= example Code:
====== INPUT FILE INFO ======================== File is ac3 Bitrate (kbit/s) 192 Act rate (kbit/s) 192.000 File size (bytes) 139385088 Channels mode 1/0: C Low Frec Effects LFE: Not present Duration 01:36:47.712 Frame length (ms) 32.000000 Frames/second 31.250000 Num of frames 181491 Bytes per Frame 768 Size % Framesize 0 CRC present: YES ============================================= ====== TARGET FILE INFO ====================== Start Frame 0 End Frame 181490 Num of Frames 181491 Duration 01:36:47.712 NotFixedDelay 0.0000 =============================================
__________________
...yeah...but...why on earth would I compare apples with apples? |
4th March 2004, 01:32 | #19 | Link |
Wewkiee
Join Date: Feb 2002
Location: kashyyyk
Posts: 2,269
|
that just happened to be one i picked.. same thing happens with DTS or 5.1 ac3
also the version i use is the one that is included with doitfast4u.. i dont know if its been altered at all.. i dont thing so.. but if you may want to use that version if your not already .. thanx
__________________
...yeah...but...why on earth would I compare apples with apples? Last edited by Trahald; 4th March 2004 at 01:52. |
|
|