From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 85B291582EF for ; Sun, 23 Feb 2025 13:00:56 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 864393432DE for ; Sun, 23 Feb 2025 13:00:42 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A7CFD11047C; Sun, 23 Feb 2025 12:59:33 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 0C2D1110105 for ; Sun, 23 Feb 2025 12:59:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1740315564; x=1740920364; i=warp_7@gmx.de; bh=qaC5T+1dC4x+4B1SBqZvfoUwsHFoKuBeA4DB8bNgcow=; h=X-UI-Sender-Class:Date:From:To:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=pBcvG8pCoJ5PlhjHnQri9NYLG2AFVEBOyqEfzHQTE7+j8Syv93xCrYO09NbziBU5 /nkka94Pg3wreocIB3r9CtdwXWiRPLT4l0fJy/b7NUUYQcYY0j21R8dvC6yw/Y/t7 g5E4FNUOM87vLihm8qgF4dIc3KXYUQLaGelTZPXkEfivg1JHc8coK11TNCyIsrsBw dSfCHkAIJu9Nz4bEhh42qRai+vIXxcVBVpHSuS8+A0s6NYogu5jwa9DlrDlQFByb1 b8sKeoXG7qPldBLQ/xGLuDyD4JHzemBMffCGTDjAHzSSybVpC8WAdEcsvlPdwpidT h9sZOHtPq9m2FRHdyw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from q ([89.245.63.117]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MRmfi-1tsKH32L4k-00L1po for ; Sun, 23 Feb 2025 13:54:19 +0100 Date: Sun, 23 Feb 2025 13:54:18 +0100 From: Frank Steinmetzger To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: media-video/gpac and media-video/mplayer fails to build. Message-ID: Mail-Followup-To: gentoo-user@lists.gentoo.org References: <6d4f4650-2e42-f730-8896-169061cf2df7@gmail.com> <9514.1740274441@owl.pooh.corner> <0cb411b9-3a6f-8a52-c6ab-f0d60aa5d181@gmail.com> <2360596.ElGaqSPkdT@rogueboard> <98f14178-00d7-e730-e575-c840a5319f92@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hwtlBa09HCWSsNV5" Content-Disposition: inline In-Reply-To: <98f14178-00d7-e730-e575-c840a5319f92@gmail.com> User-Agent: Mutt 2.2.13; VIM - Vi IMproved 9.1 X-Provags-ID: V03:K1:dqUInQICgvRUiX1A5jqyoduPlWuuBJGzSna9zvXvktj5ooYkMz8 orTSd3SW2kQ3O3B8TJfSnoFSRkJQCCZ8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ayiVo56Rfm2drtWvdlNjgo6h9A/zVZ9E0 cuKtQ08GlzITWkVwc4Bkpx7eHui2nOAbhlSPkkxI/7KrqfWsxVoRSSaMCrhjFx3mMynRmjXk9 UBPO+2TThwM0VK2x+rF/7pOSU+EChZrILm5B7Z2iX6Y5ei2ZNjd9EQxT5KnxYYSTxlLkqkYN8 dxOycw1gMQ1tbdc7gvkyGDWKBnJxgvVTNOzn0JEnlBbE1ikbzgvOJtXjEUfvtECuNapScZVXV OP19Wnr/NzUWae5mFuSLPFSkpzCtIfCKAlO2AvtzVxtTKd0FBw7OX83OB3EAR1giPNiWu77nH D88E7JzBNoI1rhFZR9Wz+AcQezcXxGi/n2U5tIjvwTZvJvooG0MBO7xw0lv000I8oeBYGHji7 /GLfDFalxRgwlMn3He5hgsWBzB8dXYhRSipCwI7e60a2UxvHSCb61cMGI0RmMw/fLVyx89/Lx h88JP/myDYUC47iAGtYGHqkpD1f60d8DX1pv6phTKWRZlV8mEF1exfQbrmkKNVqV+Gs1d5HfD kID7IJN4lOGzbtKRwkXeOuYOZIyoIVAqYpMSdCcygaqh06oT9ZTnlnFxti X-Archives-Salt: d472410f-9541-4080-99a2-da9a5a9db05a X-Archives-Hash: 961812fa381202189e3f0308000e592c --hwtlBa09HCWSsNV5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Am Sun, Feb 23, 2025 at 04:21:20AM -0600 schrieb Dale: > Michael wrote: > > On Sunday, 23 February 2025 07:53:28 Greenwich Mean Time Dale wrote: > > > >> I do wish mpv had a volume control for audio tho. > > It does. From the fine manual: > > > > / and * > > Decrease/increase volume. > > > > Also, on the GUI, if you scroll with your mouse up or down you alter th= e audio=20 > > volume. > > >=20 > The keyboard option does work.=C2=A0 I didn't know that.=C2=A0 I have a s= peaker > icon that I can click on to mute/unmute but that's it.=C2=A0 I'd like to = have > a control that I can click on and adjust, or better yet, just show up > all the time.=C2=A0 When I scroll the mouse wheel, it moves forward or > backward.=C2=A0 I prefer that really.=C2=A0 I'm bad to skip forward throu= gh bits I > don't want to watch.=C2=A0 The arrow keys work but the mouse button is fa= ster > for me.=C2=A0 Mpv has many useful and not too hard to remember keyboard assignments that= =20 you might find useful: previous/next chapter: ! and @ (and PgUp/PgDown, but I reassinged those) previous/next file: < and > show position: o show file info: i hide video window: _ (I just found that out myself when I wanted to verify some of my entrie= s) Below are some useful entries from my ~/.config/mpv/input.conf. I=E2=80=99m= also not=20 very fond of some of mpv=E2=80=99s defaults, like seeking on cursor up/down= , so I=20 changed it and added some conveniences on my own: # Seeking mapped to the most universal keys for volume by default? I think = not. down add volume -5 up add volume +5 # do the big seek on page keys instead PgUp seek 60 PgDwn seek -60 Ctrl+g show_progress # full screen on middle click MOUSE_BTN1 cycle fullscreen # go back a bit on right mouse button MOUSE_BTN2 seek -5 # volume control with mouse wheel MOUSE_BTN3 add volume +5 MOUSE_BTN4 add volume -5 # some more groupings for seeking and playback speed (big and small increme= nts) F1 seek -60 F2 seek -5 F3 seek 5 F4 seek 60 F5 multiply speed 0.8 F6 multiply speed 0.9091 F7 multiply speed 1.1 F8 multiply speed 1.25 : add audio-delay 0.100 ; add audio-delay -0.100 x add audio-delay -0.100 X add audio-delay 0.100 / multiply speed 0.8 * multiply speed 1.25 - multiply speed 0.5 + multiply speed 2.0 9 multiply speed 0.6666 0 multiply speed 1.5 # and the same on the numpad KP_DIVIDE multiply speed 0.8 KP_MULTIPLY multiply speed 1.25 KP_SUBTRACT multiply speed 0.5 KP_ADD multiply speed 2.0 9 multiply speed 0.6666 0 multiply speed 1.5 s cycle sub +1 S cycle sub -1 a cycle audio +1 A cycle audio -1 Ctrl+a cycle video-aspect-override +1 Ctrl+A cycle video-aspect-override -1 P screenshot # rotate video, e.g. to watch portrait video full-screen e cycle_values video-rotate 90 180 270 0 > I have to admit, I keep saying I want to build playlist files for mpv, > smplayer or any other player, and then instead of selecting a large list > of videos, I just click on the playlist file, right click and open with > preferred player would be a good option too if one file would work with > any player. >[=E2=80=A6] > I have some videos that have parts in a foreign language.=C2=A0 > For those, I have the subtitle files.=C2=A0 If I go to a directory and ju= st > do a CTRL + A and try to open with Smplayer, the subtitle file makes it > not want to open because it is not a video file.=C2=A0 The file types are > mixed. You could clean the directories up by merging the subtitles into the video= =20 files. Avi does not officially support that, but the more modern containers= =20 like mp4 and mkv do. If they are not too many, you can do it manually with= =20 mkvtoolnix, it has a nice GUI in which you can enter all sorts of metadata,= =20 like stream language. But if they are too many, a script for mkvmerge might= =20 be better. What numbers are we talking about? > That file, because it has the same name as the video, is buried > in there, somewhere.=C2=A0 Then when I added Franks checksum tool, it add= s a > file to but I named it so that it will always be at the top.=C2=A0 I do a > CTRL + A then click that file while holding the CTRL key to deselect > it.=C2=A0 Still, it's a extra step.=C2=A0 Having a playlist file would av= oid all > of that.=C2=A0 To speed up the selection process, you could sort by file type and then=20 select only the relevant block of files, or filter for your video file=20 extension with Dolphin=E2=80=99s Ctrl+I filter bar. > Another reason I haven't done this, I have well north of 600 directories > that I need to create playlists for.=C2=A0 It would take a while but I co= uld > create them as I go to them to watch the videos.=C2=A0 I just need to find > out how this is done.=C2=A0 I'm thinking just doing a ls and piping it to= a > file should work. Year, that=E2=80=99s what I thought of, too, when I read this. :) > I may have to edit out any subtitle files but other than that, might=20 > work.=C2=A0 Then again, there may be some tool that does this already.=C2= =A0 > [=E2=80=A6] > One of these days.=C2=A0 At least now I can play my videos and have a cle= an > emerge after updating.=C2=A0 ;-)=C2=A0 I wonder, does Frank have a nifty = script > for creating playlist files????/=C2=A0 ROFL=C2=A0 Hehehe. Not an existing script, but I can scribble a one-liner. ;-) Assuming your video structure is flat (just one level deep): for d in */; do (cd "$d"; ls *.{avi,mkv,mp4,webm} > playlist.m3u); done This goes into each subdirectory and puts a list of all the mentioned file= =20 extensions into a file. Amend the list of extensions to your need. This is= =20 the inclusive way. The exclusive way is to instead of listing specific=20 extensions, list everything and filter them out: ls | grep -vE '\.(ssa|srt|sub|idx|vtt|md5)$' > playlist.m3u This filters out some subtitle filetypes that I am aware of, amend as=20 needed. --=20 Gr=C3=BC=C3=9Fe | Greetings | Salut | Qapla=E2=80=99 Please do not share anything from, with or about me on any social network. begin signature_virus Hi! I=E2=80=99m a signature virus. Please copy me to your signature to help me spread. end --hwtlBa09HCWSsNV5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEVbE9o2D2lE5fhoVsizG+tUDUMMoFAme7GngACgkQizG+tUDU MMouMBAAudBXBkwMk2mQqHEohWQHs9cAxjjgOy+UzH9P8xWk/nEJ10wh353PJpk0 Vm8vuZWkUcZFUute9SmksvJFYFBwrdCqhbKFkNbXNkKwsP+dcwnouKJo6PEHau7D KJG/kY+XERlz7u5p3k1i1KLIhXCVRG0bPD2t27KQGxthar/3hHFJGvKANB3h9Yf9 PcUYn/f/yHkTvwP/P7MhpqVyBnZb1tQMOjU9fvs5jiqXmf8yXfb7QKWzsDv6sGmU RHDkt+ksJiFlpHsyQjOF+SBteLoLFxU1Q8lFn0pK5c9oiNjgs7bGtpBRmO3OKY4o zHCeJJ7RWzV962koTQoF6u2TIk7CCT/rrRke5x53e1egneadccfXo71mE8pQVg4k epKeieDxXVyJTM5f95CQPNk1Ot0mATALio2/SNcHJxrzcWfxqsSK0lrp1DZyBLMS IIS1tIyPK/7ZUE/2ICpU3sTUcoXsZGqy95RTXOfYDVHHdqdKDWtH3bgyUIeTLsII PbNy53eQFA2Ec5F+4KnpaqBzk8K5fvV/fzx8yP9SRm71YZ/2hl5nr6/YqLuBOrHY InQBO+ZeUNDlLo2YVJ1VVV86Avw0abSNKm7BubO9Bg332qOcmA1GlTZYh7Ogks4H BeTQLROc6NubfSiFV2ggmYV0I6n/H1EU8boBxlHmYha0cef4+qI= =BQDP -----END PGP SIGNATURE----- --hwtlBa09HCWSsNV5--