[Linux-Biella] videolan.org doc morto?!?!
leonardo buffa
leonardo.buffa a bilug.linux.it
Ven 4 Feb 2011 19:09:45 CET
On Fri, 04 Feb 2011 15:23:29 +0100
PaulTT <paultt a bilug.linux.it> wrote:
> > ffserver mi sale, ma non riesco a "pubblicare"
> ?
> come lo hai impostato ora?
ho ffserver.conf:
Port 8090
# bind to all IPs aliased or not
BindAddress 0.0.0.0
# max number of simultaneous clients
MaxClients 1000
# max bandwidth per-client (kb/s)
MaxBandwidth 10000
# Suppress that if you want to launch ffserver as a daemon.
NoDaemon
<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 5M
</Feed>
# FLV output - good for streaming
<Stream test.flv>
# the source feed
Feed feed1.ffm
# the output stream format - FLV = FLash Video
Format flv
VideoCodec flv
# this must match the ffmpeg -r argument
VideoFrameRate 15
# generally leave this is a large number
VideoBufferSize 80000
# another quality tweak
VideoBitRate 200
# quality ranges - 1-31 (1 = best, 31 = worst)
VideoQMin 1
VideoQMax 5
VideoSize 352x288
# this sets how many seconds in past to start
PreRoll 0
# wecams don't have audio
Noaudio
</Stream>
# ASF output - for windows media player
<Stream test.asf>
# the source feed
Feed feed1.ffm
# the output stream format - ASF
Format asf
VideoCodec mpeg1video
# this must match the ffmpeg -r argument
VideoFrameRate 15
# generally leave this is a large number
VideoBufferSize 80000
# another quality tweak
VideoBitRate 200
# quality ranges - 1-31 (1 = best, 31 = worst)
VideoQMin 1
VideoQMax 5
VideoSize 352x288
# this sets how many seconds in past to start
PreRoll 0
</Stream>
lo eseguo e apre correttamente il socket 8090
e poi _cerco_ di lanciare ffmpeg tipo:
ffmpeg -i TheCatConcerto.avi http://10.0.100.220:8090/feed1.ffm
pero' non sembra andare, da errori vari a seconda di cosa imposto
se non metto nulla (come qui sopra) mi dice che ci sono erori su
bit_rate, rate or height
--
leonardo 'LeOS' buffa - IT security specialist
human knowledge belongs to the world
------------------------------
Linux Registered User: #135079
------------------------------
Maggiori informazioni sulla lista
Linux