<div dir="ltr"><div><div><div><div><div>I'm trying to figure out how to use gstreamer to read an mp4 file, stream the h.264 video over the network to another gstreamer, and play the audio locally.<br><br></div>I tried this on the sending side:<br>gst-launch-1.0 playbin uri=file:///storage/2015test/P1000332.MP4 video-sink="rtph264pay ! udpsink host=10.1.10.17 port=5555"<br><br></div>and this on the display side:<br>gst-launch-1.0 udpsrc port=5555 caps="application/x-rtp" ! queue ! rtph264depay ! decodebin ! videoconvert ! autovideosink<br><br></div>And I hear the audio, but the display side doesn't seem to hear anything. I don't get any pipeline or network errors, though.<br><br></div>Can anyone give me some pointers on the most efficient way to implement this?<br></div>The display side is a raspberry pi, so it's ok to make it h.264 specific. I'd like to be able to auto-detect different audio formats on the sending side, if possible, since all mp4s are not encoded the same way.<br clear="all"><div><div><div><div><div><div><br>-- <br><div class="gmail_signature">Chris Bare</div>
</div></div></div></div></div></div></div>