[Asterisk-video] app_rtsp.c not found

阿剛 akong at aspa.idv.tw
Wed Nov 27 21:04:22 CST 2013


I found ffmpeg is deprecated sws_getContext in newer ffmpeg.

app_transcoder.c: In function 'SendH263VideoFrame':
app_transcoder.c:169: warning: unused variable 'astFormat'
app_transcoder.c:168: warning: unused variable 'size'
app_transcoder.c: In function 'VideoTranscoderSetResize':
app_transcoder.c:520: warning: 'sws_getContext' is deprecated (declared at
/usr/local/include/libswscale/swscale.h:194)
app_transcoder.c: In function 'VideoTranscoderCreate':
app_transcoder.c:722: error: 'AVDictionary' undeclared (first use in this
function)
app_transcoder.c:722: error: (Each undeclared identifier is reported only
once
app_transcoder.c:722: error: for each function it appears in.)
app_transcoder.c:722: error: 'options' undeclared (first use in this
function)
app_transcoder.c:921: warning: implicit declaration of function
'avcodec_open2'
app_transcoder.c: In function 'rfc2190_append':
app_transcoder.c:1048: warning: dereferencing type-punned pointer will
break strict-aliasing rules
app_transcoder.c: In function 'rfc2429_append':
app_transcoder.c:1100: warning: unused variable 'pebit'
app_transcoder.c: In function 'app_transcode':
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_G723_1' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_GSM' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_ULAW' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_ALAW' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_G726_AAL2'
not handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_ADPCM' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_LPC10' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_G729A' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_SPEEX' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_ILBC' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_G726' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_G722' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_SIREN7' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_SIREN14' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_G719' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_SPEEX16' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_TESTLAW' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_SILK' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_SLINEAR' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_SLINEAR12'
not handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_SLINEAR16'
not handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_SLINEAR24'
not handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_SLINEAR32'
not handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_SLINEAR44'
not handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_SLINEAR48'
not handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_SLINEAR96'
not handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_SLINEAR192'
not handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_SPEEX32' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_CELT' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_H261' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_H263' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_H263_PLUS'
not handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_H264' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_MP4_VIDEO'
not handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_JPEG' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_PNG' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_T140RED' not
handled in switch
app_transcoder.c:1509: warning: enumeration value 'AST_FORMAT_T140' not
handled in switch
app_transcoder.c:1510: warning: case value '3' not in enumerated type 'enum
ast_format_id'
app_transcoder.c:1521: warning: case value '4' not in enumerated type 'enum
ast_format_id'
app_transcoder.c:1512: warning: case value '5' not in enumerated type 'enum
ast_format_id'
app_transcoder.c:1513: warning: case value '8' not in enumerated type 'enum
ast_format_id'
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_G723_1' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_GSM' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_ULAW' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_ALAW' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_G726_AAL2'
not handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_ADPCM' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_LPC10' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_G729A' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_SPEEX' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_ILBC' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_G726' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_G722' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_SIREN7' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_SIREN14' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_G719' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_SPEEX16' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_TESTLAW' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_SILK' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_SLINEAR' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_SLINEAR12'
not handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_SLINEAR16'
not handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_SLINEAR24'
not handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_SLINEAR32'
not handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_SLINEAR44'
not handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_SLINEAR48'
not handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_SLINEAR96'
not handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_SLINEAR192'
not handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_SPEEX32' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_CELT' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_H261' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_H263' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_H263_PLUS'
not handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_H264' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_MP4_VIDEO'
not handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_JPEG' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_PNG' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_T140RED' not
handled in switch
app_transcoder.c:1532: warning: enumeration value 'AST_FORMAT_T140' not
handled in switch
app_transcoder.c:1534: warning: case value '1' not in enumerated type 'enum
ast_format_id'
make[1]: *** [app_transcoder.o] Error 1
make: *** [apps] Error 2

Is need to patch it?
Or I install what version ffmpeg?
Thanks a lot.


2013/11/28 阿剛 <akong at aspa.idv.tw>

