Comments

phil-d wrote on 11/15/2017, 6:00 AM

Hi

In the wiki article it says "The last patent covering AC-3 expired March 20, 2017, so nowadays this audio codec is free to use.[36]" Source https://en.wikipedia.org/wiki/Dolby_Digital

The https://github.com/wieslawsoltes/wavtoac3encoder encoder works well.

Regards

Phil

set wrote on 11/15/2017, 6:50 AM

I heard the Wav to AC3 encoder can't work for long large WAV file..., correct me if I'm wrong...

Well, I'm happy to know if now has been updated to work..., but I heard this was one of the issue.

Setiawan Kartawidjaja
Bandung, West Java, Indonesia (UTC+7 Time Area)

Personal FB | Personal IG | Personal YT Channel
Chungs Video FB | Chungs Video IG | Chungs Video YT Channel
Personal Portfolios YouTube Playlist
Pond5 page: My Stock Footage of Bandung city

 

System 5-2021:
Processor: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz   2.90 GHz
Video Card1: Intel UHD Graphics 630 (Driver 31.0.101.2127 (Feb 1 2024 Release date))
Video Card2: NVIDIA GeForce RTX 3060 Ti 8GB GDDR6 (Driver Version 551.23 Studio Driver (Jan 24 2024 Release Date))
RAM: 32.0 GB
OS: Windows 10 Pro Version 22H2 OS Build 19045.3693
Drive OS: SSD 240GB
Drive Working: NVMe 1TB
Drive Storage: 4TB+2TB

 

System 2-2018:
ASUS ROG Strix Hero II GL504GM Gaming Laptop
Processor: Intel(R) Core(TM) i7 8750H CPU @2.20GHz 2.21 GHz
Video Card 1: Intel(R) UHD Graphics 630 (Driver 31.0.101.2111)
Video Card 2: NVIDIA GeForce GTX 1060 6GB GDDR5 VRAM (Driver Version 537.58)
RAM: 16GB
OS: Win11 Home 64-bit Version 22H2 OS Build 22621.2428
Storage: M.2 NVMe PCIe 256GB SSD & 2.5" 5400rpm 1TB SSHD

 

* I don't work for VEGAS Creative Software Team. I'm just Voluntary Moderator in this forum.

dpaterson wrote on 11/15/2017, 7:06 AM

Hello.

Hey phil-d:

Have you forwarded that link to Magix??? LOL!!!

set:

I think that may have come from something I posted somewhere else around here. It's not the WAV to AC3 Encoder that has an issue but rather a size limitation on Microsoft WAV files themselves. This was the reason that Sony introduced WAV64 files. I cannot for the life of me remember if I tried Sony WAV64 files with the encoder. Will test and post though.

Regards,

Dale.

fr0sty wrote on 11/15/2017, 3:02 PM

fr0sty:

I just took a look at that encoder. When was the last time you checked the price??? So far as I can tell it costs a whole BUNCH more than $600. But it's got all updated and current stuff so it may be worth it if that's the mind of functionality that is needed I guess. As I've noted previously though: this does work perfectly:

https://github.com/wieslawsoltes/wavtoac3encoder/releases

Not only does DVDA NOT need to recode the rendered streams but it actually has some additional options (that the Dolby Pro encoder did not have). What's more: it recognizes WAV 5.1 files and renders them to AC3 if required. It is standalone software though i.e. it does not run as a VST.

In hindsight though I do not know what possessed me to buy VP14 and then VP15 and only THEN VP13 (long story). VP13 works just fine. And, in addition, and to make matters worse, because I'm buying the suites: each and every new version of the additional plugins (NewBlue, Boris, etc.) interfere with the previous versions activations and registrations. Thank goodness support for those products is (more than) helpful.

Regards,

Dale.

This is what I was referring to:

http://www.minnetonkaaudio.com/index.php?option=com_content&view=article&id=51&Itemid=80&lang=en

 

It's an OLD program, I was using it back in 2003. It doesn't work with Windows 10, making it useless to me, but it did DD 5.1 pretty well way back then. It allowed me to start experimenting with surround mixes of the bands I was filming back then.

I'll check out that software you linked to.

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

wieslawsoltes wrote on 11/17/2017, 3:33 AM

I heard the Wav to AC3 encoder can't work for long large WAV file..., correct me if I'm wrong...

Well, I'm happy to know if now has been updated to work..., but I heard this was one of the issue.

Author here.

Yes it does support large WAV files.

In "Input options" set "Read input WAVE audio data until the end-of-file" to "Read data until end-of-file"

dpaterson wrote on 11/17/2017, 5:01 AM

The Author??? That's interesting. Thanks for posting.

The ONLY thing missing is the 90 Degree Phase Shift Option (which essentially ensures that DVDA previews the AC3 files correctly). But for this not being present: your software is probably far superior to the Dolby Pro encoder (that we no longer have of course) anyway i.e. way more options.

Regards,

Dale.

wieslawsoltes wrote on 11/17/2017, 5:22 AM

The Author??? That's interesting. Thanks for posting.

Yes I am author of wavtoac3encoder GUI program (not the Aften encoder which I use for encoding).

