/oss · 2 merged

Eyevinn/mp4ff

A Go library and tools for working with MP4 video and audio files.

the project on GitHub (opens in a new tab)
  1. 24 Nov 2026

    Defragmented B-frame video keeps its last frames

    What was broken
    Turning an HLS or DASH video with B-frames back into a plain MP4 cut the last two frames, because the track's length was taken from the decode end instead of the display end.
    What I changed
    The final edit now reaches the end of the display timeline, and tracks without an edit list keep the standard duration.
    Why it matters
    Videos converted back from streaming formats play to the end.

    see the code, #732 (opens in a new tab)

  2. 17 Nov 2026

    Cropped audio files can be played again

    What was broken
    Cutting an audio-only MP4 with mp4ff-crop could write a file that ffmpeg and players could not open, because one table of sample positions came out wrong.
    What I changed
    The crop now writes that table correctly when the cut falls inside the first block of samples.
    Why it matters
    Trimmed audio files open and play as expected.

    see the code, #722 (opens in a new tab)

← every project