I am facing some issue in recording the users webcamera using an AS3 script and Red5 as streaming server. I tried to use the buffer to check if the client finished sending the packets to the server. but it doesn't work properly. I have two cases: if I don't use the buffer timer, I can see the Recordedfile.flv.ser keep growing but it takes a long time to generate the final .flv file. and in case using bufferLenght to check the buffer, once I stop recording it generate immediately the .flv file but only with some segments which mean that in the client side seems that BufferLenght its always 0. I tried so many examples and options whether on the client side or at the server side, but I still have the same problem: Broken FLV files.
PS: I am using Red5 1.0 installed in centOS.
Red5 1.0 final, 1.0.1 and 1.0.2 have a bug in their delayed write mechanism that leads to broken .flv files with stuck video and only sound. the .flv files contain only sound and 1 or 2 frames of video.
We have hit this issue many times and we've made a patch for Red5 1.0.2 that fixes it. This patch has also been committed to the Red5 source code on GitHub by the Red5 team. The next version of red5 will include it. Until then you can download a patched Red5 1.0.2 from here.
Related
Currently, my Picamera attached to raspberry working with circular buffer and send livestream to my public server at the same time.
The circular buffer will keep recording and if certain event is triggered, the raspberry will send the specified length from circular buffer to the public server.
But, I also want the live stream capabilities at the same time.
So far, I have succeed to send the live stream data to my public server using socket, and then the server side python script direct the stream to vlc.exe (my public server is windows server), then play it using vlc player.
But, I want it to play in my webpage.
My problem here is, I don't know how to re-direct again the stdin data (from client using socket) vlc.exe to html webpage, which will be accessed by anyone who want to see the video live stream.
I have search several methods like :
mpeg stream, but I'm using a stream of h264 here not multiple jpeg images.
mplayer, which I also stuck at redirecting the stdin to html page.
vlc command from raspberry (cvlc) which I found did not had the same command option with vlc.exe for windows. For example, I did not find --sout option in vlc-help.txt.
Most tutorials only cover LAN network, while I have to stream it remotely.
CMIIW.
So, is there someone who knows how to direct the h264 stream from python socket to html webpage in windows server ?
I'm pretty new to unix operating systems. I'm running CentOS 6.5, and I need to run 1 (or more ideally) instances of Flash Player continually in the background, I've no idea how to do this.
The reason is because in Flash I'm using the RTMFP protocol to send data between clients P2P, and it would be useful for me to have a few test clients running on my server all the time.
How would I go about doing this? The flash program needs to be visually navigated through its menus to get it into the state required. Currently I'm just using putty, what can I install to get a GUI to do this, and how might I go about getting Flash Player (10.1 up) to work?
Thanks a lot!
I think I have an idea what you're trying to do. To clarify, you want to have several flash applications running in browsers or via a flash player to act as test users to test your RTMFP protocol?
If this is the case, use VNC (something like running multiple instances of x11vnc on different ports) to log into several GUI accounts on your system and run the application (Linux is multiuser by default). You can close out the VNC without ending your session. This should work for what I think you're trying to do.
Hope this helps.
I am trying to work on getting Video Streaming over HTTP in a windows phone 8 application.
These are the issues that i am facing,
Unable to stream video using the MediaElement.
unable to Stream video using the player framework by microsoft.
Things to be noted here, i am not using the IIS oriented servers.
The above will well when i hard code the server details from my local machine or isolated storage. But this does not work through HTTP.
Does anyone have any idea on this ?
If this is not possible, is there a way where i can have HTML5 streaming the video and have that included in my application ?
I'm working on a project about a streaming server (Linux, Apache, Squid, DHCP) that works on LAN. Clients connect to the server through web browser and watch videos with HTML5. Using HTML5 is very simple, but clients can also download videos easily with right-click menu (or with a browser extension). Is it possible to prevent users from downloading videos with squid proxy server while they can play videos with browser? I tried to block video file downloading (with squid), but with this method HTML5 video won't play either. Squid config for blocking file download that i used:
acl BlockExt url_regex -i \.mp4$
http_access deny BlockExt all
Thanks.
sadly there is no way to differentiate from the server between a browser requesting the video to play and requesting the video to download.
you could add an annoyance factor by disabling rightclick via javascript (that's only going to stop really basic users) or split the video into multiple fragments and use the ended event to jump to the next piece (potential for buffering delays of course, but for this sample dealing with Audio it's been fairly reliable - https://gist.github.com/1266499)
I'm trying to load a local video to display it and I'm having this error ( Error #2148) at runtime, I have read in many places what this problem is, about flash security and all that stuff but there's no solution anywhere and some people say that it can't be done.
My swf works fine when loading from internet, I have my cross-domain on my server but is completely necessary for me to create a standalone version which can run without internet connection and load the videos from file system.
May be with different compiling options? I'm using Flash Builder 4.6
Any idea how could I achive a local resource loading?
P.D. I know that the trusted folder can resolve the problem but that implies a configuration change in every computer it runs and I need it to be portable like in a USB to run on any computer that has Flash Player.