ffserver says invalid stream index after feed file reaches maximum value in rtsp live streaming
|Reported by:||Ashutosh Ramlal Singandhupe||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
# if you want to use mpegts format instead of flv
# then change "live.flv" to "live.ts"
# and also change "Format flv" to "Format mpegts"
AVOptionVideo me_range 16
# AVOptionVideo flags +global_header
<Stream status.html> # Server status URL
# Only allow local people to get the status
ACL allow localhost
ACL allow 192.168.0.0 192.168.255.255
i transcode a video and push the output to feed file as follows:
ffmpeg -i input.h264 http://localhost:8090/exile1.ffm
and i play the video using ffplay using the command line as follows:
ffplay -i rtsp://<IP>:7654/live.h264
<IP> - IP address.
I ran first ffserver in one console window,ffmpeg in other console window and ffplay in other console window.
The video plays normally by the way.
When ffmpeg saves the streams to exile1.ffm it's file size increases.When filesize reaches max value i.e 10 M ,ffserver says
[ffm 0x80048fe0 ] inavlid stream index 143
and ffplay stops playing and says.
Cannot use next picture in error concealment.
I need to play the video continously without increasing the maximum size of the feed file.
Any advice is highly appreciated.