[FFmpeg-user] ffmpeg does plays only one essence in quicktime reference conversion

Dan Ionescu danionescu2007 at gmail.com
Fri May 26 10:42:33 EEST 2017


Hello!

 

I am trying to convert a quicktime reference mov file exported from Avid MC
8.4.5. I am using the following conversion command:

 

ffmpeg -threads 0 -enable_drefs 1 -use_absolute_path 1 -i testseq.mov
-strict -2 -pix_fmt yuv420p test.mp4 -y

 

After hardly managing to get ffmpeg to reach all the referenced files, here
is the problem. In the converted mp4 the cuts (timecodes where source media
is changing in the sequence) gets through allright, but only on source clip
is used as source. The other source clips are just ignored.

 

Is this behavior "normal". That's it, this is all that is implemented so fat
in ffmpeg or:

1.       I sould look for an updated version of the software

2.       I am missing something out

3.       I am doing something wrong

 

Here is the command with the output during conversion. After conversion no
error messages are displayed.

 

root at mediasync-ubuntu:/share# ffmpeg -threads 0 -enable_drefs 1
-use_absolute_path 1 -i test\ seq.mov -strict -2 -pix_fmt yuv420p test.mp4
-y

ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg
developers

  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609

  configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1
--build-suffix=-ffmpeg --toolchain=hardened
--libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu
--cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping
--disable-decoder=libopenjpeg --disable-decoder=libschroedinger
--enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcdio --enable-libflite --enable-libfontconfig
--enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm
--enable-libmodplug --enable-libmp3lame --enable-libopenjpeg
--enable-libopus --enable-libpulse --enable-librtmp

--enable-libschroedinger --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora
--enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi
--enable-openal --enable-opengl --enable-x11grab --enable-libdc1394
--enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264
--enable-libopencv

  libavutil      54. 31.100 / 54. 31.100

  libavcodec     56. 60.100 / 56. 60.100

  libavformat    56. 40.101 / 56. 40.101

  libavdevice    56.  4.100 / 56.  4.100

  libavfilter     5. 40.101 /  5. 40.101

  libavresample   2.  1.  0 /  2.  1.  0

  libswscale      3.  1.101 /  3.  1.101

  libswresample   1.  2.101 /  1.  2.101

  libpostproc    53.  3.100 / 53.  3.100

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c56520] Using absolute path on user request,
this is a possible security issue

[dnxhd @ 0x1c59160] frame size changed: 1920x1080 -> 1440x1080

Guessed Channel Layout for  Input Stream #0.0 : stereo

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test seq.mov':

  Metadata:

    major_brand     : qt

    minor_version   : 537199360

    compatible_brands: qt

    creation_time   : 2017-05-25 19:04:15

    comment         : Source ID =
060a2b340101010101010f00-13-00-00-00-{59271bed-5179-0018-060e2b347f7f2a80}

    comment-eng     : Source ID =
060a2b340101010101010f00-13-00-00-00-{59271bed-5179-0018-060e2b347f7f2a80}

    timecode        : 01:00:00:00

  Duration: 00:00:44.48, start: 0.000000, bitrate: 1 kb/s

    Stream #0:0(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2
channels, s16, 1536 kb/s (default)

    Metadata:

      creation_time   : 2017-05-25 19:04:16

      handler_name    : Apple Alias Data Handler

    Stream #0:1(eng): Video: dnxhd (AVdn / 0x6E645641), yuv422p(pc),
1440x1080 [SAR 4:3 DAR 16:9], 83558 kb/s, 25 fps, 25 tbr, 2500 tbn, 2500 tbc
(default)

    Metadata:

      creation_time   : 2017-05-25 19:04:16

      handler_name    : Apple Alias Data Handler

      encoder         : Avid DNxHD Codec

    Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)

    Metadata:

      creation_time   : 2017-05-25 19:04:16

      handler_name    : Apple Alias Data Handler

      timecode        : 01:00:00:00

[libx264 @ 0x1c8b780] using SAR=4/3

