H264 Recording

Home » Asterisk Users » H264 Recording
Asterisk Users 3 Comments

Hi,

I’m using the Record dialplan Application in an Context. My goal is to get a single screenshot of the h264 media stream per call.

same => n,Record(/tmp/test.wav,0,10,qk)

I nicely get a File test.h264. Is there a way to Playback this h264 video file on my computer or convert it somehow? VLC can’t take it somehow.

Regards,

Benjamin

3 thoughts on - H264 Recording

  • That sounds like a pretty big challenge for Asterisk.

    I’m impressed that you get a test.h264 file, given that you asked the Record function to create a test.wav file for you…

    What does the “file” command tell you it seems to contain?

    Antony.

  • 2018-03-26 23:01 GMT+02:00 Antony Stone < Antony.Stone@asterisk.open.source.it>:

    As far as it at least claim to record some sort of h264 it doesn’t sound as a to big challenge for me. My plan is to use e.g. ffmpeg to convert the h264 media stream to an image

    That’s how the Asterisk record application works. You have to give it the Audio filename and it creates in addition a video file with the approperiate extension if video is there in the call.

    # file test.h264
    test.h264: data

  • Okay, then I defer to someone with more expertise / experience than I in getting Asterisk to record video to hopefully help out further.

    Antony.