• 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] Play and Record videos in Asterisk

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





PostPosted: Wed Jun 04, 2008 12:54 pm    Post subject: [Asterisk-video] Play and Record videos in Asterisk

Dear List Members,
I am trying to play videos in Asterisk. I understand that
Playback() and Background() functions can play videos in .h263 and .3gp
format. In my extensions.conf, I put a call like:
exten=> 600,n,Playback(testvideo) ;testvideo.h263 is a
file which which plays in VLC media player

I get an error saying "Unable to open testvideo format 0x4 (ulaw)".

I have made changes to my sip.conf,
videosupport = yes
allow=ulaw
allow=alaw
allow=h261
allow=h263
allow=h263p
allow=h264

I tried recording a video using Asterisk Record() function, and then tried
playing it using Playback(), but was unable to succeed.

Though my files get played in VLC media player, I am not sure whether they
are the right set for Asterisk.

I would request members on the list to kindly guide me to the correct
steps/examples/videos which play in Asterisk, so as to enable me to play
videos in Asterisk.

Thanks for your help,
Best 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
jesus.gumiel at gmail.com
Guest





PostPosted: Wed Jun 04, 2008 2:39 pm    Post subject: [Asterisk-video] Play and Record videos in Asterisk

You must have two files, one file .h263 with the video and other file
.gsm or .alaw with the audio.

Normally your converted files donīt work in Asterisk, you must
recodificate them.

ox in.wav -r 8000 -c 1 -s -w out.wav resample -ql ; To convert the audio

ffasterisk -i in.3gp -o out.h263 --video ; To convert the video

Put the two files with the same name (in.h263 and in.wav). And this should work.


2008/6/4 Sharan Saxena <ssaxena@devfoundry.com>:
Quote:
Dear List Members,
I am trying to play videos in Asterisk. I understand that
Playback() and Background() functions can play videos in .h263 and .3gp
format. In my extensions.conf, I put a call like:
exten=> 600,n,Playback(testvideo) ;testvideo.h263 is a
file which which plays in VLC media player

I get an error saying "Unable to open testvideo format 0x4 (ulaw)".

I have made changes to my sip.conf,
videosupport = yes
allow=ulaw
allow=alaw
allow=h261
allow=h263
allow=h263p
allow=h264

I tried recording a video using Asterisk Record() function, and then tried
playing it using Playback(), but was unable to succeed.

Though my files get played in VLC media player, I am not sure whether they
are the right set for Asterisk.

I would request members on the list to kindly guide me to the correct
steps/examples/videos which play in Asterisk, so as to enable me to play
videos in Asterisk.

Thanks for your help,
Best 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
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™