[libx264 @ 0x1c8b780] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2

[libx264 @ 0x1c8b780] profile High, level 4.0

[libx264 @ 0x1c8b780] 264 - core 148 r2643 5c65704 - H.264/MPEG-4 AVC codec
- Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1
ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00
mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11
fast_pskip=1 chroma_qp_offset=-2 threads=9 lookahead_threads=1
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1
weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40
intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0
qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00

Output #0, mp4, to 'test.mp4':

  Metadata:

    major_brand     : qt

    minor_version   : 537199360

    compatible_brands: qt

    timecode        : 01:00:00:00

    comment         : Source ID =
060a2b340101010101010f00-13-00-00-00-{59271bed-5179-0018-060e2b347f7f2a80}

    comment-eng     : Source ID =
060a2b340101010101010f00-13-00-00-00-{59271bed-5179-0018-060e2b347f7f2a80}

    encoder         : Lavf56.40.101

    Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021),
yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc
(default)

    Metadata:

      creation_time   : 2017-05-25 19:04:16

      handler_name    : Apple Alias Data Handler

      encoder         : Lavc56.60.100 libx264

    Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo,
fltp, 128 kb/s (default)

    Metadata:

      creation_time   : 2017-05-25 19:04:16

      handler_name    : Apple Alias Data Handler

      encoder         : Lavc56.60.100 aac

Stream mapping:

  Stream #0:1 -> #0:0 (dnxhd (native) -> h264 (libx264))

  Stream #0:0 -> #0:1 (pcm_s16be (native) -> aac (native))

Press [q] to stop, [?] for help

frame=  144 fps= 28 q=-1.0 Lsize=    1701kB time=00:00:05.95
bitrate=2340.9kbits/s

video:1602kB audio:94kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.325520%

[libx264 @ 0x1c8b780] frame I:3     Avg QP:20.55  size: 42916

[libx264 @ 0x1c8b780] frame P:75    Avg QP:21.30  size: 16263

[libx264 @ 0x1c8b780] frame B:66    Avg QP:23.50  size:  4410

[libx264 @ 0x1c8b780] consecutive B-frames: 23.6% 41.7% 12.5% 22.2%

[libx264 @ 0x1c8b780] mb I  I16..4: 41.7% 48.0% 10.2%

[libx264 @ 0x1c8b780] mb P  I16..4:  7.5% 12.9%  0.5%  P16..4: 27.9%  6.1%
2.3%  0.0%  0.0%    skip:42.7%

[libx264 @ 0x1c8b780] mb B  I16..4:  0.2%  0.5%  0.0%  B16..8: 27.0%  2.1%
0.3%  direct: 0.7%  skip:69.1%  L0:36.0% L1:59.6% BI: 4.4%

[libx264 @ 0x1c8b780] 8x8 transform intra:59.6% inter:85.6%

[libx264 @ 0x1c8b780] coded y,uvDC,uvAC intra: 37.0% 19.8% 0.6% inter: 9.3%
5.5% 0.0%

[libx264 @ 0x1c8b780] i16 v,h,dc,p: 17% 58%  6% 19%

[libx264 @ 0x1c8b780] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 24% 34%  3%  3%  3%
3%  3%  4%

[libx264 @ 0x1c8b780] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 66%  9%  2%  2%  2%
2%  2%  3%

[libx264 @ 0x1c8b780] i8c dc,h,v,p: 72% 16% 11%  1%

[libx264 @ 0x1c8b780] Weighted P-Frames: Y:2.7% UV:1.3%

[libx264 @ 0x1c8b780] ref P L0: 67.4% 15.4% 12.7%  4.5%  0.0%

[libx264 @ 0x1c8b780] ref B L0: 91.0%  8.4%  0.6%

[libx264 @ 0x1c8b780] ref B L1: 97.8%  2.2%

[libx264 @ 0x1c8b780] kb/s:2277.16

Exiting normally, received signal 2.

 

Thank you so much for reading. Any help will be greatly appreciated.

 

BR++,

Dan



More information about the ffmpeg-user mailing list