<div>Hi all,</div>
<div> </div>
<div>unfortunately we aren't proceeding. Media Mixer still reports us errors. Can someone describe us a working environment (os, gcc version, configure parameters for ffmpeg...) ? </div>
<div> </div>
<div>Thanks,</div>
<div>Jeremi</div>
<div><br> </div>
<div><span class="gmail_quote">On 10/3/07, <b class="gmail_sendername">jeremij jerome</b> <<a href="mailto:jeremij@gmail.com">jeremij@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Could the problem be related to ffmpeg ? Which are the parameters we should use for the "configure" of ffmpeg ?</div>
<div> </div>
<div>thanks.</div>
<div><span class="e" id="q_1156618a0677582b_1">
<div><br><br> </div>
<div><span class="gmail_quote">On 10/3/07, <b class="gmail_sendername">jeremij jerome</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jeremij@gmail.com" target="_blank">jeremij@gmail.com</a>
> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hi All,</div>
<div> </div>
<div>we made some steps forward (we had to fix the path of xmlrpc library). Now the mcu runs, but when we run ./test we obtain this:</div>
<div><br>[4636]>Run [0xbff19b50]<br>[4636]-Handler on /status<br>[4636]-Handler on /mcu<br>[4636]-Dispatching [/mcu]<br>[4636]>ProcessRequest [/mcu]<br>[4636]>CreateConference<br>[4636]<CreateConferencei [100]
<br>[4636]>GetConferenceRef [100]<br>[4636]<GetConferenceRef<br>[4636]-Init multiconf<br>[4636]-SetCompositionType [1,0]<br>[4636]>SetCompositionType [1,0]<br>[4636]<SetCompositionType<br>[4636]>ReleaseConferenceRef [100]
<br>[4636]<ReleaseConferenceRef<br>[4636]-MixAudioThread [4636]<br>[4636]-MixVideoThread [4636]<br>[4636]>MixVideo<br>[4636]<ProccessRequest<br>[4636]-Dispatching [/mcu]<br>[4636]>ProcessRequest [/mcu]<br>[4636]>CreateConference
<br>[4636]<CreateConferencei [101]<br>[4636]>GetConferenceRef [101]<br>[4636]<GetConferenceRef<br>[4636]-Init multiconf<br>[4636]-SetCompositionType [1,0]<br>[4636]>SetCompositionType [1,0]<br>[4636]<SetCompositionType
<br>[4636]>ReleaseConferenceRef [101]<br>[4636]<ReleaseConferenceRef<br>[4636]<ProccessRequest<br>[4636]-Dispatching [/mcu]<br>[4636]>ProcessRequest [/mcu]<br>[4636]>GetConferenceRef [101]<br>[4636]<GetConferenceRef
<br>[4636]>CreateParticipant<br>[4636]>CreateMixer video [1]<br>[4636]<CreateMixer video<br>[4636]>CreateMixer audio [1]<br>[4636]<CreateMixer audio<br>[4636]-SetVideoCodec [103,300,5,4,8]<br>[4636]-SetAudioCodec [3]
<br>[4636]>Init video stream<br>[4636]<Init video stream<br>[4636]>Init audio stream<br>[4636]<Init audio stream<br>[4636]>Init mixer [1]<br>[4636]PipeVideoInput init<br>[4636]PipeVideoOutput init<br>[4636]<Init mixer [1]
<br>[4636]>Init mixer [1]<br>[4636]PipeAudioOutput init<br>[4636]<Init mixer [1]<br>[4636]<CreateParticipant [1]<br>[4636]>ReleaseConferenceRef [101]<br>[4636]<ReleaseConferenceRef<br>[4636]<ProccessRequest
<br>[4636]-Dispatching [/mcu]<br>[4636]>ProcessRequest [/mcu]<br>[4636]>GetConferenceRef [101]<br>[4636]<GetConferenceRef<br>[4636]-SetVideoCodec[1]<br>[4636]-SetVideoCodec [103,300,5,4,8]<br>[4636]>ReleaseConferenceRef [101]
<br>[4636]<ReleaseConferenceRef<br>[4636]<ProccessRequest<br>[4636]-Dispatching [/mcu]<br>[4636]>ProcessRequest [/mcu]<br>[4636]>GetConferenceRef [101]<br>[4636]<GetConferenceRef<br>[4636]-SetAudioCodec [1]
<br>[4636]-SetAudioCodec [0]<br>[4636]>ReleaseConferenceRef [101]<br>[4636]<ReleaseConferenceRef<br>[4636]<ProccessRequest<br>[4636]-Dispatching [/mcu]<br>[4636]>ProcessRequest [/mcu]<br>[4636]>GetConferenceRef [101]
<br>[4636]<GetConferenceRef<br>[4636]-StartSendingAudio [1]<br>[4636]>StartSending audio [<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://192.168.195.1/" target="_blank">192.168.195.1</a>,1234]
<br>[4636]-SetRemotePort [<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://192.168.195.1/" target="_blank">192.168.195.1</a> ,1234,0]<br>[4636]<StartSending audio [1]<br>[4636]>ReleaseConferenceRef [101]
<br>[4636]<ReleaseConferenceRef<br>[4636]<ProccessRequest<br>[4636]-Dispatching [/mcu]<br>[4636]>ProcessRequest [/mcu]<br>[4636]>GetConferenceRef [101] <br>[4636]<GetConferenceRef<br>[4636]-StartSendingVideo [1]
<br>[4636]>StartSending video [<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://192.168.195.1/" target="_blank">192.168.195.1</a>,1236,103]<br>[4636]-SetRemotePort [<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://192.168.195.1/" target="_blank">
192.168.195.1 </a>,1236,103]<br>[4636]<StartSending video [1]<br>[4636]>ReleaseConferenceRef [101]<br>[4636]<ReleaseConferenceRef<br>[4636]<ProccessRequest<br>[4636]-Dispatching [/mcu]<br>[4636]>ProcessRequest [/mcu]
<br>[4636]>GetConferenceRef [101]<br>[4636]<GetConferenceRef<br>[4636]-StartReceivingVideo [1]<br>[4636]-StartReceiving Video [32814]<br>[4636]>ReleaseConferenceRef [101]<br>[4636]<ReleaseConferenceRef<br>[4636]<ProccessRequest
<br>[4636]-Dispatching [/mcu]<br>[4636]>ProcessRequest [/mcu]<br>[4636]>GetConferenceRef [101]<br>[4636]<GetConferenceRef<br>[4636]-SetCompositionType [0,0]<br>[4636]>SetCompositionType [0,0]<br>[4636]<SetCompositionType
<br>[4636]>ReleaseConferenceRef [101]<br>[4636]<ReleaseConferenceRef<br>[4636]-MixAudioThread [4636]<br>[4636]SendVideoThread [4636]<br>[4636]>SendVideo [352,288,5,300,4,8]<br>[4636]-CreateVideoEncoder [103,4,8]<br>
[4636]-StartVideoCapture [352,288,300]<br>[4636]-SetSize [352,288]<br>[4636]-OpenCodec H263 [5120bps,300fps]<br>[h263 @ 0x8828f0]Warning keyframe interval too large! reducing it ...<br>[4636]-Sending video<br>[4636]RecVideoThread [4636]
<br>[4636]>RecVideo<br>[4636]<ProccessRequest<br>[4636]-MixVideoThread [4636]<br>[4636]>MixVideo<br>[4636]SendAudioThread [4636]<br>[4636]>SendAudio<br>[4636]-CreateAudioCodec [0]<br>[4636]Error recv video [0]
<br>[4636]Error recv video [0]<br>[4636]Error recv video [0]<br>[4636]Error recv video [0]<br>[4636]Error recv video [0]<br>[4636]Error recv video [0]<br>[4636]Error recv video [0]<br>[4636]Error recv video [0]<br>[4636]Error recv video [0]
<br>[4636]Error recv video [0]<br>[4636]Error recv video [0]<br>[4636]Error recv video [0]<br>[4636]Error recv video [0]<br>[4636]Error recv video [0]<br>[4636]Error recv video [0]<br>[4636]Error recv video [0]<br>[4636]Error recv video [0]
<br>[4636]Error recv video [0]<br>[4636]Error recv video [0]<br>[4636]Error recv video [0]<br><br> </div>
<div>Using Asterisk 1.4.11, app_mixer and X-Lite we obtain this:</div>
<div> </div>
<div>...</div>
<div>[5022]-OpenCodec H263 [5120bps,300fps]<br>[h263 @ 0xe478f0]Warning keyframe interval too large! reducing it ...<br>[5022]-Sending video<br>[5022]Silence<br>[5022]Error recv video [0]<br>[5022]-CreateVideoDecoder[34]
<br>[5022]Lost packet<br>[h263 @ 0xe478f0]rc buffer underflow<br>[h263 @ 0xe478f0]rc buffer underflow<br>[h263 @ 0xe478f0]rc buffer underflow<br>[h263 @ 0xe478f0]rc buffer underflow<br>[5022]Silence<br>[h263 @ 0xe478f0]rc buffer underflow
<br>...</div>
<div> </div>
<div>Could someone help us to understand the reason of these errors ? Thanks,</div>
<div> </div>
<div>Jeremi</div>
<div><span>
<div> </div>
<div> </div>
<div> </div>
<div><span class="gmail_quote"></span> </div>
<div><span class="gmail_quote">On 10/2/07, <b class="gmail_sendername">jeremij jerome</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jeremij@gmail.com" target="_blank">jeremij@gmail.com</a>
> wrote:</span></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>We fixed the issue compiling ffmpeg with --enable-libgsm.</div>
<div> </div>
<div>Now we have another one. We compiled app_mixer and we have launche ./mcu. But when we start Asterisk, we got:</div>
<div> </div>
<div>...<br>[5084]>CreateConference [Default Room]<br>[5084]>MakeCall [CreateConference]<br>Segmentation fault<br>...</div>
<div> </div>
<div>Launching ./test we got:</div>
<div> </div>
<div>[5340]>CreateConference [Sergio]<br>[5340]>MakeCall [CreateConference]<br>Segmentation fault<br> </div>
<div> </div>
<div>Any clue?</div>
<div> </div>
<div>Thanks.</div>
<div><span>
<div> </div>
<div> </div>
<div><br><br> </div>
<div><span class="gmail_quote">On 10/2/07, <b class="gmail_sendername">Sergio Garcia</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sergio.garcia@fontventa.com" target="_blank">sergio.garcia@fontventa.com
</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br><br>Can you check that libgsm.so is present in your system? I found that in some cases only<br>libgsm.a
is distributed in the devel package..<br><br>---------- Original Message ----------------------------------<br>From: "jeremij jerome" <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jeremij@gmail.com" target="_blank">
jeremij@gmail.com</a>><br>Reply-To: Development discussion of video media support in Asterisk< <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:asterisk-video@lists.digium.com" target="_blank">
asterisk-video@lists.digium.com</a>><br>Date: Tue, 2 Oct 2007 16:46:09 +0200<br><br>>Hi all,<br>><br>>I'm trying to compile Mediamixer (downloaded from <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://sip.fontventa.com/" target="_blank">
http://sip.fontventa.com/</a>)<br>>but I'm stuck with gsm libraries. This is what I get when I launch 'make':<br>><br>>/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x51): In<br>>function `GSMCodec::GSMCodec()':
<br>>/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:13: undefined reference<br>>to `gsm_create'<br>>/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x6b):/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:16:
<br>>undefined reference to `gsm_option'<br>>/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0xed): In<br>>function `GSMCodec::GSMCodec()':<br>>/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:13: undefined reference
<br>>to `gsm_create'<br>>/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x107):/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:16:<br>>undefined reference to `gsm_option'<br>>/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x152): In
<br>>function `GSMCodec::~GSMCodec()':<br>>/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:21: undefined reference<br>>to `gsm_destroy'<br>>/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x1c4): In
<br>>function `GSMCodec::~GSMCodec()':<br>>/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:21: undefined reference<br>>to `gsm_destroy'<br>>/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x236): In
<br>>function `GSMCodec::~GSMCodec()':<br>>/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:21: undefined reference<br>>to `gsm_destroy'<br>>/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x2c5): In
<br>>function `GSMCodec::Encode(unsigned short*, int, unsigned char*, int)':<br>>/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:31: undefined reference<br>>to `gsm_encode'<br>>/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x30b): In
<br>>function `GSMCodec::Decode(unsigned char*, int, unsigned short*, int)':<br>>/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:46: undefined reference<br>>to `gsm_decode'<br>>/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x34f):/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:54:
<br>>undefined reference to `gsm_option'<br>>/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x378):/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:60:<br>>undefined reference to `gsm_decode'
<br>>/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x3a6):/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:64:<br>>undefined reference to `gsm_decode'<br>>collect2: ld returned 1 exit status<br>
>make: *** [mcu] Error 1<br>><br>>I guess that is something related to gsm libraries. I'm using CentOS 4.4 and<br>>the only library I found working is gsm-devel-1.0.10-3.i386.rpm.<br>><br>>Could someone help me ?
<br>><br>>Thanks,<br>>Jeremi<br>><br>><br>><br>><br><br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.api-digital.com--/" target="_blank">
http://www.api-digital.com-- </a><br><br>asterisk-video mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-video" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-video</a><br></blockquote></div><br></span></div></blockquote><br></span></div></blockquote></div><br></span></div></blockquote></div><br>