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

yarpview segfaults when testing h264 #2872

Closed
S-Dafarra opened this issue Jul 18, 2022 · 3 comments
Closed

yarpview segfaults when testing h264 #2872

S-Dafarra opened this issue Jul 18, 2022 · 3 comments
Assignees
Labels
Issue Type: Bug Involves some intervention from a system administrator
Milestone

Comments

@S-Dafarra
Copy link
Contributor

S-Dafarra commented Jul 18, 2022

Describe the bug
I tried to follow https://www.yarp.it/latest//group__carrier__h264__howto.html to test the usage of h264 with yarp. When I try to connect the server to yarpview, yarpview crashes with segfault.

To Reproduce
Run the following on different terminals

T1

gst-launch-1.0 -v videotestsrc ! "video/x-raw, format=(string)I420, width=(int)640, height=(int)480" ! x264enc ! h264parse ! rtph264pay pt=96 config-interval=5 ! udpsink host=127.0.0.1 port=101234

T2

yarpserver

T3

yarpview

T4

yarp register /gst h264 127.0.0.1 101234
yarp connect /gst /yarpview/img:i h264

Expected behavior
yarpview should not crash. I tried running

gst-launch-1.0 -v udpsrc port=101234 caps="application/x-rtp, media=(string)video, encoding-name=(string)H264, payload=(int)96" ! rtph264depay ! h264parse ! avdec_h264! autovideosink

and I can see the image showed in https://www.yarp.it/latest//group__carrier__h264__howto.html

Screenshots
If applicable, add screenshots to help explain your problem.

Configuration (please complete the following information):

  • OS: Ubuntu 20.04
  • yarp version: 3.7.0
  • compiler: gcc

Additional context
Add any other context about the problem here.

@S-Dafarra
Copy link
Contributor Author

I checked if it was a problem of yarpview by using

yarpdev --device fakeFrameGrabber --name /grabber

but in this case there are no issues.

@randaz81
Copy link
Member

randaz81 commented Aug 7, 2023

clone of #2289

@randaz81 randaz81 added the Issue Type: Bug Involves some intervention from a system administrator label Aug 7, 2023
@randaz81 randaz81 added this to the YARP 3.9.0 milestone Aug 7, 2023
@randaz81
Copy link
Member

h264 carrier replaced by gstreamer carrier: #3127. See updated documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue Type: Bug Involves some intervention from a system administrator
Projects
None yet
Development

No branches or pull requests

3 participants