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

Merge with upstream (fix build errors with libavcodec version 3) #1

Closed

Conversation

meyerj
Copy link

@meyerj meyerj commented Feb 12, 2018

I needed RobotWebTools#43 to compile with a newer version of libav/ffmpeg installed on my system, which will be the default starting from Ubuntu zesty. Instead of picking only this PR I merged the latest development branch from upstream and resolved the merge conflicts.

A new streamer type RosCompressedStreamer has been added in RobotWebTools#16, which passes through compressed image data from ROS. I adapted the minimum rate publishing from the ImageStreamer::restreamFrame(double max_age) implementation.

Other patches also seem to be reasonable or even critical, e.g. RobotWebTools#53.

This branch is completely untested. Carefully review if needed, or simply ignore.

rctoris and others added 30 commits May 7, 2015 08:10
This directly passes the ros compressed frame data to the http socket without reencoding it
Adds support for streaming ROS compressed image topics without the need to reencode them
Programm behavior is not changed since the exception is rethrown.
More information when server creation is failed
Fixed topic list to display all image topics, fixing Issue RobotWebTools#18.
This fix is required when compiling the package with `clang`. Otherwise a SIGILL (Illegal instruction) is triggered.
web_video_server: fix bool function not returning
* Correct use of deprecated parameters

codec_context_->rc_buffer_aggressivity marked as "currently useless", so removed
codec_context_->frame_skip_threshold access through new priv_data api

* New names for pixel formats

* AVPicture is deprecated, use AVFrame

* Switch to non-deprecated free functions

* Use new encoding api for newer versions

encode_video2 is deprecated

* codec_context is deprecated, use packet flags
so that cleanup works correctly even if system time changes
@meyerj meyerj requested a review from achim-k February 12, 2018 23:50
@achim-k
Copy link

achim-k commented Feb 13, 2018

I tested it locally with Pickit indigo-devel and everything seems to work as usual. Actually I don't understand why we do not use the released version and instead use our own fork which is rarely updated. @viktorku do you know more? The commits that I saw on our own fork are not relevant anymore or have been fixed upstream as well.

I tested the upstream version and it also works fine. Will create a PR for 1.9 where we can discuss if we want to use it.

For now I wouldn't merge this PR. If we create a new 1.8 release, we would also include these changes here which I don't feel comfortable with at the moment. I guess we would need to create a release_1.8 branch in this repo than as well (not sure if rosinstall supports commit hashes).

jabailey and others added 8 commits February 26, 2018 09:53
…tWebTools#63)

* use SteadyTimer for cleaning up inactive streams

so that cleanup works correctly even if system time changes

SteadyTimer is available since roscpp 1.13.1

* possibility to use SteadyTimer on older ROS versions

when SteadyTimer has been backported to those...
* use package format 2

* add missing dependency on sensor_msgs
@meyerj meyerj mentioned this pull request Oct 18, 2018
Viktor Kunovski and others added 8 commits October 19, 2018 10:27
…ls#83)

* Add a workaround for MultipartStream constant busy state
* Remove C++11 features
This allows users to specify default stream type in their .launch files. Using a "ros_compressed" stream type sometimes
results in a much lower resource consumption, and having it set as a default is much nicer for end users.
@meyerj
Copy link
Author

meyerj commented May 6, 2019

@viktorku Can be closed now that #3 has been merged?

I merged the latest upstream develop version and resolved some conflicts due to the change from ros::Time to ros::WallTime in 083332e.

Our develop-minimum-rate-stream branch has some additional patches (develop...develop-minimum-rate-stream) which are not in custom (develop...custom) anymore.

@viktorku
Copy link

viktorku commented May 8, 2019

Can be closed. The relevant feature for minimum rate streaming is now (ready for merge) upstream.

@viktorku viktorku closed this May 8, 2019
@viktorku viktorku deleted the merged/develop-minimum-rate-stream branch May 8, 2019 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.