[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Need Help] Error to evaluate "mpv" command in inline src block
From: |
Ihor Radchenko |
Subject: |
Re: [Need Help] Error to evaluate "mpv" command in inline src block |
Date: |
Mon, 01 May 2023 07:45:18 +0000 |
"Christopher M. Miles" <numbchild@gmail.com> writes:
>>> But I failed to execute mpv command:
>>>
>>> #+begin_src org
>>> Test src_sh{mpv "枕刀歌/《枕刀歌》SE05 江海阔 歌谣哼唱.mp4"}
>>> #+end_src
>>
>> May you elaborate what you mean by "failed"?
>
> The "failed" means the MPV video player window does not show up, no video, no
> audio.
Interesting. I tried harder to reproduce following your steps.
Now, I used a video file with CJK name:
* 《枕刀歌》
:PROPERTIES:
:DATE: [2021-05-13 Thu 20:09]
:Douban: https://movie.douban.com/subject/35350794/
:DIR: 鸟瞰古
:EVAL: src_sh{mpv "鸟瞰古/【人文纪录片】鸟瞰古代中国.Ancient.China.from.Above P1
鸟瞰古代中国.Ancient.China.from.Above.S01....flv"}
:END:
And I can reproduce - mpv windows shows up, but no video and no sound.
Then, I tried to open the same video in usual way... and still no sound
- until I press "m" to unmute.
So, it looks to me like mpv is somehow trying to interpret "echo" commands the
ob-shell is sending after "mpv ...." is executed:
ob_comint_async_shell_start_d1cc7563-be0c-4ed0-a4c2-d1b545333983
org_babel_sh_prompt> =[input] No key binding found for key 'c'.
...
[input] No key binding found for key '''.
[input] No key binding found for key 'b'.
...
[input] No key binding found for key '''.
These "No key binding found statements" a likely from "echo" commands
attempted to be sent to the terminal.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- Re: [Need Help] Error to evaluate "mpv" command in inline src block,
Ihor Radchenko <=
- Re: [Need Help] Error to evaluate "mpv" command in inline src block, Christopher M. Miles, 2023/05/01
- ob-shell sessions will send final echo '...' as input key sequence when previous command reads input interactively (was: [Need Help] Error to evaluate "mpv" command in inline src block), Ihor Radchenko, 2023/05/01
- Re: ob-shell sessions will send final echo '...' as input key sequence when previous command reads input interactively, Christopher M. Miles, 2023/05/01
- Re: ob-shell sessions will send final echo '...' as input key sequence when previous command reads input interactively, Ihor Radchenko, 2023/05/01
- Re: ob-shell sessions will send final echo '...' as input key sequence when previous command reads input interactively, Christopher M. Miles, 2023/05/01
- Re: ob-shell sessions will send final echo '...' as input key sequence when previous command reads input interactively, Ihor Radchenko, 2023/05/01
- Re: ob-shell sessions will send final echo '...' as input key sequence when previous command reads input interactively, Christopher M. Miles, 2023/05/01
- [SOLUTION] a temporary workaround solution using another language like "python", Christopher M. Miles, 2023/05/01
- Message not available
- Re: [SOLUTION] a temporary workaround solution using another language like "python", Max Nikulin, 2023/05/01
- Re: [SOLUTION] a temporary workaround solution using another language like "python", Christopher M. Miles, 2023/05/01