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).

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?

 

 

Nick Hope 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.

Nick Hope 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?

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?

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.

Nick Hope 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

Nick Hope 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)

Nick Hope 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. 

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

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

Nick Hope 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.

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?

Nick Hope 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.