Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: picoreuser on November 03, 2024, 06:57:04 PM

Title: Smooth video playback on rpi 1
Post by: picoreuser on November 03, 2024, 06:57:04 PM
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 ?
Title: Re: Smooth video playback on rpi 1
Post by: curaga on November 04, 2024, 02:02:48 AM
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).
Title: Re: Smooth video playback on rpi 1
Post by: 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.
Title: Re: Smooth video playback on rpi 1
Post by: Juanito on November 04, 2024, 03:44:52 AM
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: [Select]
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

Note that you may need dtoverlay=vc4-kms-v3d and dtoverlay=rpivid-v4l2, check that /dev/video* exist.
Title: Re: Smooth video playback on rpi 1
Post by: picoreuser on November 04, 2024, 02:49:43 PM
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.

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