Opened 4 years ago

Closed 4 years ago

#5323 closed defect (fixed)

Help message for "mp4 muxer AVOptions" looks wrong.

Reported by: vi Owned by:
Priority: minor Component: avformat
Version: git-master Keywords: mov
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Help for "mp4 muxer AVOptions" look suspicious: list of option value variants is the same after -movflags, -encryption_scheme, -encryption_key and -encryption_kid.

% $ ./ffmpeg -h full | grep mp4\ mux -A 50
ffmpeg version N-78929-gc78a726 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --enable-static --disable-shared --enable-gpl --enable-version3 --enable-nonfree --disable-libass --enable-frei0r --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencv --enable-libopenjpeg --enable-libopus --disable-librtmp --disable-libschroedinger --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxvid --enable-x11grab --enable-ffplay --disable-vdpau --enable-libx265
  libavutil      55. 19.100 / 55. 19.100
  libavcodec     57. 27.101 / 57. 27.101
  libavformat    57. 28.100 / 57. 28.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 39.100 /  6. 39.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
mp4 muxer AVOptions:
  -movflags          <flags>      E....... MOV muxer flags (default 0)
     rtphint                      E....... Add RTP hint tracks
     empty_moov                   E....... Make the initial moov atom empty
     frag_keyframe                E....... Fragment at video keyframes
     separate_moof                E....... Write separate moof/mdat atoms for each track
     frag_custom                  E....... Flush fragments on caller requests
     isml                         E....... Create a live smooth streaming feed (for pushing to a publishing point)
     faststart                    E....... Run a second pass to put the index (moov atom) at the beginning of the file
     omit_tfhd_offset              E....... Omit the base data offset in tfhd atoms
     disable_chpl                 E....... Disable Nero chapter atom
     default_base_moof              E....... Set the default-base-is-moof flag in tfhd atoms
     dash                         E....... Write DASH compatible fragmented MP4
     frag_discont                 E....... Signal that the next fragment is discontinuous from earlier ones
     delay_moov                   E....... Delay writing the initial moov until the first fragment is cut, or until the first fragment flush
     global_sidx                  E....... Write a global sidx index at the start of the file
     write_colr                   E....... Write colr atom (Experimental, may be renamed or changed, do not use from scripts)
     write_gama                   E....... Write deprecated gama atom
  -moov_size         <int>        E....... maximum moov size so it can be placed at the begin (from 0 to INT_MAX) (default 0)
  -rtpflags          <flags>      E....... RTP muxer flags (default 0)
     latm                         E....... Use MP4A-LATM packetization instead of MPEG4-GENERIC for AAC
     rfc2190                      E....... Use RFC 2190 packetization instead of RFC 4629 for H.263
     skip_rtcp                    E....... Don't send RTCP sender reports
     h264_mode0                   E....... Use mode 0 for H264 in RTP
     send_bye                     E....... Send RTCP BYE packets when finishing
  -skip_iods         <boolean>    E....... Skip writing iods atom. (default true)
  -iods_audio_profile <int>        E....... iods audio profile atom. (from -1 to 255) (default -1)
  -iods_video_profile <int>        E....... iods video profile atom. (from -1 to 255) (default -1)
  -frag_duration     <int>        E....... Maximum fragment duration (from 0 to INT_MAX) (default 0)
  -min_frag_duration <int>        E....... Minimum fragment duration (from 0 to INT_MAX) (default 0)
  -frag_size         <int>        E....... Maximum fragment size (from 0 to INT_MAX) (default 0)
  -ism_lookahead     <int>        E....... Number of lookahead entries for ISM files (from 0 to INT_MAX) (default 0)
  -video_track_timescale <int>        E....... set timescale of all video tracks (from 0 to INT_MAX) (default 0)
  -brand             <string>     E....... Override major brand
  -use_editlist      <boolean>    E....... use edit list (default auto)
  -fragment_index    <int>        E....... Fragment number of the next fragment (from 1 to INT_MAX) (default 1)
  -mov_gamma         <float>      E....... gamma value for gama atom (from 0 to 10) (default 0)
  -frag_interleave   <int>        E....... Interleave samples within fragments (max number of consecutive samples, lower is tighter interleaving, but with more overhead) (from 0 to INT_MAX) (default 0)
  -encryption_scheme <string>     E....... Configures the encryption scheme, allowed values are none, cenc-aes-ctr
     rtphint                      E....... Add RTP hint tracks
     empty_moov                   E....... Make the initial moov atom empty
     frag_keyframe                E....... Fragment at video keyframes
     separate_moof                E....... Write separate moof/mdat atoms for each track
     frag_custom                  E....... Flush fragments on caller requests
     isml                         E....... Create a live smooth streaming feed (for pushing to a publishing point)
     faststart                    E....... Run a second pass to put the index (moov atom) at the beginning of the file
     omit_tfhd_offset              E....... Omit the base data offset in tfhd atoms
     disable_chpl                 E....... Disable Nero chapter atom
     default_base_moof              E....... Set the default-base-is-moof flag in tfhd atoms
     dash                         E....... Write DASH compatible fragmented MP4
     frag_discont                 E....... Signal that the next fragment is discontinuous from earlier ones
...

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (2)

comment:1 Changed 4 years ago by cehoyos

  • Component changed from documentation to avformat
  • Keywords mov added; mp4 help removed
  • Reproduced by developer set
  • Status changed from new to open

Patch sent.

comment:2 Changed 4 years ago by cehoyos

  • Resolution set to fixed
  • Status changed from open to closed

Fixed in bd2cc3c42c0fb94a2cfb09352da0537c55690eab - thank you for the report!

Note: See TracTickets for help on using tickets.