[Asterisk-video] app_transcoder

matteo brancaleoni mbrancaleoni at espia.it
Mon Mar 12 06:35:56 MST 2007


Hi,

On Mon, 2007-03-12 at 14:18 +0100, Sergio Garcia Murillo wrote:
> My version of ffmpeg is
<snip>
> My app_transcoder.so doesn't have the av_realloc symboll, could you check
> your're using the correct avcodec.h file?
the problem was int not having the shared libs.
I enabled them in ffmpeg and now starts ok.

BUT another problem arises....
seems that the transcode app does not like something.

Here's asterisk log:

    -- Executing [0229411616 at isdn:1] h324m_gw("mISDN/1-u0",
"201 at isdn-video") in new stack
[Mar 12 14:29:32] DEBUG[25754]: app_queue.c:546 changethread: Device
'mISDN/1' changed to state '6' (Ringing) but we don't care because
they're not a member of any queue.
[Mar 12 14:29:32] DEBUG[25753]: app_h324m.c:386 app_h324m_gw:
h324m_loopback
[Mar 12 14:29:32] WARNING[25753]: channel.c:627 ast_best_codec: Don't
know any of 0x2000 formats
P[ 1] MGMT: SSTATUS: L2_ESTABLISH
[Mar 12 14:29:32] DEBUG[25755]: pbx.c:1767 pbx_extension_helper:
Launching 'Answer'
    -- Executing [201 at isdn-video:1]
Answer("Local/201 at isdn-video-aeaf,2", "") in new stack
[Mar 12 14:29:32] DEBUG[25755]: devicestate.c:303
__ast_device_state_changed_literal: Notification of state change to be
queued on device/channel Local/201 at isdn-video-aeaf,2
[Mar 12 14:29:32] DEBUG[25725]: devicestate.c:161 ast_device_state: No
provider found, checking channel drivers for Local - 201 at isdn-video
[Mar 12 14:29:32] DEBUG[25725]: chan_local.c:145 local_devicestate:
Checking if extension 201 at isdn-video exists (devicestate)
[Mar 12 14:29:32] DEBUG[25725]: channel.c:943 channel_find_locked:
Avoiding initial deadlock for channel '0x891cce0'
[Mar 12 14:29:32] DEBUG[25755]: pbx.c:1767 pbx_extension_helper:
Launching 'transcode'
[Mar 12 14:29:32] DEBUG[25725]: devicestate.c:287 do_state_change:
Changing state for Local/201 at isdn-video - state 2 (In use)
[Mar 12 14:29:32] DEBUG[25756]: app_queue.c:546 changethread: Device
'Local/201 at isdn-video' changed to state '2' (In use) but we don't care
because they're not a member of any queue.
    -- Executing [201 at isdn-video:2]
transcode("Local/201 at isdn-video-aeaf,2", "|s at camera|
h263 at qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50") in new stack
-transcoding [,s at camera,h263 at qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50]
[Mar 12 14:29:32] WARNING[25755]: channel.c:2895 ast_request: No
translator path exists for channel type Local (native -1) to 5767168
[Mar 12 14:29:32] DEBUG[25755]: pbx.c:1767 pbx_extension_helper:
Launching 'Hangup'
    -- Executing [201 at isdn-video:3]
Hangup("Local/201 at isdn-video-aeaf,2", "") in new stack
[Mar 12 14:29:32] DEBUG[25755]: pbx.c:2363 __ast_pbx_run: Spawn
extension (isdn-video,201,3) exited non-zero on
'Local/201 at isdn-video-aeaf,2'
  == Spawn extension (isdn-video, 201, 3) exited non-zero on
'Local/201 at isdn-video-aeaf,2'


and this's my dialplan:
[isdn-video]
exten => 201,1,Answer
exten =>
201,2,transcode(,s at camera,h263 at qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50)
exten => 201,3,HangUp

[camera]
exten => s,1,Answer
exten => s,2,rtsp(rtsp://192.168.1.62/mpeg4/media.amp)
exten => s,3,HangUp

[from-isdn]
exten => _XXX.,1,h324m_gw(201 at isdn-video)

any hint?

best regards,
matteo.

-- 
Matteo Brancaleoni
R&D Director
Tel  :+39.02.70633354
Voip :sip:matteo at sip.voismart.it



More information about the asterisk-video mailing list