[Asterisk-video] app_rtsp problem
Valerio Puglia
valerio at oscorp.sm
Wed Nov 14 11:34:58 CST 2007
i have tried to take out
#define AST_FORMAT_MPEG4
but i get the same error
Sergio Garcia Murillo ha scritto:
> Could you try to take out the
> #define AST_FORMAT_MPEG4
> outside of the
> #ifndef AST_FORMAT_AMR in app_transcode?
>
> I'll be able to take a deeper look at it his weekend.
> Coudl you fill a bug report on the tracker?
>
> BR
> Sergio
> ----- Original Message -----
> From: "Valerio Puglia" <valerio at oscorp.sm>
> To: "Development discussion of video media support in Asterisk"
> <asterisk-video at lists.digium.com>
> Sent: Tuesday, November 13, 2007 10:33 AM
> Subject: Re: [Asterisk-video] app_rtsp problem
>
>
>
>> Hi Sergio
>>
>> I use asterisk svn 87154 patched for
>> -video negotation
>> -amr
>> -call out
>>
>> in some configuration with revision 184 i got the error
>> but when i change the file app_rtsp.c with revision 113 (I've not
>> chechked other versions) the streaming works.
>>
>>
>> Sergio Garcia Murillo ha scritto:
>>
>>> The problem seems to be in
>>>
>>>
>>>
>>>> [Nov 12 20:27:49] DEBUG[24682] channel.c:
>>>>
>>>>
>>> chan=Local/s at app_tsp-diretto-axis-2c15,2 format=00000000 (with video &
>>>
> text
>
>>> = 00400000) native=00580004 in dir. write
>>>
>>>
>>>> [Nov 12 20:27:49] WARNING[24682] channel.c: Unable to find a codec
>>>>
>>>>
>>> translation path from unknown to unknown
>>>
>>> Then you changed only app_rtsp version? Could you double check it again
>>>
> that
>
>>> with the older 113 revision it still works in the same enviroment?
>>>
>>> BR
>>> Sergio
>>>
>>> ----- Original Message -----
>>> From: "Valerio Puglia" <valerio at oscorp.sm>
>>> To: "Development discussion of video media support in Asterisk"
>>> <asterisk-video at lists.digium.com>
>>> Sent: Monday, November 12, 2007 7:06 PM
>>> Subject: [Asterisk-video] app_rtsp problem
>>>
>>>
>>>
>>>
>>>> The application works correctly on revision 113, i receive the direct
>>>> streaming on Axis cam, but on new revision the streaming doesn't work.
>>>> I've attached the log.
>>>>
>>>> --
>>>> Best regards,
>>>> Valerio Puglia
>>>> OScorp S.P.A.
>>>> NETWORK Adm
>>>>
>>>>
>>>>
>>>>
>>>
>> --------------------------------------------------------------------------
>>
> --
>
>>> ----
>>>
>>>
>>>
>>>
>>>> [Nov 12 20:27:49] VERBOSE[24680] logger.c: -- Executing
>>>>
>>>>
>>> [4444 at default:1] Goto("SIP/9001-0996f040", "app_transcoder-axis|s|1") in
>>>
> new
>
>>> stack
>>>
>>>
>>>> [Nov 12 20:27:49] VERBOSE[24680] logger.c: -- Goto
>>>>
>>>>
>>> (app_transcoder-axis,s,1)
>>>
>>>
>>>> [Nov 12 20:27:49] VERBOSE[24680] logger.c: -- Executing
>>>>
>>>>
>>> [s at app_transcoder-axis:1] Answer("SIP/9001-0996f040", "") in new stack
>>>
>>>
>>>> [Nov 12 20:27:49] NOTICE[24680] chan_sip.c: No prefcodec (IVR like
>>>>
>>>>
>>> extension). picking up codecs audio 00000004, video 00100000, text
>>>
> 00000000.
>
>>>> [Nov 12 20:27:49] DEBUG[24680] chan_sip.c: No resolution variable
>>>>
> provided
>
>>>> [Nov 12 20:27:49] VERBOSE[24680] logger.c: -- Executing
>>>>
>>>>
>>> [s at app_transcoder-axis:2] transcode("SIP/9001-0996f040",
>>> "|s at app_tsp-diretto-axis|h263 at qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50")
>>>
> in
>
>>> new stack
>>>
>>>
>>>> [Nov 12 20:27:49] VERBOSE[24682] logger.c: -- Executing
>>>>
>>>>
>>> [s at app_tsp-diretto-axis:1] Answer("Local/s at app_tsp-diretto-axis-2c15,2",
>>>
> "")
>
>>> in new stack
>>>
>>>
>>>> [Nov 12 20:27:49] VERBOSE[24682] logger.c: -- Executing
>>>>
>>>>
>>> [s at app_tsp-diretto-axis:2] rtsp("Local/s at app_tsp-diretto-axis-2c15,2",
>>> "rtsp://10.10.0.2/mpeg4/media.amp") in new stack
>>>
>>>
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: >rtsp play
>>>> [Nov 12 20:27:49] DEBUG[24682] app_rtsp.c: -GetUdpPorts [32925,32926]
>>>> [Nov 12 20:27:49] DEBUG[24682] app_rtsp.c: -GetUdpPorts [32926,32927]
>>>> [Nov 12 20:27:49] DEBUG[24682] app_rtsp.c: -GetUdpPorts [32928,32929]
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: >DESCRIBE
>>>>
> [/mpeg4/media.amp]
>
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: <DESCRIBE
>>>>
> [/mpeg4/media.amp]
>
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -rtsp play loop
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -Receiving describe
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -line [v=0]
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -line [o=-
>>>>
> 1194893220123329
>
>>> 1194893220123335 IN IP4 10.10.0.2]
>>>
>>>
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -line [s=Media
>>>>
> Presentation]
>
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -line [e=NONE]
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -line [c=IN IP4 0.0.0.0]
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -line [b=AS:8000]
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -line [t=0 0]
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -line [a=control:*]
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -line [a=range:npt=now-]
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -line [a=mpeg4-iod:
>>>>
>>>>
> "data:application/mpeg4-iod;base64,AoDUAE8BAf/1AQOAbwABQFBkYXRhOmFwcGxpY2F0a
>
> W9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBUjBCR3dVZkF4Y0F5U1FBWlFRTklCRUVrK0FBZWhJQUFIb
>
> 1NBQVlCQkE9PQQNAQUABAAAAAAAAAAAAAYJAQAAAAAAAAAAAzoAAkA2ZGF0YTphcHBsaWNhdGlvb
>
> i9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTWVFTSVVFVUZQd0E9BBICDQAAAgAAAAAAAAAABQMAA
>
>>> EAGCQEAAAAAAAAAAA=="]
>>>
>>>
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -line [m=video 0 RTP/AVP
>>>>
> 96]
>
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -creating media [1,m=video
>>>>
> 0
>
>>> RTP/AVP 96]
>>>
>>>
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -line [b=AS:8000]
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -line
>>>>
> [a=control:trackID=1]
>
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -line [a=rtpmap:96
>>>>
>>>>
>>> MP4V-ES/90000]
>>>
>>>
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -line [a=fmtp:96
>>>>
>>>>
>>> profile-level-id=245;
>>> config=000001B0F5000001B509000001000000012008D48D8803250A041E14440F;]
>>>
>>>
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -line [a=mpeg4-esid:201]
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -line [ MP4V-ES/90000]
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -line [a=fmtp:96
>>>>
>>>>
>>> profile-level-id=245;
>>> config=000001B0F5000001B509000001000000012008D48D8803250A041E14440F;]
>>>
>>>
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -line [a=mpeg4-esid:201]
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -video
>>>>
> [4194304,96,trackID=1]
>
>>>> [Nov 12 20:27:49] DEBUG[24682] channel.c:
>>>>
>>>>
>>> chan=Local/s at app_tsp-diretto-axis-2c15,2 format=00000000 (with video &
>>>
> text
>
>>> = 00400000) native=00580004 in dir. write
>>>
>>>
>>>> [Nov 12 20:27:49] WARNING[24682] channel.c: Unable to find a codec
>>>>
>>>>
>>> translation path from unknown to unknown
>>>
>>>
>>>> [Nov 12 20:27:49] WARNING[24682] app_rtsp.c: -SETUP VIDEO [trackID=1]
>>>> [Nov 12 20:27:50] WARNING[24682] app_rtsp.c: -PLAY [/mpeg4/media.amp]
>>>> [Nov 12 20:27:50] ERROR[24682] app_rtsp.c: -Started playback [0]
>>>> [Nov 12 20:27:50] WARNING[24682] app_rtsp.c: Playback finished
>>>> [Nov 12 20:27:50] WARNING[24682] app_rtsp.c: -rtsp_play end loop[Nov 12
>>>>
>>>>
>>> 20:27:50] WARNING[24682] app_rtsp.c: -TEARDOWN
>>>
>>>
>>>> [Nov 12 20:27:50] WARNING[24682] app_rtsp.c: <rtsp_play[Nov 12
>>>>
> 20:27:50]
>
>>> VERBOSE[24682] logger.c: == Auto fallthrough, channel
>>> 'Local/s at app_tsp-diretto-axis-2c15,2' status is 'UNKNOWN'
>>>
>>>
>>>> [Nov 12 20:27:50] VERBOSE[24680] logger.c: == Auto fallthrough,
>>>>
> channel
>
>>> 'SIP/9001-0996f040' status is 'UNKNOWN'
>>>
>>>
>>>
>>>
>> --------------------------------------------------------------------------
>>
> --
>
>>> ----
>>>
>>>
>>>
>>>
>>>> _______________________________________________
>>>> --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
>>>
>>>
>>>
>>>
>>>
>> --
>> Best regards,
>> Valerio Puglia
>> OScorp S.P.A.
>> NETWORK Adm
>>
>>
>>
>
>
> ----------------------------------------------------------------------------
> ----
>
>
>
>> [Nov 13 12:02:32] VERBOSE[32637] logger.c: Dynamic payload.
>> [Nov 13 12:02:32] VERBOSE[32637] logger.c: Dynamic payload.
>> [Nov 13 12:02:32] DEBUG[32637] chan_sip.c: Adding video (115) mimeSubtype
>>
> (H263-1998)
>
>> [Nov 13 12:02:32] VERBOSE[32664] logger.c: -- Executing
>>
> [4444 at default:1] Goto("SIP/9001-0942c398", "app_transcoder-axis|s|1") in new
> stack
>
>> [Nov 13 12:02:32] VERBOSE[32664] logger.c: -- Goto
>>
> (app_transcoder-axis,s,1)
>
>> [Nov 13 12:02:32] VERBOSE[32664] logger.c: -- Executing
>>
> [s at app_transcoder-axis:1] Answer("SIP/9001-0942c398", "") in new stack
>
>> [Nov 13 12:02:32] NOTICE[32664] chan_sip.c: No prefcodec (IVR like
>>
> extension). picking up codecs audio 00000004, video 00100000, text 00000000.
>
>> [Nov 13 12:02:32] DEBUG[32664] chan_sip.c: No resolution variable provided
>> [Nov 13 12:02:32] VERBOSE[32664] logger.c: -- Executing
>>
> [s at app_transcoder-axis:2] transcode("SIP/9001-0942c398",
> "|s at app_tsp-diretto-axis|h263 at qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50") in
> new stack
>
>> [Nov 13 12:02:32] VERBOSE[32666] logger.c: -- Executing
>>
> [s at app_tsp-diretto-axis:1] Answer("Local/s at app_tsp-diretto-axis-132e,2", "")
> in new stack
>
>> [Nov 13 12:02:32] VERBOSE[32666] logger.c: -- Executing
>>
> [s at app_tsp-diretto-axis:2] rtsp("Local/s at app_tsp-diretto-axis-132e,2",
> "rtsp://10.10.0.2/mpeg4/media.amp") in new stack
>
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: >rtsp play
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: >DESCRIBE [/mpeg4/media.amp]
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: <DESCRIBE [/mpeg4/media.amp]
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -rtsp play loop
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -Receiving describe
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -line [v=0]
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -line [o=- 1194949316570158
>>
> 1194949316570165 IN IP4 10.10.0.2]
>
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -line [s=Media Presentation]
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -line [e=NONE]
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -line [c=IN IP4 0.0.0.0]
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -line [b=AS:8000]
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -line [t=0 0]
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -line [a=control:*]
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -line [a=range:npt=now-]
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -line [a=mpeg4-iod:
>>
> "data:application/mpeg4-iod;base64,AoDUAE8BAf/1AQOAbwABQFBkYXRhOmFwcGxpY2F0a
> W9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBUjBCR3dVZkF4Y0F5U1FBWlFRTklCRUVrK0FBZWhJQUFIb
> 1NBQVlCQkE9PQQNAQUABAAAAAAAAAAAAAYJAQAAAAAAAAAAAzoAAkA2ZGF0YTphcHBsaWNhdGlvb
> i9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTWVFTSVVFVUZQd0E9BBICDQAAAgAAAAAAAAAABQMAA
> EAGCQEAAAAAAAAAAA=="]
>
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -line [m=video 0 RTP/AVP 96]
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -creating media [1,m=video 0
>>
> RTP/AVP 96]
>
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -line [b=AS:8000]
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -line [a=control:trackID=1]
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -line [a=rtpmap:96
>>
> MP4V-ES/90000]
>
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -line [a=fmtp:96
>>
> profile-level-id=245;
> config=000001B0F5000001B509000001000000012008D48D8803250A041E14440F;]
>
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -line [a=mpeg4-esid:201]
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -line [ MP4V-ES/90000]
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -line [a=fmtp:96
>>
> profile-level-id=245;
> config=000001B0F5000001B509000001000000012008D48D8803250A041E14440F;]
>
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -line [a=mpeg4-esid:201]
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -video [4194304,96,trackID=1]
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -SETUP VIDEO [trackID=1]
>> [Nov 13 12:02:32] WARNING[32666] app_rtsp.c: -PLAY [/mpeg4/media.amp]
>> [Nov 13 12:02:32] DEBUG[32664] channel.c: chan=SIP/9001-0942c398
>>
> format=00000004 (with video & text = 00000004) native=00100004 in dir. read
>
>> [Nov 13 12:02:32] DEBUG[32664] channel.c: chan=SIP/9001-0942c398
>>
> format=00000004 (with video & text = 00000004) native=00100004 in dir. write
>
>> [Nov 13 12:02:33] NOTICE[32664] rtp.c: Unknown RTP codec 126 received from
>>
> '10.0.0.30'
>
>> [Nov 13 12:02:33] NOTICE[32664] rtp.c: Unknown RTP codec 126 received from
>>
> '10.0.0.30'
>
>> [Nov 13 12:02:33] NOTICE[32664] rtp.c: Unknown RTP codec 126 received from
>>
> '10.0.0.30'
>
>> [Nov 13 12:02:38] WARNING[32666] app_rtsp.c: -rtsp_play end loop[Nov 13
>>
> 12:02:38] WARNING[32666] app_rtsp.c: <rtsp_play[Nov 13 12:02:41]
> VERBOSE[32663] logger.c: Beginning asterisk shutdown....
>
>> [Nov 13 12:02:41] VERBOSE[32663] logger.c: Executing last minute cleanups
>> [Nov 13 12:02:41] VERBOSE[32663] logger.c: == Destroying musiconhold
>>
> processes
>
>> [Nov 13 12:02:41] VERBOSE[32663] logger.c: Asterisk cleanly ending (0).
>>
>>
>
>
> ----------------------------------------------------------------------------
> ----
>
>
>
>> _______________________________________________
>> --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
>
>
>
>
--
Best regards,
Valerio Puglia
OScorp S.P.A.
NETWORK Adm
More information about the asterisk-video
mailing list