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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180326/c8fc21ae/attachment.html>
On Monday 26 March 2018 at 22:33:25, Benjamin Marty wrote:> 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.That sounds like a pretty big challenge for Asterisk.> same => n,Record(/tmp/test.wav,0,10,qk) > > I nicely get a File test.h264.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...> Is there a way to Playback this h264 video file on my computer or convert it > somehow? VLC can't take it somehow.What does the "file" command tell you it seems to contain? Antony. -- 3 logicians walk into a bar. The bartender asks "Do you all want a drink?" The first logician says "I don't know." The second logician says "I don't know." The third logician says "Yes!" Please reply to the list; please *don't* CC me.
2018-03-26 23:01 GMT+02:00 Antony Stone < Antony.Stone at asterisk.open.source.it>:> That sounds like a pretty big challenge for Asterisk. >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> 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... >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.> > What does the "file" command tell you it seems to contain? ># file test.h264 test.h264: data -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180326/0cfb5579/attachment.html>
Apparently Analagous Threads
- AMI not responding correctly
- ffmpeg2theora 0.24 regression: accelerated video output (converted from h264)
- Dial an extension to modify dialplan
- Converting asterisk h264 recordings
- How to compute the density of a variable that follows a proportional error distribution