[Red5devs] Improve video quality
Carl Sziebert
carlsz at gmail.com
Mon Aug 18 07:50:05 PDT 2008
Dan,
Video quality is actually controlled by the publishing client. For example,
when you retrieve a reference to the Camera object, try something like this:
cam = Camera.getCamera();
cam.setQuality(144000, 85);
cam.setMode(640, 480, 15);
cam.setKeyFrameInterval(60);
cam.setMotionLevel(75);
Also, I'd recommend that you give the ActionScript documentation a read for
more details.
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/media/Camera.html
Carl
2008/8/18 madada <amanofsky at hotmail.com>
> Hi folks,
>
> I am building a video streaming solution based on red5 server.
> The stream flow is:
>
> Flash SWF (capture webcam video and audio)
> |
> |
> using nc.connect(), ns.attach(cam);
> ns.attach(mic);ns.publish(file,"record");
> |
> |
> red5 server oflaDemo application, it saves the flv file and also live
> broadcast it.
> |
> |
> flash player, it plays the live stream that broadcasting from "oflaDemo"
>
> This flow works great, except I found the video in the flash player is
> quite bad and pixelated.
>
> I guess I am using a wrong video codec, so my question is : how can I
> improve the broadcasting video quality?
>
> Thanks.
>
>
>
> *Best regards,
> - Dan Ma*
>
> ------------------------------
> "七件武器,七种完美" 立刻体验! <http://get.live.cn>
>
> _______________________________________________
> Red5devs mailing list
> Red5devs at osflash.org
> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5devs_osflash.org/attachments/20080818/0e2e6acc/attachment.html
More information about the Red5devs
mailing list