So, looks like something wrong with caja, after some minutes of playing it (caja) stops respond and have to be killed. 1.24 or 1.26 are same. I used 1.12 gtk2 quite long time (compilled it up to buster), there such things never happened. The problem appear faster if more than one tab opened.
I found mpv not crushing caja longer, only, and starts fast as a cvlc. In fm-icon-view.c "totem-audio-preview" replaced with "caja-audio-preview", in /usr/bin/ placed an executable shell script - caja-audio-preview, with
!/bin/sh
exec /usr/bin/mpv −−vo=null −−no−video --audio-display=no "$@"
Now works fine, but caja crashing any way.
It could be nice to replace gstreamer with ffplay. It can be run with -nodisp -hide_banner -autoexit, works fine from terminal, but I wasn't able to make it run with caja audio-preview.
So, finalizing with "exit 0" looks like works:
!/bin/sh
sleep 0.3
exec /usr/bin/mpv −−vo=null −−no−video --audio-display=no "$@"
exit 0
Could be the finalizing for gstreamer a caja crush reason?
Can it be changed to ffplay, aplay or paplay? https://github.com/mate-desktop/caja/issues/1681 I belive one of them can do it faster, like a player.
So, looks like something wrong with caja, after some minutes of playing it (caja) stops respond and have to be killed. 1.24 or 1.26 are same. I used 1.12 gtk2 quite long time (compilled it up to buster), there such things never happened. The problem appear faster if more than one tab opened.
I found mpv not crushing caja longer, only, and starts fast as a cvlc. In fm-icon-view.c "totem-audio-preview" replaced with "caja-audio-preview", in /usr/bin/ placed an executable shell script - caja-audio-preview, with
!/bin/sh
exec /usr/bin/mpv −−vo=null −−no−video --audio-display=no "$@" Now works fine, but caja crashing any way. It could be nice to replace gstreamer with ffplay. It can be run with -nodisp -hide_banner -autoexit, works fine from terminal, but I wasn't able to make it run with caja audio-preview. So, finalizing with "exit 0" looks like works:
!/bin/sh
sleep 0.3 exec /usr/bin/mpv −−vo=null −−no−video --audio-display=no "$@" exit 0 Could be the finalizing for gstreamer a caja crush reason?