Tiny Core Base > TCB Talk

Smooth video playback on rpi 1

(1/1)

picoreuser:
Hello, we have few devices on picore 14 and vlc was used to display videos/images. The problem is that on rpi 1 it's very slow and stuttering, any suggestions ?

curaga:
Wasn't that a 700 Mhz armv6 cpu? That's equivalent to something like a Pentium 2. Would your videos play fine on a P2? (those cpus were not able to play DVDs, for reference).

patrikg:
Is vlc compiled with hw acceleration.
So not only use framebuffer and uses the gpu and av instructions on the cpu.

https://thepi.io/how-to-compile-vlc-media-player-with-hardware-acceleration-for-the-raspberry-pi/

And you could install omxplayer that support the gpu, to accelerate the picture and video.

Juanito:
I played around with hardware acceleration on an RPi0 a while back - it was quite slow.

The vlc in the repo should use hw acceleration if available, those vlc instructions referenced above are using the old closed source omx and neon - I'm not sure neon is available on RPi0 and RPi1.

You could try ffplay:
--- Code: ---ffplay -i /mnt/mmcblk0p2/media/video/jellyfish-3-mbps-hd-h264.mkv [I think this would use hw acceleration]
or
ffplay -codec:v h264_v4l2m2m -i /mnt/mmcblk0p2/media/video/jellyfish-3-mbps-hd-h264.mkv
--- End code ---

Note that you may need dtoverlay=vc4-kms-v3d and dtoverlay=rpivid-v4l2, check that /dev/video* exist.

picoreuser:

--- Quote from: patrikg on November 04, 2024, 02:41:53 AM ---Is vlc compiled with hw acceleration.
So not only use framebuffer and uses the gpu and av instructions on the cpu.

https://thepi.io/how-to-compile-vlc-media-player-with-hardware-acceleration-for-the-raspberry-pi/

And you could install omxplayer that support the gpu, to accelerate the picture and video.

--- End quote ---

Thank you, do you have insights how to install omxplayer on picore 14?

Navigation

[0] Message Index

Go to full version