[Asterisk-video] Video call-in, Unable to find a codec translation path from unknown to unknown

Sergio Garcia Murillo sergio.garcia at fontventa.com
Fri Apr 17 05:46:03 CDT 2009


HI Ilya,

a=rtpmap:96 H264/90000

H264 is not supported yet in app_transcoder.

Best regards
Sergio

ilya selivanov escribió:
> Hello Sergio
>
> I use:
>    asterisk-1.4.13
>    chan_ss7
>    libh324m (revision 244)
>    amr (  _http://sip.fontventa.com/_ )
>    videocodec_nego_fix_ast-1.4.13.patch ( 
>  _http://bugs.digium.com/view.php?id=9815_ )
>
> I want to provide video camera to 3G network.
> I have a working app_mp4, but *app_transcoder *don't work for me...
> Unable to find a codec translation path from unknown to unknown ...
>
> My dialplan:
> [incoming-ss7]
> exten => 003633379,1,h324m_gw(s at webcamera)
> [webcamera]
> exten => 
> s,1,transcode(,s at camera,h263 at qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50)
> [camera]
> exten => s,1,rtsp(rtsp://192.168.1.49:554/test.sdp)
> exten => s,n,HangUp
>
> My test video source
> vlc -vvv '/tmp/sample.3gp' --sout 
> "#transcode{venc=x264,vcodec=x264,width=176,height=144,vb=51,acodec=alaw,ab=8,channels=1,samplerate=8000}:rtp{dst=192.168.1.49,port=554,sdp='rtsp://192.168.1.49:554/test.sdp'}"
>
> One more: amr patch conflicts with videocodec_nego_fix patch near 
> "[96] = {1, AST_FORMAT_H264}," (main/rtp.c)
>
> log file:
>     -- Recv IAM CIC=1    ANI=XXXXXXXXXX DNI=003633379 RNI= 
> redirect=no/0 complete=1
> [Apr 16 23:57:20] DEBUG[23362]: l4isup.c:2805 process_iam: IAM cic=1, 
> owner=0x00000000
>   == Setting global variable 'TRANSFERCAPABILITY' to 'DIGITAL'
> [Apr 16 23:57:20] DEBUG[23362]: l4isup.c:1625 check_iam_sam: Setting 
> iam.dni.complete
> [Apr 16 23:57:20] DEBUG[23362]: l4isup.c:413 mtp_enqueue_isup_packet: 
> Queue packet CIC=1, len=10, linkset='1', link='11', slinkset='1', 
> slink='11'
> [Apr 16 23:57:20] DEBUG[32571]: pbx.c:1809 pbx_extension_helper: 
> Launching 'h324m_gw'
>     -- Executing [003633379 at incoming-ss7:1] h324m_gw("SS7/1/1", 
> "s at webcamera") in new stack
> [Apr 16 23:57:20] DEBUG[32571]: app_h324m.c:834 app_h324m_gw: h324m_gw
> [Apr 16 23:57:20] DEBUG[32571]: channel.c:3616 
> ast_channel_inherit_variables: Not copying variable 
> STACK-incoming-ss7-003633379-1.
> [Apr 16 23:57:20] DEBUG[32572]: pbx.c:1809 pbx_extension_helper: 
> Launching 'transcode'
>     -- Executing [s at webcamera:1] transcode("Local/s at webcamera-cee6,2", 
> "|s at camera|h263 at qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50") in new stack
> [Apr 16 23:57:20] DEBUG[32572]: channel.c:3616 
> ast_channel_inherit_variables: Not copying variable STACK-webcamera-s-1.
> [Apr 16 23:57:20] DEBUG[23362]: mtp.c:1944 mtp_thread_main: Queue MSU, 
> lsi=0, last_send_ix=0, linkset=1, m->link=11
> [Apr 16 23:57:20] DEBUG[23362]: mtp.c:1652 mtp2_fill_zaptel_buf: 
> Sending buffer to zaptel len=14, on link '11' bsn=110, fsn=122.
> [Apr 16 23:57:20] DEBUG[32573]: pbx.c:1809 pbx_extension_helper: 
> Launching 'rtsp'
>     -- Executing [s at camera:1] rtsp("Local/s at camera-1fbc,2", 
> "rtsp://192.168.1.49:554/test.sdp" <rtsp://192.168.1.49:554/test.sdp> 
> ) in new stack
> [Apr 16 23:57:20] WARNING[32573]: app_rtsp.c:1039 rtsp_play: >rtsp play
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:291 GetUdpPorts: 
> -GetUdpPorts [54872,54874]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:310 GetUdpPorts: 
> -GetUdpPorts [54874,54876]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:310 GetUdpPorts: 
> -GetUdpPorts [54876,54877]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:291 GetUdpPorts: 
> -GetUdpPorts [54878,54879]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:427 RtspPlayerDescribe: 
> >DESCRIBE [/test.sdp]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:449 RtspPlayerDescribe: 
> <DESCRIBE [/test.sdp]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:1088 rtsp_play: -rtsp play 
> loop [0]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:1167 rtsp_play: -Receiving 
> describe
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:1167 rtsp_play: -Receiving 
> describe
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [v=0]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [o=- 
> 14812869072265155191 14812869072265155191 IN IP4 spioner]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line 
> [s=Unnamed]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [i=N/A]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [c=IN 
> IP4 192.168.1.49]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [t=0 0]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line 
> [a=tool:vlc 0.9.9a]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line 
> [a=recvonly]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line 
> [a=type:broadcast]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line 
> [a=charset:UTF-8]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line 
> [a=control:rtsp://192.168.1.49:554/test.sdp]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line 
> [m=audio 50000 RTP/AVP 8]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:696 CreateMedia: -creating 
> media [1,m=audio 50000 RTP/AVP 8]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [b=AS:128]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [b=RR:0]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line 
> [a=rtpmap:8 PCMA/8000]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line 
> [a=control:rtsp://192.168.1.49:554/test.sdp/trackID=0]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line 
> [m=video 50002 RTP/AVP 96]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:696 CreateMedia: -creating 
> media [1,m=video 50002 RTP/AVP 96]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [b=AS:51]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [b=RR:0]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line 
> [a=rtpmap:96 H264/90000]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line 
> [a=fmtp:96 
> packetization-mode=1;profile-level-id=4d4032;sprop-parameter-sets=Z01AMpp0FidgQgAAAwACAAADACkeMGVA,aO48gA==;]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line 
> [a=control:rtsp://192.168.1.49:554/test.sdp/trackID=1]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:1226 rtsp_play: -audio 
> [8,8,rtsp://192.168.1.49:554/test.sdp/trackID=0]
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:1247 rtsp_play: -video 
> [2097152,96,rtsp://192.168.1.49:554/test.sdp/trackID=1]
> [Apr 16 23:57:20] DEBUG[32573]: channel.c:3024 set_format: 
> chan=Local/s at camera-1fbc,2 format=00000000 (with video & text = 
> 00000000) native=00582000 in dir. Write
> [Apr 16 23:57:20] WARNING[32573]: channel.c:3034 set_format: *Unable 
> to find a codec translation path from unknown to unknown
> *[Apr 16 23:57:20] ERROR[32573]: app_rtsp.c:1275 rtsp_play: No media found
> [Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:1511 rtsp_play: -rtsp_play 
> end loop [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





More information about the asterisk-video mailing list