Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: Juanito on July 06, 2021, 04:57:00 AM
-
With the recent changes to the graphics/v4l-dev-KERNEL extensions, bcm2835-codec loads automatically enabling hardware accelerated codecs for ffmpeg and gstreamer.
$ ffplay -i video.mp4 -vcodec h264_v4l2m2m
gst-launch-1.0 -v filesrc location=video.mp4 ! qtdemux ! h264parse ! v4l2h264dec capture-io-mode=4 ! autovideosink
-
mpv added to play video via ffmpeg - works in both x11 and wayland.
Note that on RPi4 only h264 hw acceleration works, hevc seems to be a work in progress.
-
With the update to sdl2, ffplay now works in x11 and wayland.
Totem works in both, but only if dbus and/or pulseaudio is used
-
Using the forked ffmpeg from: https://github.com/jc-kynesim/rpi-ffmpeg
hevc hardware acceleration works: $ ffmpeg -no_cvt_hw -hwaccel drm -vcodec hevc -i ~/Downloads/jellyfish-25-mbps-hd-hevc.mkv -f vout_egl /dev/null