Re: photo/video on tty console with the new VT/framebuffer

From: Ivan Quitschal <tezeka_at_hotmail.com>
Date: Fri, 19 May 2023 12:51:26 UTC
On Fri, 19 May 2023, Alastair Hogge wrote:

> On 2023-05-19 11:04, Ivan Quitschal wrote:
>> Hi all
>>
>> i have a question. searched everywhere and found nothing about.
>>
>> Is it possible to visualize photos on tty console like we used to on old SYSCONS by using zgv or something?
>>
>> Or watching videos with mpv/mplayer + sdl 2.0/openGL or something?
>
> As long as those packages support DRMKMS and does your GPU, you can to a
> degree. I noticed video works for mpv and games/sdl, tho, I cannot get
> input working. I tried the Doom 3 port, and watched movies with mpv all
> from the vty just a couple of months ago.
>
> To health and anarchy,
> Alastair
>

hi Alastair

could you please tell us how did you do to make mpv working ?

when i try to run it, i get something like this:

$ mpv --vo=drm video.mp4
  (+) Video --vid=1 (*) (h264 424x240 30.000fps)
  (+) Audio --aid=1 (*) (aac 2ch 44100Hz)
[vo/drm] No primary DRM device could be picked!
[vo/drm] Failed to find a usable DRM primary node!
[vo/drm] Failed to create KMS.
Error opening/initializing the selected video_out (--vo) device.
Video: no video

Exiting... (Errors when loading file)


thats what i should use correct ? --vo=drm ?


thanks

--tzk