[FFmpeg-user] ffserver with libvpx-vp9 problem

mystream adventure mystream.adventure at gmail.com
Thu Mar 31 02:23:23 CEST 2016


Hello,

I have problem using ffserver and libvpx-vp9, below is my ffserver.conf


Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 10000
CustomLog -

# For VP8
<Feed feed1.ffm>
   File /tmp/feed1.ffm
   FileMaxSize 1G
   ACL allow 127.0.0.1
   ACL allow 0.0.0.0
   ACL allow 180.251.93.67
</Feed>

#For VP9
<Feed feed2.ffm>
   File /tmp/feed2.ffm
   FileMaxSize 1G
   ACL allow 127.0.0.1
   ACL allow 0.0.0.0
   ACL allow 180.251.93.67
</Feed>

<Stream test.webm>
   Feed feed1.ffm
   Format webm
   noAudio
   VideoCodec libvpx
   VideoSize 320x240
   VideoFrameRate 11
   PreRoll 15
   StartSendOnKey
   VideoBitRate 200
</Stream>

<Stream test2.webm>
   Feed feed2.ffm
   Format webm
   noAudio
   VideoCodec libvpx-vp9
   VideoSize 320x240
   VideoFrameRate 11
   PreRoll 15
   StartSendOnKey
   VideoBitRate 200
</Stream>

And below is command to broadcast video to ffserver

//for VP8
ffmpeg -f dshow -i video="A4TECH USB2.0 PC Camera" -codec:v libvpx -quality
best -cpu-used 5 -b:v 200k -qmin 10 -qmax 42 -maxrate 200k -bufsize 400k
-threads 10 -vf scale=-1:380 -an  http://IP_SERVER:8090/feed1.ffm

//for VP9
ffmpeg -f dshow -i video="A4TECH USB2.0 PC Camera" -c:v libvpx-vp9 -pass 1
-b:v 0 -crf 33 -threads 8 -speed 4 -tile-columns 6 -frame-parallel 1
http://IP_SERVER:8090/feed2.ffm

To play streaming from ffserver iam using ffplay

ffplay -probesize 32 http://IP_SERVER:8090/test.webm #Video play smooth
with delay 5 second
ffplay -probesize 32 http://IP_SERVER:8090/test2.webm #window not appear...
(i can see video streaming)

my question:

1. Any special option to enable VP9 on ffserver or ffmpeg?
2. What the best transport method? protocol to reduce  delay from 5 second
to be 1 second?

TIA
Azzahrah...


More information about the ffmpeg-user mailing list