Skip to content

Release 2.50

Latest

Choose a tag to compare

@nschlia nschlia released this 12 Jun 07:27
· 3 commits to master since this release
  • Bugfix: Fixed audio/video synchronization issues during transcoding.
  • Bugfix: Fixed HLS playback stopping unexpectedly, especially near the final segment.
  • Refactored FFmpeg resource handling to use RAII wrappers for AVPacket, AVFormatContext, AVAudioFifo, AVDictionary, SwrContext, and SwsContext.
  • Removed deprecated av_init_packet() usage and switched packet handling to allocation-based AVPacket lifetime management.
  • Improved cleanup of FFmpeg input/output contexts, including custom AVIOContext handling and error paths during context allocation.
  • Improved audio FIFO, resampler, scaler, and dictionary lifetime management to reduce manual cleanup code and avoid leaks on error paths.
  • Cleaned up transcoder shutdown paths by centralizing FFmpeg resource cleanup in dedicated wrapper classes.
  • Bugfix: Fixed retained FFmpeg deinterlace filter graphs when the output pipeline is rebuilt, especially after HLS seeks. Old filter graphs are now released before reinitialisation and when closing the current output, preventing stale filter pointers and retained filter buffers.
  • Bugfix: Fixed HLS playback stopping unexpectedly, especially near the last HLS segment.
  • Bugfix: Improved HLS segment finalisation and state cleanup between segment transitions.
  • Bugfix: Improved packet/frame lifetime handling to avoid stale state during HLS playback.
  • Added a make help target to list the available build, test, installation, documentation and maintenance targets.
  • Added ./configure --enable-perftools to build ffmpegfs with Google Perftools heap profiling support.
  • Bugfix: Fixed HLS playback for 10-bit UHD/HDR sources by converting H.264 HLS output to yuv420p/8-bit. This avoids unsupported H.264 High10 streams in browser-based players such as hls.js.
  • Added elapsed-time reporting to successful transcode completion messages, showing the total transcoding time in milliseconds.
  • Bugfix: Fixed a race condition in transcoder thread start-up which could allow the same cache entry to be transcoded more than once concurrently.
  • Consolidated transcoder completion logging so each worker now emits one clear final status message, including elapsed runtime for successful transcodes.
  • Bugfix: Fixed HLS cache recovery so stale segment metadata no longer leaves playback waiting indefinitely when the corresponding cache file is missing, empty, or otherwise unusable.
  • Improved HLS segment recovery by explicitly restarting the transcoder when a segment is marked as available but its cache file is missing, empty, or otherwise unusable.
  • Bugfix: Fixed HLS segment availability checks so incomplete cache entries no longer make segments appear available when those segments were never actually produced.
  • Added additional safeguards for stale decoder state to avoid leaving cache entries permanently marked as decoding when no active worker is available to repair them.
  • Bugfix: Ignored HLS seek requests that are too close to the beginning of a stream so transcoding starts at segment 1 instead of creating an avoidable partial cache set.
  • Added an HLS cache regression test that pre-populates the cache, re-reads all generated segments, and verifies that cached segment output remains stable across repeated reads.
  • Bugfix: Fixed HLS cache test log naming so wrapper scripts which already contain the _hls suffix no longer generate duplicate _hls_hls builtin log files.
  • Bugfix: Fixed distclean/distcheck failures caused by incorrectly named HLS test log files being left behind in the test build directory.
  • Refactored transcoder stream and output initialisation into smaller helper functions, making the setup flow easier to maintain.
  • Improved AVCodecContext ownership handling during stream, output, and frame-set setup so failed initialisation paths no longer leak codec contexts.
  • Hardened output/cache setup with additional validation and null checks to avoid partially initialised stream state and provide clearer error handling.
  • Improved duration metadata handling for stream-copy and album-art output so invalid or missing input timing information is no longer used.
  • Improved test cleanup by using explicit ffmpegfs-owned temporary directory names and guarded removal logic, avoiding stale anonymous /tmp directories after interrupted or parallel test runs.
  • Improved deinterlacing quality by replacing yadif with bwdif while keeping one output frame per input frame. This improves playback smoothness for interlaced sources without changing the output frame rate or requiring changes to timestamp, FPS, or HLS segment timing logic.