Nice catch Paul Andrews...
When you are spreading out the frames you spread out the peaks and
valleys in the audio sample; thus, in my understanding, because you are
extending time, there is no way of keeping the audio sound similar to
the original sample without losing sync to the frames.
With regard to playing the flv in slow motion, my thoughts are:
*/_1_/.* If you are using the same flv, what you could do is calculate
how slow you want it, say 1/2 regular speed, and then take the amount of
frames you have per second, say 30 fps, and you know you have to play
each frame twice (or reducing playback to 15 fps whilst still using the
original amount of frames and audio sample), in order to extend the 1
second sample over 2 seconds. Typing this idea confused me for a moment.
*/_2._/* If you are using a high quality high fps video for the slow
motion section, you might just want to stream in the entire low quality
lower fps flv in, have the high quality slow mode flv, with double the
frames recorded and displayable, only be called when it is needed, and
play the lower fps flv in slow mode, using the idea above */_1_/* ,
until the high quality section has buffered enough.
What do you think? any other ideas?
Thanks,
Anthony
Paul Andrews wrote:
----- Original Message ----- From: "Adam Duston" <[email protected]>
To: <[email protected]>
Cc: "Jennifer Ede" <[email protected]>
Sent: Friday, March 13, 2009 10:37 PM
Subject: [Flashcoders] Playing Flash video in slow-motion
Dear Flashcoders,
I must play an FLV in slow motion. After googling around for this for
several hours I've found many bad solutions. For example, the one at
http://www.flashcomguru.com/index.cfm/2005/8/2/slowmo is extremely
choppy, whereas the one at http://richapps.de/?p=36 doesn't also play
the sound. I must play the sound slowly as well, without altering its
pitch.
Just how can you play a sound slowly without altering the pitch?
I have a solution in mind: I'm going to store each of my videos in SWF
format in one-minute segments. As each segment finishes downloading,
my custom player will start downloading the next segment, and will
play each of them back-to-back. I have proof that when a video is in
SWF format, it can be played in slow motion without noticeable
degradation in sound quality.
As you can tell, this solution is hacky and is going to take a lot of
work to implement. So, before implementing it, I wanted to make a
final check with the experts to make sure I'm not wasting my time.
Thank you,
Adam
--
Founder, langolab.com
[email protected]
Skype: aduston
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders