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

Rens Dijkshoorn rens at offlinemedia.nl
Tue May 3 12:13:31 CEST 2016


The idea was to show the problem in a more simple context.


This will show the problem using buildin smptehdbar in a 50P to 50i xdcamhd422 encoding
both will default to xd5e examined using dumpster or Quicktime7 on OSX 10.10.5.

TEST1 with -tag:v xd5c

./ffmpeg -f lavfi -i smptehdbars=duration=10:size=1920x1080:r=50 -vf format=pix_fmts=yuv422p,tinterlace=4:vlpf -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 -an ~/Desktop/TEST_SRC.MOV

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 'smptehdbars=duration=10:size=1920x1080:r=50':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 50 tbn
File '/Users/macbook/Desktop/TEST_SRC.MOV' already exists. Overwrite ? [y/N] y
No pixel format specified, yuv422p for MPEG-2 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[mov @ 0x7fc93a00fa00] 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: mpeg2video (4:2:2) (xd5c / 0x63356478), yuv422p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 50000 kb/s, 25 fps, 12800 tbn
    Metadata:
      encoder         : Lavc57.38.100 mpeg2video
    Side data:
      cpb: bitrate max/min/avg: 50000000/50000000/50000000 buffer size: 17825792 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg2video (native))
Press [q] to stop, [?] for help
frame=  250 fps= 17 q=1.0 Lsize=   60495kB time=00:00:09.92 bitrate=49956.4kbits/s speed=0.676x    
video:60491kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.005570%

TEST2 -tag:v not set

macbook:ffmpeg-git macbook$ ./ffmpeg -f lavfi -i smptehdbars=duration=10:size=1920x1080:r=50 -vf format=pix_fmts=yuv422p,tinterlace=4:vlpf -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 -an ~/Desktop/TEST_SRC.MOV

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 'smptehdbars=duration=10:size=1920x1080:r=50':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 50 tbn
File '/Users/macbook/Desktop/TEST_SRC.MOV' already exists. Overwrite ? [y/N] y
No pixel format specified, yuv422p for MPEG-2 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[mov @ 0x7fbe29006000] 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: mpeg2video (4:2:2) (m2v1 / 0x3176326D), yuv422p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 50000 kb/s, 25 fps, 12800 tbn
    Metadata:
      encoder         : Lavc57.38.100 mpeg2video
    Side data:
      cpb: bitrate max/min/avg: 50000000/50000000/50000000 buffer size: 17825792 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg2video (native))
Press [q] to stop, [?] for help
frame=  250 fps= 17 q=1.0 Lsize=   60495kB time=00:00:09.92 bitrate=49956.4kbits/s speed=0.684x    
video:60491kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.005570%

Both TEST1 and TEST2 have xd5e as fourcc.


> 
> (Why do you provide output for another than your
> use case?)
> Prores is special, you have to specify the profile, see also
> the console output:
> 
>> [prores  <at>  0x7fa6ac824400] encoding with ProRes
>> standard (apcn) profile
> 
> Use -profile 1 for lt.
> 
> Please learn now what thread hijacking is and strictly
> avoid it!
> 
> Carl Eugen
> 
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list