Skip to content

v0.2.6

Latest
Compare
Choose a tag to compare
@abhiTronix abhiTronix released this 08 Jul 17:28

Summary: New Parameters, Support for SRTP/RTSPS protocol, and Enhanced Video Orientation Handling and Process Termination 🎉

📓 Complete Release Notes can be found here ↗️


Donation

DeFFcode is free and open source and will always remain so. ❤️

It is something I am doing with my own free time. But so much more needs to be done, and I need your help to do this. For just the price of a cup of coffee, you can make a difference 🙂

Buy Me a Coffee at ko-fi.com

What's Changed

✨ New Features

  • FFdecoder:
    • Introduced a new optional -disable_ffmpeg_window boolean parameter.
      • 💬 Prevents the FFmpeg command line window from appearing by applying the DETACHED_PROCESS flag to the subprocess FFmpeg pipeline when building .exe files on Windows in silent (verbose=False) mode.
  • Sourcer:
    • Added new parameters to metadata to accurately display video orientation.
      • Added source_video_orientation parameter (default 0.0).
      • Added output_orientation parameter (default 0.0).
  • FFHelper:
    • Added support for SRTP/RTSPS in is_valid_url function.
      • Enhanced is_valid_url method to support both RTP/RTSP and SRTP/RTSPS protocols.
      • 💬 SRTP/RTSPS extends RTSP/RTP to encrypt video/audio data using ciphers like AES with a 128-bit key.
  • Core:
    • Added official support for Python 3.11.x legacies.
  • Docs:
    • Added context and detailed instructions for Input and Output Seeking methods.
    • Added documentation for the new optional -disable_ffmpeg_window boolean parameter.

⚡️Updates/Improvements

  • FFdecoder:
    • Changed process termination from kill() to terminate() if the process is still running, to ensure graceful shutdown.
      • 💬 The terminate() method sends the SIGTERM signal to a process, which typically allows for a graceful shutdown. On Unix, this uses the SIGTERM signal, while on Windows, it uses TerminateProcess().
  • FFhelper:
    • Improved regex pattern in get_supported_demuxers method.
  • Sourcer:
    • Updated extract_resolution_framerate method to also return video orientation.
  • Docs:
    • Included GitHub sponsors in FUNDING.yml.
    • Removed deprecated Gitter community chat sidecard.

💥 Breaking Updates/Changes

  • Core:
    • ☠️ Ended support for Python 3.7.x legacies.

🐛 Bug-fixes

  • FFdecoder API:
    • Fixed regex expression bugs in get_supported_demuxers method.