Arch Linux Video Codec Support

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

_avlec

  • Posts: 2
  • Joined: Mon May 31, 2021 2:36 am
  • Real Name: Alec Cox

Arch Linux Video Codec Support

PostMon May 31, 2021 3:05 am

I am having trouble getting my video clips from my GoPro (Hero 6) and Drone (DJI Mavic Mini) to work natively with DaVinci Resolve (17.1, and now 17.2). For the time being I have been converting the files through ffmpeg to prores format works. The only annoyance is the prores files are significantly larger, and I have to wait for my files to process before I can begin editing.

Resolve seems to treat the GoPro clips differently from the Drone clips. It seems to interpret the GoPro clips as audio files and entirely ignore the Drone clips. Below is the ffmpeg info for the GoPro and Drone respectively.

Code: Select all
...
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'GH010025.MP4':
  Metadata:
    major_brand     : mp41
    minor_version   : 538120216
    compatible_brands: mp41
    creation_time   : REDACTED
    location        : REDACTED
    location-eng    : REDACTED
    firmware        : HD6.01.01.60.00
  Duration: REDACTED, start: 0.000000, bitrate: 66347 kb/s
  Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 2704x1520 [SAR 1:1 DAR 169:95], 66144 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 119.88 tbc (default)
    Metadata:
      creation_time   : REDACTED
      handler_name    : GoPro AVC 
      vendor_id       : [0][0][0][0]
      encoder         : GoPro AVC encoder
      timecode        : REDACTED
  Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      creation_time   : REDACTED
      handler_name    : GoPro AAC 
      vendor_id       : [0][0][0][0]
      timecode        : REDACTED
  Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    Metadata:
      creation_time   : REDACTED
      handler_name    : GoPro TCD 
      timecode        : REDACTED
  Stream #0:3(eng): Data: bin_data (gpmd / 0x646D7067), 44 kb/s (default)
    Metadata:
      creation_time   : REDACTED
      handler_name    : GoPro MET 
  Stream #0:4(eng): Data: none (fdsc / 0x63736466), 14 kb/s (default)
    Metadata:
      creation_time   : REDACTED
      handler_name    : GoPro SOS 


Code: Select all
...
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'REDACTED':
  Metadata:
    major_brand     : avc1
    minor_version   : 538182144
    compatible_brands: avc1isom
    creation_time   : REDACTED
    comment         : DE=None,SN=REDACTED, Type=Normal, HQ=Normal, Mode=P
  Duration: 00:01:47.97, start: 0.000000, bitrate: 35040 kb/s
  Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 35022 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      creation_time   : REDACTED
      handler_name    : ?DJI.AVC
      vendor_id       : [0][0][0][0]
      encoder         : AVC encoder
  Stream #0:1(eng): Data: none (priv / 0x76697270)
    Metadata:
      creation_time   : REDACTED
      handler_name    : ?DJI.Meta
  Stream #0:2(eng): Subtitle: mov_text (text / 0x74786574), 2 kb/s (default)
    Metadata:
      creation_time   : REDACTED
      handler_name    : ?DJI.Subtitle
At least one output file must be specified


And the error when trying to preview the invalid GoPro files.
Code: Select all
0x7f5ee6bec640 | IO.Audio             | ERROR | 2021-05-30 19:32:24,503 | Failed to decode clip <REDACTED.MP4>, track: 0, position: 1920 - Failed to decode the audio samples.


This is how I convert my files.
Code: Select all
ffmpeg -v -i in.(mov/mp4) -c:v prores_ks -profile:v 3 -qscale:v 9 -c:a pcm_s16le out.mov



From what I see in the ffmpeg output and from what Resolve lists as it supports these formats should work. Is there any hope to get these formats to natively work or will I have to convert all my files to the more "bloated" prores format?
Offline

Jim Simon

  • Posts: 36138
  • Joined: Fri Dec 23, 2016 1:47 am

Re: Arch Linux Video Codec Support

PostMon May 31, 2021 6:50 pm

I wonder if this is a Distribution issue?

CentOS is the only one supported.
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.
Offline

Shrinivas Ramani

Blackmagic Design

  • Posts: 3104
  • Joined: Wed Sep 20, 2017 10:19 am

Re: Arch Linux Video Codec Support

PostTue Jun 01, 2021 6:22 am

H.264 and H.265 in Linux require the Studio version and the right Nvidia graphics card and driver.

AAC as an audio code is not supported on Linux. The DJI drone footage does not seem to have native audio

Please refer to https://documents.blackmagicdesign.com/ ... 7452410000 for supported codecs.

Regards
Shrinivas
Offline
User avatar

Uli Plank

  • Posts: 25480
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: Arch Linux Video Codec Support

PostTue Jun 01, 2021 6:33 am

Shrinivas Ramani wrote:The DJI drone footage does not seem to have native audio.


I can hardly imagine listening to a drone close-up. DJI is clever enough not to add sound to their footage.
My disaster protection: export a .drp file to a physically separated storage regularly.
Please visit digitalproduction.com/author/uliplank/

Studio 19.1.3
2017 iMac, MacOS 13.7.4, eGPU
MacBook M1 Pro and M4 Pro mini, MacOS 14.7.5
SE, USM G3
Offline

_avlec

  • Posts: 2
  • Joined: Mon May 31, 2021 2:36 am
  • Real Name: Alec Cox

Re: Arch Linux Video Codec Support

PostThu Jun 03, 2021 2:43 am

Shrinivas Ramani wrote:H.264 and H.265 in Linux require the Studio version and the right Nvidia graphics card and driver.

AAC as an audio code is not supported on Linux. The DJI drone footage does not seem to have native audio


So essentially unless I want to upgrade to studio I need to convert my video files, but I need to anyways for the GoPro audio. Got it, thanks I figured I was missing something.

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], panos_mts, Yannick Willox and 349 guests