Red5 Recorder video quality increase - red5

I am new in the flash and I am using the red5 recorder to record video. Camera that i use is imac around 2 megapixel. While i am recording the video its fine and after record done, i save the video in vzaar. While i fetch the video from vzzar then the video is badly pixelated. How can i make the video fine?
cam.setQuality(0,90);
I keep this code in the as file. But this didn't work.
How can i improve the quality of video can you please suggest?
Thanks in advance :)

You can read the documentation of the class Camera for a better understanding of the properties.
Anyway here is a code suggestion to get the best webcam quality:
var camera:Camera = Camera.getCamera()
//width, height of the video you are recording and fps(frame per seconds)
camera.setMode(400, 400, 15);
//set the bandwith to 0 which means that it will use all it can,
//and the quality to 100 which is the best quality it can get
camera.setQuality(0, 100);

This article will help you to get the better video quality with red5 and flash
http://www.technogumbo.com/tutorials/Recording-Decent-Quality-Video-And-Audio-With-Flash-and-Red5/index.php

Related

agora.io video : can't change audio volume

i am trying to implementing agora video to my project already tried build it on WebGL and VR and it's work great, but for some reason cant change the audio volume on Quest device, even thought my quest volume is set to 0 but still hear it for some reason
Thanks in advance!

video.js auto quality selector

I am rendering video to page.
Now my requirement is to play video based on network bandwidth.
I achieved ABR(Adaptive Bitrate) using video.js & videojs-contrib-hls plugin
Now , I want to add quality selector button for video i.e first it auto select video quality based on network bandwidth.
And also want to give option to select quality , but first it must select auto quality.
Please see attached screen shot which give you exact idea about what I want to do
Note :
I do not want to enable flash & video should be played in all browsers.
If there is other library than also please let me know so that i can use that also.
I tried with videojs-resolution-switcher plugin , which is not work for me.

Browser web cam stream has extremely low performance/frame rate

I am trying to test WebRTC and want to display my own stream as well as the peer's stream. I currently have a simple shim to obtain the camera's stream and pipe that into a video element, however the frame rate is extremely low. The rare thing about this is that I can try examples from the WebRTC site and they work flawlessly.. The video is smooth and there are no problems. I go to the console and my code resembles theirs.. What could be happening? I tried to create both a fiddle and run that code within brackets but it still performs horribly.
video = document.getElementById('usr-cam');
navigator.mediaDevices.getUserMedia({video : {
width : {exact : 320},
height : {exact: 240}
}})
.then(function(stream){
if(navigator.mozGetUserMedia)
{
video.mozSrcObject = stream;
}
else
{
video.srcObject = stream;
}
})
.catch(function(e){
alert(e);
});
Pretty much everything I do. Take into account that I am using the new navigator.mediaDevices() API instead of navigator.getUserMedia() but I don't see how that would matter since 1.I am using a shim provided by the WebRTC group named adapter.js which they themselves use. 2. I don't think how you obtain hold of the video stream would affect performance.
Alright, I feel very stupid for this one... I was kind of deceived by the fact that the video element will update the displayed image without you having to do anything but pipe the output stream, which means the image will update but just at really long intervals, making it seem as if the video is lagging. What I forgot to do was actually play() the video or add autoplay as its property... it works well now.

Why is video playing in Firefox but not in Chrome or Safari?

I have a video thumbnail on the top right of this screen that, when clicked, plays fine in Firefox. However, in Chrome and Safari the video will not play. The loading image spins forever and will not continue to the video.
Any advice is much appreciated. I have tried upgrading VideoJS from v2.0.2 to v4.1.0 and that still did not solve the problem.
Here is the link: http://www.therefinerycreative.com/#!/theatrical
I believe it is the actual source movie files that are the problem. The mp4 file is 15mb which is quite big for a 1 minute movie. I can see the dimension size of the movie is fine. Try decreasing the size of the file down first. Or to save you time first, try putting in the standard video from videojs just to double check that it definitely is the source file(s). http://vjs.zencdn.net/v/oceans.mp4
I also noticed that you use an ogg file too. In most cases you can get away with just using an mp4 file. Try both of these solutions and let me know how you get on.

Can I play flash video file on iPad?

I want to make simple project which play flash video file from online.
I've searched some articles and read carefully.
But I can't understand, how to play flash video files on iPad by Code.
So I need help from you.
Please.
Simply put, without being jailbroken, No you cannot.
The closest thing to being able to view flash in iOS is Frash, and I am not even sure if it is actively being developed or supported any more.
You can always check out the open source project for Frash. by Comex.
All IOS devices don´t support Flash player, but is be possible to use a Javascript or HTML5 player for video.
No, iWhatever's currently do not and to the best of my surfing knowledge, have no intention of supporting flash format due to some argument between apple and adobe.
At the end of the day, the Flash video format is a container for a movie that’s been compressed by some codec. If you can get to the source file, you know the format of the container, you know the codec that was used to encode the video, and you know how to write code to convert that into audio streams and video frames, then yes, you can play Flash videos on the iPad.
So, to recap:
Get the Flash video file.
Get to the encoded video data in the Flash file.
Decode the video and convert it, either into raw audio and video or to another format that the iPad can play.
Play the result of #3.
Needless to say, this is quite the endeavor. It’s better to download the movies to your desktop and convert them there before loading them into your application.
Yes you can! The question is whether or not you can play the video itself not whether or not ipads support flash player.
the answer is this.. new versions of "flash video" have a f4v file extension. These videos are basically a h.264 mp4 files. You "may" be able to play it in an ipad simply by renaming it to .mp4
If that doesn't work then use a utility like Miro to convert your "flash video" to a format that your ipad will accept. http://www.mirovideoconverter.com/