[FFmpeg-user] HLS one liner from /dev/videoX

Kai Hendry kai.hendry at gmail.com
Thu Apr 30 04:47:36 CEST 2015


Hi guys,

I've received an answer on http://stackoverflow.com/a/29952909/4534
which doesn't work for me. I am simply trying to create a browser
friendly stream in my LAN from my /dev/video1 device.

Here is the report log:
http://s.natalian.org/2015-04-30/ffmpeg-20150430-102645.log
http://ix.io/icO is what I saw
Here is the tarball of the output http://s.natalian.org/2015-04-30/output.tar.gz


IIUC, `curl -s http://s.natalian.org/2015-04-30/output.tar.gz | tar
zxvf -` and then `python -m http.server` gets everything setup on my
desktop for playing back (last few seconds of?) the live recorded
stream. Then accessing playlist.m3u8 on Safari "Mozilla/5.0 (iPhone;
CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like
Gecko) Version/8.0 Mobile/12F70 Safari/600.1.4" will fail to dark grey
screen.


Before I make a bug report, am I missing something?

I've tried -hls_flags live=1 & -segment_list_flags +live to no avail.

Also I've noticed a discrepancy in the docs, I think!
https://www.ffmpeg.org/ffmpeg-formats.html#Options-2 says the Default
value of playlist entries is 5. Yet as you can see from my tarball
there is about 22 .ts files after running it for just a minute or so.

Sidenote: Would be great to have the MPEG-DASH version of command.
https://www.ffmpeg.org/ffmpeg-formats.html#webm_005fdash_005fmanifest
is not clear to me. Does Chrome playback from the manifest or these
*.chk files? https://www.ffmpeg.org/ffmpeg-formats.html#Example-3
didn't work for me.
http://s.natalian.org/2015-04-30/1430361818_1362x740.png

Many thanks,


More information about the ffmpeg-user mailing list