Which video player should i use?
Thanks.
Giacomo

bbb_sunflower_2160p_30fps_normal.mp4
file in this link first.mpv
player from terminal, like so:mpv filename.mp4
mpv
.~/.config/mpv/mpv.conf
and add these:
Code: Select all
profile=sw-fast
vo=drm,
cage
(should be available on Ubuntu 22) and run:cage mpv filename.mp4
Something similar happened to me a couple of days ago, after an interrupted update (remember, the system runs unattended upgrades periodically/after boot, so expect it to be busy after being just flashed). Anyway, in my case something decided to nuke some files in /etc/pam.d (added binary nulls at the end of text files), which caused password login/sudo to fail. ssh with keys still worked. I worked out which packages had files in /etc/pam.d (trivettegiacomo wrote:Now i'm not able to apt update and upgrade:
dpkg -S /etc/pam.d
) and reinstalled them with config restore, and that solved the issue.ubuntu-22.04-4.9-minimal-odroid-c4-hc4-20220705.img.xz
image.ubuntu-20.04-4.9-minimal-odroid-c4-hc4-20220228.img.xz
image on my C4.I've not tested this but it should work.trivettegiacomo wrote:Hi, changing the sd worked for the corrupted files! Now I'm able to apt upgrade. Now is there a way to loop a video using kplayer or c2play? Thanks
Code: Select all
while true; do
if ps ax | grep -v grep | grep c2play > /dev/null
then
sleep 1;
else
for i in play;
do
c2play /home/user/somefile.mp4
done
fi
done
Code: Select all
while true; do
c2play /path/to/video.mp4
done
c2play /path/to/video.mp4
works once.mpv --loop=inf file_name.mp4
Users browsing this forum: No registered users and 2 guests