[Asterisk-video] H264 and Grandstream

John Martin John.Martin at AuPix.com
Tue Jan 30 01:36:21 MST 2007


Hi Atle,
  Asterisk uses its own h264 file format. You have to chop up a standard
stream and re-assemble into a stream containing packets with (possibly)
multiple NALs and headers on the front of each packet. The headers
contain timestamp and packet lengths, plus any marker bits.

  We've developed our own solution for this but I'm not aware of any
opensource way of achieving it at the moment. I'm sure others will pipe
up if there is a way.

Regards, John

-----Original Message-----
From: asterisk-video-bounces at lists.digium.com
[mailto:asterisk-video-bounces at lists.digium.com] On Behalf Of Atle
Samuelsen
Sent: 29 January 2007 15:19
To: asterisk-video at lists.digium.com
Subject: [Asterisk-video] H264 and Grandstream


Hi guys,

I'm haveing some problems when trying to encode video with ffmpeg. Has
anybody been able to resample a avi file to h264 format so asterisk can
eat it?

I'm trying now with

ffmpeg -i /home/clona/test.avi -s 352x288 test.h264

When doing this I get a h264 encoded file (verified with x264) but I'm
not able to make view it when calling into asterisk from a GSV3000
phone.

Anybody have any ideas on what I'm doing wrong?

- Atle



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-video

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


More information about the asterisk-video mailing list