• News
  • Idefisk
  • Tools
  • Tutorials
  • Forum
  • Reviews
  • VoIP Providers
  • Archives
  • Gallery
ZOIPER softphone
AsteriskGuru Archives
Mailing List Archives
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Asterisk-video] Playing Videos in Asterisk

 
   AsteriskGuru Archives Forum Index -> Asterisk-Video
View previous topic :: View next topic  
Author Message
ssaxena at devfoundry.com
Guest





PostPosted: Mon Jun 09, 2008 11:51 am    Post subject: [Asterisk-video] Playing Videos in Asterisk

Dear List Members,
I have been trying to play videos in Asterisk, while
doing a SIP call from the softphone Bria. I have got several pointers, but
haven't been successful yet. I gather that Asterisk plays audio and video
separately, thus to make a function like Playback(test) work in your
dialplan, you require two files - an audio file say test.gsm and a video
file test.h263.

I didn't have properly generated/synchronized files, and the .h263 files
which I generated using FFmpeg are not playing in Asterisk. I debugged the
code, and it appears to me that the channel's native format of my file is
not correct (function ast_openvstream).

I would request list members to kindly direct me to any working examples
(audio/video files which play on asterisk), documentation or sample steps to
be able to play the video in Asterisk. I am under the impression that it
will play possibly on the video screen of the softphone, which currently is
streaming live video.

Please excuse my ignorance, I am fairly new to this area.

Thanks for your help,
Regards
Sharan


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-video
Back to top
borja.sixto at i6net.com
Guest





PostPosted: Mon Jun 09, 2008 12:14 pm    Post subject: [Asterisk-video] Playing Videos in Asterisk

You have 2 solutions,

- use the app_mp4 application (use mp4/3gp file specifc format,
compatible with only RFC2429, and h264).
- use FFasterisk to generate the .h263 files needed by Asterisk
(comptible with only the RFC2190)

Regards,


Tech from i6net

Sharan Saxena a écrit :
Quote:
Dear List Members,
I have been trying to play videos in Asterisk, while
doing a SIP call from the softphone Bria. I have got several pointers, but
haven't been successful yet. I gather that Asterisk plays audio and video
separately, thus to make a function like Playback(test) work in your
dialplan, you require two files - an audio file say test.gsm and a video
file test.h263.

I didn't have properly generated/synchronized files, and the .h263 files
which I generated using FFmpeg are not playing in Asterisk. I debugged the
code, and it appears to me that the channel's native format of my file is
not correct (function ast_openvstream).

I would request list members to kindly direct me to any working examples
(audio/video files which play on asterisk), documentation or sample steps to
be able to play the video in Asterisk. I am under the impression that it
will play possibly on the video screen of the softphone, which currently is
streaming live video.

Please excuse my ignorance, I am fairly new to this area.

Thanks for your help,
Regards
Sharan


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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



_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-video
Back to top
sergio.garcia at fontvent
Guest





PostPosted: Mon Jun 09, 2008 12:55 pm    Post subject: [Asterisk-video] Playing Videos in Asterisk

Just one quick note.. app_mp4 can stream rfc 2910 hinted mp4 files,
the trick part is to find an encoder that generates it..

Best regards
Sergio

----- Original Message -----
From: Borja SIXTO [mailto:borja.sixto@i6net.com]
To: asterisk-video@lists.digium.com
Sent: Mon, 09 Jun 2008 15:09:24 +0200
Subject: Re: [Asterisk-video] Playing Videos in Asterisk

You have 2 solutions,

- use the app_mp4 application (use mp4/3gp file specifc format,
compatible with only RFC2429, and h264).
- use FFasterisk to generate the .h263 files needed by Asterisk
(comptible with only the RFC2190)

Regards,


Tech from i6net

Sharan Saxena a écrit :
Quote:
Dear List Members,
I have been trying to play videos in Asterisk, while
doing a SIP call from the softphone Bria. I have got several pointers, but
haven't been successful yet. I gather that Asterisk plays audio and video
separately, thus to make a function like Playback(test) work in your
dialplan, you require two files - an audio file say test.gsm and a video
file test.h263.

I didn't have properly generated/synchronized files, and the .h263 files
which I generated using FFmpeg are not playing in Asterisk. I debugged the
code, and it appears to me that the channel's native format of my file is
not correct (function ast_openvstream).

