Converting asterisk h264 recordings

Home » Asterisk Users » Converting asterisk h264 recordings
Asterisk Users 4 Comments

Hello,

We are setting up an asterisk system for voicemail with video possibilities.
We are not using the voicemail app, but rather writing our own dialplan
logic. The part of recording, and replaying, the voicemail works, and we
receive both an h264 and an wav-file. What I now wonder is how to convert
these into one file playable by a (standard) media player. I have not found
any real good leads by google:ing, but of course I may have missed it… Any
pointers?

BR,

Torbjörn Abrahamsson

4 thoughts on - Converting asterisk h264 recordings

  • _____

    href=”mailto:asterisk-users-bounces@lists.digium.com”>asterisk-users-bounces@lists.digium.com
    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Torbjörn
    Abrahamsson
    Sent: Tuesday, December 14, 2010 8:20 AM
    href=”mailto:asterisk-users@lists.digium.com”>asterisk-users@lists.digium.com

    Hello,

    We are setting up an asterisk system for voicemail with video possibilities.
    We are not using the voicemail app, but rather writing our own dialplan
    logic. The part of recording, and replaying, the voicemail works, and we
    receive both an h264 and an wav-file. What I now wonder is how to convert
    these into one file playable by a (standard) media player. I have not found
    any real good leads by google:ing, but of course I may have missed it… Any
    pointers?

    BR,

    Torbjörn Abrahamsson

    Perhaps this would work for you?

    http://www.linuxjournal.com/article/9005

  • Hi!

    This might be better but it won’t be easy to obtain:
    http://www.i6net.com/2006/08/24/ffasterisk-10-new-video-file-converter-released/

    “This tool generate video contents for asterisk (to add video clips *.h263 for the asterisk
    VoiceMail application for example, or create new video service for asterisk). The original file
    format could be MOV QuickTime files.

    It´s tested with the SIP Video Phones WengoPhone and Kapanga.

    This product is now discontinued.”

    In general do take a look at the Wiki – and enhance it where you see fit:
    http://www.voip-info.org/wiki/view/Asterisk+video

    And do note that there is a dedicated asterisk-video mailing list!

    Philipp

    P.S.: I do remember a dedicated Video web page for Asterisk patches that included a
    transcoding feature, but can’t find it anymore – should be archived in the asterisk-video
    mailing list.

  • +1

    My guess is that mplayer/mencoder will fit the bill.

    The ‘hard part’ will be figuring out the requirements of the media players
    you want to support. If your consumers have access to mplayer or vlc, they
    should be able to handle almost anything.

    One little ‘gotcha’ is that there are bugs in some GPUs.

    I run a MythTV frontend with an ION GPU and it crashes playing the TED
    ‘podcasts’ because the height & width are not multiples of 16! I have to
    crop 1 pixel off each side. I use HandBrake because it makes better use of
    the multiple cores on the MythTV backend.