H264 to streamable mp4
bomba
jhonata.poma at gmail.com
Wed Apr 27 10:32:27 UTC 2016
I was not able to reproduce the first error. Like my last log says, VLC keeps
try to connect to the stream and catch description of the stream.
I'm thinking about dropping mp4mux / qtmux and embed the H264 video into
flv, to be played with a flash player. This is annoying, since HTML5 is
supposed to handle MP4 natively and I can stream closed files without any
problem.
*RESTREAM SOURCE (working)*
gst-launch-1.0 -v rtspsrc location=rtsp://192.168.1.121:8554/eyescream
protocols=0x00000004 latency=2000 do-timestamp=true ! rtph264depay !
rtph264pay config-interval=1 pt=96 ! multiudpsink
clients=127.0.0.1:5556,127.0.0.1:5560 sync=false
*FILE SAVER (working)*
gst-launch-1.0 -v udpsrc port=5560 do-timestamp=true ! application/x-rtp,
payload=96 ! rtpjitterbuffer ! rtph264depay ! h264parse ! splitmuxsink
location=5560-%05d.mp4 max-size-time=60000000000
*HTML5 LIVE (not working)*
gst-launch-1.0 -v udpsrc uri=udp://127.0.0.1:5556 do-timestamp=true !
application/x-rtp, payload=96 ! rtpjitterbuffer ! rtph264depay ! mp4mux
streamable=true fragment-duration=1000 ! tcpserversink host=0.0.0.0
port=8080 sync-method=2
*WEBPAGE (supposed to embed the live mp4 stream)
*<html>
<title>A simple HTML5 video test</title>
</html>
<body>
<video autoplay controls>
<source src="tcp://127.0.0.1:8080" type="video/mp4">
You browser doesn't support element <code>video</code>.
</video>
</body>
Any hints?
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/H264-to-streamable-mp4-tp4677114p4677143.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list