[FFmpeg-user] How to create file for ffserver? Index & Id do not match

sean darcy seandarcy2 at gmail.com
Sun Apr 3 23:20:03 CEST 2011


I'd like to have ffserver serve a file.

Here's ffserver.conf

Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000

# Access log file (uses standard Apache log file format)
# '-' is the standard output.
CustomLog -

# Suppress that if you want to launch ffserver as a daemon.
NoDaemon

<Feed Annie.ffm>
# You could specify
# ReadOnlyFile
# This marks the file as readonly and it will not be deleted or updated.
ReadOnlyFile /opt/Annie-July-Play-2004.asf
FileMaxSize 400M

# Specify launch in order to start ffmpeg automatically.
# First ffmpeg must be defined with an appropriate path if needed,
# after that options can follow, but avoid adding the http:// field
#Launch ffmpeg

# Only allow connections from localhost to the feed.
ACL allow 127.0.0.1
</Feed>

<Stream Annie.asf>
     Feed Annie.ffm
     Format asf
     VideoFrameRate 15
     VideoSize 720×480
     VideoBitRate 256
     VideoBufferSize 40
     VideoGopSize 30
     AudioBitRate 64
     StartSendOnKey
</Stream>

I've created the file Annie.ffm:

ffmpeg -i total.file -r 15 -vb 256000 -ab 64000 -f asf Annie.ffm
FFmpeg version git-N-28804-gf38fa75, Copyright (c) 2000-2011 the FFmpeg 
developers
   built on Apr  2 2011 23:14:01 with gcc 4.5.1 20100924 (Red Hat 4.5.1-4)
.............
Output #0, asf, to 'Annie.ffm':
   Metadata:
     WM/EncodingSettings: Lavf52.104.0
     Stream #0.0: Video: msmpeg4, yuv420p, 720x480 [PAR 8:9 DAR 4:3], 
q=2-31, 256 kb/s, 1k tbn, 15 tbc
     Stream #0.1: Audio: libmp3lame, 32000 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
   Stream #0.0 -> #0.0
   Stream #0.1 -> #0.1

But:

ffserver
.......
Sun Apr  3 17:14:35 2011 Index & Id do not match for stream 0 
(/opt/1500gig/MyBook-backup/video-2/plp-2004/play-july25/dv/tmp/Annie.ffm)




More information about the ffmpeg-user mailing list