toutnue12300 / flash-videoio

Automatically exported from code.google.com/p/flash-videoio
1 stars 0 forks source link

Camera dimension and bandwidth issue #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
First reported by Federico Parra <f.parra.account@gmail.com> on Feb 2.
--
> Hi Kundan! I'm using a new Blackmagic Intensity Shuttle card to
> capture 1080p HD video from my HD camcorder directly into the
> flashIO publisher/h264 encoder.
>
> The issue is that this capture card ONLY works when CameraDimension
> is set to the exact size (1920x1080p); that resolution too big since
> most
> monitors are still 720p, particularly laptop ones.
>
> But if I set CameraDimension to 1280x720p the capture card doesn't
> provide
> signal.
> Is there any way of using CameraDimension in 1920x1080 yet making
> the publisher reduce the video to 720p before sending it into packets
> to
> the peers in the multicast group?
>
> otherwise most recipients will be playing a downsized version of the
> 1080p
> video, and almost half bandwidth would be lost.
>
> Thanks!
> Federico
>

--
Hi Federico, 

I wanted to suggest to use the same aspect ratio for camera dimension before 
realizing that it indeed was the same aspect ratio.

If the camera is not able to capture in that dimension, then I don't know any 
workaround on that front.

On the other hand, you can play with the "cameraQuality" and "cameraBandwidth" 
properties to limit the encode quality and bandwidth of the generated video 
stream, and reducing the wasted bandwidth.

If you find any Flash Player/ActionScript API that allows reduced picture size 
even if the camera doesn't support it, let us know...

Original issue reported on code.google.com by kundan10 on 6 Feb 2012 at 8:52

GoogleCodeExporter commented 9 years ago
No other API in Flash Player to support this, hence closing as Won't Fix.

Original comment by kundan10 on 24 Feb 2012 at 5:09