Hi, I have win7 pushing UDP (via vidStudio port 1935) to Ubuntu (ffserver) and I am trying to use ffmpeg to capture and restream. Website is wildcatrockcity.com Both machines on DMZ, firewall verified not the issue... I have JW-Player embedded into index.html to play stream.
My problem is that I get "Error loading stream could not connect to server." I have tried many different configurations changing the ffmpeg command, but nothing works. My details of this configuration are as follows: INDEX.HTML *************** <html> <head> <script src="http://jwpsrv.com/library/mAx4MKWXEeKuhCIACpYGxA.js"></script> </head> <body><h1>It works!</h1> <p>This is the default web page for this server.</p> <p>The web server software is running but no content has been added, yet.</p> <div id='my-video'> <script type='text/javascript'> jwplayer('my-video').setup({ file: 'rtmp://www.wildcatrockcity.com:8090/live/live.swf', image: 'img', width: '480', height: '270', }); </script> </div> </body></html> *************** FFSERVER.CONF *************** Port 8090 MaxHTTPConnections 2000 MaxClients 1000 MaxBandwidth 10000 CustomLog - <Feed feed1.ffm> File /tmp/feed1.ffm FileMaxSize 5M ACL allow 127.0.0.1 ACL allow 172.16.0.20 </Feed> <Stream live.swf> Format swf # Format flv Feed feed1.ffm VideoCodec libx264 VideoFrameRate 25 VideoBitRate 512 VideoSize 320x240 AVOptionVideo crf 23 AVOptionVideo preset medium # for more info on crf/preset options, type: x264 --help AVOptionVideo flags +global_header AudioCodec aac Strict -2 AudioBitRate 128 AudioChannels 2 AudioSampleRate 44100 AVOptionAudio flags +global_header </Stream> ################################################################## # Special streams ################################################################## <Stream stat.html> Format status # Only allow local people to get the status ACL allow localhost ACL allow 172.16.0.0 172.16.0.255 </Stream> # Redirect index.html to the appropriate site <Redirect index.html> URL http://www.wildcatrockcity.com:8090/live/live.swf </Redirect> ################################################################## *************** FFMPEG command *************** ffmpeg -i udp://172.16.0.20 -c:a copy -c:v libx264 -vpre slow -f flv rtmp://wildcatrockcity.com:8090/feed1.ffm *************** ANY SUGGESTIONS / CORRECTIONS GREATLY APPRECIATED!!! THANK YOU IN ADVANCE!! -Axetone _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
