|
Hi, thank you for
your help and advise.
“Just a shot in the dark, but two things come to mind.” It was a good shot in the dark: it solved my problem temporarily, but it would appear that latest versions of red5 (after rc2) can only work with files encoded in a special way so the seeking process works properly -- is that correct? “Second, the slider bar, when moved, is going to try to seek to the closest keyframe in the video. Given that with most encoding software, you only have the option of "automatic" keyframes (the software will put them in when it determines one is needed to improve the quality) or forcing the creation of a keyframe every N frames (which increases the overall size of the FLV as N approaches 1 - most guides recommend placing a keyframe every six seconds, and then working around from there). So what you may be seeing with your slider bar is just normal behavior.” I’ve tried to change keyframe settings in Sorenson Squeeze to reflect recommended value, set at every 6 seconds. Ironically, I erroneously placed a keyframe every 6 frames (not 6 seconds!!!) and the resulting huge flv file had no “slider issue”. Placing keyframes every 6 sec brought back the very same problem. I didn’t have much time to actually experiment with different keyframe settings, but the problem is definitely related to the density of keyframes. Once again, rc2 had no such problem. It looks like red5 forces everybody to use only specially prepared content with certain density of keyframes, otherwise seeking process works in a somewhat strange manner (as described in my previous email). “What were these examples that you didn't use the Flash 8 Encoder to create made with?” I’m using Sorensen Squeeze to encode a DVD chapter. Nathan P. Johansen wrote: Hi, Just a shot in the dark, but two things come to mind.You're using John's FLV player - so I'm not sure how it does a "rewind", but if you're writing your own code, I'd suggest something simple like: ns.seek(0); To return the playhead to the beginning of the video. If you want to pause it there, or force playback, then just do one of these next: ns.pause(); ns.play(0); Second, the slider bar, when moved, is going to try to seek to the closest keyframe in the video. Given that with most encoding software, you only have the option of "automatic" keyframes (the software will put them in when it determines one is needed to improve the quality) or forcing the creation of a keyframe every N frames (which increases the overall size of the FLV as N approaches 1 - most guides recommed placing a keyframe every six seconds, and then working around from there). So what you may be seeing with your slider bar is just normal behaviour. If you're capturing video from a web camera - I'm not entirely certain how keyframes are (or perhaps are not) added to the FLV file. What were these examples that you didn't use the Flash 8 Encoder to create made with? Nate On Mon, 26 Mar 2007, Max Medvetsky wrote: |
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
