VP14->16 AC3 Audio

diverG wrote on 12/12/2018, 11:19 AM

Having a senior moment.
Can you confirm that Studio AC3 & AC3Pro files written by VP cannot be added to the bin/timeline?  Attempting to import such files crashes Vegas.

Files can be played in say VLC & also added into Edius

 

Thanks G

Sys 1 Gig Z-890-UD, i9 285K @ 3.7 Ghz 64gb ram, 250gb SSD system, Plus 2x2Tb m2,  GTX 4060 ti, BMIP4k video out. Vegas 19 & 122(194), Edius 8.3WG and DVResolve19 Studio. Win 11 Pro. Latest graphic drivers.

Sys 2 Laptop 'Clevo' i7 6700K @ 3.0ghz, 16gb ram, 250gb SSd + 2Tb hdd,   nvidia 940 M graphics. VP17, Plus Edius 8WG Win 10 Pro (22H2) Resolve18

 

Comments

Marco. wrote on 12/12/2018, 12:18 PM

Yes, a separate AC3 file cannot (and never could) be imported into Vegas Pro.

A workaround is to mux the AC3 with a video stream to make this work.

wwaag wrote on 12/12/2018, 1:57 PM

Here's a neat trick I just discovered. No need to remux with a video stream. Just import ac3 file into ffmpeg and output as a vob file. Imports directly into Vegas as a single audio track. I have tested with both stereo and 5.1 ac3 files rendered from Vegas. Here's the simple command line:

ffmpeg -i File.ac3 -c copy File.vob

Try it.

Last changed by wwaag on 12/12/2018, 1:57 PM, changed a total of 1 times.

AKA the HappyOtter at https://tools4vegas.com/. System 1: Intel i7-8700k with HD 630 graphics plus an Nvidia RTX4070 graphics card. System 2: Intel i7-3770k with HD 4000 graphics plus an AMD RX550 graphics card. System 3: Laptop. Dell Inspiron Plus 16. Intel i7-11800H, Intel Graphics. Current cameras include Panasonic FZ2500, GoPro Hero11 and Hero8 Black plus a myriad of smartPhone, pocket cameras, video cameras and film cameras going back to the original Nikon S.

john_dennis wrote on 12/12/2018, 8:35 PM

I tried it and saved a version of the batch file in my list of useful stuff.

With remarks:

rem Save all this text as: Convert AC3 to VOB to open in Vegas.bat 
rem For filenames with spaces, paste your file name inside the quotes. 
rem Listening to Tom Petty while you're doing it makes it much easier.
rem In Vegas, File Import. Set File Name to *.* in the drop down box.  

ffmpeg -i "Your input filename with spaces".ac3 -c copy "Your output filename with spaces".vob

 

diverG wrote on 12/13/2018, 2:46 AM

Not a senior moment then!  Thanks to all for assistance.

Have used VP for many years but have never before tried to import an .ac3.  In later versions have just added the ac3plug and simply used it.

Thanks to all for assistance.

 

Sys 1 Gig Z-890-UD, i9 285K @ 3.7 Ghz 64gb ram, 250gb SSD system, Plus 2x2Tb m2,  GTX 4060 ti, BMIP4k video out. Vegas 19 & 122(194), Edius 8.3WG and DVResolve19 Studio. Win 11 Pro. Latest graphic drivers.

Sys 2 Laptop 'Clevo' i7 6700K @ 3.0ghz, 16gb ram, 250gb SSd + 2Tb hdd,   nvidia 940 M graphics. VP17, Plus Edius 8WG Win 10 Pro (22H2) Resolve18

 

Former user wrote on 12/13/2018, 7:56 AM

@diverG @Marco. @wwaag @john_dennis

1.First go to Control Panel / Appearance and Personalization / Show hidden files and folders and uncheck Hide extensions for known file types. 

2.Rename the file with the extension (.ac3) to the extension (.mpg)

3.Drag the file to the timeline that Vegas will recognize.

 

NOTE: This procedure will not work on ac3 5.1 surround files

 

Marco. wrote on 12/13/2018, 8:16 AM

Good solution for the stereo type. For 5.1 from now I will use wwaag's suggestion (FFmpeg is my favorite muxer and transcoder).

Turd wrote on 12/13/2018, 8:43 AM

