[FFmpeg-user] Tag mp4s incompatible with output codec ?

Gabriel Zachmann zach at cs.uni-bremen.de
Mon Jun 4 01:11:10 EEST 2018


> 
> You do (from around Oct 12 2017), but that's not the point, I believe.

Maybe not.. Anyways I downloaded the latest version (I believe).

I ran the original command line (w/o "-dn"), same error message.
(BTW:  why does it say "Tag mp4s incompatible with output codec id '0'" ?
I don't see where I am setting a tag 'mp4s'.)

Then I ran the command again, with "-dn" .  This seems to work.

Complete command line below.


One question regarding option "-dn":
I checked the manual and it says "Disable data recording".
So what is "data recording"? Are subtitles also a kind of data?
What about meta data, will that be killed by "-dn" ?

Thanks a lot in advance.

Best regards, Gabriel




% ffmpeg -i "Neuroscience of VR, Congruency, pain distraction, presence, Enfacement effect, rubber hand, tools as part of the body, redirected walking - Bruno Herbelin, CERN, 2017.mp4" -map 0 -c:s copy -map_metadata 0 -map_metadata:s:v 0:s:v -map_metadata:s:a 0:s:a -c:a aac -b:a 128k -codec:v hevc -tag:v hvc1 -dn -preset faster -crf 25 -profile:v main -x265-params "me=umh:subme=5:ref=4:aq-mode=2:aq-strength=1.0:psy-rd=2.0:psy-rdoq=1.0:rd=6:log-level=1" -f mp4 "Neuroscience of VR, Congruency, pain distraction, presence, Enfacement effect, rubber hand, tools as part of the body, redirected walking - Bruno Herbelin, CERN, 2017.mp4_converting"
ffmpeg version N-91200-g1616b1be5a-tessus Copyright (c) 2000-2018 the FFmpeg developers
  built with Apple LLVM version 9.1.0 (clang-902.0.39.1)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
  libavutil      56. 18.102 / 56. 18.102
  libavcodec     58. 19.104 / 58. 19.104
  libavformat    58. 17.100 / 58. 17.100
  libavdevice    58.  4.100 / 58.  4.100
  libavfilter     7. 24.100 /  7. 24.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Neuroscience of VR, Congruency, pain distraction, presence, Enfacement effect, rubber hand, tools as part of the body, redirected walking - Bruno Herbelin, CERN, 2017.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isomavc1
    creation_time   : 2017-11-09T15:56:49.000000Z
    compilation     : 0
    encoder         : Sorenson Squeeze
  Duration: 00:26:06.00, start: 0.000000, bitrate: 5280 kb/s
    Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 96 kb/s (default)
    Metadata:
      creation_time   : 2017-11-09T15:56:49.000000Z
      handler_name    : soun
    Stream #0:1(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709/bt709/unknown), 1920x1080, 5002 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
    Metadata:
      creation_time   : 2017-11-09T15:56:49.000000Z
      handler_name    : vide
      encoder         : AVC Coding
    Stream #0:2(und): Data: none (mp4s / 0x7334706D) (default)
    Metadata:
      creation_time   : 2017-11-09T15:56:58.000000Z
      handler_name    : sdsm
    Stream #0:3(und): Data: none (mp4s / 0x7334706D) (default)
    Metadata:
      creation_time   : 2017-11-09T15:56:58.000000Z
      handler_name    : odsm
    Stream #0:4(eng): Data: none (rtp  / 0x20707472), 13 kb/s
    Metadata:
      creation_time   : 2017-11-10T15:56:58.000000Z
    Stream #0:5(eng): Data: none (rtp  / 0x20707472), 162 kb/s
    Metadata:
      creation_time   : 2017-11-10T15:57:00.000000Z
File 'Neuroscience of VR, Congruency, pain distraction, presence, Enfacement effect, rubber hand, tools as part of the body, redirected walking - Bruno Herbelin, CERN, 2017.mp4_converting' already exists. Overwrite ? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (aac (native) -> aac (native))
  Stream #0:1 -> #0:1 (h264 (native) -> hevc (libx265))
Press [q] to stop, [?] for help
Output #0, mp4, to 'Neuroscience of VR, Congruency, pain distraction, presence, Enfacement effect, rubber hand, tools as part of the body, redirected walking - Bruno Herbelin, CERN, 2017.mp4_converting':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isomavc1
    creation_time   : 2017-11-09T15:56:49.000000Z
    compilation     : 0
    encoder         : Lavf58.17.100
    Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      creation_time   : 2017-11-09T15:56:49.000000Z
      handler_name    : soun
      encoder         : Lavc58.19.104 aac
    Stream #0:1(und): Video: hevc (libx265) (hvc1 / 0x31637668), yuv420p, 1920x1080, q=2-31, 25 fps, 12800 tbn, 25 tbc (default)
    Metadata:
      creation_time   : 2017-11-09T15:56:49.000000Z
      handler_name    : vide
      encoder         : AVC Coding
frame=   25 fps=0.0 q=-0.0 size=       0kB time=00:00:01.27 bitrate=   0.3kbits/frame=   30 fps= 23 q=-0.0 size=       0kB time=00:00:01.46 bitrate=   0.2kbits/frame=   36 fps= 17 q=-0.0 size=       0kB time=00:00:01.71 bitrate=   0.2kbits/frame=   41 fps= 14 q=-0.0 size=       0kB time=00:00:01.90 bitrate=   0.2kbits/frame=   46 fps= 12 q=-0.0 size=     256kB time=00:00:02.11 bitrate= 992.7kbits/frame=   51 fps= 11 q=-0.0 size=     256kB time=00:00:02.29 bitrate= 912.4kbits/frame=   56 fps= 10 q=-0.0 size=     256kB time=00:00:02.50 bitrate= 836.4kbits/frame=   60 fps=9.9 q=-0.0 size=     256kB time=00:00:02.67 bitrate= 785.5kbits/frame=   66 fps=9.6 q=-0.0 size=     256kB time=00:00:02.90 bitrate= 722.7kbits/frame=   69 fps=9.4 q=-0.0 size=     256kB time=00:00:03.01 bitrate= 694.9kbits/frame=   72 fps=7.2 q=-0.0 Lsize=     552kB time=00:00:03.18 bitrate=1420.5kbits/s speed=0.319x    
video:494kB audio:52kB subtitle:0kB other streams:0kB global headers:2kB muxing overhead: 1.055214%
[aac @ 0x7ffa9f01b200] Qavg: 1062.264
Exiting normally, received signal 2.
[ I interrupted it here.]






More information about the ffmpeg-user mailing list