[FFmpeg-user] Source v210.mov has no interlacement info, ffv1 transcode is listed as progressive

Kieran O Leary kieran.o.leary at gmail.com
Thu Jul 28 11:38:43 EEST 2016


Hi,

My  input file was generated from Avid Media Composer 8.
Link: https://www.dropbox.com/s/yed44wj5lq9jg8h/2fr.mov?dl=0

If I use -c copy to remux to mov or mkv, then the lack of
interlacement info is maintained. When I encode with FFV1, using
either MKV or MOV, the file is listed as progressive in mediainfo.

However, the issue may not be specific to FFV1 as progressive values
appear in mediainfo when using -c:v prores (in mov container) and
libx264 in mov and mkv.

Avid, even though I selected PAL top field first, did not
write any interlacement info to the mov from what I can see. Nothing
shows up in mediainfo in regards
to interlacement for the source v210.mov, and I can't see any fiel
atom info in mediatrace. Avid MC8 never seems to write field/aspect
ratio in general for the 'send to QT' feature.

Seeing as -vf idet shows TFF values for these files, and the telecine
machine that created these files outputs PAL TFF, I am tempted to just
use field_order in the source file in order to correct this before
transcoding,  but I thought I'd see what ye think anyhow in regards to
this issue.


Console output followed by medainfo report.
 ffmpeg -i /Volumes/Stardom/2fr.mov -c:v ffv1 -level 3 out.mkv

ffmpeg version N-43802-g376d8fb Copyright (c) 2000-2016 the FFmpeg developers

  built with Apple LLVM version 7.3.0 (clang-703.0.31)

  configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD
--enable-shared --enable-pthreads --enable-gpl --enable-version3
--enable-hardcoded-tables --enable-avresample --cc=clang
--host-cflags= --host-ldflags= --enable-opencl --enable-libx264
--enable-libmp3lame --enable-libxvid --enable-libfreetype
--enable-ffplay --disable-lzma --enable-libopenjpeg
--disable-decoder=jpeg2000
--extra-cflags=-I/usr/local/Cellar/openjpeg/1.5.2_1/include/openjpeg-1.5
--enable-vda

  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

  libavresample   3.  0.  0 /  3.  0.  0

  libswscale      4.  1.100 /  4.  1.100

  libswresample   2.  1.100 /  2.  1.100

  libpostproc    54.  0.100 / 54.  0.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/Stardom/2fr.mov':

  Metadata:

    major_brand     : qt

    minor_version   : 537199360

    compatible_brands: qt

    creation_time   : 2016-07-27 13:57:22

    timecode        : 01:00:00:00

  Duration: 00:00:00.08, start: 0.000000, bitrate: 221576 kb/s

    Stream #0:0(eng): Video: v210 (v210 / 0x30313276), yuv422p10le,
720x576, 221184 kb/s, 25 fps, 25 tbr, 25k tbn, 25k tbc (default)

    Metadata:

      creation_time   : 2016-07-27 13:57:22

      handler_name    : Apple Alias Data Handler

      encoder         : Uncompressed 10-bit 4:2:2

    Stream #0:1(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)

    Metadata:

      creation_time   : 2016-07-27 13:57:22

      handler_name    : Apple Alias Data Handler

      timecode        : 01:00:00:00

File 'out.mkv' already exists. Overwrite ? [y/N] y

[ffv1 @ 0x7fcef5000600] bits_per_raw_sample > 8, forcing range coder

[matroska @ 0x7fcef3810e00] Using AVStream.codec to pass codec
parameters to muxers is deprecated, use AVStream.codecpar instead.

Output #0, matroska, to 'out.mkv':

  Metadata:

    major_brand     : qt

    minor_version   : 537199360

    compatible_brands: qt

    timecode        : 01:00:00:00

    encoder         : Lavf57.44.100

    Stream #0:0(eng): Video: ffv1 (FFV1 / 0x31564646), yuv422p10le,
720x576, q=2-31, 200 kb/s, 25 fps, 1k tbn, 25 tbc (default)

    Metadata:

      creation_time   : 2016-07-27 13:57:22

      handler_name    : Apple Alias Data Handler

      encoder         : Lavc57.51.100 ffv1

Stream mapping:

  Stream #0:0 -> #0:0 (v210 (native) -> ffv1 (native))

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

frame=    2 fps=0.0 q=-0.0 Lsize=     347kB time=00:00:00.04
bitrate=69366.0kbits/s speed=1.08x

video:346kB audio:0kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.323688%

ifi-mac-pro:~ admin$ mediainfo out.mkv

General

Unique ID                                :
250399216619087796642502255587216129549
(0xBC61228B052F4FA1F3E7907857C0FE0D)

Complete name                            : out.mkv

Format                                   : Matroska

Format version                           : Version 4 / Version 2

File size                                : 347 KiB

Duration                                 : 80ms

Overall bit rate                         : 35.6 Mbps

Writing application                      : Lavf57.44.100

Writing library                          : Lavf57.44.100 / Lavf57.44.100

TIMECODE                                 : 01:00:00:00


Video

ID                                       : 1

Format                                   : FFV1

Format version                           : Version 3.4

Codec ID                                 : V_MS/VFW/FOURCC / FFV1

Width                                    : 720 pixels

Height                                   : 576 pixels

Display aspect ratio                     : 5:4

Frame rate mode                          : Constant

Color space                              : YUV

Chroma subsampling                       : 4:2:2

Bit depth                                : 10 bits

Scan type                                : Progressive

Compression mode                         : Lossless

Writing library                          : Lavc57.51.100 ffv1

Language                                 : English

Default                                  : Yes

Forced                                   : No

DURATION                                 : 00:00:00.080000000

HANDLER_NAME                             : Apple Alias Data Handler

coder_type                               : Range Coder

MaxSlicesCount                           : 4

ErrorDetectionType                       : Per slice


More information about the ffmpeg-user mailing list