Hi Red5

would you give me some sample code of caputering audio in mp3 format usig red5, this will clear my concept about how to utlizied this technology......

Best Regard,

Abdul Qaddus
Cell #+923336540863
+923336515718


From: "Abdul Qaddus" <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: [Red5] rewind not working properly (r1771)
Date: Wed, 28 Mar 2007 08:20:02 +0000

Hello Max,

would you provide some of example codes how i wll save the caputure audio into MP3 format....

Abdul Qaddus

Cell #+923336540863
+923336515718


From: Max Medvetsky <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: [Red5] rewind not working properly (r1771)
Date: Wed, 28 Mar 2007 01:07:14 -0700

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:

  
Hello everyone!
I'm using a trunk version (r1777) and I noticed that the "rewind"
function now behaves somewhat differently from rc2's. I know that after
rc2 release a new .meta format was introduced to avoid the reparsing of
flv. I can no longer rewind to a particular place, or at least I cannot
do it 100% of the time. Sometimes the playback starts from the slider
point, and sometimes it just continues playing and it ignores a slider
being moved altogether. One little detail: this does not happen if I'm
using Flash 8 Encoder to produce flv file, but only if I'm using
Sorensen Squeeze 4.5 (VP6 2-pass VBR 256Kbit). So I'm wondering whether
there are any flv format variations that aren't fully supported by red5?
(like using progressive jpegs was not supported by Flash player some
time ago). Did anyone else come across this problem? The described
behavior was reproduced by using Flv Steram Player written by John Grden
and the latest trunk version (r1777), so I didn't write any code, and
it's not therefore my bug
    
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

  


>_______________________________________________
>Red5 mailing list
>[email protected]
>http://osflash.org/mailman/listinfo/red5_osflash.org



It’s tax season, make sure to follow these few simple tips

>_______________________________________________
>Red5 mailing list
>[email protected]
>http://osflash.org/mailman/listinfo/red5_osflash.org



Mortgage refinance is hot 1) Rates near 30-yr lows 2) Good credit get intro-rate 4.625%*
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to