> Thanks a lot.
> But I got error message about app_transcoder.c
> when I make asterisk with app_transcoder.c
> It's will show follow message.
>
> app_transcoder.c: In function 'SendH263VideoFrame':
> app_transcoder.c:169: warning: unused variable 'astFormat'
> app_transcoder.c:168: warning: unused variable 'size'
>
>
> Could I need install any software?
>
>
> 2013/11/27 Robert Krakora <rob.krakora at messagenetsystems.com>
>
>> https://github.com/marcelloceschia/app_transcoder<https://github.com/marcelloceschia/app_transcoder/blob/master/app_transcoder.c>
>> https://github.com/marcelloceschia/app_mp4
>>
>>
>> On Wed, Nov 27, 2013 at 4:57 AM, 阿剛 <akong at aspa.idv.tw> wrote:
>>
>>> Hello,
>>> Have anybody have app_mp4.c and app_transcoder.c for asterisk 11.X?
>>> I need two files.
>>> Thanks a lot.
>>>
>>>
>>> 2013/11/25 Robert Krakora <rob.krakora at messagenetsystems.com>
>>>
>>>> Hi,
>>>>
>>>> I ported app_rtsp.c to 11.x and I e-mail Sergio the latest a few months
>>>> ago.  Attached is the latest.
>>>>
>>>> Best Regards,
>>>>
>>>> Rob
>>>>
>>>>
>>>>
>>>> On Mon, Nov 25, 2013 at 8:25 AM, Borja SIXTO <borja.sixto at i6net.com>wrote:
>>>>
>>>>>  Hi,
>>>>>
>>>>> RTSP is an application developped by Sergio Murillo.
>>>>>
>>>>> You can found it here :
>>>>> http://www.medooze.com/products/asterisk-applications.aspx
>>>>>
>>>>> http://sourceforge.net/p/asteriskvideo/code/HEAD/tree/
>>>>>
>>>>> The application haven't be ported to asterisk 11/12 (only Asterisk
>>>>> 1.6).
>>>>>
>>>>> Regards,
>>>>>
>>>>>
>>>>> Borja from i6net
>>>>>
>>>>>
>>>>> Le 25/11/2013 14:18, Raghav Goud a écrit :
>>>>>
>>>>> Hi all ,
>>>>>   I Want connect RTSP Server with Asterisk.I read in forum that
>>>>> somebody ported app_rtsp.c but, i did not find app_rtsp.c file.
>>>>> i serached in 11.x and 12.x beta1 versions.
>>>>>
>>>>>    Where i can find it?
>>>>>
>>>>>  Thanks,
>>>>> Raghav.
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Borja Sixto, Research & Innovation - http://www.i6net.com
>>>>>
>>>>>
>>>>> --
>>>>> _____________________________________________________________________
>>>>> -- 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
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Rob Krakora,
>>>> Senior Software Engineer
>>>>
>>>> MessageNet Systems
>>>> 101 E Carmel Dr, Suite 105
>>>> Carmel, IN 46032
>>>>
>>>> MessageNetSystems.com<http://www.messagenetcommunicationsystems.com/?utm_source=email+signature&utm_medium=email&utm_campaign=email+signature+to+homepage>
>>>> Rob.Krakora at MessageNetSystems.com <rob.krakora at messagenetsystems.com>
>>>> P: 317.566.1677, 212
>>>> F: 317.663.0808
>>>>
>>>> For the latest news, information, and blogs, please be sure to visit,
>>>> follow, and like us...
>>>>
>>>>
>>>> <http://www.messagenetcommunicationsystems.com/get-the-message-out-blog/?utm_source=email+signature&utm_medium=email&utm_campaign=gmail+signature+to+blog>
>>>>    <http://www.youtube.com/user/MessageNetConnection/feed>  <http://www.linkedin.com/company/messagenet-systems>
>>>>    <http://twitter.com/MessageNet>  <http://www.facebook.com/MessageNetsystems>
>>>>
>>>> --
>>>> _____________________________________________________________________
>>>> -- 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
>>>>
>>>
>>>
>>>
>>> --
>>> 吳汝剛
>>> 個人網頁 http://pc.aspa.idv.tw
>>> 個人Blog http://ak6783.blogspot.com/
>>> Twitter http://twitter.com/akong77
>>> Plurk http://www.plurk.com/akong77
>>> Facebook http://www.facebook.com/akong77
>>> Email (1) : akong at aspa.idv.tw
>>> Email (2) : ak6783 at gmail.com
>>> 手機 : 0960599655
>>>
>>> --
>>> _____________________________________________________________________
>>> -- 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
>>>
>>
>>
>>
>> --
>>
>> Rob Krakora,
>> Senior Software Engineer
>>
>> MessageNet Systems
>> 101 E Carmel Dr, Suite 105
>> Carmel, IN 46032
>>
>> MessageNetSystems.com<http://www.messagenetcommunicationsystems.com/?utm_source=email+signature&utm_medium=email&utm_campaign=email+signature+to+homepage>
>> Rob.Krakora at MessageNetSystems.com <rob.krakora at messagenetsystems.com>
>> P: 317.566.1677, 212
>> F: 317.663.0808
>>
>> For the latest news, information, and blogs, please be sure to visit,
>> follow, and like us...
>>
>>
>> <http://www.messagenetcommunicationsystems.com/get-the-message-out-blog/?utm_source=email+signature&utm_medium=email&utm_campaign=gmail+signature+to+blog>
>>    <http://www.youtube.com/user/MessageNetConnection/feed>  <http://www.linkedin.com/company/messagenet-systems>
>>    <http://twitter.com/MessageNet>  <http://www.facebook.com/MessageNetsystems>
>>
>> --
>> _____________________________________________________________________
>> -- 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
>>
>
>
>
> --
> 吳汝剛
> 個人網頁 http://pc.aspa.idv.tw
> 個人Blog http://ak6783.blogspot.com/
> Twitter http://twitter.com/akong77
> Plurk http://www.plurk.com/akong77
> Facebook http://www.facebook.com/akong77
> Email (1) : akong at aspa.idv.tw
> Email (2) : ak6783 at gmail.com
> 手機 : 0960599655
>



-- 
吳汝剛
個人網頁 http://pc.aspa.idv.tw
個人Blog http://ak6783.blogspot.com/
Twitter http://twitter.com/akong77
Plurk http://www.plurk.com/akong77
Facebook http://www.facebook.com/akong77
Email (1) : akong at aspa.idv.tw
Email (2) : ak6783 at gmail.com
手機 : 0960599655
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-video/attachments/20131128/e881e41f/attachment-0001.html>


More information about the asterisk-video mailing list