I'm trying to use Gstreamer to send 'media' between two systems.
My first goal is to take an mp4 file and send it over udp from one
system to another. To start, I'm just trying to send it from one
window to another on the same system. In a single window, the following command displays the file with audio: gst-launsh-1.0 -v filesrc location=23.mp4 tyepfind=true ! decodebin name=src scr. ! xvimagesink src. ! decodebin ! alsasink
I'm trying to use the example from https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README line 305 to send the 'media'. That line is:
If just do up to "..udpsink port=5000" it sends the video to the other window listening with this line: gst-launch-1.0 -v udpsrc port=5000 caps = "application/x-rtp\,\
media\=\(string\)video\,\ clock-rate\=\(int\)90000\,\
encoding-name\=\(string\)H263-1998\,\ payload\=\(int\)96\,\
ssrc\=\(uint\)4074303028\,\
timestamp-offset\=\(uint\)1393836595\,\
seqnum-offset\=\(uint\)30484\,\ a-framerate\=\(string\)30" !
rtpjitterbuffer ! rtph263pdepay ! avdec_h263 ! autovideosink When I send the line with just video, the screen displays lots of information ending in: Pipeline is PREROLLED ... When I send both, it doesn't 'fail' but has this message way up in the text: failed delayed linking some pad of GstDecodeBin named src to some
pad of GstRtpMP4GPay named rtpmp4gpay0 It does not seem to be encoding the audio but I'm not sure what to do next. The examples from the page referenced do not work when I try replacing my file with the file given. In fact, no example I have found for sending via udp has worked as shown on the web page - I have always had to tweak something to get it to work at all. This is becoming increasingly frustrating. John _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I had to copy the ''single window' command line from another machine and managed to make a few typos. Not the best way to introduce yourself asking for help. The actual working line (now ftped from the working machine) is: gst-launch-1.0 v4l2src ! video/x-raw ! decodebin name=src src. !
xvimagesink src. ! decodebin ! alsasink John -------- Forwarded Message --------
I'm trying to use Gstreamer to send 'media' between two
systems. My first goal is to take an mp4 file and send it over
udp from one system to another. To start, I'm just trying to
send it from one window to another on the same system. In a single window, the following command displays the file with audio: gst-launsh-1.0 -v filesrc location=23.mp4 tyepfind=true ! decodebin name=src scr. ! xvimagesink src. ! decodebin ! alsasink
I'm trying to use the example from https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README line 305 to send the 'media'. That line is:
If just do up to "..udpsink port=5000" it sends the video to the other window listening with this line: gst-launch-1.0 -v udpsrc port=5000 caps =
"application/x-rtp\,\ media\=\(string\)video\,\
clock-rate\=\(int\)90000\,\
encoding-name\=\(string\)H263-1998\,\ payload\=\(int\)96\,\
ssrc\=\(uint\)4074303028\,\
timestamp-offset\=\(uint\)1393836595\,\
seqnum-offset\=\(uint\)30484\,\ a-framerate\=\(string\)30" !
rtpjitterbuffer ! rtph263pdepay ! avdec_h263 ! autovideosink When I send the line with just video, the screen displays lots of information ending in: Pipeline is PREROLLED ... When I send both, it doesn't 'fail' but has this message way up in the text: failed delayed linking some pad of GstDecodeBin named src to
some pad of GstRtpMP4GPay named rtpmp4gpay0 It does not seem to be encoding the audio but I'm not sure what to do next. The examples from the page referenced do not work when I try replacing my file with the file given. In fact, no example I have found for sending via udp has worked as shown on the web page - I have always had to tweak something to get it to work at all. This is becoming increasingly frustrating. John _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel Attached Message Part (246 bytes) Download Attachment |
Not my night - copied the wrong line. That was a line I was doing another test from. The correct line is:
gst-launch-1.0 -v filesrc location=23.mp4 typefind=true !
decodebin name=src src. ! xvimagesink src. ! decodebin ! alsasink Sorry for all of the messages. John -------- Forwarded Message ------------
I had to copy the ''single window' command line from another machine and managed to make a few typos. Not the best way to introduce yourself asking for help. The actual working line (now ftped from the working machine) is: gst-launch-1.0 v4l2src ! video/x-raw ! decodebin name=src src.
! xvimagesink src. ! decodebin ! alsasink John -------- Forwarded Message --------
I'm trying to use Gstreamer to send 'media' between two
systems. My first goal is to take an mp4 file and send it
over udp from one system to another. To start, I'm just
trying to send it from one window to another on the same
system. In a single window, the following command displays the file with audio: gst-launsh-1.0 -v filesrc location=23.mp4 tyepfind=true ! decodebin name=src scr. ! xvimagesink src. ! decodebin ! alsasink
I'm trying to use the example from https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README line 305 to send the 'media'. That line is:
If just do up to "..udpsink port=5000" it sends the video to the other window listening with this line: gst-launch-1.0 -v udpsrc port=5000 caps =
"application/x-rtp\,\ media\=\(string\)video\,\
clock-rate\=\(int\)90000\,\
encoding-name\=\(string\)H263-1998\,\ payload\=\(int\)96\,\
ssrc\=\(uint\)4074303028\,\
timestamp-offset\=\(uint\)1393836595\,\
seqnum-offset\=\(uint\)30484\,\ a-framerate\=\(string\)30" !
rtpjitterbuffer ! rtph263pdepay ! avdec_h263 ! autovideosink When I send the line with just video, the screen displays lots of information ending in: Pipeline is PREROLLED ... When I send both, it doesn't 'fail' but has this message way up in the text: failed delayed linking some pad of GstDecodeBin named src to
some pad of GstRtpMP4GPay named rtpmp4gpay0 It does not seem to be encoding the audio but I'm not sure what to do next. The examples from the page referenced do not work when I try replacing my file with the file given. In fact, no example I have found for sending via udp has worked as shown on the web page - I have always had to tweak something to get it to work at all. This is becoming increasingly frustrating. John _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel Attached Message Part (246 bytes) Download Attachment Attached Message Part (246 bytes) Download Attachment |
Free forum by Nabble | Edit this page |