[Asterisk-video] asterisk-video Digest, Vol 26, Issue 5

Sharan Saxena ssaxena at devfoundry.com
Fri Jun 6 08:09:23 CDT 2008


Hi Jesus,
          Thanks for your comments and your help.
Best Regards
Sharan


------------------------------

Message: 3
Date: Thu, 5 Jun 2008 16:31:42 +0200
From: " Jes?s Gumiel " <jesus.gumiel at gmail.com>
Subject: Re: [Asterisk-video] Play and Record videos in Asterisk (ox
	converter)
To: "Development discussion of video media support in Asterisk"
	<asterisk-video at lists.digium.com>
Message-ID:
	<e945419a0806050731v6203ca5fs553e81a881307dfd at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi Sharan.

     I answer you above your message:

2008/6/5 Sharan Saxena <ssaxena at devfoundry.com>:
> Hi Jesus,
>           Thanks for your directions. From your email and my understanding
> of the code of asterisk, I think that asterisk plays the audio and video
> frames separately. Please correct me if I am wrong.

Yes, Asterisk play the audio and video separately.
>
> I was able to run the ffasterisk command, but I got exceptions and buffer
> underflow/overflow with the audio/video files I tried.
>

This kind of errors are normals, they are the logs of ffasterisk. If
you have the new file created it?s all correct

> It would be helpful if you can guide me to a working .avi file, from which
> you extract the audio and video frames, and also comment on the
correctness
> of my steps outlined below. My approach should be as follows then:
>
>        ffasterisk -i in.avi -o in.wav --audio                          ;
> Floating point exception

Normallly I create the audio in .wav with other applications, not with
ffasterisk, I don?t know if ffasterisk works fine with audio, I?m
sorry.

>        ffasterisk -i in.avi -o out.h263 --video
> ; buffer underflow, though file created, but didn't play in VLC media
player
>

Don?t worry if vlc doesn?t understand this file.

>        sox in.wav -r 8000 -c 1 -s -w out.wav resample -ql              ;
> was not able to find "ox"
>
> In extensions.conf
>        exten => 600,n,Playback(out)
> ; and hope that it will play
>
>
> Thanks for your help.
> Regards
> Sharan
>

Finally if the video isn?t correct, you must hear only the audio. So,
you can test putting the video file with an audio file that normally
asterisk plays correctly (always putting the same name to video and
audio file).
>
> -------------------------------------------------------------------------




More information about the asterisk-video mailing list