header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Aron
Points:0
Posts:0

6/28/2011 10:13:26 AM

Title: Software Dev


I'm having a problem with recording and playing back video from FMS / WowzaMediaServer. I get the same results from both so I'm assuming that the problem is with the flash app. I establish a connection to the server and record a video and then proceed to play it back. The problem is with the recorded file. All of the content seems to be there but there's a really long pause usually toward the beginning of the file but sometimes at the end. The meta data also says that the video is about 3 to 4 seconds long than it actually is. Please let me know if you need any more info.

Camera & mic settings:
_cam.setMode(160, 120, 30, false);
_cam.setQuality(0, 88);
_cam.setKeyFrameInterval(30);
_mic.rate = 11;

I'm also flushing the buffer before I stop the publishing stream



1
Troy
Points: 820
Posts:0
6/28/2011 10:26:57 AM



pause in the audio file can be result of low sound in the mic which automatically pauses the audio when the audio falls below a certain level due to default silence level set as 10. You can try setting the silenceLevel Property to 0, which will force the microphone to keep on recording without pause. Use

_mic.setSilenceLevel(0);

2
Rex
Points: 1280
Posts:0
6/28/2011 11:09:10 AM



i hope your mic not having loose connection causing this. Other than setting silenceLevel to 0 you can also see if there is any bandwidth problem . Low speed internet can also cause pause in the video / audio. You can try reducing the video quality by changing
_cam.setQuality(0, 60);


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 2+7 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions