Page 1 of 1

DR Studio 18.5 Imports mov video with empty audio track

PostPosted: Sat Jul 29, 2023 6:48 pm
by emadelsaid
Hello, I'm using DR Studio 18.5 on Archlinux machine. Importing an MOV imports footage correctly but the audio track is empty.

- The file is MOV imported from iPhone 14 Plus
- Davinci Resolve is 18.5 Build 41 (downloaded and installed yesterday after obtaining the license)
- The file Metadata shows it has AAC audio 1 channel 44100Hz
- The file plays correctly in VLC media player

Screenshot-2023-07-29_20-36-24.png
Screenshot-2023-07-29_20-36-24.png (44.32 KiB) Viewed 550 times



- ffmpeg output for the file is as follows
Code: Select all
ffmpeg -i IMG_0277.mov
ffmpeg version n6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13.1.1 (GCC) 20230429
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'IMG_0277.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2023-07-27T14:49:47.000000Z
    com.apple.quicktime.creationdate: 2023-07-26T21:18:17+02:00
  Duration: 00:55:56.38, start: 0.000000, bitrate: 49806 kb/s
  Stream #0:0[0x1](und): Video: hevc (Main 10) (hvc1 / 0x31637668), yuv420p10le(tv, bt2020nc/bt2020/arib-std-b67), 3840x2160, 49632 kb/s, 30 fps, 30 tbr, 600 tbn (default)
    Metadata:
      creation_time   : 2023-07-27T14:49:47.000000Z
      handler_name    : Core Media Video
      vendor_id       : [0][0][0][0]
      encoder         : HEVC
    Side data:
      DOVI configuration record: version: 1.0, profile: 8, level: 7, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 4
  Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 101 kb/s (default)
    Metadata:
      creation_time   : 2023-07-27T14:49:47.000000Z
      handler_name    : Core Media Audio
      vendor_id       : [0][0][0][0]
  Stream #0:2[0x3](und): Data: none (mebx / 0x7862656D) (default)
    Metadata:
      creation_time   : 2023-07-27T14:49:47.000000Z
      handler_name    : Core Media Metadata
  Stream #0:3[0x4](und): Data: none (mebx / 0x7862656D), 23 kb/s (default)
    Metadata:
      creation_time   : 2023-07-27T14:49:47.000000Z
      handler_name    : Core Media Metadata
  Stream #0:4[0x5](und): Data: none (mebx / 0x7862656D), 42 kb/s (default)
    Metadata:
      creation_time   : 2023-07-27T14:49:47.000000Z
      handler_name    : Core Media Metadata


- Extracting the AAC audio file from the video file it doesn't show in the media storage panel
- in this thread I see that people assert AAC is not supported on linux despite the supported formats PDF lists AAC as supported on linux.
viewtopic.php?f=21&t=104958

Re: DR Studio 18.5 Imports mov video with empty audio track

PostPosted: Sun Jul 30, 2023 6:15 pm
by Stephen Swaney
The Supported Formats doc dated July 2023 says no AAC on Linux. That plus the fact that AAC does not work suggests AAC is not supported on Linux.

One workaround is to convert the AAC audio to PCM with a tool like ffmpeg. Since you are not touching the video, it goes quick even on large files.

Re: DR Studio 18.5 Imports mov video with empty audio track

PostPosted: Sun Jul 30, 2023 9:53 pm
by emadelsaid
I worked around it by extracting the audio and converting it. I'm not sure I'm using the accurate codec but it worked

Code: Select all
Extract audio from video
ffmpeg -i input-video.avi -vn -acodec copy output-audio.aac

Convert audio to wav
ffmpeg -y -i IMG_0277.aac -vn -acodec pcm_s16le IMG_0277.wav

Re: DR Studio 18.5 Imports mov video with empty audio track

PostPosted: Mon Jul 31, 2023 7:52 am
by Uli Plank
I'd suggest converting to 48 kHz as well.