Comments

Wolfgang S. wrote on 9/27/2016, 3:46 AM
The above only apply for MPGE-2 rendering though. Having tested this in DVDA7, the ac3 audio rendered using VP14 encoder is not compliant and need reencoding

AC3 audio rendered with ac3 pro in VP13 or ffmpeg command line is compliant.

However for AVC video, it's written to use the AVCHD template.

Anyway, by removing AC3Pro from VP14, the user manual is not correct anymore...

The question is more to what format the DVDA7 will render the ac3studio stream. Because I think the AC3 Pro encoder in DVDA7 is gone too? (I cannot check it at the moment).

Desktop: PC AMD 3960X, 24x3,8 Mhz * GTX 3080 Ti (12 GB)* Blackmagic Extreme 4K 12G * QNAP Max8 10 Gb Lan * Blackmagic Pocket 6K/6K Pro, EVA1, FS7

Laptop: ProArt Studiobook 16 OLED (ProArt Studiobook 16 OLED (i9 12900H with i-GPU Iris XE, 32 GB Ram). Geforce RTX 3070 TI 8GB) with internal HDR preview on the laptop monitor. Blackmagic Ultrastudio 4K mini

HDR monitor: ProArt Monitor PA32 UCG, Atomos Sumo

Others: Edius NX (Canopus NX)-card in an old XP-System. Edius X. Resolve Studio 18

GJeffrey wrote on 9/27/2016, 4:26 AM

The question is more to what format the DVDA7 will render the ac3studio stream. Because I think the AC3 Pro encoder in DVDA7 is gone too? (I cannot check it at the moment).

The ac3pro folder is not in DVDA7.

I render an iso of the basic project I made this morning.

Here is the mediainfo of the 3 mts file created (file1: ac3 ffmpeg, file 2: ac3 pro VP13, file 3: AC3 studio VP14 reencoded by DVDA7)

I can't see any difference. Anybody knows how to check?

 

 

NickHope wrote on 9/27/2016, 4:31 AM

Here's an ffmpeg command line to render a WAV file as AC-3 at 192 kbps/48 kHz:

ffmpeg -i input.wav -c:a ac3 -b:a 192000 -ar 48000 output.ac3

As a custom command in Vegasaur's Smart Trim feature it is this:

-ss {start} -i "{input}" -c:a ac3 -b:a 192000 -ar 48000 -t {duration} "{output}[ac3]"

There may be further comand options to improve it but the result sounds the same as the original to me in VLC. DVDA 5.2 will accept it. I didn't try to build or render a DVD (can't remember how to do a quick test) so I don't know if DVDA would want to re-encode it or not but you can test my short sample file here.

NickHope wrote on 9/27/2016, 4:33 AM

This has me wondering if Altarvic could include a more direct "Render AC-3 for Disc" function in Vegasaur, that uses FFmpeg under the hood, if licensing allows.

Wolfgang S. wrote on 9/27/2016, 4:37 AM

The ac3pro folder is not in DVDA7.

But is there a ac3studio folder?

Desktop: PC AMD 3960X, 24x3,8 Mhz * GTX 3080 Ti (12 GB)* Blackmagic Extreme 4K 12G * QNAP Max8 10 Gb Lan * Blackmagic Pocket 6K/6K Pro, EVA1, FS7

Laptop: ProArt Studiobook 16 OLED (ProArt Studiobook 16 OLED (i9 12900H with i-GPU Iris XE, 32 GB Ram). Geforce RTX 3070 TI 8GB) with internal HDR preview on the laptop monitor. Blackmagic Ultrastudio 4K mini

HDR monitor: ProArt Monitor PA32 UCG, Atomos Sumo

Others: Edius NX (Canopus NX)-card in an old XP-System. Edius X. Resolve Studio 18

GJeffrey wrote on 9/27/2016, 4:39 AM

But is there a ac3studio folder?

Yes there is an ac3studio folder.

Wolfgang S. wrote on 9/27/2016, 4:41 AM

Then you could test the same trick as described here for Vegas maybe?

Desktop: PC AMD 3960X, 24x3,8 Mhz * GTX 3080 Ti (12 GB)* Blackmagic Extreme 4K 12G * QNAP Max8 10 Gb Lan * Blackmagic Pocket 6K/6K Pro, EVA1, FS7

Laptop: ProArt Studiobook 16 OLED (ProArt Studiobook 16 OLED (i9 12900H with i-GPU Iris XE, 32 GB Ram). Geforce RTX 3070 TI 8GB) with internal HDR preview on the laptop monitor. Blackmagic Ultrastudio 4K mini

HDR monitor: ProArt Monitor PA32 UCG, Atomos Sumo

