[Asterisk-video] error with app_transcoding

Mário Dias mario at hardserver.com
Fri Feb 25 09:05:34 CST 2011


Sergio,

The results of command ffmpeg -formats | grep h263


 asterisk2:/# ffmpeg -formats | grep h263
 FFmpeg version r11872+debian_0.svn20080206-18+lenny3, Copyright (c)
 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-libfaad --enable-pp
 --enable-swscaler --enable-x11grab --prefix=/usr --enable-libgsm
 --enable-libtheora --enable-libvorbis --enable-pthreads
 --disable-strip --enable-libdc1394 --disable-armv5te --disable-armv6
 --disable-altivec --disable-vis --enable-shared --disable-static
  libavutil version: 49.6.0
  libavcodec version: 51.50.0
  libavformat version: 52.7.0
  libavdevice version: 52.0.0
  built on Feb 13 2011 03:56:05, gcc: 4.3.2
  DE h263            raw h263
  D VSDT h263
  D VSD  h263i
 even though both encoding and decoding are supported. For example, the h263
 decoder corresponds to the h263 and h263p encoders, for file formats it is even


 and now?? What I have to do to solve my issue??

 Best regards,

 Mário Dias


> 2011/2/24 Sergio Garcia Murillo <sergio.garcia at fontventa.com>:
>> The app_transcoder is loaded correctly:
>>
>> [Feb 23 18:15:22] ERROR[4142] app_transcoder.c: Error opening encoder
>>
>> Could you check if your libavcodec.so library supports h263 encoding?
>>
>>>ffmpeg -formats | grep h263
>>  DE h263            raw H.263
>>
>> BR
>> Sergio
>>
>> El 24/02/2011 21:51, Mitul Limbani escribió:
>>>
>>> Hi Mario,
>>>
>>> Can you check if the app_transcoder.so got loaded without any problem
>>> within Asterisk Startup ?
>>>
>>> you can try this:
>>>
>>> core set verbose 5
>>> module unload app_transcode.so
>>> module load app_transcode.so
>>>
>>> and paste the output.
>>>
>>> Regards,
>>> Mitul Limbani
>>> Enterux Solutions,
>>> www.enterux.com
>>>
>>> Quoting Mário Dias <mario at hardserver.com>:
>>>
>>>> Hello! I just installed the app_transcoder with success and this runs
>>>> well with asterisk boot...
>>>>
>>>> Now the problem is:
>>>>
>>>> My extensions.conf:
>>>>
>>>> [default]
>>>>
>>>> exten=5001,1,Answer()
>>>>
>>>> exten=5001,n,Transcode(,s at camera,h263 at qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50)
>>>> exten=5001,n,Hangup()
>>>>
>>>> [camera]
>>>>
>>>> exten=s,1,Answer()
>>>> exten=s,n,Rtsp(rtsp://192.168.10.14:8554/CH001.sdp)
>>>> exten=s,n,Hangup()
>>>>
>>>>
>>>> And when I call 5001, the asterisk "craches" and in asterisk logs show
>>>> the folow information:
>>>>
>>>> [Feb 23 18:15:22] WARNING[4142] app_transcoder.c: >Transcoding
>>>> [,s at camera,h263 at qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50,80008]
>>>> [Feb 23 18:15:22] ERROR[4142] app_transcoder.c: Error opening encoder
>>>> [Feb 23 18:15:22] WARNING[4142] app_transcoder.c: -joining thread
>>>>
>>>> I receive rtsp streaming with mp4v video codec, and I want transcode
>>>> to H263 codec to softphone, the X-lite4.
>>>>
>>>> Any ideas???
>>>> Help me please!!!!
>>>>
>>>> Best regards,
>>>>
>>>> Mário Dias
>>>>
>>>> --
>>>> _____________________________________________________________________
>>>> -- 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
>>>>
>>>
>>>
>>> --
>>> _____________________________________________________________________
>>> -- 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
>>
>>
>>
>> --
>> _____________________________________________________________________
>> -- 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