[FFmpeg-user] invalid stream index

Soho Soho123 soho123.2012 at gmail.com
Fri Jun 17 12:11:35 CEST 2011


Hi all,

We are new in ffmpeg and IP cam stream server.
We user ffserver as stream server for IP Cam application. When we do
testing, the error is occur very offen, such we can not do long time
test.
We test it by url :http://<IP address>:8090/test.mjpg

the error is :"invalid stream index 101", the message is output by
ffm_read_packet() in ffmdec.c.
Does any one know the meaning of invalid stream index?
===============================================================
The configuration we used :
ffserver conf :
<Stream test.mjpg>
Feed feed1.ffm
Format mjpeg
VideoFrameRate 30
VideoSize 1280x720
VideoBitRate 256
VideoBufferSize 400
VideoIntraOnly
NoAudio
Strict -1
</Stream>
ffmpeg command:
ffmpeg -intra -f video4linux2 -vcodec mjpeg -r 30 -s 1280x720 -i
/dev/video0 -r 30 -vcodec copy http://localhost:8090/feed1.ffm
</dev/null &
================================================================

thanks
Soho


More information about the ffmpeg-user mailing list