Others: Edius NX (Canopus NX)-card in an old XP-System. Edius X. Resolve Studio 18

GJeffrey wrote on 9/27/2016, 4:48 AM

@ Nick

For simplicity sake I would use the following command (adding channel option to select stereo or 5.1 audio output and removing useless copy video stream)

-i input.wav -c:a ac3 -b:a 192k -channels 2 output.ac3

 

GJeffrey wrote on 9/27/2016, 4:50 AM

@ Wolfgang

Then you could test the same trick as described here for Vegas maybe?

It doesn't solve anything.

So far there is a discrepancy between what it's written in the manual and what can be really done.

NickHope wrote on 9/27/2016, 5:10 AM

@ Nick

For simplicity sake I would use the following command (adding channel option to select stereo or 5.1 audio output and removing useless copy video stream)

-i input.wav -c:a ac3 -b:a 192k -channels 2 output.ac3

Thanks. Yes of course I didn't need to put the copy video stream in 👌 I think it's worth leaving the 48kHz frequency in, in case someone is converting from 44.1kHz. Have changed my post.

Is the channels option really necessary? The number of output audio channels in FFmpeg defaults to the number of input audio channels. When would you not want to do this? And what would the value for the "channels" option be if you wanted 5.1 or whatever? Not that I have no experience of this as I've only ever made stereo DVDs.

GJeffrey wrote on 9/27/2016, 5:20 AM

You're right, better keep the frequency parameters. 

I'm not a ffmpeg specialist that's why I always use the channel nb. I didn't know that ffmpeg keep the nb of same channels by default. 

It might by sometimes useful if you want to downmix 5.1 to stereo though.

For 5.1 audio, write channels 6. Channel mapping may be necessary but I never did it and never had any problem.

Quitter wrote on 9/27/2016, 7:04 AM

so I don't know if DVDA would want to re-encode it or not but you can test my short sample file here.

tested your file in DVDA 7 with bluray settings: no re-encode

Camcorder: Sony CX 520 VE
Hardware:   Acer NG-A717-72G-71YD, Win 11 , i7-8750 H, 16GB, GTX 1060 6GB, 250GB SSD, 1TB HDD
NLE:  Sony Vegas Pro 13.0 Build 453
            Vegas Pro 14.0 Build 270
            Vegas Pro 21.0 Build 300

 

NickHope wrote on 9/27/2016, 7:27 AM

so I don't know if DVDA would want to re-encode it or not but you can test my short sample file here.

tested your file in DVDA 7 with bluray settings: no re-encode

