convert AC-3 in AVCHD to WAV without time length issue?

MikeLV wrote on 2/7/2020, 3:21 PM

I tried to convert the AC-3 audio in an AVCHD video file to WAV using ffmpeg. It worked, however, when I add the wav audio to the timeline, as you can see it's slightly longer than the original file. Is this just something that happens with ffmpeg? Is there another tool that will convert it properly so the WAV audio is exactly the same length as the audio in the original?

Comments

j-v wrote on 2/7/2020, 3:46 PM

For testing this with Vegas own possibilities no problem.
In my screenshot it had a MTS file from my Panasonic camera( dolby AC-3) plus a GOPro 7 HEVC file( ac-3)and my smartphone( also AC-3) on the timeline and rendered the audio to a Windows wav file and placed that one beneath the first audiotrack.
Not seen any problem

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

MikeLV wrote on 2/7/2020, 3:52 PM

The problem is Vegas:
https://www.vegascreativesoftware.info/us/forum/audio-tracks-clipping-that-shouldn-t-didn-t--118722/

So I can't use it to render the audio from the MTS. So to be able to get work done, I need to use another tool to convert the AC-3 in the MTS to WAV, so that I can swap the original AC-3 audio out for the WAV. If the duration isn't exact, then I have an extra step involved to sync them up.

j-v wrote on 2/7/2020, 4:06 PM

I showed you the problem is not Vegas , but your use of it. For a normal default install of Vegas Pro 17 with me nothing is wrong , so you have to seek your problem on your hardware, used drivers, projectsettings or something else, I think.

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

MikeLV wrote on 2/7/2020, 4:14 PM

I did a complete clean uninstall. The file plays at proper volume in another program like VLC player.

The only possible thing I can think of and I'm not sure why it would affect Vegas and not other programs like VLC, is the sound card. It's an older sound card that doesn't have Windows 10 drivers, but someone developed some workaround thing to make it work in Win 10. So it's possible an updated sound card supported by Win10 could correct the problem, but I am not certain at this point.

j-v wrote on 2/8/2020, 3:32 AM

I did a complete clean uninstall. The file plays at proper volume in another program like VLC player.

It is not possible to compare an edit program as Vegas to a simpel player, it is total other stuff with other drivers.

It's an older sound card that doesn't have Windows 10 drivers, but someone developed some workaround thing to make it work in Win 10.

Nowadays with newer Windows versions than XP or 7 and newer hardware there is no need for using a sound card. Windows ((and also the programs) can find the speakers and possibilities on its own. Vegas find for most users these audiodevices as shown in Options/Preferences/ Audio Device

 


 

 

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

Marco. wrote on 2/8/2020, 5:00 AM

I can't repro your initial problem (clipping with AC3 stereo of AVCHD files). Did you try a simple FFmpeg re-wrap of the AVCHD files without any re-encoding?

MikeLV wrote on 2/8/2020, 9:52 AM

Nowadays with newer Windows versions than XP or 7 and newer hardware there is no need for using a sound card. Windows ((and also the programs) can find the speakers and possibilities on its own. Vegas find for most users these audiodevices as shown in Options/Preferences/ Audio Device


No need for a sound card? How can that be, where do you plug in the speakers if there is no sound card?

 

Did you try a simple FFmpeg re-wrap of the AVCHD files without any re-encoding?

I don't understand what this means.

I've purchased a new Sound Blaster USB interface "sound card" which should arrive early next week. I think it will solve the problem simply because I've tried everything else. Will update my threads when I have new information. Thanks.

j-v wrote on 2/8/2020, 2:15 PM

No need for a sound card? How can that be, where do you plug in the speakers if there is no sound card?

In all modern hardware desktops and laptops no special soundcard is needed because all is integrated in and on the motherboard.

Laptop has his own direct speaker(s) and on desktop you plug the speakers in on the plugs-ins of the motherboard.

 

 

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

Musicvid wrote on 4/1/2020, 11:34 AM

Converting AC3 to WAV will not make it any better.

AVCHD is not a good delivery format for a number of reasons.

The mainstream audio delivery format for AVC/MP4 is AAC.