[FFmpeg-user] -tag:v not set in mov file

Rens Dijkshoorn rens at offlinemedia.nl
Tue May 3 11:27:05 CEST 2016


Hi

i have problems using -tag:v or -vtag to set the correct codec for Quicktime
in my case encoding xdcamhd422 defaults to xd5e for 25P but needs to be
set xd5c for 50i when encoded with interlaced video.

ffmpeg -i PRORES_HD50I.MOV -map 0:v -c:v mpeg2video -flags +ildct+ilme -top 1 -dc 10 -q:v 1 -qmin 1 -bf 2 \
                           -rc_max_vbv_use 1 -rc_min_vbv_use 1 -g 12 -b:v 50000k -minrate 50000k \
                           -maxrate 50000k -bufsize 17825792 -tag:v xd5c TEST.MOV

This seems to be true for all codecs this is a simple example to show this
-tag:v apcs = prores LT

 ./ffmpeg -f lavfi -r 25 -i testsrc -t 10 -c:v prores -tag:v apcs ~/Desktop/TEST_SRC.MOV

With this command de resulting file is still set to apcn as tested with dumpster
and Quicktime7 player.


ffmpeg version N-79717-gdeaf58a Copyright (c) 2000-2016 the FFmpeg developers
  built with Apple LLVM version 7.0.2 (clang-700.1.81)
  configuration: --disable-sdl --enable-gpl --enable-nonfree --enable-static
  libavutil      55. 23.100 / 55. 23.100
  libavcodec     57. 38.100 / 57. 38.100
  libavformat    57. 35.100 / 57. 35.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 44.100 /  6. 44.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, lavfi, from 'testsrc':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SAR 1:1 DAR 4:3], 25 fps, 25 tbr, 25 tbn
File '/Users/macbook/Desktop/TEST_SRC.MOV' already exists. Overwrite ? [y/N] y
[prores @ 0x7fa6ac824400] encoding with ProRes standard (apcn) profile
[prores @ 0x7fa6ac017400] encoding with ProRes standard (apcn) profile
[prores @ 0x7fa6ac807400] encoding with ProRes standard (apcn) profile
[mov @ 0x7fa6ac009600] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, mov, to '/Users/macbook/Desktop/TEST_SRC.MOV':
  Metadata:
    encoder         : Lavf57.35.100
    Stream #0:0: Video: prores (apcn / 0x6E637061), yuv422p10le, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25 fps, 12800 tbn
    Metadata:
      encoder         : Lavc57.38.100 prores
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> prores (native))
Press [q] to stop, [?] for help
frame=  250 fps=0.0 q=-0.0 Lsize=    4902kB time=00:00:09.96 bitrate=4032.1kbits/s speed=13.3x    
video:4901kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.034953%

Regards Rens



More information about the ffmpeg-user mailing list