Thanks Quitter. Seems like a reasonable workaround for now then, and it's fairly easy to do in Vegasaur if you have it, where you can "favorite" that custom command. But you'll probably have to render the project audio to a single WAV file and bring it back to the timeline first (unless it's just a single WAV file already) and select it for rendering. I tried "Concatenate output parts" to see if it would render out a single .ac3 file for a whole track, but it still produced separate .ac3 files for each event. Maybe the contatenate function gets overridden by the custom command.

R0cky wrote on 9/27/2016, 12:21 PM

Edit is not working for me.   The dolby digital encoder choice disappears when I do this.   Restoring the v.14 ac3studioplug version restores the choice.

OldSmoke wrote on 9/27/2016, 12:36 PM

R0cky

Are you using the VP13 dll? Any earlier versions dont work apperantly. It may even need DVDA 5.2 or 6 to be installed too.

Proud owner of Sony Vegas Pro 7, 8, 9, 10, 11, 12 & 13 and now Magix VP15&16.

System Spec.:
Motherboard: ASUS X299 Prime-A

Ram: G.Skill 4x8GB DDR4 2666 XMP

CPU: i7-9800x @ 4.6GHz (custom water cooling system)
GPU: 1x AMD Vega Pro Frontier Edition (water cooled)
Hard drives: System Samsung 970Pro NVME, AV-Projects 1TB (4x Intel P7600 512GB VROC), 4x 2.5" Hotswap bays, 1x 3.5" Hotswap Bay, 1x LG BluRay Burner

PSU: Corsair 1200W
Monitor: 2x Dell Ultrasharp U2713HM (2560x1440)

NickHope wrote on 9/27/2016, 1:22 PM

R0cky

Are you using the VP13 dll? Any earlier versions dont work apperantly. It may even need DVDA 5.2 or 6 to be installed too.

Has someone said that the VP12 dll won't work?

R0cky wrote on 9/27/2016, 1:58 PM

installing DVDA 5.2 fixed everything.  I am using the V13 dll.   Now I have surround encoding to my settings in both V13 and V14.  I have no need or desire for the studio versions in V14.

Wolfgang S. wrote on 9/27/2016, 2:51 PM

"Has someone said that the VP12 dll won't work?"

Yes that was said earlier. 

Desktop: PC AMD 3960X, 24x3,8 Mhz * GTX 3080 Ti (12 GB)* Blackmagic Extreme 4K 12G * QNAP Max8 10 Gb Lan * Blackmagic Pocket 6K/6K Pro, EVA1, FS7

Laptop: ProArt Studiobook 16 OLED (ProArt Studiobook 16 OLED (i9 12900H with i-GPU Iris XE, 32 GB Ram). Geforce RTX 3070 TI 8GB) with internal HDR preview on the laptop monitor. Blackmagic Ultrastudio 4K mini

HDR monitor: ProArt Monitor PA32 UCG, Atomos Sumo

Others: Edius NX (Canopus NX)-card in an old XP-System. Edius X. Resolve Studio 18

NCARalph wrote on 9/27/2016, 5:12 PM

I just did the move and rename from VP13 and it works perfectly. Thanks!

NickHope wrote on 9/27/2016, 8:52 PM

"Has someone said that the VP12 dll won't work?"

Yes that was said earlier. 

I could only find a reference to the dll from VP11 not working, so I tested the dll from VP12. It doesn't work and the result is quite dramatic... an immediate Vegas crash as soon as you click "Render As" icon on the toolbar.

BruceUSA wrote on 9/28/2016, 12:39 AM

Finally, I got my AC3_pro working in VP14.  Thanks to everyone that share the information here.  I read a few posts here say that need to reinstall DVDA6 and it is working.

Intel i7 12700k @5.2Ghz all P Cores, 5.3@ 6 Core, Turbo boost 3 Cores @5.4Ghz. 4.1Ghz All E Cores.                                          

MSI Z690 MPG Edge DDR5 Wifi                                                     

TEAMGROUP T-Force Delta RGB 32GB DDR5 -6200                     

Samsung 980 Pro x4 Nvme .M2 1tb Pcie Gen 4                                     

ASRock RX 6900XT Phantom 16GB                                                        

PSU Eva Supernova G2 1300w                                                     

Black Ice GTX 480mm radiator top mount push/pull                    

MCP35X dual pump w/ dual pump housing.                                

Corsair RGB water block. RGB Fan thru out                           

Phanteks Enthoo full tower

Windows 11 Pro

andyrpsmith wrote on 9/28/2016, 3:34 AM

Is that true, if you reinstall DVDA6 then VP14 will have both AC3pro and AC3studio options available?

(Intel 3rd gen i5@4.1GHz, 32GB RAM, SSD, 1080Ti GPU, Windows 10) Not now used with Vegas.

13th gen i913900K - water cooled, 96GB RAM, 4TB M2 drive, 4TB games SSD, 2TB video SSD, GPU RTX 4080 Super, Windows 11 pro

NickHope wrote on 9/28/2016, 8:04 AM

Is that true, if you reinstall DVDA6 then VP14 will have both AC3pro and AC3studio options available?

No, if you have VPro 12 or 13, you have also DVDA Pro 6 installed, then you can do the trick


The dll from VP12 doesn't work. 13 only. Different .NET versions or something, probably.

BruceUSA wrote on 9/28/2016, 10:56 AM

Is that true, if you reinstall DVDA6 then VP14 will have both AC3pro and AC3studio options available?

After the reinstall of DVDA6.  VP13 get both AC3_Pro and AC3-Studio.  I went to take a look at Vegas 13 file and I see there are 2 files in it.  AC3plug folder and AC3studioplug folder.  That is why VP13 show both ac3 encoder.  I am guessing, perhaps no need to delete the ac3studioplug in VP14.  Just copy and paste in the AC3plug into VP14.  So that you now have both ac3 encoder, AC3 Pro and Studio.

Intel i7 12700k @5.2Ghz all P Cores, 5.3@ 6 Core, Turbo boost 3 Cores @5.4Ghz. 4.1Ghz All E Cores.                                          

MSI Z690 MPG Edge DDR5 Wifi                                                     

TEAMGROUP T-Force Delta RGB 32GB DDR5 -6200                     

Samsung 980 Pro x4 Nvme .M2 1tb Pcie Gen 4                                     

ASRock RX 6900XT Phantom 16GB                                                        

PSU Eva Supernova G2 1300w                                                     

Black Ice GTX 480mm radiator top mount push/pull                    

MCP35X dual pump w/ dual pump housing.                                

Corsair RGB water block. RGB Fan thru out                           

Phanteks Enthoo full tower

Windows 11 Pro