A
A
AlexAnry2015-02-13 15:21:17
Adobe Flash
AlexAnry, 2015-02-13 15:21:17

Flash player + FMS. How to improve the quality of recorded video?

We got a project that, in addition to a live broadcast, records video from a webcam and allows this video to be viewed later. Flash player on the site records video and the whole thing is spinning through FMS. The quality of the recorded video is worse than with the broadcast, although the setQuality and setMode settings are the same. FMS support says that the problem is on the player's side. The problem is also that I'm in a flush with my foot, but by the will of fate I have to deal with all this.
What can be pitfalls and in which direction to dig? Are there any other parameters that affect the quality of the recording?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Firsov, 2015-02-27
@FirsofMaxim

Hello.
Maybe the problem is in the server FMS code?

A
Alexander Mylchenko, 2015-03-30
@ERrorMAKros

1. Use the H264VideoStreamSettings class;

_h264VideoStreamSettings = new H264VideoStreamSettings();
_h264VideoStreamSettings.setProfileLevel(H264Profile.BASELINE, H264Level.LEVEL_4_1);
_h264VideoStreamSettings.setMode(cameraConfig.width, cameraConfig.height, cameraConfig.fps);
_h264VideoStreamSettings.setQuality(cameraConfig.bandwidth, cameraConfig.quality);
_h264VideoStreamSettings.setKeyFrameInterval(cameraConfig.keyFrameInterval);

_stream = new NetStream(_netConnection);
_stream.videoStreamSettings = _h264VideoStreamSettings;
//	_stream.addEventListener(NetStatusEvent.NET_STATUS, onStreamEventHandlers);
_stream.attachCamera(_camera);
_stream.publish("mp4:video.f4v");

2. Check your camera's capabilities because most don't support 480p;
3. The quality of the video is reduced because .mpeg4 or .flv by their specifics reduce the size of the video stream due to the loss of part of the data (but if the video is broadcast in confident 720p and the camera has good optics, the loss of the image will be less noticeable).
And this will not solve all your questions yet, others will appear ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question