ros-drivers / gscam

ROS Camera driver for GStreamer-based video streams.
136 stars 172 forks source link

assertion failed: (outpad) #30

Closed MaMadDl closed 5 years ago

MaMadDl commented 7 years ago

Hi im getting following error when running gscam to connect to a gstreamer sender with this config:

ERROR:/home/mamaddl/catkin_ws/src/gscam/src/gscam.cpp:150:bool gscam::GSCam::init_stream(): assertion failed: (outpad) [gscam-3] process has died [pid 10794, exit code -6, cmd /home/mamaddl/catkin_ws/devel/lib/gscam/gscam /gscam/camera_info:=/camera/camera_info /gscam/image_raw:=/camera/image_raw /gscam/set_camera_info:=/camera/set_camera_info name:=gscam log:=/home/mamaddl/.ros/log/08193ad4-51aa-11e6-b8ae-74d02bbe85f6/gscam-3.log]. log file: /home/mamaddl/.ros/log/08193ad4-51aa-11e6-b8ae-74d02bbe85f6/gscam-3*.log

thanks in advance!

aishwaryyasarkar commented 6 years ago

Did you find a solution to this?

MaMadDl commented 5 years ago

The Error Was In My Pipeline Which Couldn't Be Processed In Gscam

aishwaryyasarkar commented 5 years ago

Hi! thanks for replying. I am a beginner in all of this and have never worked with ros before. Could you please tell me in details how to fix the pipeline?

MaMadDl commented 5 years ago

It's Not ROS based Error But Rather Gstreamer Error Make Sure You Don't Have Output at the end of your Pipeline(like udpsink or etc) This Is An Example Gscam that Opens camera located at video1 <env name="GSCAM_CONFIG" value="v4l2src device=/dev/video1 ! ffmpegcolorspace " /> and also make sure You are using plugins from the same version (don't mix 0.1 and 1.0 together)

aishwaryyasarkar commented 5 years ago

Thanks, I'll try it. Also, which camera did you use?

With Regards, Aishwarya Sarkar

On Thu, Jul 12, 2018 at 8:06 AM, Mohammad Ali Gholami < notifications@github.com> wrote:

It's Not ROS based Error But Rather Gstreamer Error Make Sure You Don't Have Output at the end of your Pipeline(like udpsink or etc) This Is An Example Gscam that Opens camera located at video1 and also make sure You are using plugins from the same version (don't mix 0.1 and 1.0 together)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ros-drivers/gscam/issues/30#issuecomment-404505730, or mute the thread https://github.com/notifications/unsubscribe-auth/AKXb4n9hhuaU9BVEPOAhmdZCU1HoMkI8ks5uF0nygaJpZM4JTmF_ .

MaMadDl commented 5 years ago

My set up was rather complex due to my use-case It Was Not A camera. It Was a Stream I got From Wireless Network Which i used to redirect to An /dev/video But The Original Image Came From a Rasicam On A RaspberryPi3.