The ONLY thing missing is the 90 Degree Phase Shift Option (which essentially ensures that DVDA previews the AC3 files correctly). But for this not being present: your software is probably far superior to the Dolby Pro encoder (that we no longer have of course) anyway i.e. way more options.

Can you use for this "Preferred stereo downmix mode" set to "Lt/Rt downmix preferred" or "Lo/Ro downmix preferred"?

The Aften encoder has lot of options, see the tooltip helps or see this help file for detailed explanation: https://raw.githubusercontent.com/wieslawsoltes/wavtoac3encoder/master/src/aften/windows/help/help_long_aften.txt

Please note that I am not AC3 expert, I make GUI frontends :)

dpaterson wrote on 11/17/2017, 5:42 AM

Hello.

Wow. That was quick. I wish MAGIX support ... LOL!!!

Thanks for the reply. I'm no expert either believe me.

I have not played around with those options but will surely do. This being said: I don't think they shift the phase.which is different to mixdown to two channels But then again: this really only appears to affect the DVDA preview i.e. as far as I'm aware the files render out fine from DVDA. Basically it just means in DVDA that you don't have "what you hear is what you get (WYHIWYG)" when previewing.

Thanks for the link too.

And thanks for responding. A pleasure making your acquaintance.

Regards,

Dale.

set wrote on 11/17/2017, 8:08 AM

Wow @wieslawsoltes, nice to meet you here and thank you for the assistance! I haven't tried experiment your workflow, but if other have tried by following his suggestion, please let us know.

Setiawan Kartawidjaja
Bandung, West Java, Indonesia (UTC+7 Time Area)

Personal FB | Personal IG | Personal YT Channel
Chungs Video FB | Chungs Video IG | Chungs Video YT Channel
Personal Portfolios YouTube Playlist
Pond5 page: My Stock Footage of Bandung city

 

System 5-2021:
Processor: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz   2.90 GHz
Video Card1: Intel UHD Graphics 630 (Driver 31.0.101.2127 (Feb 1 2024 Release date))
Video Card2: NVIDIA GeForce RTX 3060 Ti 8GB GDDR6 (Driver Version 551.23 Studio Driver (Jan 24 2024 Release Date))
RAM: 32.0 GB
OS: Windows 10 Pro Version 22H2 OS Build 19045.3693
Drive OS: SSD 240GB
Drive Working: NVMe 1TB
Drive Storage: 4TB+2TB

 

System 2-2018:
ASUS ROG Strix Hero II GL504GM Gaming Laptop
Processor: Intel(R) Core(TM) i7 8750H CPU @2.20GHz 2.21 GHz
Video Card 1: Intel(R) UHD Graphics 630 (Driver 31.0.101.2111)
Video Card 2: NVIDIA GeForce GTX 1060 6GB GDDR5 VRAM (Driver Version 537.58)
RAM: 16GB
OS: Win11 Home 64-bit Version 22H2 OS Build 22621.2428
Storage: M.2 NVMe PCIe 256GB SSD & 2.5" 5400rpm 1TB SSHD

 

* I don't work for VEGAS Creative Software Team. I'm just Voluntary Moderator in this forum.

phil-d wrote on 11/18/2017, 3:33 AM

Hi

To help others my work flow to get 640Kps Dolby audio is to:

  1. Render out the project with default audio settings, this gets the AVC video stream, the audio will just be discarded later.
  2. Next, in Vegas with the 5.1 audio, render out a Microsoft Wave file, I choose '48,000Hz, 24 Bit, Stereo PCM' as that best matches the Dolby audio, then select Customize Template... under channels change this to 5.1 Surround. Render out the audio.
  3. Start WAV to AC3 encoder, drag the wave file into the File Path box or use Add files... and browse to it. Top right turn the slider upto the maximum to get 640kbps or other bitrate as required, and make any other option settings. Render out the AC3 file.
  4. We now have the AC3 file, this may be okay as a seperate file, however if it is required as one file, it needs to be muxed together with the video.

I do this using TMPGenc Video Mastering 6 (under Advanced tools), you might be able to use the trial version to have a go, or search for tsMuxeR which is a free tool, plus there are others out there. Typically you pick both the video and the audio files, where the video file will also contain the original 2 channel AAC audio, and just pick to mux the video from one and the Dolby AC3 file together. Job done.

Incidentally Video Mastering is great for encoding and supports QuickSync or X264/X265, and has advanced options allowing setting the colour space and colour range, with access to a lot of settings we don't have in Vegas. It also has Dolby Digital encoding up to 640kps unlike Vegas. It makes Vegas rendering options look like a toy in comparison!

Regards

Phil

dpaterson wrote on 11/18/2017, 5:59 AM

Hey phil-d.

Thank you very much for this. Much appreciated (by all I expect).

Thanks again.

Regards,

Dale.

JesusSheep wrote on 1/8/2018, 4:57 PM

Vp 14 I have to buy V Pro 13 to get that to work.

colin-anderson wrote on 2/24/2018, 10:17 AM

Hi

