[Libav-user] read URL from Avid QuickTime Reference movie

Rainer Standke daddel at xmil.biz
Fri Nov 18 01:42:41 EET 2016


Hello all,

I am trying to read the URLs for the MXF files that the QT references. The QT Ref movies have been exported from Avid Media Composer.

So far I have:

ffprobe -enable_drefs 1 -show_data -select_streams 1 [FILPATH HERE]
ffprobe version N-81412-g906ee41-tessus Copyright (c) 2007-2016 the FFmpeg developers
  built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --as=yasm --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-version3 --disable-ffplay --disable-indev=qtkit --disable-indev=x11grab_xcb
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 51.100 / 57. 51.100
  libavformat    57. 44.100 / 57. 44.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 49.100 /  6. 49.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7febab802600] Absolute path /Avid MediaFiles//MXF//2//00031QV01.2_BF36FC54FBD1C3A.mxf not tried for security reasons, set demuxer option use_absolute_path to allow absolute paths
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7febab802600] stream 0, error opening alias: path='/Avid MediaFiles//MXF//2//00031QV01.2_BF36FC54FBD1C3A.mxf', dir='2', filename='00031QV01.2_BF36FC54FBD1C3A.mxf', volume='Port 2', nlvl_from=-1, nlvl_to=-1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7febab802600] Absolute path /Avid MediaFiles//MXF//2//00031QA01.3_BF36FC54FBD1C3A.mxf not tried for security reasons, set demuxer option use_absolute_path to allow absolute paths
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7febab802600] stream 1, error opening alias: path='/Avid MediaFiles//MXF//2//00031QA01.3_BF36FC54FBD1C3A.mxf', dir='2', filename='00031QA01.3_BF36FC54FBD1C3A.mxf', volume='Port 2', nlvl_from=-1, nlvl_to=-1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7febab802600] Could not find codec parameters for stream 0 (Video: dnxhd (AVdn / 0x6E645641), none(tv, bt709/unknown/unknown), 1920x1080, 36139 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/rainer/Documents/Rainer's Dev Stuff/Xcode Projects/MXF/QT_Refs/41A-02 B.new.01.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2016-11-14 16:58:27
    comment         : Source ID = 060a2b340101010101010f00-13-00-00-00-{7f844fbd1c3a-13be-000f-060e2b347f7f2a80}
    comment-eng     : Source ID = 060a2b340101010101010f00-13-00-00-00-{7f844fbd1c3a-13be-000f-060e2b347f7f2a80}
    timecode        : 18:11:09:08
  Duration: 00:02:28.15, start: 0.000000, bitrate: 0 kb/s
    Stream #0:0(eng): Video: dnxhd (AVdn / 0x6E645641), none(tv, bt709/unknown/unknown), 1920x1080, 36139 kb/s, 23.98 fps, 23.98 tbr, 23976 tbn, 23976 tbc (default)
    Metadata:
      creation_time   : 2016-11-14 16:58:27
      handler_name    : Apple Alias Data Handler
      encoder         : Avid DNxHD Codec
    Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2016-11-14 16:58:27
      handler_name    : Apple Alias Data Handler
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
    Metadata:
      creation_time   : 2016-11-14 16:58:27
      handler_name    : Apple Alias Data Handler
      timecode        : 18:11:09:08
Unsupported codec with id 0 for input stream 2


What I want is kinda there, it’s path='/Avid MediaFiles//MXF//2//00031QV01.2_BF36FC54FBD1C3A.mxf', dir='2', filename='00031QV01.2_BF36FC54FBD1C3A.mxf', volume='Port 2’.

Can I exclude the first stream, to avoid the error message?

Is there a cleaner way? A way to only get the path info? 

Thanks for any pointers you can provide,

Rainer


More information about the Libav-user mailing list