Skip to content

Instantly share code, notes, and snippets.

@roxlu
Created June 28, 2018 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roxlu/998b7b3e014e49633d66052d74222337 to your computer and use it in GitHub Desktop.
Save roxlu/998b7b3e014e49633d66052d74222337 to your computer and use it in GitHub Desktop.
h264_metadata_bsf AVOptions:
-aud <int> ...V....B Access Unit Delimiter NAL units (from 0 to 2) (default pass)
pass ...V....B
insert ...V....B
remove ...V....B
-sample_aspect_ratio <rational> ...V....B Set sample aspect ratio (table E-1) (from 0 to 65535) (default 0/1)
-video_format <int> ...V....B Set video format (table E-2) (from -1 to 7) (default -1)
-video_full_range_flag <int> ...V....B Set video full range flag (from -1 to 1) (default -1)
-colour_primaries <int> ...V....B Set colour primaries (table E-3) (from -1 to 255) (default -1)
-transfer_characteristics <int> ...V....B Set transfer characteristics (table E-4) (from -1 to 255) (default -1)
-matrix_coefficients <int> ...V....B Set matrix coefficients (table E-5) (from -1 to 255) (default -1)
-chroma_sample_loc_type <int> ...V....B Set chroma sample location type (figure E-1) (from -1 to 6) (default -1)
-tick_rate <rational> ...V....B Set VUI tick rate (num_units_in_tick / time_scale) (from 0 to UINT32_MAX) (default 0/1)
-fixed_frame_rate_flag <int> ...V....B Set VUI fixed frame rate flag (from -1 to 1) (default -1)
-crop_left <int> ...V....B Set left border crop offset (from -1 to 16880) (default -1)
-crop_right <int> ...V....B Set right border crop offset (from -1 to 16880) (default -1)
-crop_top <int> ...V....B Set top border crop offset (from -1 to 16880) (default -1)
-crop_bottom <int> ...V....B Set bottom border crop offset (from -1 to 16880) (default -1)
-sei_user_data <string> ...V....B Insert SEI user data (UUID+string)
-delete_filler <int> ...V....B Delete all filler (both NAL and SEI) (from 0 to 1) (default 0)
-display_orientation <int> ...V....B Display orientation SEI (from 0 to 3) (default pass)
pass ...V....B
insert ...V....B
remove ...V....B
extract ...V....B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment