<html><head><style type='text/css'>p { margin: 0; }</style><style type='text/css'>body { font-family: 'Arial'; font-size: 12pt; color: #000000}</style></head><body><P>Yes i tried playing the .h263 file which only a video file. On google, for h263 , i find&nbsp; video&nbsp;only files. </P>
<P>&nbsp;</P>
<P>We are using ffmpeg converter for converting the file to various formats. There is an option of adding the audio to video only file&nbsp; but it does not generate .h263 file.&nbsp; Only .avi files are generated for this kind of functionality but asterisk does not support .avi format.</P>
<P>&nbsp;</P>
<P>Please suggest what are the pre-requisites/steps/examples to play the video file using asterisk as I am badly struck here.</P>
<P>&nbsp;</P>
<P>I have tried playing the video file using asterisk 10 also but no success.</P>
<P>&nbsp;</P>
<P><BR>Regards,<BR>Shalu Dhamija<BR><BR>----- Original Message -----<BR>From: asterisk-dev-request@lists.digium.com<BR>To: asterisk-dev@lists.digium.com<BR>Sent: Friday, December 23, 2011 11:33:06 PM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi<BR>Subject: asterisk-dev Digest, Vol 89, Issue 94<BR><BR>Send asterisk-dev mailing list submissions to<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;asterisk-dev@lists.digium.com<BR><BR>To subscribe or unsubscribe via the World Wide Web, visit<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://lists.digium.com/mailman/listinfo/asterisk-dev<BR>or, via email, send a message with subject or body 'help' to<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;asterisk-dev-request@lists.digium.com<BR><BR>You can reach the person managing the list at<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;asterisk-dev-owner@lists.digium.com<BR><BR>When replying, please edit your Subject line so it is more specific<BR>than "Re: Contents of asterisk-dev digest..."<BR><BR><BR>Today's Topics:<BR><BR>&nbsp;&nbsp; 1. [Bamboo] Matthew Jordan commented on Asterisk - 10 - Ubuntu<BR>&nbsp;&nbsp; &nbsp; &nbsp;Lucid (10.04) 417 (Matthew Jordan)<BR>&nbsp;&nbsp; 2. Re: [Code Review] [patch] Improve debug of ast_hangup (schmidts)<BR>&nbsp;&nbsp; 3. Re: Not able to play video file in asterisk 1.8.7.1<BR>&nbsp;&nbsp; &nbsp; &nbsp;(Tilghman Lesher)<BR><BR><BR>----------------------------------------------------------------------<BR><BR>Message: 1<BR>Date: Fri, 23 Dec 2011 08:08:27 -0600 (CST)<BR>From: Matthew Jordan &lt;bamboo@asterisk.org&gt;<BR>Subject: [asterisk-dev] [Bamboo] Matthew Jordan commented on Asterisk<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- 10 - Ubuntu Lucid (10.04) 417<BR>To: asterisk-dev@lists.digium.com<BR>Message-ID:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;851522200.2004.1324649307053.JavaMail.root@bamboo.asterisk.org&gt;<BR>Content-Type: text/plain; charset="utf-8"<BR><BR>-------------------------------------------------------------------------------<BR>AST10-LUCID-417 commented by Matthew Jordan - 23 Dec 2011, 8:08:26 AM<BR>-------------------------------------------------------------------------------<BR><BR>Created ASTERISK-19100 to track this failure<BR><BR>http://bamboo.asterisk.org/browse/AST10-LUCID-417<BR><BR>------------------<BR>Previous Comments<BR>------------------<BR>Matthew Jordan (23 Dec 2011, 7:55:37 AM)<BR>&gt;Rut roh - this was actually a seg fault that occurred due to an error in ConfBridge. &nbsp;I'll be backing up these logs and creating an ASTERISK issue from this.<BR>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;<BR><BR>--<BR>This message is automatically generated by Atlassian Bamboo<BR>-------------- next part --------------<BR>An HTML attachment was scrubbed...<BR>URL: &lt;http://lists.digium.com/pipermail/asterisk-dev/attachments/20111223/5a6276ae/attachment-0001.htm&gt;<BR><BR>------------------------------<BR><BR>Message: 2<BR>Date: Fri, 23 Dec 2011 14:43:07 -0000<BR>From: "schmidts" &lt;reviewboard@asterisk.org&gt;<BR>Subject: Re: [asterisk-dev] [Code Review] [patch] Improve debug of<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ast_hangup<BR>To: "Olle E Johansson" &lt;oej@edvina.net&gt;, "schmidts"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;reviewboard@asterisk.org&gt;,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Asterisk Developers"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;asterisk-dev@lists.digium.com&gt;<BR>Message-ID: &lt;20111223144307.29663.42947@hotblack.digium.com&gt;<BR>Content-Type: text/plain; charset="utf-8"<BR><BR><BR>-----------------------------------------------------------<BR>This is an automatically generated e-mail. To reply, visit:<BR>https://reviewboard.asterisk.org/r/1164/#review5074<BR>-----------------------------------------------------------<BR><BR><BR>i have walked about this review and i think it would be the easiest way to use a common flag for debuging like DEV_MODE.<BR><BR>then the patch would look like this:<BR><BR>Index: include/asterisk/channel.h<BR>===================================================================<BR>--- include/asterisk/channel.h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Revision 348991)<BR>+++ include/asterisk/channel.h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Arbeitskopie)<BR>@@ -1421,8 +1421,15 @@<BR>&nbsp;&nbsp;* \param chan channel to hang up<BR>&nbsp;&nbsp;* \return Returns 0 on success, -1 on failure.<BR>&nbsp;&nbsp;*/<BR>-int ast_hangup(struct ast_channel *chan);<BR>+#ifdef AST_DEVMODE<BR>+#define ast_hangup(chan)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;__ast_hangup_debug(chan,__PRETTY_FUNCTION__,__FILE__,__LINE__)<BR>+#else<BR>+#define ast_hangup(chan)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;__ast_hangup(chan)<BR>+#endif<BR>&nbsp;<BR>+int __ast_hangup_debug(struct ast_channel *chan, const char *func, const char *file, const int line);<BR>+int __ast_hangup(struct ast_channel *chan);<BR>+<BR>&nbsp;/*!<BR>&nbsp;&nbsp;* \brief Softly hangup up a channel<BR>&nbsp;&nbsp;*<BR>Index: main/channel.c<BR>===================================================================<BR>--- main/channel.c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Revision 348991)<BR>+++ main/channel.c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Arbeitskopie)<BR>@@ -2771,8 +2771,19 @@<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;}<BR>&nbsp;<BR>+<BR>+/*! \brief Debug output whom started Hangup on a channel */<BR>+int __ast_hangup_debug(struct ast_channel *chan, const char *func, const char *file, const int line)<BR>+{<BR>+<BR>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (!chan-&gt;masq) {<BR>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ast_debug(1, "Starting hangup process &nbsp;on channel '%s' - called by %s() in %s, line %d\n", chan-&gt;name, func, file, line);<BR>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return __ast_hangup(chan);<BR>+}<BR>+<BR>&nbsp;/*! \brief Hangup a channel */<BR>-int ast_hangup(struct ast_channel *chan)<BR>+int __ast_hangup(struct ast_channel *chan)<BR>&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;char extra_str[64]; /* used for cel logging below */<BR><BR>still very easy but it really could help to find some issues easier.<BR><BR>- schmidts<BR><BR><BR>On April 7, 2011, 6:21 a.m., Olle E Johansson wrote:<BR>&gt; <BR>&gt; -----------------------------------------------------------<BR>&gt; This is an automatically generated e-mail. To reply, visit:<BR>&gt; https://reviewboard.asterisk.org/r/1164/<BR>&gt; -----------------------------------------------------------<BR>&gt; <BR>&gt; (Updated April 7, 2011, 6:21 a.m.)<BR>&gt; <BR>&gt; <BR>&gt; Review request for Asterisk Developers.<BR>&gt; <BR>&gt; <BR>&gt; Summary<BR>&gt; -------<BR>&gt; <BR>&gt; In many cases when I develop crazy code, I get weird hangups. It may only happen to me, but it does happen. I need to know when a hangup process is initiated and by whom. This small patch is a first step towards that goal.<BR>&gt; <BR>&gt; <BR>&gt; This addresses bug 19080.<BR>&gt; &nbsp; &nbsp; https://issues.asterisk.org/jira/browse/19080<BR>&gt; <BR>&gt; <BR>&gt; Diffs<BR>&gt; -----<BR>&gt; <BR>&gt; &nbsp; /trunk/include/asterisk/channel.h 313005 <BR>&gt; &nbsp; /trunk/main/channel.c 313005 <BR>&gt; <BR>&gt; Diff: https://reviewboard.asterisk.org/r/1164/diff<BR>&gt; <BR>&gt; <BR>&gt; Testing<BR>&gt; -------<BR>&gt; <BR>&gt; Tested in various versions of Asterisk. Seems to give me the output I need.<BR>&gt; <BR>&gt; <BR>&gt; Thanks,<BR>&gt; <BR>&gt; Olle E<BR>&gt; <BR>&gt;<BR><BR>-------------- next part --------------<BR>An HTML attachment was scrubbed...<BR>URL: &lt;http://lists.digium.com/pipermail/asterisk-dev/attachments/20111223/4ac2d7e3/attachment-0001.htm&gt;<BR><BR>------------------------------<BR><BR>Message: 3<BR>Date: Fri, 23 Dec 2011 10:10:40 -0600<BR>From: Tilghman Lesher &lt;tilghman@meg.abyt.es&gt;<BR>Subject: Re: [asterisk-dev] Not able to play video file in asterisk<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.8.7.1<BR>To: Asterisk Developers Mailing List &lt;asterisk-dev@lists.digium.com&gt;<BR>Message-ID:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;CAHPkZcV9tykwNQWzypbAc73xHis3_0zWBjDW8NW3wjz-+dem0A@mail.gmail.com&gt;<BR>Content-Type: text/plain; charset=ISO-8859-1<BR><BR>2011/12/23 shalu dhamija &lt;shalu.dhamija@rancoretech.com&gt;:<BR>&gt; In my case, my code does not reach upto point where seeking on file is<BR>&gt; performed.<BR><BR>I suspect the problem here is that you're attempting to play a video stream<BR>alone, without the benefit of an accompanying audio file. &nbsp;That is not<BR>supported. &nbsp;Video streams are secondary to audio streams in the playback<BR>system. &nbsp;When you stream files, you MUST have a primary audio stream.<BR><BR><BR><BR>------------------------------<BR><BR>_______________________________________________<BR>--Bandwidth and Colocation Provided by http://www.api-digital.com--<BR><BR>AstriCon 2010 - October 26-28 Washington, DC<BR>Put in your talk proposal: http://www.bit.ly/speak-astricon2010<BR><BR>asterisk-dev mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>&nbsp;&nbsp; http://lists.digium.com/mailman/listinfo/asterisk-dev<BR><BR>End of asterisk-dev Digest, Vol 89, Issue 94<BR>********************************************<BR></P></body></html>