I would request list members to kindly direct me to any working examples
(audio/video files which play on asterisk), documentation or sample steps to
be able to play the video in Asterisk. I am under the impression that it
will play possibly on the video screen of the softphone, which currently is
streaming live video.

Please excuse my ignorance, I am fairly new to this area.

Thanks for your help,
Regards
Sharan


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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



_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-video
Back to top
borja.sixto at i6net.com
Guest





PostPosted: Mon Jun 09, 2008 1:02 pm    Post subject: [Asterisk-video] Playing Videos in Asterisk

Yes, that's true...
You can easily record contents from the mp4save but not prepare
prerecord files from standard formats.
For the moment...


Tech

Sergio Garcia Murillo a écrit :
Quote:
Just one quick note.. app_mp4 can stream rfc 2910 hinted mp4 files,
the trick part is to find an encoder that generates it..

Best regards
Sergio

----- Original Message -----
From: Borja SIXTO [mailto:borja.sixto@i6net.com]
To: asterisk-video@lists.digium.com
Sent: Mon, 09 Jun 2008 15:09:24 +0200
Subject: Re: [Asterisk-video] Playing Videos in Asterisk

You have 2 solutions,

- use the app_mp4 application (use mp4/3gp file specifc format,
compatible with only RFC2429, and h264).
- use FFasterisk to generate the .h263 files needed by Asterisk
(comptible with only the RFC2190)

Regards,


Tech from i6net

Sharan Saxena a écrit :

> Dear List Members,
> I have been trying to play videos in Asterisk, while
> doing a SIP call from the softphone Bria. I have got several pointers, but
> haven't been successful yet. I gather that Asterisk plays audio and video
> separately, thus to make a function like Playback(test) work in your
> dialplan, you require two files - an audio file say test.gsm and a video
> file test.h263.
>
> I didn't have properly generated/synchronized files, and the .h263 files
> which I generated using FFmpeg are not playing in Asterisk. I debugged the
> code, and it appears to me that the channel's native format of my file is
> not correct (function ast_openvstream).
>
> I would request list members to kindly direct me to any working examples
> (audio/video files which play on asterisk), documentation or sample steps to
> be able to play the video in Asterisk. I am under the impression that it
> will play possibly on the video screen of the softphone, which currently is
> streaming live video.
>
> Please excuse my ignorance, I am fairly new to this area.
>
> Thanks for your help,
> Regards
> Sharan
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-video
>
>


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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




_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-video
Back to top
ssaxena at devfoundry.com
Guest





PostPosted: Tue Jun 10, 2008 8:37 am    Post subject: [Asterisk-video] Playing Videos in Asterisk

Hi Borja/Sergio,
Thanks very much for your response. I am currently trying
.h263 files, and have used ffasterisk to generate the files from a .avi file
as:

ffasterisk -i in.avi -o in.wav --audio
sox in.wav -r 8000 -c 1 -s -w out.wav resample -ql ;
Recodified, otherwise didn't play in asterisk

ffasterisk -i in.avi -o out.h263 --video ; buffer underflow, but file
generated


But I haven't been able to play the file using Playback(out). Asterisk finds
the format unsupported. I am not aware if the generated video file needs to
be recodified like the audio file. The generated .h263 does not play in VLC
media player also. How can I ensure if the generated file is correct.

I request members to please help,

Thanks very much for your support
Regards
Sharan


----------------------------------------------------------------------
Sergio Garcia Murillo a ?crit :
Quote:
Just one quick note.. app_mp4 can stream rfc 2910 hinted mp4 files,
the trick part is to find an encoder that generates it..

Best regards
Sergio

----- Original Message -----
From: Borja SIXTO [mailto:borja.sixto@i6net.com]
To: asterisk-video@lists.digium.com
Sent: Mon, 09 Jun 2008 15:09:24 +0200
Subject: Re: [Asterisk-video] Playing Videos in Asterisk

You have 2 solutions,

- use the app_mp4 application (use mp4/3gp file specifc format,
compatible with only RFC2429, and h264).
- use FFasterisk to generate the .h263 files needed by Asterisk
(comptible with only the RFC2190)



_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-video
Back to top
Display posts from previous:   
   AsteriskGuru Archives Forum Index -> Asterisk-Video All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™