<HTML>
<HEAD>
<TITLE>[Asterisk-video] Video call-in, Unable to find a codec translation path from unknown to unknown</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hello Sergio<BR>
<BR>
I use:<BR>
asterisk-1.4.13<BR>
chan_ss7<BR>
libh324m (revision 244)<BR>
amr ( <FONT COLOR="#0000FF"><U><a href="http://sip.fontventa.com/">http://sip.fontventa.com/</a></U></FONT> )<BR>
videocodec_nego_fix_ast-1.4.13.patch ( <FONT COLOR="#0000FF"><U><a href="http://bugs.digium.com/view.php?id=9815">http://bugs.digium.com/view.php?id=9815</a></U></FONT> )<BR>
<BR>
I want to provide video camera to 3G network.<BR>
I have a working app_mp4, but <B>app_transcoder </B>don't work for me...<BR>
Unable to find a codec translation path from unknown to unknown ...<BR>
<BR>
My dialplan:<BR>
[incoming-ss7]<BR>
exten => 003633379,1,h324m_gw(s@webcamera)<BR>
[webcamera]<BR>
exten => s,1,transcode(,s@camera,h263@qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50)<BR>
[camera]<BR>
exten => s,1,rtsp(rtsp://192.168.1.49:554/test.sdp)<BR>
exten => s,n,HangUp<BR>
<BR>
My test video source<BR>
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'}"<BR>
<BR>
One more: amr patch conflicts with videocodec_nego_fix patch near "[96] = {1, AST_FORMAT_H264}," (main/rtp.c)<BR>
<BR>
log file:<BR>
-- Recv IAM CIC=1 ANI=XXXXXXXXXX DNI=003633379 RNI= redirect=no/0 complete=1<BR>
[Apr 16 23:57:20] DEBUG[23362]: l4isup.c:2805 process_iam: IAM cic=1, owner=0x00000000<BR>
== Setting global variable 'TRANSFERCAPABILITY' to 'DIGITAL'<BR>
[Apr 16 23:57:20] DEBUG[23362]: l4isup.c:1625 check_iam_sam: Setting iam.dni.complete<BR>
[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'<BR>
[Apr 16 23:57:20] DEBUG[32571]: pbx.c:1809 pbx_extension_helper: Launching 'h324m_gw'<BR>
-- Executing [003633379@incoming-ss7:1] h324m_gw("SS7/1/1", "s@webcamera") in new stack<BR>
[Apr 16 23:57:20] DEBUG[32571]: app_h324m.c:834 app_h324m_gw: h324m_gw<BR>
[Apr 16 23:57:20] DEBUG[32571]: channel.c:3616 ast_channel_inherit_variables: Not copying variable STACK-incoming-ss7-003633379-1.<BR>
[Apr 16 23:57:20] DEBUG[32572]: pbx.c:1809 pbx_extension_helper: Launching 'transcode'<BR>
-- Executing [s@webcamera:1] transcode("Local/s@webcamera-cee6,2", "|s@camera|h263@qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50") in new stack<BR>
[Apr 16 23:57:20] DEBUG[32572]: channel.c:3616 ast_channel_inherit_variables: Not copying variable STACK-webcamera-s-1.<BR>
[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<BR>
[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.<BR>
[Apr 16 23:57:20] DEBUG[32573]: pbx.c:1809 pbx_extension_helper: Launching 'rtsp'<BR>
-- Executing [s@camera:1] rtsp("Local/s@camera-1fbc,2", "rtsp://192.168.1.49:554/test.sdp" <rtsp://192.168.1.49:554/test.sdp> ) in new stack<BR>
[Apr 16 23:57:20] WARNING[32573]: app_rtsp.c:1039 rtsp_play: >rtsp play<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:291 GetUdpPorts: -GetUdpPorts [54872,54874]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:310 GetUdpPorts: -GetUdpPorts [54874,54876]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:310 GetUdpPorts: -GetUdpPorts [54876,54877]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:291 GetUdpPorts: -GetUdpPorts [54878,54879]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:427 RtspPlayerDescribe: >DESCRIBE [/test.sdp]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:449 RtspPlayerDescribe: <DESCRIBE [/test.sdp]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:1088 rtsp_play: -rtsp play loop [0]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:1167 rtsp_play: -Receiving describe<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:1167 rtsp_play: -Receiving describe<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [v=0]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [o=- 14812869072265155191 14812869072265155191 IN IP4 spioner]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [s=Unnamed]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [i=N/A]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [c=IN IP4 192.168.1.49]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [t=0 0]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [a=tool:vlc 0.9.9a]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [a=recvonly]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [a=type:broadcast]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [a=charset:UTF-8]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [a=control:rtsp://192.168.1.49:554/test.sdp]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [m=audio 50000 RTP/AVP 8]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:696 CreateMedia: -creating media [1,m=audio 50000 RTP/AVP 8]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [b=AS:128]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [b=RR:0]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [a=rtpmap:8 PCMA/8000]<BR>
[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]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [m=video 50002 RTP/AVP 96]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:696 CreateMedia: -creating media [1,m=video 50002 RTP/AVP 96]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [b=AS:51]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [b=RR:0]<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:751 CreateSDP: -line [a=rtpmap:96 H264/90000]<BR>
[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==;]<BR>
[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]<BR>
[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]<BR>
[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]<BR>
[Apr 16 23:57:20] DEBUG[32573]: channel.c:3024 set_format: chan=Local/s@camera-1fbc,2 format=00000000 (with video & text = 00000000) native=00582000 in dir. Write<BR>
[Apr 16 23:57:20] WARNING[32573]: channel.c:3034 set_format: <B>Unable to find a codec translation path from unknown to unknown<BR>
</B>[Apr 16 23:57:20] ERROR[32573]: app_rtsp.c:1275 rtsp_play: No media found<BR>
[Apr 16 23:57:20] DEBUG[32573]: app_rtsp.c:1511 rtsp_play: -rtsp_play end loop [0]<BR>
<BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>