-
September 1st, 2011, 06:44 AM
#1
Screen Capture - Problems with video and audio sync
I have a problem with an java screen recorder. The problem is that the video and audio gets out of sync sometimes if the client computer is a bit slow.
The tecnique used is to capture a lot of jpegs and the sound. After that the jpegs is rendered to an quicktime movie along with the sound.
Do you guys know of a good tecnique to always get this in sync?
-
September 1st, 2011, 11:32 AM
#2
Re: Screen Capture - Problems with video and audio sync
Can you record the system time of the sound recordings and screen captures so you can resync them when you generate the movie.
-
September 2nd, 2011, 01:31 AM
#3
Re: Screen Capture - Problems with video and audio sync
Originally Posted by keang
Can you record the system time of the sound recordings and screen captures so you can resync them when you generate the movie.
Thanks for the reply =)
I have thought about something like that too, but dont know if thats possible?
Regarding the jpegs maybe I could make an array and save what milliseconds each frame should belong to, but does anyone have a clue how I could do to save the same metadata about the sound?
-
September 2nd, 2011, 05:00 AM
#4
Re: Screen Capture - Problems with video and audio sync
If you are saving the sound as a continuous stream and there's no time data captured in the stream then it's a little trickier.
I suppose you could monitor the number of bytes passed through the sound stream and save the total number of bytes at the point you capture each image and use that to resync the images to the sound.
-
September 2nd, 2011, 08:40 AM
#5
Re: Screen Capture - Problems with video and audio sync
Originally Posted by keang
If you are saving the sound as a continuous stream and there's no time data captured in the stream then it's a little trickier.
I suppose you could monitor the number of bytes passed through the sound stream and save the total number of bytes at the point you capture each image and use that to resync the images to the sound.
Sounds like a good idea, thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|