User User name Password  
   
Saturday 25.1.2025 / 13:50
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > archived forums > divx / xvid > cutting stuff out of an avi with ac3 audio produces sharp loud squeal
Show topics
 
Forums
Forums
Cutting stuff out of an avi with AC3 audio produces sharp loud squeal
  Jump to:
 
Posted Message
agg
Newbie
_
8. March 2005 @ 22:03 _ Link to this message    Send private message to this user   
I am writing a response to the following (very old) thread:
http://forums.afterdawn.com/thread_view.cfm/56167
Quote:
Hi,

I've been trying to edit a certain avi clip that has AC3 audio in it. I've been editing it in VirtualDubMod and VirtualDub, and when I cut something out and then view the result, it has a nasty sharp sounding screech come in right about where I made the cut.

Any ideas?
Thanks!
The basic problem here is that I was trying to merge an AVI with AC3 audio, that was split into two halves. For the life of me, I could not combine them into one AVI without generating terrible artifacts in the audio. A fix was suggested in the forum, but it did not work for me. After struggling with this problem for several hours, I finally found my own solution. (Note that my solution will only work if the file was in one piece to begin with.)

1. Using VirtualDub-MPEG2 1.5.10, set the video processing mode to Direct stream copy. Make sure to cut on a keyframe. (Any version of VirtualDub should work fine, except for VirtualDubMod. VirtualDubMod does not have an important audio interleave setting that we'll get to in the next step.)

2. Here's the meat of the deal. Before you trim the two halves of the file, make sure to set this option. In VirtualDub, go to Audio | Interleaving. The default is to preload 500ms of audio before video starts. That's bad for merging AC3 audio. Change it to 0ms. While you're at it, set Interleave to every 1 frame and Delay/Skew to 0ms.

3. Save each half of the video to new files. Make sure you're got the frames exactly aligned. The file I was working with had several seconds of overlap at the beginning of the second half, and I had to experiment a little to make sure I wasn't skipping or duplicating frames. Basically, I trimmed the end of the first half and/or the beginning of the second half so that there was no overlap at all... I'm all set up now to Append the second half and it'll be perfect.

4. Open the newly-saved first half. Use File | Append AVI segment to add on the second half.

5. Change the Interleave setting back to 500ms preload. Now save the merged AVI.

When I did this, the resulting AVI worked perfectly. No more glitches in the audio. Hopefully y'all can benefit from the agonizing trial-and-error I went through before finding this solution.

-Steve
The_OGS
Senior Member
_
9. March 2005 @ 07:22 _ Link to this message    Send private message to this user   
Thanks Steve :-)
Yes it is a tricky business.
I use NanDub for anything to do with VBR or AC3 audio, it is the best but is more challenging to find standalone...
If you download GordianKnot
http://www.afterdawn.com/software/video_software/video_encoders/gordian_knot.cfm
It contains NanDub.
Regards

ABit AB9 Pro
Intel Core 2 Duo E6420 @ 2.4GHz
2GB OCZ PC2-6400 Platinum XTC R2
ATI Radeon X1900XT 512MB
Enermax Liberty 620W
320GB/16MB WD, 150GB/16MB Raptor
Plextor PX-755SA DVD (SATA)
Related links
Download the latest AC3 Filter from here. It's 100% freeware and you need it in order to play 5.1 DivX movies!
 
Related forum topics Posts Last post Forum room
how to convert 2 channel ac3 to 6 channel 1 8. June 2014 Audio
Converting a Danish DTS audio format to AC3 6 30. April 2014 Audio
DTS to AC3 5.1 10 18. October 2012 Convert DVD to another format
Getting AC3 to play in WMP 12 15. September 2012 Windows - Software discussion
Trying to properly watch a AC3 Dolby Digital, 5.1 film using 2.1 speakers 1 18. June 2012 Video playback problems
m2ts to x264+AC3 7 13. May 2012 Convert video to another format
convert AVCHD with TrueHD/AC3 for portable devices 1 8. May 2012 Convert video to another format
TS with ac3, 5.1 on the ps3 with real 5.1? 1 16. January 2012 PS3 - Modding & Hacking
Help Applying Dynamic Range Compression to AC3 File 1 14. September 2011 Audio
avi with ac3 2 22. August 2011 Video - Everything else

 
afterdawn.com > forums > archived forums > divx / xvid > cutting stuff out of an avi with ac3 audio produces sharp loud squeal
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork