Hello guest, if you like this forum, why don't you register? https://fanrestore.com/member.php?action=register (December 14, 2021) x


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cutting middle of AC3 losslessly
#1
Hi all,

I'm trying to sync a DVD track to a webrip. The DVD contains three extra frames during once scene in the middle of the movie, what's the best way to cut the audio? 

I've tried Womble, which can usually do it losslessly but for some reason, even if I select a reference for the audio and match it, it still insists on re-encoding the entire audio file. 

I've also tried delaycut, but can only see the options of cutting the file at the beginning or end, not the middle. I'm using the latest version - do I have to make two files with delay cut (one before the cut and one after the cut) and then join them? 

Finally there is eac3to, however same problem, I'm fine with cutting the beginning and end of files, but can't see any way in the help guide to cut out the middle. 

I'm sure it's simple and I'm just having a moment!

Thanks
Reply
Thanks given by:
#2
Idk if there's a better way but yeah, I'd do it by doing two cuts. Beginning, and end, and join.
Reply
Thanks given by:
#3
eac3to can definitely remove or loop audio within a track losslessly (ie no transcoding) using the -edit command. Obviously the frames of AC-3 are larger than other formats (32ms) so you will have to do some detective work to make sure you get the edit point and duration bang on
Reply
Thanks given by:
#4
Aye, split it, chop it, join it back together again. This is what I was doing with stuff like Near Dark DVD audio. You can literally just concat the bits back together at the end if you want, since there's no global header, just the frame headers. Just make sure you're converting back and forth accurately, as @zoidberg says. 48 kHz DVD AC-3 is 1536 samples per frame so 1536/48000 = 0.032 sec => 32 ms.

You can, in fact, do the entire thing in a hex editor, if you're a masochist. (*Waves* hi)
Reply
Thanks given by:
#5
Doing two cuts works.
Reply
Thanks given by:
#6
Sorry for the delay everyone, thanks to all who replied I did the two cuts and join option, all works fine. Cheers
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Help] Video not cutting to exact timestamps in AviDemux Red41804 5 759 2024-10-24, 12:52 PM
Last Post: SHM
  How do I losslessly edit TrueHD 5.1? Warm Gun 2 2,105 2022-06-12, 05:13 AM
Last Post: Booshman
  Remap AC3 channels losslessly? alleycat 2 2,373 2021-10-23, 11:29 PM
Last Post: alleycat

Forum Jump:


Users browsing this thread: 1 Guest(s)