<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=4020&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / VLC and HVEC/x265 on the Raspberry Pi 4 with arm64]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4020</link>
		<description><![CDATA[The most recent posts in VLC and HVEC/x265 on the Raspberry Pi 4 with arm64.]]></description>
		<lastBuildDate>Thu, 21 Jan 2021 23:06:06 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: VLC and HVEC/x265 on the Raspberry Pi 4 with arm64]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26946#p26946</link>
			<description><![CDATA[<p>Personally I think this approach is just silliness and what I mean by this is, that these boards &quot;no matter what the manufacture may suggest&quot; are a niche device. If you are interested in proper video playback, I would go with an OS that is specializing in this approach.</p><p>I wouldn&#039;t buy a toaster to cook a turkey and then act surprised when it didn&#039;t work.</p><p>I tend to lean towards Amlogic SoC&#039;s for video play back and use CoreELEC and just throw things at it like you would any commercial device: Chromecast, Firestick and Roku. This could also be done using the Pi4 and LibreELEC, but generally not as cost effective.</p>]]></description>
			<author><![CDATA[dummy@example.com (c0rnelius)]]></author>
			<pubDate>Thu, 21 Jan 2021 23:06:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26946#p26946</guid>
		</item>
		<item>
			<title><![CDATA[Re: VLC and HVEC/x265 on the Raspberry Pi 4 with arm64]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26945#p26945</link>
			<description><![CDATA[<div class="quotebox"><cite>joril wrote:</cite><blockquote><div><p>I&#039;ve tried following the path &quot;32-bit Devuan + vlc from Raspbian&quot;, but still no luck <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /> h264 works but only in full screen, h265 doesn&#039;t work at all... It throws errors about &quot;CMA buf pool alloc buf failed&quot; so I&#039;ve tried fidgeting with the &quot;cma=&quot; parameter on cmdline.txt, but to no avail.</p></div></blockquote></div><p>hello joril,<br />yeah it shouldn&#039;t be easy indeed.. <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>While the kernel space indeed as seen tremendous advances,<br />The userspace is still lacking and it still depends on manual builds/hacks and such.. <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>What are the mount of MB you added to the Contiguous Memory Allocator( cma )?<br />it should need at least 256MB,<br />I would, <span class="bbu">as a precaution</span>, add &#039;<strong>cma=384M</strong>&#039;, its a kernel parameter usually set in the bootargs..</p><p>At least some people around ARM is using 384MB( but I believe its for different userpace tools..by other words different hardware, but its a nice consensus value for any device.. ), anyway it deserves a shot.. <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /> </p><p>I don&#039;t hold my breath on it, because probably it won&#039;t work, but one needs at least to try..</p>]]></description>
			<author><![CDATA[dummy@example.com (tuxd3v)]]></author>
			<pubDate>Thu, 21 Jan 2021 21:09:18 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26945#p26945</guid>
		</item>
		<item>
			<title><![CDATA[Re: VLC and HVEC/x265 on the Raspberry Pi 4 with arm64]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26944#p26944</link>
			<description><![CDATA[<p>This 64-bit <a href="https://github.com/sakaki-/gentoo-on-rpi-64bit/" rel="nofollow">gentoo-on-rpi-64bit</a> project may help ...</p><p>(unfortunately looking for a new maintainer now)</p>]]></description>
			<author><![CDATA[dummy@example.com (vortex)]]></author>
			<pubDate>Thu, 21 Jan 2021 17:23:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26944#p26944</guid>
		</item>
		<item>
			<title><![CDATA[Re: VLC and HVEC/x265 on the Raspberry Pi 4 with arm64]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26929#p26929</link>
			<description><![CDATA[<p>I&#039;ve tried following the path &quot;32-bit Devuan + vlc from Raspbian&quot;, but still no luck <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /> h264 works but only in full screen, h265 doesn&#039;t work at all... It throws errors about &quot;CMA buf pool alloc buf failed&quot; so I&#039;ve tried fidgeting with the &quot;cma=&quot; parameter on cmdline.txt, but to no avail.</p>]]></description>
			<author><![CDATA[dummy@example.com (joril)]]></author>
			<pubDate>Wed, 20 Jan 2021 12:59:17 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26929#p26929</guid>
		</item>
		<item>
			<title><![CDATA[Re: VLC and HVEC/x265 on the Raspberry Pi 4 with arm64]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26543#p26543</link>
			<description><![CDATA[<p>I don&#039;t think you are going to get &quot;HVEC/x265 on the Raspberry Pi 4 with arm64&quot; as the best I&#039;ve&#160; been able to do is 1080p/x264 using MPV and MESA 20.3 and that&#039;s a frankenbuild of sorts. x265 always tends to stumble over its self, but I haven&#039;t tested MESA 21.0 as of yet, so maybe there is hope?</p>]]></description>
			<author><![CDATA[dummy@example.com (c0rnelius)]]></author>
			<pubDate>Sun, 03 Jan 2021 20:51:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26543#p26543</guid>
		</item>
		<item>
			<title><![CDATA[Re: VLC and HVEC/x265 on the Raspberry Pi 4 with arm64]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26533#p26533</link>
			<description><![CDATA[<div class="quotebox"><cite>joril wrote:</cite><blockquote><div><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>For what I saw v3.0.3 was the version they were speaking of in the forum.. and complaining because debian updated to v3.0.6</p></div></blockquote></div><p>I&#039;ve tried compiling 3.0.3 too (had to add --disable-wayland and patch a line inside the x264 codec) but still no h265 acceleration <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /><br />Maybe I could try building a 32bit image of Beowulf and use the vlc debs from Raspbian...?</p></div></blockquote></div><p>You can build the binaries for 32 bits( like the instructions say ), if it fails,<br />C0rnelious has <a href="https://dev1galaxy.org/viewtopic.php?id=3209&amp;p=4#87" rel="nofollow">images for 64 bits</a></p><div class="quotebox"><blockquote><div><p>Devuan image builder - <a href="https://github.com/pyavitz/rpi-img-builder/tree/devuan" rel="nofollow">https://github.com/pyavitz/rpi-img-builder/tree/devuan</a><br />You can find sample images under release - <a href="https://github.com/pyavitz/rpi-img-builder/releases" rel="nofollow">https://github.com/pyavitz/rpi-img-builder/releases</a></p><p>As far as I know all the usual suspects work. HDMI, Audio, Bluetooth, Wifi, Eth... etc.</p><p>If you find any bugs or have a request than open an issue at the hub.</p><p>Now supports - BCM2711, 2710, 2708.</p></div></blockquote></div><p>You can give them a try..</p><p>if its not possible, then see all dependencies that raspbian has for vlc, and get those files from there <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (tuxd3v)]]></author>
			<pubDate>Sat, 02 Jan 2021 23:04:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26533#p26533</guid>
		</item>
		<item>
			<title><![CDATA[Re: VLC and HVEC/x265 on the Raspberry Pi 4 with arm64]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26530#p26530</link>
			<description><![CDATA[<div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>For what I saw v3.0.3 was the version they were speaking of in the forum.. and complaining because debian updated to v3.0.6</p></div></blockquote></div><p>I&#039;ve tried compiling 3.0.3 too (had to add --disable-wayland and patch a line inside the x264 codec) but still no h265 acceleration <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /><br />Maybe I could try building a 32bit image of Beowulf and use the vlc debs from Raspbian...?</p>]]></description>
			<author><![CDATA[dummy@example.com (joril)]]></author>
			<pubDate>Sat, 02 Jan 2021 22:02:30 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26530#p26530</guid>
		</item>
		<item>
			<title><![CDATA[Re: VLC and HVEC/x265 on the Raspberry Pi 4 with arm64]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26507#p26507</link>
			<description><![CDATA[<div class="quotebox"><cite>joril wrote:</cite><blockquote><div><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>That could be a problem, because <a href="https://en.wikipedia.org/wiki/Video_Acceleration_API" rel="nofollow">VA API</a> is the one responsible to get acceleration in VLC <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p></div></blockquote></div><p>Ouch X-) I disabled it because compilation was complaining about missing &quot;EGL_LINUX_DRM_FOURCC_EXT&quot; and other constants, and here <a href="https://www.raspberrypi.org/forums/viewtopic.php?t=227185&amp;start=25#p1396812" rel="nofollow">https://www.raspberrypi.org/forums/view … 5#p1396812</a> someone said &quot;You shouldn&#039;t need vaapi - that&#039;s an Intel API.&quot;<br />--disable-wayland didn&#039;t solve the issue</p></div></blockquote></div><p>You seem to be right, vaapi maybe its not used for raspberrypi.<br />They refer instead <a href="https://github.com/techyian/MMALSharp/wiki/What-is-MMAL%3F" rel="nofollow">mmal</a></p><p>I also <a href="https://forum.videolan.org/viewtopic.php?t=147041" rel="nofollow">found a thread</a> in videolan forums that say that rpi doesn&#039;t use vaapi..</p><p>For what I saw v3.0.3 was the version they were speaking of in the forum.. and complaining because debian updated to v3.0.6</p>]]></description>
			<author><![CDATA[dummy@example.com (tuxd3v)]]></author>
			<pubDate>Wed, 30 Dec 2020 22:47:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26507#p26507</guid>
		</item>
		<item>
			<title><![CDATA[Re: VLC and HVEC/x265 on the Raspberry Pi 4 with arm64]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26499#p26499</link>
			<description><![CDATA[<p>Tried every version up to 3.0.6 (released in jan 2019) but still no luck, same error <img src="https://dev1galaxy.org/img/smilies/hmm.png" width="15" height="15" alt="hmm" /></p>]]></description>
			<author><![CDATA[dummy@example.com (joril)]]></author>
			<pubDate>Wed, 30 Dec 2020 09:50:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26499#p26499</guid>
		</item>
		<item>
			<title><![CDATA[Re: VLC and HVEC/x265 on the Raspberry Pi 4 with arm64]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26498#p26498</link>
			<description><![CDATA[<p>Spoke too soon...</p><div class="codebox"><pre><code>video_output/opengl/converter_vaapi.c: In function ‘vaegl_image_create’:
video_output/opengl/converter_vaapi.c:75:9: error: ‘EGL_LINUX_DRM_FOURCC_EXT’ undeclared</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (joril)]]></author>
			<pubDate>Wed, 30 Dec 2020 09:19:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26498#p26498</guid>
		</item>
		<item>
			<title><![CDATA[Re: VLC and HVEC/x265 on the Raspberry Pi 4 with arm64]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26497#p26497</link>
			<description><![CDATA[<p>I&#039;m trying compiling VLC 3.0.10 instead of 3.0.11, here&#039;s how I&#039;m calling &quot;configure&quot;:</p><div class="codebox"><pre><code>CFLAGS=&quot;-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/mmal -I/opt/vc/include/interface/vchiq_arm -I/opt/vc/include/IL -I/opt/vc/include/GLES2 -mcpu=cortex-a72&quot;
CXXFLAGS=&quot;-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/mmal -I/opt/vc/include/interface/vchiq_arm -I/opt/vc/include/IL -I/opt/vc/include/GLES2 -mcpu=cortex-a72&quot;
LDFLAGS=&quot;-L/opt/vc/lib&quot; ./configure --enable-omxil --enable-omxil-vout --enable-rpi-omxil --enable-gles2</code></pre></div><p>and the result is:</p><div class="codebox"><pre><code>libvlc configuration
--------------------
version               : 3.0.10
system                : linux
architecture          : aarch64
optimizations         : yes
vlc aliases           : cvlc rvlc nvlc</code></pre></div><p>No need for --disable-libva this time <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /> On to compilation...</p>]]></description>
			<author><![CDATA[dummy@example.com (joril)]]></author>
			<pubDate>Wed, 30 Dec 2020 09:10:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26497#p26497</guid>
		</item>
		<item>
			<title><![CDATA[Re: VLC and HVEC/x265 on the Raspberry Pi 4 with arm64]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26496#p26496</link>
			<description><![CDATA[<div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>cat you check the cpuinfo</p><div class="codebox"><pre><code>grep Features /proc/cpuinfo</code></pre></div></div></blockquote></div><p>Features&#160; &#160; : fp asimd evtstrm crc32 cpuid</p><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>try getting a less recent version and see if it compiles without errors with va-api</p></div></blockquote></div><p>Ok I&#039;ll try right away, many thanks again <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (joril)]]></author>
			<pubDate>Wed, 30 Dec 2020 09:02:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26496#p26496</guid>
		</item>
		<item>
			<title><![CDATA[Re: VLC and HVEC/x265 on the Raspberry Pi 4 with arm64]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26495#p26495</link>
			<description><![CDATA[<div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>That could be a problem, because <a href="https://en.wikipedia.org/wiki/Video_Acceleration_API" rel="nofollow">VA API</a> is the one responsible to get acceleration in VLC <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p></div></blockquote></div><p>Ouch X-) I disabled it because compilation was complaining about missing &quot;EGL_LINUX_DRM_FOURCC_EXT&quot; and other constants, and here <a href="https://www.raspberrypi.org/forums/viewtopic.php?t=227185&amp;start=25#p1396812" rel="nofollow">https://www.raspberrypi.org/forums/view … 5#p1396812</a> someone said &quot;You shouldn&#039;t need vaapi - that&#039;s an Intel API.&quot;<br />--disable-wayland didn&#039;t solve the issue</p>]]></description>
			<author><![CDATA[dummy@example.com (joril)]]></author>
			<pubDate>Wed, 30 Dec 2020 08:58:01 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26495#p26495</guid>
		</item>
		<item>
			<title><![CDATA[Re: VLC and HVEC/x265 on the Raspberry Pi 4 with arm64]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26482#p26482</link>
			<description><![CDATA[<div class="quotebox"><cite>joril wrote:</cite><blockquote><div><p>I had to fiddle a bit with the &quot;configure&quot; invocation (remove -mfpu=neon-vfpv4 and -mfloat-abi=hard, add --disable-libva) to get it to compile... Sadly, still no HVEC acceleration <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p></div></blockquote></div><p>That could be a problem, because <a href="https://en.wikipedia.org/wiki/Video_Acceleration_API" rel="nofollow">VA API</a> is the one responsible to get acceleration in VLC <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>I don&#039;t know what extensions has the rpi4:<br />cat you check the cpuinfo</p><div class="codebox"><pre><code>grep Features /proc/cpuinfo</code></pre></div><p>maybe the compiler doesn&#039;t like this combination for arm64..<br />-mfpu=neon-vfpv4 - is armv7 related<br />-mfloat-abi=hard&#160; &#160;- this one I think its arch agnostic,&#160; i don&#039;t get why it gives error, maybe compiling for armv8, already implies hard-float.. but even so..</p><p>This options are very standard for armv8..<br />-march=armv8-a+simd+crc<br />-mtune=cortex-a53</p><p>One thing that maybe can create problems..<br />The compiled VLC, should use the same specs as the the libraries compiled in rpi userland..<br />or maybe the VLC code you downloaded require latest versions of some library that are not present in beowulf yet.. try getting a less recent version and see if it compiles without errors with va-api</p>]]></description>
			<author><![CDATA[dummy@example.com (tuxd3v)]]></author>
			<pubDate>Tue, 29 Dec 2020 17:01:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26482#p26482</guid>
		</item>
		<item>
			<title><![CDATA[Re: VLC and HVEC/x265 on the Raspberry Pi 4 with arm64]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26480#p26480</link>
			<description><![CDATA[<div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>3) Then build VLC or FFmpeg with support for RPi( will take advantage of the RaspberryPi userspace Libraries built above.. ):</p><p>a) Build VLC..<br />VLC has lots of dependencies,<br />So I just searched for RPI Build, and <a href="https://thepi.io/how-to-compile-vlc-media-player-with-hardware-acceleration-for-the-raspberry-pi/" rel="nofollow">this tutorial</a> <strong>is from 2017</strong>, its better to get the <span class="bbu">last VLC source code</span>, to build..</p><p>On those cflags/cxxflags , you can compile for &#039;<strong>-mcpu=cortex-a72</strong>&#039;( rpi4 ), or if compiling for a generic arm64 &#039;<strong>-mcpu=cortex-a53</strong>&#039;, the binary will work on rpi3 and rpi4 in this last case..</p></div></blockquote></div><p>I had to fiddle a bit with the &quot;configure&quot; invocation (remove -mfpu=neon-vfpv4 and -mfloat-abi=hard, add --disable-libva) to get it to compile... Sadly, still no HVEC acceleration <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></description>
			<author><![CDATA[dummy@example.com (joril)]]></author>
			<pubDate>Tue, 29 Dec 2020 12:50:47 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26480#p26480</guid>
		</item>
	</channel>
</rss>