To help others my work flow to get 640Kps Dolby audio is to:

  1. Render out the project with default audio settings, this gets the AVC video stream, the audio will just be discarded later.
  2. Next, in Vegas with the 5.1 audio, render out a Microsoft Wave file, I choose '48,000Hz, 24 Bit, Stereo PCM' as that best matches the Dolby audio, then select Customize Template... under channels change this to 5.1 Surround. Render out the audio.
  3. Start WAV to AC3 encoder, drag the wave file into the File Path box or use Add files... and browse to it. Top right turn the slider upto the maximum to get 640kbps or other bitrate as required, and make any other option settings. Render out the AC3 file.
  4. We now have the AC3 file, this may be okay as a seperate file, however if it is required as one file, it needs to be muxed together with the video.

I do this using TMPGenc Video Mastering 6 (under Advanced tools), you might be able to use the trial version to have a go, or search for tsMuxeR which is a free tool, plus there are others out there. Typically you pick both the video and the audio files, where the video file will also contain the original 2 channel AAC audio, and just pick to mux the video from one and the Dolby AC3 file together. Job done.

Incidentally Video Mastering is great for encoding and supports QuickSync or X264/X265, and has advanced options allowing setting the colour space and colour range, with access to a lot of settings we don't have in Vegas. It also has Dolby Digital encoding up to 640kps unlike Vegas. It makes Vegas rendering options look like a toy in comparison!

Regards

Phil


Hi, I'm giving this a try. Do I have to specify the number of channels and the bitrate or leave it at ignored? The helptip says that if the channels are not specified, the raw audio is treated as stereo. When I set anything other than ignored, the rendered ac3 file has no audio. I only get audio if I pick the Avisynth profile preset. The resulting ac3 file is audible and is also DVDA compliant. But how am I certain that it rendered in 5.1 surround sound? If DVDA sees it as 5.1 Surround. Is that good enough proof?

Tnank you.

Thanks for the help.

juancarlos-ramos wrote on 4/15/2018, 1:17 PM

alex-bar presented an alternative workaround here for enabling the VP13 AC-3 Pro encoder in later versions. It's a bit more elegant than the previous workaround and it leaves the AC-3 Studio encoder exposed as well as AC-3 Pro. Here's a step-by-step for VP15. For VP14 just change the number.

1. Copy the C:\Program Files\Sony\Vegas Pro 13.0\FileIO Plug-Ins\ac3plug\ folder to C:\Program Files\VEGAS\VEGAS Pro 15.0\FileIO Plug-Ins\ (if you have the Magix VP13 build 545 then the folder location may be different)

2. Copy C:\Program Files\VEGAS\VEGAS Pro 15.0\Release-x64.fio2007-config to your Documents folder or somewhere you have full write permissions.

3. Add a line to the top of the file in a text editor such as Notepad so it looks like this:

[FileIO Plug-Ins]
ac3plug=FileIO Plug-Ins\ac3plug\ac3plug.dll
ac3studioplug=FileIO Plug-Ins\ac3studioplug\ac3studioplug.dll
aifplug=FileIO Plug-Ins\aifplug\aifplug.dll
.....

4. Copy the edited Release-x64.fio2007-config back to C:\Program Files\VEGAS\VEGAS Pro 15.0, overwriting the original version.

Notes:

1. You need DVD Architect installed for either this or the old workaround to function.

2. The ac3plug folder from VP12 or earlier will not work (Vegas won't start).

3. In VP14 build 270 and VP15 this will work and the ac3 file will be rendered but you will get an error message like this:

Thanks I followed this method and it worked for me in vegas 15 build 321 and it render the ac3 perfectly with out the warning.

Ecquillii wrote on 8/26/2021, 2:05 PM

Is the alex-bar workaround still working for other people in VEGAS 19? After following the instructions, VEGAS stopped working for me. Is there an updated modification or something else that I might be missing?

After it failed, I restored the original Release-x64.fio2007-config file (leaving the new ac3plug folder in the FileIO Plug-Ins folder), and 19 started normally.

But strangely, a change to the AC-3 Pro template I made and saved in Vegas Pro 13 (one of the recommendations from back in the day: Stereo DVD Dialog -31dB, Line & RF Modes: None), appears in 19, but yields an error message if I try to render with it.

All help appreciated.

Desktop:ASUS M32CD

Version of Vegas: VEGAS Pro Version 20.0 (Build 370)
Windows Version: Windows 10 Home (x64) Version 21H2 (build 19044.2846)
Cameras: Canon T2i (MOV), Sony HDR-CX405 (MP4), Lumia 950XL, Samsung A8, Panasonic HC-V785 (MP4)
Delivery Destination: YouTube, USB Drive, DVD/BD

Processor: 3.40 gigahertz Intel Core i7-6700
RAM: 16 Gigabytes
Graphics Card 1: AMD Radeon R9 370; Driver Version: 15.200.1065.0
Graphics Card 2: Intel HD Graphics 530; Driver Version: 31.0.101.2111
GPU acceleration of video processing: Optimal - AMD Radeon R9 370
Enable Hardware Decoding for supported formats: 'Enable legacy AVC' is off; 'Enable legacy HEVC' is on
Hardware Decoder to Use: Auto (Off)