-
Notifications
You must be signed in to change notification settings - Fork 659
Publish raw mjpeg stream directly via compressed image topic #270
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
Merged
Merged
Changes from 8 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
84b6357
Added av_device_format parameter
boitumeloruf eaaa13d
Updated example YAML files to av_device_format
boitumeloruf 1f9bec2
Added feature to access raw mjpeg stream and publish directly on comp…
boitumeloruf 9125832
Merge branch 'ros-drivers:ros2' into ros2
boitumeloruf 341cb79
Refactored use of av_device_format
boitumeloruf 03635d0
Merge branch 'ros2' into raw-mjpeg-stream
boitumeloruf b13c521
Fix seg fault when unref av_packet using av_codec < 58.133.100
boitumeloruf 671a942
Merge branch 'ros2' into raw-mjpeg-stream
boitumeloruf 3012b2e
fixed cppcheck and uncrustify errors
boitumeloruf 021ffb7
Merge branch 'ros2' of https://github.com/boitumeloruf/usb_cam into ros2
boitumeloruf 423f4a2
Merge branch 'ros2' into raw-mjpeg-stream
boitumeloruf af35709
fixed minor build issues
boitumeloruf d3c4c55
Merge branch 'ros2' into raw-mjpeg-stream
boitumeloruf 7ad056f
Introduced funtions get_..._from_av_format, fixed code style errors
boitumeloruf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@boitumeloruf this switch should be moved to its own function. input is the avDeviceFormat, output would be the corresponding ROS format. Should probably split it into two separate functions - one for the ROS format, the other for the channels.
Something like
get_ros_format_from_av_format(const AVPixelFormat & avDeviceFormat)and then same thing for the channels.