Repository navigation
fpltool extract: parallel video decoding, optional hw (VA-API) decoding - #222
Open
flipflip8952 wants to merge 4 commits into
Open
flipflip8952 wants to merge 4 commits into
flipflip8952 wants to merge 4 commits into
Conversation
fpltool: - Decode video in parallel when extracting camera data to a ROS bag. Each group of pictures (GOP) is decoded by its own decoder in its own thread. All messages go through a queue and are written in the order they are in the log. - Add -j, --jobs option for the number of parallel video decoders (default: number of CPUs - 2, at least 1) - Add -a, --accel option to select the hw acceleration of the video decoders: SW, HW or AUTO (default: SW) - Write the last frame of each camera, which was decoded but not written - Abort the extraction if a GOP has more than 100 frames fpsdk_common: - video: make hardware (VA-API) decoding work. The filter graph is set up from the format of the first decoded frame. Hardware frames are scaled on the GPU, downloaded as yuv420p and converted to the output pixel format in software. HwAccel::HW fails if the decoder cannot use the hardware, HwAccel::AUTO falls back to software decoding. - video: document hardware vs. software decoding performance in video.hpp - fpl: fix rec_time in the CamData info string Docker, devcontainer: - Build FFmpeg with the h264 and hevc VA-API hwaccels - Pass /dev/dri to the trixie-dev container - Install the time utility - Keep persistent devcontainer data in .devcontainer/.persist, created by the new .devcontainer/helper.sh Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… effect Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fpltool:
fpsdk_common:
Docker, devcontainer: