[FFmpeg-user] Couldnt send a video from ffmpeg on Windows to an ffserver feed on Linux

Yanet Giuse yanetagiu at yahoo.com
Tue Feb 20 15:15:47 EET 2018


Hi all,I want to do a video stream from a Windows machine but ffserver is not avaiable for Windows, so I started a ffserver service on a Linux machine (Ubuntu 16.04) and tried to send the video from the first to the second. The config file is this:
Port 8090                     
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 10000             
                             
CustomLog -
NoDaemon                      

<Feed feed1.ffm>               
   File ./feed1.ffm        
   FileMaxSize 1G           
   ACL allow 127.0.0.1 
</Feed>

<Stream test.webm>        
   Feed feed1.ffm  
   Format webm

   # Video settings
   VideoCodec libvpx
   VideoSize 720x576    
   VideoFrameRate 25  
   AVOptionVideo flags +global_header 
                                      
   AVOptionVideo cpu-used 0
   AVOptionVideo qmin 10
   AVOptionVideo qmax 42
   AVOptionVideo quality good
   NoAudio

   PreRoll 15
   StartSendOnKey
   VideoBitRate 400         
</Stream>

<Stream status.html> 
   Format status
   
   ACL allow localhost
   ACL allow 192.168.0.0 192.168.255.255
   ACL allow 192.168.0.131 # my windows machine ip
</Stream>

<Redirect index.html> 
   URL http://www.ffmpeg.org/
</Redirect>

If I run the next ffmpeg command on the linux machine, the video streams well, this is, I can play the video on VLC if I connect to http://192.168.0.119:8090/test.webm

ffmpeg -i video.avi http://192.168.0.119:8090/feed1.ffm
The same command on my Windows machine gives me the next output error:
Unable to find a suitable output format for 'http://192.168.0.119:8090/feed1.ffm' . http://192.168.0.119:8090/feed1.ffm : Invalid argument.
So, what I am doing wrong in this case?The ffmpeg Windows version Ive downloaded is the static binary for windows 64b.






More information about the ffmpeg-user mailing list