AVGP / webcaster

Experiment to capture screen and webcam and record a video as WebM.
1 stars 1 forks source link

some issue when trying this application #3

Open kuma275m opened 10 years ago

kuma275m commented 10 years ago

Hey, sorry to interrupt you. Thank you very much for sharing this code and it's so helpful for my project. But I have a question about downloading video after recording. I followed your instruction to enable usermedia-screen-capture and it works to record/store video. But seems that it only capture the content in current page and doesn't record my actions in other web pages. Also it only store part of my actions into webm file. For instance, I recorded a 28s video but it only stores about 6-11 seconds. If possible, could you please give me some advise?Thank you very much and have a nice day. Best Wishes

kuma275m commented 10 years ago

ok, now I understand why the really duration is less than what I actually took. The output video is speed up. I checked whammy.js and tried to change the speed back to original, but can't to understand the codes.......

AVGP commented 10 years ago

Hey,

first off: This is an experiment combining a few very flaky features (screen capture with getUserMedia + on the fly WebM encoding).

Yes, Whammy is unfortunately just making the output faster after a certain time. I think this may be avoidable by using web workers, but I didn't have the time to investigate that. Another possibility is to send the raw frames asynchronously to a server and encode the video there. See this thread on StackOverflow for instance

I am surprised it actually lets you record the screen. The best option is to host it somewhere with SSL, for instance Google Drive, like it is explained here

kuma275m commented 10 years ago

hey, Thank you for your links. It works on my local environment after I enable openssl module on apache. And I found there is a speed parameter in WhammyVideo function. The default value is 15. After I changed the value to 8, it looks better....