Summary: New Parameters, Support for SRTP/RTSPS protocol, and Enhanced Video Orientation Handling and Process Termination 🎉
📓 Complete Release Notes can be found here
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 🙂
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.
- 💬 Prevents the FFmpeg command line window from appearing by applying the
- Introduced a new optional
- Sourcer:
- Added new parameters to metadata to accurately display video orientation.
- Added
source_video_orientation
parameter (default0.0
). - Added
output_orientation
parameter (default0.0
).
- Added
- Added new parameters to metadata to accurately display video orientation.
- 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.
- Enhanced
- Added support for SRTP/RTSPS in
- Core:
- Added official support for Python
3.11.x
legacies.
- Added official support for Python
- 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()
toterminate()
if the process is still running, to ensure graceful shutdown.- 💬 The
terminate()
method sends theSIGTERM
signal to a process, which typically allows for a graceful shutdown. On Unix, this uses theSIGTERM
signal, while on Windows, it usesTerminateProcess()
.
- 💬 The
- Changed process termination from
- FFhelper:
- Improved regex pattern in
get_supported_demuxers
method.
- Improved regex pattern in
- Sourcer:
- Updated
extract_resolution_framerate
method to also return video orientation.
- Updated
- Docs:
- Included GitHub sponsors in
FUNDING.yml
. - Removed deprecated Gitter community chat sidecard.
- Included GitHub sponsors in
💥 Breaking Updates/Changes
- Core:
- ☠️ Ended support for Python
3.7.x
legacies.
- ☠️ Ended support for Python
🐛 Bug-fixes
- FFdecoder API:
- Fixed regex expression bugs in
get_supported_demuxers
method.
- Fixed regex expression bugs in