Gstream video stream error
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
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
bumped to the homepage by Community♦ 6 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
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
bumped to the homepage by Community♦ 6 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Does your webcam work in guvcview?
– Smile4ever
Dec 21 '18 at 13:35
add a comment |
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 KejriwalLakshya Kejriwal
10613
10613
bumped to the homepage by Community♦ 6 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 6 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Does your webcam work in guvcview?
– Smile4ever
Dec 21 '18 at 13:35
add a comment |
Does your webcam work in guvcview?
– Smile4ever
Dec 21 '18 at 13:35
Does your webcam work in guvcview?
– Smile4ever
Dec 21 '18 at 13:35
Does your webcam work in guvcview?
– Smile4ever
Dec 21 '18 at 13:35
add a comment |
1 Answer
1
active
oldest
votes
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 |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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 |
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 |
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
thiagossthiagoss
1662
1662
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Does your webcam work in guvcview?
– Smile4ever
Dec 21 '18 at 13:35