From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CNGaCdeZT2SfqAAASxT56A (envelope-from ) for ; Mon, 01 May 2023 12:52:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sDOGCdeZT2RXQgAA9RJhRA (envelope-from ) for ; Mon, 01 May 2023 12:52:07 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F01197D21 for ; Mon, 1 May 2023 12:52:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptR8A-0008MM-9J; Mon, 01 May 2023 06:51:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptR88-0008LN-Ji for emacs-orgmode@gnu.org; Mon, 01 May 2023 06:51:40 -0400 Received: from [2409:8a28:6038:2b80:52d2:f5ff:fe16:c591] (helo=Mac-mini.local) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptR86-0004QE-Hm for emacs-orgmode@gnu.org; Mon, 01 May 2023 06:51:40 -0400 Received: by Mac-mini.local (Postfix, from userid 501) id 1F2A48A9DCDD; Mon, 1 May 2023 18:51:31 +0800 (CST) References: <87354hs9pz.fsf@localhost> <87mt2oqyup.fsf@localhost> User-agent: mu4e 1.10.3; emacs 30.0.50 From: "Christopher M. Miles" To: Ihor Radchenko Cc: "Christopher M. Miles" , Org-mode Subject: Re: [Need Help] Error to evaluate "mpv" command in inline src block Date: Mon, 01 May 2023 18:50:57 +0800 In-reply-to: <87mt2oqyup.fsf@localhost> Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2409:8a28:6038:2b80:52d2:f5ff:fe16:c591 (deferred) Received-SPF: softfail client-ip=2409:8a28:6038:2b80:52d2:f5ff:fe16:c591; envelope-from=numbchild@gmail.com; helo=Mac-mini.local X-Spam_score_int: 25 X-Spam_score: 2.5 X-Spam_bar: ++ X-Spam_report: (2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, MSGID_MULTIPLE_AT=1, NML_ADSP_CUSTOM_MED=0.9, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, SPOOFED_FREEMAIL_NO_RDNS=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: numbchild@gmail.com Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682938327; a=rsa-sha256; cv=none; b=U8+ycl/LY7WYheUObr9/F2KNdVc5086yDqcZPQ+7I23CS2Ob4bpY3V6NIlJ1URx1wJpmU2 lALexqCwuQZTe9ezDw7BmLJlHbifrGE8p9NrMHEOYe04oIGB5i1307wCHRfv1VD3qn6gIG s4j0c0LKTP+su9PIlCBGzdlwYlzkX5Du4xOGrzurLQlh3TlOH22kUabLO+3gKdJPsaXvWL c42zXCrI6cNFuAeK+OrG3lTgw1M4fsgzgB4Hi0ZPRvY/WYxNoifVPQ2OS6H2SWyjwK3JC8 exZO0KFRjyHcK5jzXzZmVhJu1BKuENj1RSnOPfHIqUCyn8PihKWXc/mIvANGug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682938327; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=u9AvLIkTvULgiY5UsyljSQ/itmPjuyE0TK96ExFP46g=; b=CoTPvbXuFOwP/ciEuZVmW5UyZPjZiIRDL+sbToYJkEKTcHlt+xNG7cgO79I3NrbzoqU+Jz fHLMSH7jJi6Ul0sbHSoD8GX4NT53/8C+cujfA1H9nkpWObicWQqnR1x7XhioqiV3UtuI2Y tsc61CUnQBTg5iIMtrop8xa+NIVmzjI7N5Om+IvnPBziynYyvKfK0tQ/gQrzd/GUFxTfxS R5WSvitjIKOoRzpCWSnbj0nz7el+5hvWaXyxCFwo2JDN5a90+cyaUADYarEc4W47p3h0hF BSUhliAnRgEYiBosQl3vwOGK27Jtr27PgKpKlZYxB7FzWuBHPYeS4E39E1fqCg== X-Migadu-Spam-Score: -2.41 X-Spam-Score: -2.41 X-Migadu-Queue-Id: F01197D21 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: f/NmZFDcyCkU --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>>> But I failed to execute mpv command: >>>> >>>> #+begin_src org >>>> Test src_sh{mpv "=E6=9E=95=E5=88=80=E6=AD=8C/=E3=80=8A=E6=9E=95=E5=88= =80=E6=AD=8C=E3=80=8BSE05 =E6=B1=9F=E6=B5=B7=E9=98=94 =E6=AD=8C=E8=B0=A3=E5= =93=BC=E5=94=B1.mp4"} >>>> #+end_src >>> >>> May you elaborate what you mean by "failed"? >> >> The "failed" means the MPV video player window does not show up, no vide= o, no audio. > > Interesting. I tried harder to reproduce following your steps. > Now, I used a video file with CJK name: > > * =E3=80=8A=E6=9E=95=E5=88=80=E6=AD=8C=E3=80=8B > :PROPERTIES: > :DATE: [2021-05-13 Thu 20:09] > :Douban: https://movie.douban.com/subject/35350794/ > :DIR: =E9=B8=9F=E7=9E=B0=E5=8F=A4 > :EVAL: src_sh{mpv "=E9=B8=9F=E7=9E=B0=E5=8F=A4/=E3=80=90=E4=BA=BA=E6= =96=87=E7=BA=AA=E5=BD=95=E7=89=87=E3=80=91=E9=B8=9F=E7=9E=B0=E5=8F=A4=E4=BB= =A3=E4=B8=AD=E5=9B=BD.Ancient.China.from.Above P1 =E9=B8=9F=E7=9E=B0=E5=8F= =A4=E4=BB=A3=E4=B8=AD=E5=9B=BD.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" command= s the > ob-shell is sending after "mpv ...." is executed: > > ob_comint_async_shell_start_d1cc7563-be0c-4ed0-a4c2-d1b545333983 > org_babel_sh_prompt> =3D[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. Do you think this issue is from Emacs shell part or mpv part? =2D-=20 [ stardiviner ] I try to make every word tell the meaning that I want to express without mi= sunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAmRPmbIACgkQG13xyVro msMWpggAyPRMwdveBC7d6mNf9wH8L8jLzYgjMpiLiIw/2JS95chY7Jutvmd5NkOU U9q8PE9/RAE0exBfp0R+pRNUq8L32KiLjgKfLTwF4BFk0gd3J8+equBPXqwzPPD0 KLR7Bp3mw5IkZaE3dBWIAWkF2BZcn5y0FuX4y9eALir0l6T6zuDjGouiet2xv//R 6nCpNpBpCri8fjuQ7Okq3c2JDs7cKgxyo+OH3L0f00UkZs/UzzR3OTQ8iVmDkFe6 I2UAeh9bDwraaMfeoGGUvRpTuSZTY7kcVxkDRf8q/1hG2kUPCIDZ6Hpqw/vOgJHc 3AOFOqzxZEmzctHqSvf0macgEPSCeQ== =lvLK -----END PGP SIGNATURE----- --=-=-=--