Streaming .264 file in Gstreamer 1.0http streaming with gst-launch (GStreamer)HDHomeRun TV Tuner with...
Why avoid shared user accounts?
Why are the books in the Game of Thrones citadel library shelved spine inwards?
It took me a lot of time to make this, pls like. (YouTube Comments #1)
Pronunciation of umlaut vowels in the history of German
Why is working on the same position for more than 15 years not a red flag?
How can I deliver in-universe written lore to players without it being dry exposition?
Why did the villain in the first Men in Black movie care about Earth's Cockroaches?
Can an insurance company drop you after receiving a bill and refusing to pay?
Incorporating research and background: How much is too much?
Early credit roll before the end of the film
If I deleted a game I lost the disc for, can I reinstall it digitally?
Am I a Rude Number?
In Linux what happens if 1000 files in a directory are moved to another location while another 300 files were added to the source directory?
What is the wife of a henpecked husband called?
What's a good word to describe a public place that looks like it wouldn't be rough?
Why do neural networks need so many training examples to perform?
What are "industrial chops"?
Can I become debt free or should I file bankruptcy ? How to manage my debt and finances?
If I delete my router's history can my ISP still provide it to my parents?
On a wire designated as '3x14AWG' what does the '3x' part mean?
Difference between `vector<int> v;` and `vector<int> v = vector<int>();`
Why would space fleets be aligned?
How can my powered armor quickly replace its ceramic plates?
Is that a center tap tranformer just labelled differently?
Streaming .264 file in Gstreamer 1.0
http streaming with gst-launch (GStreamer)HDHomeRun TV Tuner with GStreamerConvert stream file (mux) to mp4 gstreamergstreamer httplive streaming by soup pluginGStreamer Element Dependencies: How to connect playbin to hlssink?Attempting to stream two C920 Logitech Webcams From Fedora using GStreamer to Windows VLC ClientLong range wireless H.264 video streaming“Error while opening decoder for input stream #0:0 : Invalid data found when processing input”Unable to stream RTSP using GStreamer
I'm trying to stream a .264 file.
While the direct pipeline without udp streaming plays the video fine, when using udp sink and src, only one frame of video is seen.
Direct Pipeline
gst-launch-1.0 filesrc location=football35228830.264 ! h264parse ! rtph264pay pt=96 ! rtph264depay ! avdec_h264 ! autovideosink
This plays video fine.
Now when running these, the frozen video frame appears.
At Tx
gst-launch-1.0 -v filesrc location = football35228830.264 ! h264parse ! rtph264pay pt=96 ! udpsink host=127.0.0.1 port=9001
At Client
gst-launch-1.0 udpsrc port=42050 ! application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink
Is there any issue with the pipelines, or any additional elements are required?
video streaming udp gstreamer
bumped to the homepage by Community♦ 2 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 a .264 file.
While the direct pipeline without udp streaming plays the video fine, when using udp sink and src, only one frame of video is seen.
Direct Pipeline
gst-launch-1.0 filesrc location=football35228830.264 ! h264parse ! rtph264pay pt=96 ! rtph264depay ! avdec_h264 ! autovideosink
This plays video fine.
Now when running these, the frozen video frame appears.
At Tx
gst-launch-1.0 -v filesrc location = football35228830.264 ! h264parse ! rtph264pay pt=96 ! udpsink host=127.0.0.1 port=9001
At Client
gst-launch-1.0 udpsrc port=42050 ! application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink
Is there any issue with the pipelines, or any additional elements are required?
video streaming udp gstreamer
bumped to the homepage by Community♦ 2 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 a .264 file.
While the direct pipeline without udp streaming plays the video fine, when using udp sink and src, only one frame of video is seen.
Direct Pipeline
gst-launch-1.0 filesrc location=football35228830.264 ! h264parse ! rtph264pay pt=96 ! rtph264depay ! avdec_h264 ! autovideosink
This plays video fine.
Now when running these, the frozen video frame appears.
At Tx
gst-launch-1.0 -v filesrc location = football35228830.264 ! h264parse ! rtph264pay pt=96 ! udpsink host=127.0.0.1 port=9001
At Client
gst-launch-1.0 udpsrc port=42050 ! application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink
Is there any issue with the pipelines, or any additional elements are required?
video streaming udp gstreamer
I'm trying to stream a .264 file.
While the direct pipeline without udp streaming plays the video fine, when using udp sink and src, only one frame of video is seen.
Direct Pipeline
gst-launch-1.0 filesrc location=football35228830.264 ! h264parse ! rtph264pay pt=96 ! rtph264depay ! avdec_h264 ! autovideosink
This plays video fine.
Now when running these, the frozen video frame appears.
At Tx
gst-launch-1.0 -v filesrc location = football35228830.264 ! h264parse ! rtph264pay pt=96 ! udpsink host=127.0.0.1 port=9001
At Client
gst-launch-1.0 udpsrc port=42050 ! application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink
Is there any issue with the pipelines, or any additional elements are required?
video streaming udp gstreamer
video streaming udp gstreamer
asked Nov 11 '16 at 5:48
CTanejaCTaneja
12
12
bumped to the homepage by Community♦ 2 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♦ 2 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 |
add a comment |
1 Answer
1
active
oldest
votes
:There could be a few things: The file is loaded and played too fast => use multifilesrc. Also I add caps to the sender. Lastly, in your example the ports are different.
Sender:
gst-launch-1.0 -v multifilesrc location=public/media/video.h264 loop=true !
video/x-h264,width=1920,height=1080,framerate=30/1,profile=constrained-baseline ! h264parse ! rtph264pay pt=10 ! udpsink host=127.0.0.1 port=9001
Receiver:
gst-launch-1.0 udpsrc port=9001 ! 'application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=H264,payload=16' !
rtph264depay ! h264parse ! avdec_h264 ! autovideosink
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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%2fsuperuser.com%2fquestions%2f1144607%2fstreaming-264-file-in-gstreamer-1-0%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
:There could be a few things: The file is loaded and played too fast => use multifilesrc. Also I add caps to the sender. Lastly, in your example the ports are different.
Sender:
gst-launch-1.0 -v multifilesrc location=public/media/video.h264 loop=true !
video/x-h264,width=1920,height=1080,framerate=30/1,profile=constrained-baseline ! h264parse ! rtph264pay pt=10 ! udpsink host=127.0.0.1 port=9001
Receiver:
gst-launch-1.0 udpsrc port=9001 ! 'application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=H264,payload=16' !
rtph264depay ! h264parse ! avdec_h264 ! autovideosink
add a comment |
:There could be a few things: The file is loaded and played too fast => use multifilesrc. Also I add caps to the sender. Lastly, in your example the ports are different.
Sender:
gst-launch-1.0 -v multifilesrc location=public/media/video.h264 loop=true !
video/x-h264,width=1920,height=1080,framerate=30/1,profile=constrained-baseline ! h264parse ! rtph264pay pt=10 ! udpsink host=127.0.0.1 port=9001
Receiver:
gst-launch-1.0 udpsrc port=9001 ! 'application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=H264,payload=16' !
rtph264depay ! h264parse ! avdec_h264 ! autovideosink
add a comment |
:There could be a few things: The file is loaded and played too fast => use multifilesrc. Also I add caps to the sender. Lastly, in your example the ports are different.
Sender:
gst-launch-1.0 -v multifilesrc location=public/media/video.h264 loop=true !
video/x-h264,width=1920,height=1080,framerate=30/1,profile=constrained-baseline ! h264parse ! rtph264pay pt=10 ! udpsink host=127.0.0.1 port=9001
Receiver:
gst-launch-1.0 udpsrc port=9001 ! 'application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=H264,payload=16' !
rtph264depay ! h264parse ! avdec_h264 ! autovideosink
:There could be a few things: The file is loaded and played too fast => use multifilesrc. Also I add caps to the sender. Lastly, in your example the ports are different.
Sender:
gst-launch-1.0 -v multifilesrc location=public/media/video.h264 loop=true !
video/x-h264,width=1920,height=1080,framerate=30/1,profile=constrained-baseline ! h264parse ! rtph264pay pt=10 ! udpsink host=127.0.0.1 port=9001
Receiver:
gst-launch-1.0 udpsrc port=9001 ! 'application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=H264,payload=16' !
rtph264depay ! h264parse ! avdec_h264 ! autovideosink
answered Jan 17 '17 at 11:47
GooshanGooshan
1012
1012
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- 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%2fsuperuser.com%2fquestions%2f1144607%2fstreaming-264-file-in-gstreamer-1-0%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