Gstream video stream error
up vote
1
down vote
favorite
I'm trying to stream webcam video from one computer to another with low or zero latency.
I used the following command.
Sender:
gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=480 ! x264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000
But I get the following error :
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: This isn't a device '/dev/video0'.
Additional debug info:
v4l2_calls.c(575): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Success
Setting pipeline to NULL ...
Freeing pipeline ...
Does anybody have any idea how I can remove this error?
14.04 video webcam gstreamer
add a comment |
up vote
1
down vote
favorite
I'm trying to stream webcam video from one computer to another with low or zero latency.
I used the following command.
Sender:
gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=480 ! x264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000
But I get the following error :
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: This isn't a device '/dev/video0'.
Additional debug info:
v4l2_calls.c(575): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Success
Setting pipeline to NULL ...
Freeing pipeline ...
Does anybody have any idea how I can remove this error?
14.04 video webcam gstreamer
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm trying to stream webcam video from one computer to another with low or zero latency.
I used the following command.
Sender:
gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=480 ! x264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000
But I get the following error :
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: This isn't a device '/dev/video0'.
Additional debug info:
v4l2_calls.c(575): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Success
Setting pipeline to NULL ...
Freeing pipeline ...
Does anybody have any idea how I can remove this error?
14.04 video webcam gstreamer
I'm trying to stream webcam video from one computer to another with low or zero latency.
I used the following command.
Sender:
gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=480 ! x264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000
But I get the following error :
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: This isn't a device '/dev/video0'.
Additional debug info:
v4l2_calls.c(575): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Success
Setting pipeline to NULL ...
Freeing pipeline ...
Does anybody have any idea how I can remove this error?
14.04 video webcam gstreamer
14.04 video webcam gstreamer
asked Feb 2 '15 at 13:15
Lakshya Kejriwal
10613
10613
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
The error means that /dev/video0 is not a video capture device. Perhaps you need to set another device using:
gst-launch-1.0 v4l2src device="/dev/videoX" ! video/x-raw,width=640,height=480 ! x264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000
Where 'X' is the number of your video capture device. It might also happen that your device can't capture in 640x480 so you might want to add a videoscale before the caps and also it is safe to have a videoconvert before the encoder in case the input is in a format that the encoder can't handle.
So something like:
gst-launch-1.0 v4l2src device=<device> ! videoscale ! video/x-raw,width=640,height=480 ! videoconvert ! x264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
The error means that /dev/video0 is not a video capture device. Perhaps you need to set another device using:
gst-launch-1.0 v4l2src device="/dev/videoX" ! video/x-raw,width=640,height=480 ! x264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000
Where 'X' is the number of your video capture device. It might also happen that your device can't capture in 640x480 so you might want to add a videoscale before the caps and also it is safe to have a videoconvert before the encoder in case the input is in a format that the encoder can't handle.
So something like:
gst-launch-1.0 v4l2src device=<device> ! videoscale ! video/x-raw,width=640,height=480 ! videoconvert ! x264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000
add a comment |
up vote
0
down vote
The error means that /dev/video0 is not a video capture device. Perhaps you need to set another device using:
gst-launch-1.0 v4l2src device="/dev/videoX" ! video/x-raw,width=640,height=480 ! x264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000
Where 'X' is the number of your video capture device. It might also happen that your device can't capture in 640x480 so you might want to add a videoscale before the caps and also it is safe to have a videoconvert before the encoder in case the input is in a format that the encoder can't handle.
So something like:
gst-launch-1.0 v4l2src device=<device> ! videoscale ! video/x-raw,width=640,height=480 ! videoconvert ! x264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000
add a comment |
up vote
0
down vote
up vote
0
down vote
The error means that /dev/video0 is not a video capture device. Perhaps you need to set another device using:
gst-launch-1.0 v4l2src device="/dev/videoX" ! video/x-raw,width=640,height=480 ! x264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000
Where 'X' is the number of your video capture device. It might also happen that your device can't capture in 640x480 so you might want to add a videoscale before the caps and also it is safe to have a videoconvert before the encoder in case the input is in a format that the encoder can't handle.
So something like:
gst-launch-1.0 v4l2src device=<device> ! videoscale ! video/x-raw,width=640,height=480 ! videoconvert ! x264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000
The error means that /dev/video0 is not a video capture device. Perhaps you need to set another device using:
gst-launch-1.0 v4l2src device="/dev/videoX" ! video/x-raw,width=640,height=480 ! x264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000
Where 'X' is the number of your video capture device. It might also happen that your device can't capture in 640x480 so you might want to add a videoscale before the caps and also it is safe to have a videoconvert before the encoder in case the input is in a format that the encoder can't handle.
So something like:
gst-launch-1.0 v4l2src device=<device> ! videoscale ! video/x-raw,width=640,height=480 ! videoconvert ! x264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000
answered Feb 3 '15 at 20:42
thiagoss
1662
1662
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f580827%2fgstream-video-stream-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown