H264 to streamable mp4

RÅ«dolfs Bundulis rudolfs.bundulis at gmail.com
Wed Apr 27 11:25:59 UTC 2016


Well, I have developed a custom RTSP to HTML5 video solution and I can tell
that it's not always the browser (however they also have problems) - the
client side (in this case GStreamer) can also be unabled to produce a
correct fragmented (streamable) format. And since I'm all for open source,
if you have the time and energy we could try to track down what exactly is
bad - but for that I'd need to see the contents of the mp4 stream from the
beginning or output of Atomic Parsley from these contents. Btw - I advised
to check the Chrome media-internals page. What did that say? What errors
were present?

2016-04-27 13:32 GMT+03:00 bomba <jhonata.poma at gmail.com>:

> 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.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160427/ce08f692/attachment-0001.html>


More information about the gstreamer-devel mailing list