Media

Play the file,whatever it is

VLC, on a Void Linux desktop of your own.Nearly every container and codec, with the audio coming back to the tab.

VLC 3.0.232 cores · 4 GBOpens in a browser tab
hub://vlc

$ dxflow workflow create --identity vlc hub://vlc --start --link

01Pick a machinecores, memory and a rate per hour
02Create the workflowpulled from the hub, once
03Run it, then stopstopped when the work is done
The application

It openswhat nothing else will

The codecs are in the player, so there is nothing to install first.

Any container

MKV, MP4, TS, AVI and the rest, local on the volume or over a URL.

Sound in the tab

Audio is streamed with the session, so a mix can be checked, not guessed.

Convert and stream

Transcode a file to another format, or publish the stream over HTTP.

How you run it

Every defaultis one override away

The session reads its settings from the environment, so you set them on the start line.

VNC_PASSWORDWhat the tab asks for. It ships as dxflow, and everyone reading this knows that.
PANEL and TASKBARBoth hidden, so the player has the whole screen. Show either one to get the desktop back.
AUDIO_RATE and AUDIO_CHANNELSSound is on here, since this is a player. Raise both when the point is how it sounds rather than what it is.
start it your way

$ dxflow workflow start vlc --override env.app.VNC_PASSWORD=something-long

$ dxflow workflow start vlc --override env.app.AUDIO_RATE=44100 --override env.app.AUDIO_CHANNELS=2 --link

The session

The playerfills the screen

Streamed to your browser, with VLC already maximized.

6082Browserin the tab, at /vnc.html
6100Audiothe sound, streamed with it
/volumeStorageyour files, kept between runs
The sound comes tooAUDIO is on for this one, so what plays on the machine plays in the tab.
Open it from anywhereStart with --link and the session comes back on an HTTPS address.
Set a password firstVNC_PASSWORD defaults to dxflow, and everyone can read this page.
Good to know

It refusesto run as root

Every other desktop entry runs as root. VLC will not, so this one is arranged differently underneath.

It runs as app

An unprivileged user, handed the desktop's X credentials and audio socket. Everything else about the session looks the same.

Permissions matter here

Files have to be readable by that user. /volume is, which is where media belongs anyway.

It plays almost anything

Containers and codecs are built in rather than installed. There is no plugin hunt before a file opens.

The image

Pulled once,then it stays

VLC arrives as one image. This is what comes down the first time, and what the disk should have free for it.

416Mamd64compressed, the way the registry counts it
414Marm64compressed, the way the registry counts it
20GOn diskunpacked, with room to work beside it
ghcr.io/dxflow-ai/vlc:latestPublished from the hub, pulled on the first start and kept for the ones after it.
Either architectureamd64 and arm64 are both published, and the machine pulls the one it runs.
What it asks for

What it wants,and what it needs

The definition asks for 2 cores and 4 GB. The image comes up on less than that, and a start given --fit trims the ask to whatever the machine actually has.

2 cores · 4 GBAsks forwhat the definition writes down
2 cores · 2 GBRuns onthe least the image comes up on
Not neededGPUit works on the cores alone
The ask is not the floorThe definition writes down what suits the work. The image itself starts on less, which is what the second figure is.
--fit caps it to the hostA start given --fit trims each step to what the machine actually has, for that start alone. The definition is never rewritten.

Machines that fit it

VLC asks for 2 cores and 4 GB. Cheapest first.

E2 Medium
$0.042/ hour2 cores · 4 GBStart this machine
T3 Medium
$0.052/ hour2 cores · 4 GBStart this machine
B2s
$0.052/ hour2 cores · 4 GBStart this machine
Run VLC on your own machinePick a machine that meets it, and it opens about a minute after you ask.