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

Ho to stream to VLC ? #878

Open
nassimus26 opened this issue Dec 22, 2024 · 0 comments
Open

Ho to stream to VLC ? #878

nassimus26 opened this issue Dec 22, 2024 · 0 comments

Comments

@nassimus26
Copy link

nassimus26 commented Dec 22, 2024

I am trying these simple test commands

gst-launch-1.0 videotestsrc ! video/x-raw,width=352,height=288,framerate=15/1 ! videoconvert ! x264enc ! rtph264pay name=pay0 pt=96

gst-launch-1.0 videotestsrc ! video/x-raw,width=352,height=288,framerate=15/1 ! videoconvert ! avenc_mpeg4 ! rtpmp4vpay name=pay0 pt=96

Both should play the stream over rtsp protocol, but I am getting this error :

mendel@queen-dog:~$ gst-launch-1.0 videotestsrc ! video/x-raw,width=352,height=288,framerate=15/1 ! videoconvert  ! x264enc ! rtph264pay name=pay0 pt=96
Setting pipeline to PAUSED ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
streaming stopped, reason not-linked (-1)
Execution ended after 0:00:00.269623910
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
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

No branches or pull requests

1 participant