[FFmpeg-user] XAVC to Quicktime MOV

Rens Dijkshoorn rens at onlinemedia.nl
Thu Nov 27 20:11:23 CET 2014


Rens Dijkshoorn <rens <at> onlinemedia.nl> writes: 

> with the latest versions of ffmpeg converting a SONY 
> AVC100CBG_1920_1080_H422IP <at> L41 to Quicktime Movie 
> the resulting movie plays but display remains green in 
> the quicktime player, both mplayer and ffplay will 
> play the resulting mov. 
> 
> The same command tested with ffmbc-7.1 works fine. 

Please provide (three) sample files. 

> ffmpeg version 2.4.3 Copyright (c) 2000-2014 the FFmpeg developers 

This is not the latest version;-(


Just to be sure I checked today with a fresh build(s) from git and did some tests
to see if i could come up with some more relevant information.

ffmpeg -i AVC100CBG_1920_1080_H422IP at L41.MXF -map 0:0 -map 0:1 -map 0:2 -c copy -vtag ai12 FFMPEG.MOV

ffmpeg version N-68057-g92fa1d9 Copyright (c) 2000-2014 the FFmpeg developers
  built on Nov 27 2014 19:29:47 with Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
  configuration: --arch=x86_64

  libavutil      54. 15.100 / 54. 15.100
  libavcodec     56. 13.100 / 56. 13.100
  libavformat    56. 15.100 / 56. 15.100
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  2.103 /  5.  2.103
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100

 The resulting file is now playing fine. When building with my standard config

configuration: --arch=x86_64 --enable-libmp3lame --enable-libfaac --enable-libvpx
--enable-libx264 --enable-libx265 --enable-libopenjpeg --enable-gpl --enable-nonfree
--enable-pthreads --enable-avfilter --enable-libfreetype --enable-libass --enable-shared


The greenscreen when playingback in the quicktimeplayer has returned so is it safe to say
that its related to one of the external library's ? 

Tested with a static build found on the internet

 ffmpeg version 2.4.1-tessus Copyright (c) 2000-2014 the FFmpeg developers 
  configuration: --cc=/usr/bin/clang --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm
--extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads
--enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265
--enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-libsoxr --enable-libwavpack --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-libmodplug --enable-fontconfig --enable-libfreetype
--enable-libass --enable-libbluray --enable-filters --disable-indev=qtkit --enable-runtime-cpudetect
  libavutil      54.  7.100 / 54.  7.100
  libavcodec     56.  1.100 / 56.  1.100
  libavformat    56.  4.101 / 56.  4.101
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  1.100 /  5.  1.100
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  0.100 / 53.  0.100

Converted to mov with the same command

ffmpeg -i AVC100CBG_1920_1080_H422IP at L41.MXF -map 0:0 -map 0:1 -map 0:2 -c copy -vtag ai12 FFMPEG.MOV

This config give's the green screen when playing in the Quicktimeplayer, mplayer is fine.


For final test I build with

ffmpeg version N-68057-g92fa1d9 Copyright (c) 2000-2014 the FFmpeg developers
  built on Nov 27 2014 19:54:47 with Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
  configuration: --arch=x86_64 --enable-libx264 --enable-gpl --enable-nonfree
  libavutil      54. 15.100 / 54. 15.100
  libavcodec     56. 13.100 / 56. 13.100
  libavformat    56. 15.100 / 56. 15.100
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  2.103 /  5.  2.103
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100

Now the resulting mov file plays fine.

When converting there is a difference in printout for the working version

Input #0, mxf, from '/Volumes/Media/XAVC/F55/B001C001_141122B0.MXF':
  Metadata:
    uid             : 482f3ada-726b-11e4-a6b2-0800466b87d2
    generation_uid  : 482f3ae4-726b-11e4-a881-0800466b87d2
    company_name    : Sony
    product_name    : Mem 
    product_version : 2.00
    product_uid     : cede1104-8280-11de-8a39-08004678031c
    modification_date: 2014-11-22 17:16:22
    material_package_uid: 71673eb8-8369-05d3-0800-4602026b87d2
    timecode        : 17:30:04:08
  Duration: 00:00:33.88, start: 0.000000, bitrate: 124027 kb/s
    Stream #0:0: Video: h264 (High 4:2:2 Intra), yuv422p10le(pc, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 50 tbc
    Metadata:
      file_package_uid: 72673eb8-8369-05d3-0800-4602026b87d2
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_uid: 72673eb8-8369-05d3-0800-4602026b87d2
    Stream #0:2: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_uid: 72673eb8-8369-05d3-0800-4602026b87d2
    Stream #0:3: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_uid: 72673eb8-8369-05d3-0800-4602026b87d2
    Stream #0:4: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_uid: 72673eb8-8369-05d3-0800-4602026b87d2
    Stream #0:5: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_uid: 72673eb8-8369-05d3-0800-4602026b87d2
    Stream #0:6: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_uid: 72673eb8-8369-05d3-0800-4602026b87d2
    Stream #0:7: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_uid: 72673eb8-8369-05d3-0800-4602026b87d2
    Stream #0:8: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_uid: 72673eb8-8369-05d3-0800-4602026b87d2
    Stream #0:9: Data: none
    Metadata:
      file_package_uid: 72673eb8-8369-05d3-0800-4602026b87d2
      data_type       : vbi_vanc_smpte_436M
File 'FFMPEG.MOV' already exists. Overwrite ? [y/N] y
Output #0, mov, to 'FFMPEG.MOV':
  Metadata:
    uid             : 482f3ada-726b-11e4-a6b2-0800466b87d2
    generation_uid  : 482f3ae4-726b-11e4-a881-0800466b87d2
    company_name    : Sony
    product_name    : Mem 
    product_version : 2.00
    product_uid     : cede1104-8280-11de-8a39-08004678031c
    modification_date: 2014-11-22 17:16:22
    material_package_uid: 71673eb8-8369-05d3-0800-4602026b87d2
    timecode        : 17:30:04:08
    encoder         : Lavf56.15.100
    Stream #0:0: Video: h264 (ai12 / 0x32316961), yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      file_package_uid: 72673eb8-8369-05d3-0800-4602026b87d2
    Stream #0:1: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono (24 bit), 1152 kb/s
    Metadata:
      file_package_uid: 72673eb8-8369-05d3-0800-4602026b87d2
    Stream #0:2: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono (24 bit), 1152 kb/s
    Metadata:
      file_package_uid: 72673eb8-8369-05d3-0800-4602026b87d2
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (copy)
Press [q] to stop, [?] for help
frame=  847 fps=155 q=-1.0 Lsize=  480050kB time=00:00:33.88 bitrate=116073.4kbits/s    
video:470508kB audio:9529kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.002553%


for the file that playback fine to


Input #0, mxf, from '/Volumes/Media/XAVC/F55/B001C001_141122B0.MXF':
  Metadata:
    uid             : 482f3ada-726b-11e4-a6b2-0800466b87d2
    generation_uid  : 482f3ae4-726b-11e4-a881-0800466b87d2
    company_name    : Sony
    product_name    : Mem 
    product_version : 2.00
    product_uid     : cede1104-8280-11de-8a39-08004678031c
    modification_date: 2014-11-22 17:16:22
    timecode        : 17:30:04:08
  Duration: 00:00:33.88, start: 0.000000, bitrate: 124027 kb/s
    Stream #0:0: Video: h264 (High 4:2:2 Intra), yuv422p10le(pc, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 50 tbc
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Stream #0:2: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Stream #0:3: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Stream #0:4: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Stream #0:5: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Stream #0:6: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Stream #0:7: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Stream #0:8: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Stream #0:9: Data: none
    Metadata:
      data_type       : vbi_vanc_smpte_436M
File 'FFMPEG.MOV' already exists. Overwrite ? [y/N] y
Output #0, mov, to 'FFMPEG.MOV':
  Metadata:
    uid             : 482f3ada-726b-11e4-a6b2-0800466b87d2
    generation_uid  : 482f3ae4-726b-11e4-a881-0800466b87d2
    company_name    : Sony
    product_name    : Mem 
    product_version : 2.00
    product_uid     : cede1104-8280-11de-8a39-08004678031c
    modification_date: 2014-11-22 17:16:22
    timecode        : 17:30:04:08
    encoder         : Lavf56.4.101
    Stream #0:0: Video: h264 (ai12 / 0x32316961), yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 12800 tbn, 25 tbc
    Stream #0:1: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono (24 bit), 1152 kb/s
    Stream #0:2: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono (24 bit), 1152 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (copy)
Press [q] to stop, [?] for help
frame=  847 fps=186 q=-1.0 Lsize=  480050kB time=00:00:33.88 bitrate=116073.4kbits/s    
video:470508kB audio:9529kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.002571%

this one for the quicktime that won't playpack properly, no idea if this could be relevant.

 Regards

 Rens


More information about the ffmpeg-user mailing list