mpegtsmux files and Safari playback

Jin Choi jinschoi at me.com
Mon Mar 16 21:25:32 PDT 2015


Found the problem! I was reading through today’s digest and Duncan Palmer’s response on what h264parse did got me curious, so I dropped it into the pipeline. That makes the MPEG-TS file viewable in Safari (and presumably other browsers that can display h264).

> On Mar 16, 2015, at 2:18 PM, Jin Choi <jinschoi at me.com> wrote:
> 
> Thought I might give this one more shot, as my original message didn’t get any responses, but also didn’t show up for me so maybe it wasn’t seen? Although it does show up in the archive. Anyway, here’s hoping.
> 
> My ultimate aim is to use gstreamer as an alternative to mjpg-streamer for a live stream in a browser using a Logitech C920, which has a hardware h264 encoder. The video quality is great, but there are many issues trying to live stream anything other than mjpeg. Step #1 is getting an MPEG-TS format that is acceptable to a browser, and mpegtsmux is not working out. I generated a test using x264enc to isolate any h264 format issues.
> 
> Does anyone have an example of generating MPEG-TS files using h264 encoding that is playable in any particular browser using the video tag?





More information about the gstreamer-devel mailing list