package
1.8.6-4
Repository: https://github.com/dadav/go2rtc.git
Documentation: pkg.go.dev

# README

Fragmented MP4

ffmpeg -i "rtsp://..." -movflags +frag_keyframe+separate_moof+default_base_moof+empty_moov -frag_duration 1 -c copy -t 5 sample.mp4
  • movflags frag_keyframe Start a new fragment at each video keyframe.
  • frag_duration duration Create fragments that are duration microseconds long.
  • movflags separate_moof Write a separate moof (movie fragment) atom for each track.
  • movflags default_base_moof Similarly to the omit_tfhd_offset, this flag avoids writing the absolute base_data_offset field in tfhd atoms, but does so by using the new default-base-is-moof flag instead.

https://ffmpeg.org/ffmpeg-formats.html#Options-13

HEVC

Browseravc1hvc1hev1
Mac Chrome+-+
Mac Safari++-
iOS 15?++-
Mac Firefox+--
iOS 12+--
Android 13+--

Useful links

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseQuery - like usual parse, but with mp4 param handler.
PatchVideoRotate - update video track transformation matrix.
PatchVideoScale - update "Pixel Aspect Ratio" atom.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author