On 01/05/2023 20:08, Christopher M. Miles wrote:

I use another language "python" to replace "sh" to play video now. It successes.

:EVAL:     src_python{import os; video_file = "枕刀歌/《枕刀歌》SE05 江海阔 歌谣哼唱.mp4"; os.system("mpv 
\"%s\" " %(video_file))}

It's not as convenient as shell command directly but at least it works.
Seems the sh inline source block can't be used to play video using "mpv"
(I also tested other video player commands like "mplayer", "iina" etc).

For interactive application you may try ob-screen. I find its name confusing.



Reply via email to