Open main menu

DAVE Developer's Wiki β

Changes

MISC-AN-001: Creating a root file system using Buildroot

1,039 bytes added, 08:58, 2 November 2023
Packages application version
</pre>
=== Use cases ===
==== node ====
Using the <code>nodejs</code> Javascript runtime it is possible to easily create an embedded webserver with few lines of code:
[[File:AXEL-ULite-nodejsFirefox.png | thumb | 600px | center | nodeJS web server]]
 
==== gstreamer ====
* file: BigBuckBunny_640x360.mp4
* video: MPEG-4 video 4:2:0 @ 640x360 resolution
* gstreamer pipeline
 
gst-launch-1.0 playbin uri=file:///root/BigBuckBunny_640x360.mp4
 
<pre>
root@buildroot:/root# gst-launch-1.0 playbin uri=file:///root/BigBuckBunny_640x360.mp4
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Redistribute latency...
New clock: GstSystemClock
0:04:28.2 / 0:09:56.5 (45.0 %)
</pre>
 
Using the <code>imxpxpvideosink</code> plugin, i.e. using the PXP cell for helping the video rendering, the CPU load is around 50%:
 
gst-launch-1.0 filesrc location=/root/BigBuckBunny_640x360.mp4 ! decodebin ! videoconvert ! imxpxpvideosink
 
[[File:AXEL-ULite-buildroot-gstreamer2.png | thumb | center| 1000px| gstreamer CPU load using <code>imxpxpvideosink</code>]]
 
 
[[File:Gstreamer-pxp.png | thumb | center| 1000px| Big Buck Bunny 640x360 MPEG-4: 53% CPU load]]
8,256
edits