Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums VEGAS Pro Unable to import MP4 Ac-3 into vegas pro 13

  • Unable to import MP4 Ac-3 into vegas pro 13

    Posted by Thomas Sunless on September 12, 2015 at 12:06 pm

    I am trying to import a MP4 video with AC-3 audio but it is only importing the video. Can anyone help please?

    Media Info:

    General
    Complete name : C:\Users\\Desktop\.mp4
    Format : MPEG-4
    Format profile : Base Media
    Codec ID : isom
    File size : 7.00 GiB
    Duration : 1h 7mn
    Overall bit rate : 14.9 Mbps
    Encoded date : UTC 2015-08-30 16:57:01
    Tagged date : UTC 2015-08-30 16:57:01
    Writing application : MkvToMp4 [https://www.mkvtomp4.ru] version 0.224 (x64)

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 4 frames
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 1h 7mn
    Bit rate : 14.3 Mbps
    Maximum bit rate : 40.6 Mbps
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 23.976 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.288
    Stream size : 6.70 GiB (96%)
    Title :
    Writing library : x264 core 107 r1766 f9f0035
    Encoding settings : cabac=1 / ref=4 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=10 / psy=1 / psy_rd=1.05:0.10 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=2 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=6 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=14300 / ratetol=1.0 / qcomp=0.70 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=40000 / vbv_bufsize=30000 / ip_ratio=1.40 / aq=1:0.80 / nal_hrd=none
    Language : English
    Encoded date : UTC 2015-08-30 16:57:01
    Tagged date : UTC 2015-08-30 16:59:18

    Audio
    ID : 2
    Format : AC-3
    Format/Info : Audio Coding 3
    Mode extension : CM (complete main)
    Format settings, Endianness : Big
    Codec ID : ac-3
    Duration : 1h 7mn
    Bit rate mode : Constant
    Bit rate : 640 Kbps
    Channel(s) : 6 channels
    Channel positions : Front: L C R, Side: L R, LFE
    Sampling rate : 48.0 KHz
    Bit depth : 16 bits
    Compression mode : Lossy
    Stream size : 307 MiB (4%)
    Title : DD5.1 640K
    Language : English
    Encoded date : UTC 2015-08-30 16:58:43
    Tagged date : UTC 2015-08-30 16:59:18

    Aaron Star replied 10 years, 8 months ago 3 Members · 2 Replies
  • 2 Replies
  • Norman Black

    September 12, 2015 at 8:41 pm

    Vegas cannot handle an MP4 container with AC-3 audio. You will have to convert that audio to something Vegas can handle.

    In MP4 containers, Vegas can handle
    AVC video, AAC audio
    mpeg-2 video (XDCAM), PCM audio
    AVC video, PCM audio <= probably, but I've not tested. If you can separate the AC-3 audio from the video, you could probably import the video and audio separately into Vegas.

  • Aaron Star

    September 12, 2015 at 10:26 pm

    I posted this over on the BM Resolve forum which might help. AC-3 in an mp4 container will work with Vegas if you use the ACfilter, but that thing is RU ware, and I always get nervous with RU ware. Converting your footage audio to PCM would be your best bet.

    https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=37632&start=50

    Re: .MTS
    PostTue Sep 01, 2015 10:31 am

    You are on the right track with the FFMPEG command. .MTS is not a codec it is a container. The Video is AVCHD and the audio is AC3. On PC you can get a windows AC3 codec free online, not sure about the MAC. Once you have the AC3 decoder the audio will play as normal.

    The FFMPEG command to rewrap the codec is:

    ffmpeg -i .mts -vcodec copy -acodec pcm_s16le -ar 48000 -ac 2 .avi

    This will copy the AVCHD codec as is, and covert the audio to PCM16bit@48Khz with 2 channels inside a .AVI or .MOV container.

    Change pcm_s16le to pcm_s24le for 24-bit audio.

    You could also convert right to ProRes with this command.

    ffmpeg -i .mts -vcodec prores -acodec pcm_s16le -ar 48000 -ac 2 .mov

    Add -profile 2 or 3 to the command to get Normal or HQ

    You can convert straight to DNxHD @ 45Mbs with this command:

    ffmpeg -i .mts -vcodec dnxhd -s 1920×1080 -b:v 45M -acodec pcm_s16le -ar 48000 -ac 2 .mxf or .mov

    Bump up the bit rate to the DNxHD profile bitrate you use.

    ffplay will play the file.

    ffprobe will give internal stats on the video file.

    There was also this solution:

    https://www.ac3filter.net/ – I would try that on Pc and see if it allows the audio playback on the mts imports.

    BM needs to license the AC-3 codec from Dolby, which is an additional expense. I am sure that is making it a hard call for such low end footage from prosumer gear.

    Using the FFMPEG process with the Video copy and transforming the audio to PCM should be very fast on any i7 Gen1 or later. You can wildcard the process and convert entire directories.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy