[Asterisk-Dev] H263 file format

Matt Riddell matt.riddell at sineapps.com
Sun Aug 28 10:14:17 MST 2005


Christophe Guerin wrote:
> Hi all,
> 
> The H263 format of Asterisk is very strange. I didn't success to wrap it
> to allow a video player to play it.
> Anyway, I try to create myself one file of this type.

You could check the source.

> I created a video with mencoder :
> - H263 codec
> - RAW video
> - No Sound
> 
> And I took an olg gsm file that I know is OK.
> /usr/local/video/test.gsm
> /usr/local/video/test.h263

Were the files exactly the same length?

> Then I add an extension to asterisk :
> exten => 999,1,Playback(/usr/local/video/test)
> 
> My Client gave some errors messages :
> warning: first frame is no keyframe
> Received Invalid Payload 0

Um, isn't that kinda self explanatory?  It seems it's looking for a keyframe
as first frame and isn't getting one.

> When I'm looking at the RTP packet with Ethereal :
> Asterisk sent only one H263 RTP packet to the client
> --> The Payload type seems OK
> 
> If someone already try to create an h263 file, could you help me...
> Thanks in advance.

What I've done is just use Asterisk to record the files.  If you wanted to
convert pre existing avi files you could use some software like VCDCutter
which will allow you to stream a video file as a webcam then you can use
something like eyebeam to record with.

-- 
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)



More information about the asterisk-dev mailing list