From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 qH8LJxRzT2QaMgAASxT56A (envelope-from ) for ; Mon, 01 May 2023 10:06:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eDI0JhRzT2RGyQAAG6o9tA (envelope-from ) for ; Mon, 01 May 2023 10:06:44 +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 3C23F3929 for ; Mon, 1 May 2023 10:06:44 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptOAz-0000o8-NR; Mon, 01 May 2023 03:42:25 -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 1ptOAx-0000nK-Sj for emacs-orgmode@gnu.org; Mon, 01 May 2023 03:42:24 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptOAv-0005IH-OC for emacs-orgmode@gnu.org; Mon, 01 May 2023 03:42:23 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6E6FF2400A5 for ; Mon, 1 May 2023 09:42:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1682926938; bh=nR7DuDAjotKERhOCMVPpL3bKDbl7naX0yesfeku+vxw=; h=From:To:Cc:Subject:Date:From; b=YWQJoNBCkfIvzyQ643tvLVlwNVb+LbCEqne+AL28FCEMd6S6QKEaa9o8IeNC3Jcip iuUTsloJHdMgcOsTbrqFtB4pwhVK/rAqkpGYK4rOjfIW56CuN1JUdvInNwkMhcKUZs w5v8iCfvZbbEWY6Oee8NTez80iVA1fx4B/0CpNg3PMmk5K/LAqN/F3cUuy2vbU5VFW 5dH9SHN7Z0ku5ImdPHOZ3LboRPKWt14uWWh9RS8/+VDnbw5b9WEmI8wuBELEAy26QJ 8yrgqphitCZuKoUnTylP2kywqHbnnI/zXMbRRa0O0MVg0iy7U65xa8dz5jpu0PKDXs x15LO+R3TZ4Tw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q8wCY6xM7z6txY; Mon, 1 May 2023 09:42:17 +0200 (CEST) From: Ihor Radchenko To: "Christopher M. Miles" Cc: Org-mode Subject: Re: [Need Help] Error to evaluate "mpv" command in inline src block In-Reply-To: References: <87354hs9pz.fsf@localhost> Date: Mon, 01 May 2023 07:45:18 +0000 Message-ID: <87mt2oqyup.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682928404; a=rsa-sha256; cv=none; b=jMyKV6dQieXZmREoOoF53um8SmMfBmytR5ewgzLedpogrHJY4SP73nIRlulWgZWd7VPQvQ r1Q21t5R0xyk2QsScdGKPKgolzpm8hkar/uxKIOVx8DNuEfqu1//Je9rKJuadMdbj65J8W s7Pnkq5eOzUBarwZ27H1Co9iK0IoPHFwTOuzGXTSIFaJHS+7WpcAuw3kijyNmPbenoILNW Pe/yfTAznWaRt11XcFWSXKd/Of0SSrqLSgqmnA5Fa6S5v6kQjXLYhDzjW42q4b6YsDDtW4 QHCvPz+oznbL64Gvt2uoz3xvV2FAH+5AViOeOdj8ffAduRcSp9MtWrtD7ewRtw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=YWQJoNBC; dmarc=pass (policy=none) header.from=posteo.net; 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=1682928404; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=vIiNJfOQ8cT4OCaaW8eVbviHI0DC4Lach6VgrMgavb8=; b=cphjJ5+XF8QlzVg9ypS3B70n/TbVmmjwWlHXF0EsdD3AFJlx+yC/s1S2SSj/Y/APCEK1yC FqZydjZrKjMkPOOCIMjDi97quw+VgVFRythmlcdBU3tZyCxe92Mdj3Wi3+IsNZrDUF3t/g dg4aBosGNwRTJumosAt19eI0AD+YCoduWoNTvZPKEzUZzxL8o44LTbWsTdjOfAF/z0HKPN mNhkuFkluSZgR5WLNfWuz4SzrfHgEKZremIuQKQKxz31ugsADVkpzaofxklAbtOHpoBSuv sRjkgTUtEF/75MYlUx6s8niIvtUoU+P/7o47Ldh7mlWhAdCBudkIqno60G3IZA== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=YWQJoNBC; dmarc=pass (policy=none) header.from=posteo.net; 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-Migadu-Spam-Score: -6.19 X-Spam-Score: -6.19 X-Migadu-Queue-Id: 3C23F3929 X-TUID: 7BQrYiaRE8Wk "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 video= , 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" commands = 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. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at