<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Playing video (ex_video.c) in Allegro 5.</title>
		<link>http://www.allegro.cc/forums/view/617426</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Thu, 31 May 2018 14:30:46 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m trying to compile/run the example file for video playback and it&#39;s not working. al_open_video() is returning a NULL pointer. The file is a valid, playable ogg file, and I know it&#39;s in the right folder. The function will not open the video at all. Opening with al_fopen() works fine, so it&#39;s not a filesystem issue. Is there limitations to the ogg file I have to know about? I attached what VLC reports about my file. </p><p>I&#39;m using VS2015 with the NuGet package.<br />I&#39;m using the ex_video.c file from git. <br />All the relevant add-ons are active.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (nshade)</author>
		<pubDate>Wed, 30 May 2018 16:46:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Could you check out the logs? You can enable them by calling <span class="source-code"><a href="http://www.allegro.cc/manual/al_set_config_value"><span class="a">al_set_config_value</span></a><span class="k2">(</span><a href="http://www.allegro.cc/manual/al_get_system_config"><span class="a">al_get_system_config</span></a><span class="k2">(</span><span class="k2">)</span>, <span class="s">"trace"</span>, <span class="s">"level"</span>, <span class="s">"debug"</span><span class="k2">)</span></span> before calling <span class="source-code"><a href="http://www.allegro.cc/manual/al_init"><span class="a">al_init</span></a></span>. It&#39;ll place the logs in the current working directory.</p><p>The codec seems fine, btw.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Wed, 30 May 2018 20:26:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Logs have nothing<br />I attached logs and the(Slightly modified) code.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (nshade)</author>
		<pubDate>Wed, 30 May 2018 22:20:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>EDIT<br />nm it is a video. Try renaming it to .ogv.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Thu, 31 May 2018 02:55:17 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That was it... Now it&#39;s working.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (nshade)</author>
		<pubDate>Thu, 31 May 2018 04:46:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Nice. Added a logging statement to the video addon, so next the the logs will identify this issue: <a href="https://github.com/liballeg/allegro5/commit/59bc38a977fabe24723f530295976012aa3e07f5">https://github.com/liballeg/allegro5/commit/59bc38a977fabe24723f530295976012aa3e07f5</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Thu, 31 May 2018 08:50:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m just curious, how did the file come to be named .ogg?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Thu, 31 May 2018 14:30:46 +0000</pubDate>
	</item>
</rss>
