Page MenuHomeSolus

Update ffms2 to 2.40

Authored by aleksvor on Sat, Jan 2, 2:19 PM.




  • Added LastEndTime track property to make it possible to take the last frame's duration into account.
  • Removed several deprecated functions and enums from the API.
  • No longer assumes sub 1 fps framerates are invalid.
  • Added support for floating point format output in VapourSynth.
  • Fixed issue with dropped/repeated frames in vc1 with multiple b-frames after seeking.
  • Fixed issue with dropped/repeated frames in h264 when the reorder buffer size is too small.
  • Improved seeking in mpeg and mpegts streams.
  • Added VP9 support.
  • Fixed incorrectly reporting the output as limited range when it's in fact unknown and likely to be full range.
  • Added mastering display metadata output.
  • VapourSynth source now defaults to not outputting alpha.
  • Removed the now unused demuxer, dumpmask, audiofile and utf8 arguments from the source filters.
  • Removed ability to dump audio tracks.
  • Fixed incorrect colorimetry metadata reported when converting the output to another colorspace.
  • Sources now simply reference the index instead of copying large parts of it.
  • Use new FFmpeg decoding API.
  • Fixed several bugs in output format selection.
  • FFMSIndex will now properly error out with invalid arguments.
  • Add rotation metadata export.
  • Add stereoscopic metadata export.
  • Removed support for old FFmpeg versions.
  • Removed libav support.
  • Discontinuous Timestamp Support.
  • Add FFMS_Deinit.
  • Fix mid-stream parameter changes.
  • Fix decoding H.264 PAFF files with one field per packet.
  • Fix delay calculations for H.264 PAFF files.
  • Fix frame rate calculation for fields with one field per packet.
Test Plan

Built Aegisub 3.3.2 against it, played back video and audio in built-in player (ffms2 is used here for audio and video decoding).

Diff Detail

R744 ffms2
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

aleksvor created this revision.Sat, Jan 2, 2:19 PM
aleksvor requested review of this revision.Sat, Jan 2, 2:19 PM
JoshStrobl accepted this revision.Wed, Jan 6, 2:48 PM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Wed, Jan 6, 2:48 PM
This revision was automatically updated to reflect the committed changes.