[FFmpeg-user] Descriptive metadata not copied with "-map 0"

Peter B. pb at das-werkstatt.com
Thu May 16 00:17:14 EEST 2019


Hi everyone :)

I've rewrapped a ProRes/PCM in MOV to MOV with "-c copy" and "-map 0" [1].
FFmpeg displays the descriptive metadata tags of the original file, but
doesn't copy them through to the target container - even if it's the
identical format.

Is this on purpose?
How could I retain all possible information (including boring metadata
:P) from the source in the rewrapped target?


Thank you very much in advance,
Peter B.

-- Links:
[1] https://trac.ffmpeg.org/wiki/Map#Example4


Commandline and complete uncut console output:

*********************************************
$ ffmpeg-rel -i original.mov -c copy -map 0 rewrapped.mov
*********************************************

ffmpeg version 4.0.1-static https://johnvansickle.com/ffmpeg/  Copyright
(c) 2000-2018 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --enable-gpl --enable-version3 --enable-static
--disable-debug --disable-ffplay --disable-indev=sndio
--disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-gray --enable-libaom --enable-libfribidi
--enable-libass --enable-libvmaf --enable-libfreetype
--enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband
--enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus
--enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc
--enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxml2 --enable-libxvid --enable-libzimg
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'original.mov':
  Metadata:
    major_brand     : qt 
    minor_version   : 0
    compatible_brands: qt 
    creation_time   : 2014-11-03T14:48:20.000000Z
    com.apple.quicktime.make: Apple
    com.apple.quicktime.model: MacPro5,1
    com.apple.quicktime.software: Mac OS X 10.9.5 (13F34)
    com.apple.quicktime.creationdate: 2014-11-03T15:46:31+0100
  Duration: 00:00:33.96, start: 0.000000, bitrate: 61629 kb/s
    Stream #0:0(und): Video: prores (ap4h / 0x68347061),
yuv422p10le(smpte170m/bt470bg/bt709, progressive), 702x576, 60093 kb/s,
SAR 59:54 DAR 767:576, 25.03 fps, 25 tbr, 25k tbn, 25k tbc (default)
    Metadata:
      creation_time   : 2014-11-03T14:48:20.000000Z
      handler_name    : Core Media Data Handler
      encoder         : Apple ProRes 4444
    Stream #0:1(und): Audio: pcm_s16be (lpcm / 0x6D63706C), 48000 Hz,
stereo, s16, 1536 kb/s (default)
    Metadata:
      creation_time   : 2014-11-03T14:48:20.000000Z
      handler_name    : Core Media Data Handler
Output #0, mov, to 'rewrapped.mov':
  Metadata:
    major_brand     : qt 
    minor_version   : 0
    compatible_brands: qt 
    com.apple.quicktime.creationdate: 2014-11-03T15:46:31+0100
    com.apple.quicktime.make: Apple
    com.apple.quicktime.model: MacPro5,1
    com.apple.quicktime.software: Mac OS X 10.9.5 (13F34)
    encoder         : Lavf58.12.100
    Stream #0:0(und): Video: prores (ap4h / 0x68347061),
yuv422p10le(smpte170m/bt470bg/bt709, progressive), 702x576 [SAR 59:54
DAR 767:576], q=2-31, 60093 kb/s, 25.03 fps, 25 tbr, 25k tbn, 25k tbc
(default)
    Metadata:
      creation_time   : 2014-11-03T14:48:20.000000Z
      handler_name    : Core Media Data Handler
      encoder         : Apple ProRes 4444
    Stream #0:1(und): Audio: pcm_s16be (lpcm / 0x6D63706C), 48000 Hz,
stereo, s16, 1536 kb/s (default)
    Metadata:
      creation_time   : 2014-11-03T14:48:20.000000Z
      handler_name    : Core Media Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=  850 fps=0.0 q=-1.0 Lsize=  255496kB time=00:00:33.94
bitrate=61661.1kbits/s speed= 195x   
video:249121kB audio:6360kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.005932%


More information about the ffmpeg-user mailing list