Git Product home page Git Product logo

ffmpeg_image_transport's People

Contributors

berndpfrommer avatar lucasw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ffmpeg_image_transport's Issues

Decode the ffmpeg image

Am transmitting the ffmpeg image to a remote computer, Is there a way to decode the ffmpeg image after transmitting the image over UDP

When i try to this i got the following warning
image

How can I speed up encoding+decoding processes?

Hi,
I'm trying to do video streaming via wireless channel using ROS.
Since the wireless channel has low bandwidth, video encoding(ENC) and decoding(DEC) processes are essential, and this code is very useful for what I'm trying to do.

By following the provided instructions, I successfully displayed the video stream after ENC and DEC processes.
The video source used for testing was 720p@20Hz, which is not quite high quality.
In my case, however, the decoded video has a long delay (about 2.5 seconds).
Since the ENC and DEC are performed on the same computer, it is not caused by network delay.

Is there any way to shorten the ENC+DEC time?
Currently I am using libx264 codec. (I did not test yet with nvenc due to NVIDIA driver version problem)
Can nvenc speed up the ENC+DEC process significantly?

Thank you,

Seo

Store in rosbag and beeing able to replay

Hello,

to be able to deal with my available data rate I was very happy to stumble across this project! Using noetic your code works perfectly for live feeds. Well done!

But I am not able to store the images/video in a rosbag. Have you experience with that?
My test was:

  • record just /camera/image_raw/ffmpeg in a bag
  • replay that bag (on a fresh new roscore with nothing running)
  • open rqt_image_view and try to subscribe to the image - but here the whole mission fails as I am not able to see the topic in the drop down menu. I can perfectly see the topic beeing published using rostopic hz /camera/image_raw/ffmpeg

Build Issues

Hi,
I am trying to build the workspace , it is throwing me a lot of declaration errors for the variables or functions used. Here is the screenshot
image
I am using : Ubuntu 18.04, ROS melodic

Bad encoding/decoding

Hello,

I have installed ffmpeg_image_transport and ffmpeg_image_transport_msg, compiled everything from source (also ffmpeg) and works. But when I try to watch the video with rqt_image_view this is the result:

Schermata da 2021-06-17 17-18-28

Any ideas about the reason?

Thank you,

Alberto

Cannot load libcuda.so.1

Hi,
I saw in the description that nvidia hardware could accelerate the processes.
I'm running without GPU and ffmpeg -i ./test.mp4 output.webm works fine, but If I want to use
rosrun image_transport republish raw in:=/kitti/camera_color_right/image_raw_crop ffmpeg out:=/kitti/camera_color_right/image_raw_crop/ffmpeg

I get this error message.

[hevc_nvenc @ 0x56547a989800] Cannot load libcuda.so.1
[ERROR] [1635969757.108212684]: cannot open codec!
[ERROR] [1635969757.108369255]: cannot initialize encoder!

Is it possible to use the script without CUDA kernels?

License for use

My lab group and I are very interested in using this for streaming video in our underwater robotics project but noticed that there is no license posted -- would you consider releasing the code under either a permissive license or a license permitting academic and/or non-commercial use?

Thank you very much for creating this!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.