[FFmpeg-user] FFserver doesn't work with HLS
SD76
sd76.backup at gmail.com
Sun Nov 29 19:15:03 CET 2015
Hi,
I try since a few days to stream a live with ffserver and HLS.
My ffserver.conf run with ffserver -f ffserver.conf -d
---------------
HTTPPort 8081
MaxClients 10
MaxBandwidth 5000000
<Feed plop.ffm>
File /tmp/plop.ffm
FileMaxSize 100M
</Feed>
<Stream s>
Format status
</Stream>
<Stream plop.m3u8>
Feed plop.ffm
Format HLS
VideoCodec libx264
VideoFrameRate 30
VideoBitRate 128
VideoSize 704*480
#AVOptionVideo hls_time 10
#AVOptionVideo hls_list_size 0
AVOptionVideo flags +global_header
NoAudio
</Stream>
---------------
If i enable AVOptionVideo hls_time 10 and AVOptionVideo hls_list_size 0
ffserver say :
Option not found: 'hls_time'
Option not found: 'hls_list_size'
I launch for send stream this command :
ffmpeg -r 25 -s 640x480 -f video4linux2 -i /dev/video0 -hls_time 10
-hls_list_size 6 -hls_wrap 10 -start_number 1
http://192.168.0.16:8081/plop.ffm
I use a remote player on my galaxy tab:
<video controls width="480" height="270" src="
http://192.168.0.16:8081/plop.m3u8">
The stream doesn't work and ffserver say:
Sun Nov 29 18:15:15 2015 [hls @ 0x1a20810]failed to rename file .tmp to
Do HLS works with ffserver ? How ?
I use ffserver version 2.8.1-1~bpo8+1 and ffmpeg version 2.8.1-1~bpo8+ on
debian 8.
Regard,
Ben
More information about the ffmpeg-user
mailing list