[Asterisk-video] Playing with MCU

Sergio Garcia Murillo sergio.garcia at fontventa.com
Mon Oct 22 01:17:51 CDT 2007


Hi Emmanueal,

First, the app_mixer is just for playing and not much,  if you want to do
anything more you should give
mcuWeb a try, it worths it.

The xmlrpc version is 1.1 and the private files I'm using are the one form
the abyss server because on
that release that part was not very well integrated, so I had to do it on my
own.

I'll try to check your seg fault asap.

BR
Sergio


----- Original Message ----- 
From: "Emmanuel BUU" <emmanuel.buu at ives.fr>
To: "Development discussion of video media support in Asterisk"
<asterisk-video at lists.digium.com>
Sent: Monday, October 22, 2007 12:28 AM
Subject: [Asterisk-video] Playing with MCU


> Sergio,
>
> I have been playing with your MCU using video mixer + app_mixer.
>
> First remark, I don't know wich version of xmlrpc-c to use :
>
> I got the last one from source and I had to adapt media/src to some new
> structures.
> Also: it seems that mcu depends on private header files from xmlrpc-c
> (session.h, conn.h, etc.). Why ?
>
> I finally compiled mcu & app_mixer successfully. Then as payloadtype for
> H.263+ has been changed to 97 in my asterisk,  I changed this
> accordingly in video mixer. I got to a point where  the first
> participant call causes  mcu and asterisk to crash (seg fault).
>
> Note : ffmpeg has been compiled from a fresh checkout.
>
> Any idea ?
>
> Here are the traces:
>
> [26310]>Run [0xbffbba04]
> [26310]-Handler on /status
> [26310]-Handler on /mcu
> [26310]-Dispatching [/mcu]
> [26310]>ProcessRequest [/mcu]
> [26310]>CreateConference
> [26310]<CreateConferencei [100]
> [26310]>GetConferenceRef [100]
> [26310]<GetConferenceRef
> [26310]-Init multiconf
> [26310]-SetCompositionType [1,0]
> [26310]>SetCompositionType [1,0]
> [26310]<SetCompositionType
> [26310]>ReleaseConferenceRef [100]
> [26310]<ReleaseConferenceRef
> [26310]<ProccessRequest
> [26310]-MixAudioThread [26310]
> [26310]-MixVideoThread [26310]
> [26310]>MixVideo
> [26310]-Dispatching [/mcu]
> [26310]>ProcessRequest [/mcu]
> [26310]>GetConferenceRef [100]
> [26310]<GetConferenceRef
> [26310]>CreateParticipant
> [26310]>CreateMixer video [1]
> [26310]<CreateMixer video
> [26310]>CreateMixer audio [1]
> [26310]<CreateMixer audio
> [26310]-SetVideoCodec [103,300,5,4,8]
> [26310]-SetAudioCodec [3]
> [26310]>Init video stream
> [26310]<Init video stream
> [26310]>Init audio stream
> [26310]<Init audio stream
> [26310]>Init mixer [1]
> [26310]PipeVideoInput init
> [26310]PipeVideoOutput init
> [26310]<Init mixer [1]
> [26310]>Init mixer [1]
> [26310]PipeAudioOutput init
> [26310]<Init mixer [1]
> [26310]<CreateParticipant [1]
> [26310]>ReleaseConferenceRef [100]
> [26310]<ReleaseConferenceRef
> [26310]<ProccessRequest
> [26310]-Dispatching [/mcu]
> [26310]>ProcessRequest [/mcu]
> [26310]>GetConferenceRef [100]
> [26310]<GetConferenceRef
> [26310]-SetVideoCodec[1]
> [26310]-SetVideoCodec [97,15,5,0,0]
> [26310]>ReleaseConferenceRef [100]
> [26310]<ReleaseConferenceRef
> [26310]<ProccessRequest
> [26310]-Dispatching [/mcu]
> [26310]>ProcessRequest [/mcu]
> [26310]>GetConferenceRef [100]
> [26310]<GetConferenceRef
> [26310]-SetAudioCodec [1]
> [26310]-SetAudioCodec [0]
> [26310]>ReleaseConferenceRef [100]
> [26310]<ReleaseConferenceRef
> [26310]<ProccessRequest
> [26310]-Dispatching [/mcu]
> [26310]>ProcessRequest [/mcu]
> [26310]>GetConferenceRef [100]
> [26310]<GetConferenceRef
> [26310]-StartSendingAudio [1]
> [26310]>StartSending audio [127.0.0.1,6150]
> [26310]-SetRemotePort [127.0.0.1,6150,0]
> [26310]<StartSending audio [1]
> [26310]>ReleaseConferenceRef [100]
> [26310]<ReleaseConferenceRef
> [26310]<ProccessRequest
> [26310]-Dispatching [/mcu]
> [26310]>ProcessRequest [/mcu]
> [26310]>GetConferenceRef [100]
> [26310]<GetConferenceRef
> [26310]-StartSendingVideo [1]
> [26310]>StartSending video [127.0.0.1,6120,97]
> [26310]-SetRemotePort [127.0.0.1,6120,97]
> [26310]<StartSending video [1]
> [26310]>ReleaseConferenceRef [100]
> [26310]<ReleaseConferenceRef
> [26310]<ProccessRequest
> [26310]-Dispatching [/mcu]
> [26310]>ProcessRequest [/mcu]
> [26310]>GetConferenceRef [100]
> [26310]<GetConferenceRef
> [26310]-StartReceivingAudio [1]
> [26310]<StartReceiving audio [55270]
> [26310]>ReleaseConferenceRef [100]
> [26310]<ReleaseConferenceRef
> [26310]<ProccessRequest
> [26310]-Dispatching [/mcu]
> [26310]>ProcessRequest [/mcu]
> [26310]>GetConferenceRef [100]
> [26310]<GetConferenceRef
> [26310]-StartReceivingVideo [1]
> [26310]-StartReceiving Video [55268]
> [26310]>ReleaseConferenceRef [100]
> [26310]<ReleaseConferenceRef
> [26310]<ProccessRequest
> [26310]SendAudioThread [26310]
> [26310]>SendAudio
> [26310]-CreateAudioCodec [0]
> [26310]SendVideoThread [26310]
> [26310]>SendVideo [352,288,5,15,1,6]
> [26310]-CreateVideoEncoder [97,1,6]
> [26310]RecVideoThread [26310]
> [26310]>RecVideo
> [26310]-StartVideoCapture [352,288,15]
> [26310]-SetSize [352,288]
> [26310]-OpenCodec H263 [5120bps,15fps]
> [26310]-Sending video
> [26310]RecvAudioThread [26310]
> [26310]>RecAudio
> [26310]Error recv video [0]
> [26310]Silence
> [26310]-CreateVideoDecoder[97]
> [26310]Lost packet
> [26310]-CreateVideoDecoder[97]
> [26310]-CreateVideoDecoder[97]
> [h263 @ 0xae9990]Bad picture start code
> [h263 @ 0xae9990]header damaged
> swScaler: 0x0 -> 176x144 is invalid scaling dimension
>
> $ gdb mcu core.23610
> #0  0x0013a363 in sws_scale () from /usr/local/lib/libswscale.so.0
> (gdb) where
> #0  0x0013a363 in sws_scale () from /usr/local/lib/libswscale.so.0
> #1  0x00000000 in ?? ()
>
>
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-video
>




More information about the asterisk-video mailing list