I tried it and saved a version of the batch file in my list of useful stuff.

With remarks:

rem Save all this text as: Convert AC3 to VOB to open in Vegas.bat 
rem For filenames with spaces, paste your file name inside the quotes. 
rem Listening to Tom Petty while you're doing it makes it much easier.
rem In Vegas, File Import. Set File Name to *.* in the drop down box.  

ffmpeg -i "Your input filename with spaces".ac3 -c copy "Your output filename with spaces".vob

 

Doesn't work for me as-is, but I found a workaround that might help many, many people.

I Changed:

rem Listening to Tom Petty while you're doing it makes it much easier

To:

rem Listening to Beatles while you're doing it makes it much easier

Now it works flawlessly ; )

Note to self (everyone else please look away -- the note that follows is a reminder for mine eyes only): Figure out a clever, kick-booty signature that suggests I'm completely aware of how to properly and exhaustively party on and that I, in fact, engage in said act on a frequent and spontaneous basis. All joking aside, listing my computer's properties is a futile endeavor. I edit multimedia in a local television station newsroom that has Vegas Pro installed on several machines with widely varied specs. We began editing non-linearly with Pinnacle Studio Version 8. That didn't last long before we upgraded to Vegas Video Version 4, then to Vegas Pro 10.

Former user wrote on 12/13/2018, 8:50 AM

LOL

Former user wrote on 12/13/2018, 11:06 AM

@Marco. @wwaag @john_dennis

Do you think it's possible to create a command line with the extension (.bat) to convert multiple ac3 audio files at once?

This would be very useful since you can only convert one file at a time.

Something like this command line below whit that is used to only convert the audio from multiple video files at the same time to AAC format. I've tried here but unsuccessfully

@echo off
:next
if "%~1"=="" goto done
set output=%~dpn1_new%~x1
ffmpeg.exe -i "%~1" -c:a aac -b:a 320k -c:v copy "%output%"
shift
goto next
:done
exit

Marco. wrote on 12/13/2018, 11:13 AM

This one works fine for me:

@echo off
:next
if "%~1"=="" goto done
ffmpeg.exe -i "%~1" -c:v copy -c:a copy "%~1_new.vob"
shift
goto next
:done
exit

 

Former user wrote on 12/13/2018, 11:37 AM

This one works fine for me:

@echo off
:next
if "%~1"=="" goto done
ffmpeg.exe -i "%~1" -c:v copy -c:a copy "%~1_new.vob"
shift
goto next
:done
exit

 

Yes @Marco. Great!

That's what I was talking about.

It worked here, too. Thank's!

wwaag wrote on 12/13/2018, 11:47 AM

Just a note to say that I'll include this option in a future version of the ImportAssist tool in HappyOtterScripts.

AKA the HappyOtter at https://tools4vegas.com/. System 1: Intel i7-8700k with HD 630 graphics plus an Nvidia RTX4070 graphics card. System 2: Intel i7-3770k with HD 4000 graphics plus an AMD RX550 graphics card. System 3: Laptop. Dell Inspiron Plus 16. Intel i7-11800H, Intel Graphics. Current cameras include Panasonic FZ2500, GoPro Hero11 and Hero8 Black plus a myriad of smartPhone, pocket cameras, video cameras and film cameras going back to the original Nikon S.

diverG wrote on 12/14/2018, 4:24 AM

Just a note to say that I'll include this option in a future version of the ImportAssist tool in HappyOtterScripts

Good idea as FFMPEG is often in a folder directly on C:.  I would not be too keen on accessing ffmpeg deeply embedded in C:\programs\**** in order to run a .bat.  Mind you I do find the 'extension' box a tad small to read easily.   Best of luck with Happyotter.

G

Sys 1 Gig Z-890-UD, i9 285K @ 3.7 Ghz 64gb ram, 250gb SSD system, Plus 2x2Tb m2,  GTX 4060 ti, BMIP4k video out. Vegas 19 & 122(194), Edius 8.3WG and DVResolve19 Studio. Win 11 Pro. Latest graphic drivers.

Sys 2 Laptop 'Clevo' i7 6700K @ 3.0ghz, 16gb ram, 250gb SSd + 2Tb hdd,   nvidia 940 M graphics. VP17, Plus Edius 8WG Win 10 Pro (22H2) Resolve18