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
Adding Delay to EAC3 Track
#1
Hi All,

Having a bit of a nightmare. 

I've got an EAC3 track from a HDTV recording and it needs a few seconds adding to the start of it to make it in sync with the video. I've successfully managed to do this with eac3to.exe using "eac3to.exe input.eac3 output.eac3 +xxxms". The problem I've just discovered is on playback those extra seconds have a very loud buzzing sound on all channels. 

I can convert to the EAC3 to wavs, either add the silence to the original version or silence out the buzz in audacity fine, but I can't find any way of converting it back to EAC3, eac3to.exe says the conversion of wav to eac3 cannot be done. 

I could convert the wavs to DTSHD but I am very tight on disc space for this project and DTS HD is massive compared to eac3. 

Anyone have any suggestions? 

Thanks
Reply
Thanks given by:
#2
Audacity can re-export as AC3, all you have to do is put in audacity the ac3 plugin.
Reply
Thanks given by: alleycat
#3
(2019-10-18, 10:01 AM)Stamper Wrote: Audacity can re-export as AC3, all you have to do is put in audacity the ac3 plugin.

I don't think it can export as EAC3 though only AC3, and from what I understand that will result in a quality drop?
Reply
Thanks given by:
#4
Ok I figured it out using FFMPEG. The code is:

ffmpeg -i input.eac3 -af "volume=enable='between(t,0,06.141)':volume=0" -b:a 640k output.eac3

This produces an identical eac3 file that has 0 to 06.141 seconds muted so it removes the buzz. I guess I could have used this to add the delay instead of eac3to.exe and would perhaps have never had the buzz in the first place but at least it's fixed.
Reply
Thanks given by:
#5
The best would still be to find a method to do this without reencoding, as lossy to lossy encoding always results in quality loss and should be avoided.

Have you tried delaycut? Also, you could try creating a silent eac3 file of the correct length and then losslessly joining it with the file you have.
Reply
Thanks given by: alleycat
#6
Delaycut adds a buzz the same way as eac3to did unfortunately. I was able to create silence but was struggling to find something that could merge the two files together as EAC3.

The only thing is, doing what I did ffmpeg only took a few seconds, so I wonder is it actually re encoding it all? I don't have a slow computer but I imagine re-encoding the entire file would take more than a few seconds?
Reply
Thanks given by:
#7
If you've created a silent eac3 file, you can just use something like "simple file joiner" to combine the two eac3 files. there's no file header on eac3 or ac3 tracks that might prevent simple file concatenation from working.
Reply
Thanks given by: alleycat
#8
Thumbs Up 
(2019-10-18, 06:54 PM)schorman Wrote: If you've created a silent eac3 file, you can just use something like "simple file joiner" to combine the two eac3 files.  there's no file header on eac3 or ac3 tracks that might prevent simple file concatenation from working.

Schorman - give yourself a gold star! Thanks I didn't even think about something like a simple file joiner, I thought I would need some kind of audio editing tool. 

Created the silence using:

ffmpeg -f lavfi -i "anullsrc=channel_layout="5.1(side)"Confusedample_rate=48000" -to 03.264 -b:a 640k "silence.eac3"

Then joined and it works fine.
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Help] How to apply delay to a whole video file, not just the video or audio streams? Red41804 7 2,153 2024-02-12, 11:03 AM
Last Post: Hitcher
  [Help] Adding Grain - Suggestions? Nick_M 4 2,888 2022-08-04, 09:07 AM
Last Post: Bilbofett
  [Help] Audio Delay - What does what bendermac 1 1,639 2021-12-10, 12:37 PM
Last Post: resolution
  "This track is not clean"? spaceboy710 5 3,215 2020-08-26, 05:49 PM
Last Post: zoidberg
  [Help] isolated music track: replace silence with movie track? spoRv 22 15,917 2020-08-22, 04:34 PM
Last Post: alexp120
  AVISynth AutoOverlay frame delay Mediahead 6 3,916 2020-05-29, 12:45 AM
Last Post: Mediahead
  [Help] Editing Atmos track allldu 2 2,805 2020-05-20, 09:08 PM
Last Post: allldu
  Does edit a DD 2.0 Surround track remove the surround? Falcon 15 14,062 2019-01-20, 05:20 PM
Last Post: zoidberg

Forum Jump:


Users browsing this thread: 1 Guest(s)