[FFmpeg-user] HTML5 live streaming

JoelB onephatcat at earthlink.net
Sun Apr 21 07:21:13 CEST 2013


Should work for Roku and anything that supports HLS, I think android does, various flash players, QuickTime 7 for Mac, safari(?) supposedly supports it as well. Generally, you want to encode h.264 video with AAC audio.

Joel

Sent from my iPhone

On Apr 20, 2013, at 8:56 PM, Ricardo Kleemann <ricardo at americasnet.com> wrote:

> Hi Joel,
> 
> Thanks, I'll play around with that.
> 
> Another question... is the segmenter only for iOS? Would other devices also
> work with this?
> 
> Ricardo
> 
> On Sat, Apr 20, 2013 at 8:45 PM, JoelB <onephatcat at earthlink.net> wrote:
> 
>> Usually a segmented stream URL ends with .m3u8 so for ios, you just give
>> the user a link to that m3u8 playlist URL and if you have a valid stream,
>> the phone will just play it.
>> 
>> http://inodes.org/bigbuck/big_buck.m3u8
>> 
>> Would probably be the res
>> 
>> 
>> Joel
>> Sent from my iPhone
>> 
>> On Apr 20, 2013, at 5:35 PM, Ricardo Kleemann <ricardo at americasnet.com>
>> wrote:
>> 
>>> Hi,
>>> 
>>> I've been searching around for solutions to use ffmpeg to do live
>> streaming
>>> to html5.
>>> 
>>> I understand that for iOS I need a segmenter?
>>> 
>>> I've installed the latest ffmpeg and also m3u8-segmenter from git, but
>> I'm
>>> not really sure how to use it. The m3u8-segmenter site has an example
>> like
>>> this:
>>> 
>>> ffmpeg -loglevel quiet  -i big_buck_bunny.ogv -f mpegts - | \
>>> m3u8-segmenter -i - -d 10 -p tmp/big_buck_bunny -m tmp/big_buck.m3u8
>>> -u http://inodes.org/bigbuck/
>>> 
>>> But in terms of an HTML5 page source, how would I access the stream that
>> is
>>> being generated by the segmenter?
>>> 
>>> Is there a simpler way to use ffmpeg for live streaming?
>>> 
>>> thanks
>>> Ricardo
>>> _______________________________________________
>>> ffmpeg-user mailing list
>>> ffmpeg-user at ffmpeg.org
>>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>> 
>> 
>> ------------------------------------------------------
>> Powered by Xeams. Visit xeams.com for more information
>> ------------------------------------------------------
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user


More information about the ffmpeg-user mailing list