Posted: Tue Apr 21, 2009 1:23 pm Post subject: [Asterisk-video] Video content size
I'm doing a fastagi application (via asterisk-java) that should create/cache videos on-the-fly, and in order to do that
I'd like to know the video context size (width x height). Is this available somehow?
TIA
/Rob
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Tue Apr 21, 2009 1:37 pm Post subject: [Asterisk-video] Video content size
It depends on what video format you are using. you can retrieve size
by parsing the bitstream or the header.
Ram
On Tue, Apr 21, 2009 at 10:09 AM, Robert Bielik
<robert.bielik@xponaut.se> wrote:
Quote:
I'm doing a fastagi application (via asterisk-java) that should create/cache videos on-the-fly, and in order to do that
I'd like to know the video context size (width x height). Is this available somehow?
TIA
/Rob
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Wed Apr 22, 2009 4:46 am Post subject: [Asterisk-video] Video content size
Ram skrev:
Quote:
It depends on what video format you are using. you can retrieve size
by parsing the bitstream or the header.
Ok, so it must be a result of the negotiation with the video phone client with * I guess? I've setup a simple * app with
app_mp4 and I'm using X-lite as the client. But with sip debug on, I can see no reference to any sizes?
Moreover, how do I get to that info within a fastagi app?
/Rob
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Thu Apr 30, 2009 5:30 am Post subject: [Asterisk-video] Video content size
Robert Bielik skrev:
Quote:
I'm doing a fastagi application (via asterisk-java) that should create/cache videos on-the-fly, and in order to do that
I'd like to know the video context size (width x height). Is this available somehow?
Ok, bumped as I haven't been able to find the info anywhere. To clarify:
What I want to know is the video frame size (in pixels) of the SIP phone on the calling side. Since the phone can
have an almost arbitrary sized screen, I'd need to know that size (in order to render video content of correct size).
And I figure that * <-> client negotiation has that info... somewhere?
Or am I missing something (which would not surprise me) ?
TIA
/Rob
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Thu Apr 30, 2009 5:56 am Post subject: [Asterisk-video] Video content size
Hi Robert,
If you will use the app_mp4 with 3gp files, the video must be in (forced
by the 3GP/MP4 format):
SQCIF (Sous-Quart de CIF) 128 × 96
QCIF (Quart de CIF) 176 × 144 H.261
CIF 352 × 288
It the standard configuration of the Asterisk, you cannot trust in the
SIP codec negotiations (too simple and don't care about the size,
bandwidth and pfs...).
One solution will be to have a database with the profile of each SIP
Video Phone (be sure to get it up to date) and use the app_transcoder to
perform the resizing/codec adaptations.
Some Asterisk user integrate modifications (patches...) to enable best
SIP negotiations (see the posts of Emmanuel).
Another solution will be to get the same configuration in all of the SIP
Video Phones (and take care about the video compatibility between the
different models/versions).
Regards,
Borja from i6net
Robert Bielik a écrit :
Quote:
Robert Bielik skrev:
> I'm doing a fastagi application (via asterisk-java) that should create/cache videos on-the-fly, and in order to do that
> I'd like to know the video context size (width x height). Is this available somehow?
>
>
Ok, bumped as I haven't been able to find the info anywhere. To clarify:
What I want to know is the video frame size (in pixels) of the SIP phone on the calling side. Since the phone can
have an almost arbitrary sized screen, I'd need to know that size (in order to render video content of correct size).
And I figure that * <-> client negotiation has that info... somewhere?
Or am I missing something (which would not surprise me) ?
TIA
/Rob
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum