Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Fixes and Maintenance updates #12

Merged
merged 14 commits into from
Mar 16, 2022
Merged

Bug Fixes and Maintenance updates #12

merged 14 commits into from
Mar 16, 2022

Conversation

abhiTronix
Copy link
Owner

Brief Description

This PR is aimed at providing bug-fixes and maintenance updates for DeFFcode APIs, CI and docs.

Requirements / Checklist

  • I have read the DeFFcode PR Guidelines.
  • I have read the DeFFcode Documentation.
  • I have updated the documentation files accordingly(if required).

Context

This PR will bring much needed bug-fixes and maintenance updates for smooth and stable working of DeFFcode APIs, CI and docs.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Miscellaneous (if available):

- 🧑‍💻 Renamed `operational_mode` metadata parameter to `ffdecoder_operational_mode`.
- 🎨 Fixed redundant conditional logic.
- ✨ Added a new `source_audio_samplerate` metadata parameter.
- 🏗️ Re-implemented  `__extract_audio_bitrate` internal function from scratch as `__extract_audio_bitrate_nd_samplerate`.
  - ⚡️ Implemented new algorithm to extract both extract both audio bitrate and samplerate from given source.
  - 🔨 Updated regex patterns according to changes.
  - 🐛 Fixed forward slash bugs in regex patterns.
- 🎨 Updated `__contains_video` and `__contains_audio` logic to support new changes.
- 💥 Now any of both video bitrate or video framerate are sufficient to decide to if source has video stream.
- 💥 Also, Now any of both audio bitrate or video samplerate are sufficient to decide to if source has audio stream.
- 🐛 Fixed IndexError when no bitrate was discovered in given source.
- 🎨 Updated indentation and code comments
- ✏️ Fixed content and typos.
- 📝 Updated Roadmap.
- 🚧 Reflected recent changes in Sourcer and FFdecoder API's metadata.
- 🎨 Updated sample code formatting from `sh` to `json`.
- 📄 Fixed year in license notice.
- 🎨 Fixed spacing.
- ✨ Added instructions to download `prepare_dataset.sh` using curl.
- 📝 Updated dependencies for `pytest`.
- 🐛 Fixed bugs in hyperlinks.
- 📝 Updated generating Video from Image sequence to save video using OpenCV writer instead of WriteGear API.
  - ✨ Added `frame_format="bgr24"`and additional instructions regarding OpenCV writer.
  - 📝 Updated example codes with new changes.
  - 🔥 Removed redundant code.
- 🐛 Fixed missing `"-vcodec": "h264_cuvid"` value in example code.
- 🎨 Rearranged examples placement.
… Deployer

- 👷 Added Skip Duplicate Actions(`fkirc/skip-duplicate-actions@master`) Workflow to DeFFcode Docs Deployer to prevent redundant duplicate workflow-runs.
- ✨ Added new `pre_job` job.
- ⚗️ Added `release` to `do_not_skip`.
- 🎨 Updated previous job to must require `pre_job` to be executed in advance and `needs.pre_job.outputs.should_skip != 'true'` to be true.
@abhiTronix abhiTronix added Bug 🐞 Something's wrong with Deffcode APIs. Documentation 📑 Improvements or additions to DeFFcode documentation. WIP 🏗️ Work in Progress Maintenance 🔧 Just sorting repository out. labels Mar 16, 2022
@abhiTronix abhiTronix added this to the v0.2.0 milestone Mar 16, 2022
@abhiTronix abhiTronix self-assigned this Mar 16, 2022
@abhiTronix abhiTronix merged commit aedee11 into master Mar 16, 2022
@abhiTronix abhiTronix deleted the dev branch March 16, 2022 18:32
@abhiTronix abhiTronix added Bug Fix 🐛 💣 Bug fix in progress !!! and removed Bug 🐞 Something's wrong with Deffcode APIs. labels Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Fix 🐛 💣 Bug fix in progress !!! Documentation 📑 Improvements or additions to DeFFcode documentation. Maintenance 🔧 Just sorting repository out. WIP 🏗️ Work in Progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant