Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why
I have here a video from youtube via yt-dlp that plays normally on gpac (normally but somewhat limit apparently for either graphics card or processor) but music runs well, and I do not know if gpac generally has good video quality or not, and that does play only music on vlc but with a black screen. Normally if a video is so big it cannot play it should be interlaced in vlc, isn't this the case? How can I understand what is the reason for it to play on one player and not on the other (but only music). Is there a log that could complain about something in vlc? Operating System: openSUSE Tumbleweed 20241121 KDE Plasma Version: 6.2.3 KDE Frameworks Version: 6.8.0 Qt Version: 6.8.0 Kernel Version: 6.11.8-1-default (64-bit) Graphics Platform: X11 Processors: 12 × AMD Ryzen 5 5600G with Radeon Graphics Memory: 125.2 GiB of RAM Graphics Processor: AMD Radeon Pro W5500 Product Name: X570 Phantom Gaming 4 VLC: RPM version 4.19.1.1 gpac: RPM version 4.19.1.1 video is webm size 279,7 mb dimension: 3840x2160 bitrate 13,5 Mbit/s freq: 23,98 fps poportions: 1,78:1 my screen is Lenovo T32H-20 resolution 2560x1440 which is, I belief, not hardware wise limited but Mesa Radeon graphics driver related (the Radeon Pro W5500 has 3840x2160 as maximum resolution although not for games. https://www.techpowerup.com/gpu-specs/radeon-pro-w5500.c3479 are the details of the card. Shouldn't vlc downsize the video on a smaller resolution? were can I set this as automatic default. Thank you.
Hello, In the Message; Subject : Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <2011286.1B6X9YZ1mS@silversurfer> Date & Time: Sun, 24 Nov 2024 10:47:49 +0100 Stakanov via openSUSE Users <users@lists.opensuse.org> has written:
I have here a video from youtube via yt-dlp that plays normally on gpac [...] my screen is Lenovo T32H-20 resolution 2560x1440 which is, I belief, not hardware wise limited but Mesa Radeon graphics driver related (the Radeon Pro W5500 has 3840x2160 as maximum resolution although not for games. https://www.techpowerup.com/gpu-specs/radeon-pro-w5500.c3479 are the details of the card. Shouldn't vlc downsize the video on a smaller resolution? were can I set this as automatic default.
I'm going to sleep now, so for the benefit of others who are giving advice. Please show the results of ; 1. $ vlc --version 2. $ gpac 3. $ rpm -qa | grep vlc 4. $ vdpauinfo 5. $ vainfo 6. rpm -qa | grep 4\\.4\\.4 Best Regards & Good Night. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ " Reading widely about things that don't seem immediately or practically useful, in the hope that what you learn now may prove meaningful later―that's pretty much the definition of a liberal- arts education. Who knew that one of its best defenders would turn out to be a computer scientist? " -- "What Does It Really Mean to Learn?" THE NEW YORKER --
Hello,
In the Message;
Subject : Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <2011286.1B6X9YZ1mS@silversurfer> Date & Time: Sun, 24 Nov 2024 10:47:49 +0100
Stakanov via openSUSE Users <users@lists.opensuse.org> has written:
I have here a video from youtube via yt-dlp that plays normally on gpac
[...]
my screen is Lenovo T32H-20 resolution 2560x1440 which is, I belief, not hardware wise limited but Mesa Radeon graphics driver related (the Radeon Pro W5500 has 3840x2160 as maximum resolution although not for games. https://www.techpowerup.com/gpu-specs/radeon-pro-w5500.c3479 are the details of the card. Shouldn't vlc downsize the video on a smaller resolution? were can I set this as automatic default.
I'm going to sleep now, so for the benefit of others who are giving advice.
Please show the results of ;
1. $ vlc --version
2. $ gpac
3. $ rpm -qa | grep vlc
4. $ vdpauinfo
5. $ vainfo
6. rpm -qa | grep 4\\.4\\.4
Best Regards & Good Night.
--- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ " Reading widely about things that don't seem immediately or practically useful, in the hope that what you learn now may
In data domenica 24 novembre 2024 12:27:05 Ora standard dell’Europa centrale, Masaru Nomiya ha scritto: prove
meaningful later―that's pretty much the definition of a
liberal-
arts education. Who knew that one of its best defenders
would turn
out to be a computer scientist? "
-- "What Does It Really Mean to Learn?" THE NEW YORKER --
VLC: RPM version 4.19.1.1 gpac: RPM version 4.19.1.1 vlc --version VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8) VLC versione 3.0.21 Vetinari (3.0.21-0-gdd8bfdbabe8) Compilato da abuild su obs-build (Nov 11 2024 11:11:11) Compilatore: gcc version 14.2.1 20241007 [revision 4af44f2cf7d281f3e4f3957efce10e8b2ccb2ad3] (SUSE Linux) gpac does not give result with --version so: gpac - GPAC command line filter engine - version 2.4-revrelease is what I found video is webm size 279,7 mb dimension: 3840x2160 bitrate 13,5 Mbit/s freq: 23,98 fps poportions: 1,78:1 entropy@silversurfer:~> rpm -qa | grep vlc vlc-codec-fluidsynth-3.0.21-1699.8.pm.1.x86_64 vlc-lang-3.0.21-1699.8.pm.1.noarch libvlc5-3.0.21-1699.8.pm.1.x86_64 vlc-qt-3.0.21-1699.8.pm.1.x86_64 libvlccore9-3.0.21-1699.8.pm.1.x86_64 libvlc-gtk0-0.6.8.20210620.c5781e5-1699.1.pm.31.x86_64 vlc-noX-3.0.21-1699.8.pm.1.x86_64 vlc-vdpau-3.0.21-1699.8.pm.1.x86_64 vlc-codecs-3.0.21-1699.8.pm.1.x86_64 phonon-vlc-lang-0.12.0-2.3.noarch phonon-vlc-qt6-0.12.0-2.3.x86_64 vlc-codec-gstreamer-3.0.21-1699.8.pm.1.x86_64 vlc-3.0.21-1699.8.pm.1.x86_64 entropy@silversurfer:~> vdpauinfo display: :0 screen: 0 API version: 1 Information string: G3DVL VDPAU Driver Shared Library version 1.0 Video surface: name width height types ------------------------------------------- 420 16384 16384 NV12 YV12 422 16384 16384 UYVY YUYV 444 16384 16384 Y8U8V8A8 V8U8Y8A8 420_16 16384 16384 P010 P016 422_16 16384 16384 444_16 16384 16384 Decoder capabilities: name level macbs width height ---------------------------------------------------- MPEG1 --- not supported --- MPEG2_SIMPLE 3 65536 4096 4096 MPEG2_MAIN 3 65536 4096 4096 H264_BASELINE 52 65536 4096 4096 H264_MAIN 52 65536 4096 4096 H264_HIGH 52 65536 4096 4096 VC1_SIMPLE 1 65536 4096 4096 VC1_MAIN 2 65536 4096 4096 VC1_ADVANCED 4 65536 4096 4096 MPEG4_PART2_SP 3 65536 4096 4096 MPEG4_PART2_ASP 5 65536 4096 4096 DIVX4_QMOBILE --- not supported --- DIVX4_MOBILE --- not supported --- DIVX4_HOME_THEATER --- not supported --- DIVX4_HD_1080P --- not supported --- DIVX5_QMOBILE --- not supported --- DIVX5_MOBILE --- not supported --- DIVX5_HOME_THEATER --- not supported --- DIVX5_HD_1080P --- not supported --- H264_CONSTRAINED_BASELINE 0 65536 4096 4096 H264_EXTENDED --- not supported --- H264_PROGRESSIVE_HIGH --- not supported --- H264_CONSTRAINED_HIGH --- not supported --- H264_HIGH_444_PREDICTIVE --- not supported --- VP9_PROFILE_0 --- not supported --- VP9_PROFILE_1 --- not supported --- VP9_PROFILE_2 --- not supported --- VP9_PROFILE_3 --- not supported --- HEVC_MAIN 186 139264 8192 4352 HEVC_MAIN_10 186 139264 8192 4352 HEVC_MAIN_STILL --- not supported --- HEVC_MAIN_12 --- not supported --- HEVC_MAIN_444 --- not supported --- HEVC_MAIN_444_10 --- not supported --- HEVC_MAIN_444_12 --- not supported --- AV1_MAIN --- not supported --- AV1_HIGH --- not supported --- AV1_PROFESSIONAL --- not supported --- Output surface: name width height nat types ---------------------------------------------------- B8G8R8A8 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 A8I8 I8A8 R8G8B8A8 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 A8I8 I8A8 R10G10B10A2 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 A8I8 I8A8 B10G10R10A2 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 A8I8 I8A8 Bitmap surface: name width height ------------------------------ B8G8R8A8 16384 16384 R8G8B8A8 16384 16384 R10G10B10A2 16384 16384 B10G10R10A2 16384 16384 A8 16384 16384 Video mixer: feature name sup ------------------------------------ DEINTERLACE_TEMPORAL y DEINTERLACE_TEMPORAL_SPATIAL - INVERSE_TELECINE - NOISE_REDUCTION y SHARPNESS y LUMA_KEY y HIGH QUALITY SCALING - L1 y HIGH QUALITY SCALING - L2 - HIGH QUALITY SCALING - L3 - HIGH QUALITY SCALING - L4 - HIGH QUALITY SCALING - L5 - HIGH QUALITY SCALING - L6 - HIGH QUALITY SCALING - L7 - HIGH QUALITY SCALING - L8 - HIGH QUALITY SCALING - L9 - parameter name sup min max ----------------------------------------------------- VIDEO_SURFACE_WIDTH y 48 4096 VIDEO_SURFACE_HEIGHT y 48 4096 CHROMA_TYPE y LAYERS y 0 4 attribute name sup min max ----------------------------------------------------- BACKGROUND_COLOR y CSC_MATRIX y NOISE_REDUCTION_LEVEL y 0.00 1.00 SHARPNESS_LEVEL y -1.00 1.00 LUMA_KEY_MIN_LUMA y LUMA_KEY_MAX_LUMA y entropy@silversurfer:~> vainfo Il programma 'vainfo' può essere trovato nel seguente pacchetto: * libva-utils [ percorso: /usr/bin/vainfo, repository: download.opensuse.org-oss ] Per installarlo, usare: sudo zypper install libva-utils entropy@silversurfer:~> sudo zypper install libva-utils So I installed and that gives now: entropy@silversurfer:~> vainfo Trying display: wayland Trying display: x11 libva info: VA-API version 1.22.0 libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_22 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.22 (libva 2.22.0) vainfo: Driver version: Mesa Gallium driver 24.2.7 for AMD Radeon Pro W5500 (radeonsi, navi14, LLVM 19.1.4, DRM 3.59, 6.11.8-1-default) vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointEncSlice VAProfileHEVCMain10 : VAEntrypointVLD VAProfileHEVCMain10 : VAEntrypointEncSlice VAProfileJPEGBaseline : VAEntrypointVLD VAProfileVP9Profile0 : VAEntrypointVLD VAProfileVP9Profile2 : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc entropy@silversurfer:~> rpm -qa | grep 4\\.4\\.4 libavfilter7_110-4.4.4-1699.22.pm.9.x86_64 libavutil56_70-4.4.4-1699.22.pm.9.x86_64 libpostproc55_9-4.4.4-1699.22.pm.9.x86_64 libavcodec58_134-4.4.4-1699.22.pm.9.x86_64 libavdevice58_13-4.4.4-1699.22.pm.9.x86_64 libavresample4_0-4.4.4-1699.22.pm.9.x86_64 libavformat58_76-4.4.4-1699.22.pm.9.x86_64 libswresample3_9-4.4.4-1699.22.pm.9.x86_64 libswscale5_9-4.4.4-1699.22.pm.9.x86_64 Note: about rpm -qa | grep 4\\.4\\.4 cute command, this is new to me, could you explain me what the grep does? have a good night sleep Thank you.
Hello, In the Message; Subject : Re: Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <1860476.1VbaOGCpvI@silversurfer> Date & Time: Sun, 24 Nov 2024 14:15:59 +0100 Stakanov via openSUSE Users <users@lists.opensuse.org> has written: Thanks. [...]
vlc --version VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8) VLC versione 3.0.21 Vetinari (3.0.21-0-gdd8bfdbabe8) Compilato da abuild su obs-build (Nov 11 2024 11:11:11) Compilatore: gcc version 14.2.1 20241007 [revision 4af44f2cf7d281f3e4f3957efce10e8b2ccb2ad3] (SUSE Linux)
gpac does not give result with --version so:
gpac - GPAC command line filter engine - version 2.4-revrelease is what I found
video is webm size 279,7 mb dimension: 3840x2160 bitrate 13,5 Mbit/s freq: 23,98 fps poportions: 1,78:1
The problem with video playback in gpac is due to the codec, and this will not occur if it is compiled with ffmpeg-4. entropy@silversurfer:~> rpm -qa | grep vlc
vlc-codec-fluidsynth-3.0.21-1699.8.pm.1.x86_64 vlc-lang-3.0.21-1699.8.pm.1.noarch libvlc5-3.0.21-1699.8.pm.1.x86_64 vlc-qt-3.0.21-1699.8.pm.1.x86_64 libvlccore9-3.0.21-1699.8.pm.1.x86_64 libvlc-gtk0-0.6.8.20210620.c5781e5-1699.1.pm.31.x86_64 vlc-noX-3.0.21-1699.8.pm.1.x86_64 vlc-vdpau-3.0.21-1699.8.pm.1.x86_64 vlc-codecs-3.0.21-1699.8.pm.1.x86_64 phonon-vlc-lang-0.12.0-2.3.noarch phonon-vlc-qt6-0.12.0-2.3.x86_64 vlc-codec-gstreamer-3.0.21-1699.8.pm.1.x86_64 vlc-3.0.21-1699.8.pm.1.x86_64
entropy@silversurfer:~> vdpauinfo [...]
Decoder capabilities:
name level macbs width height ---------------------------------------------------- MPEG1 --- not supported --- MPEG2_SIMPLE 3 65536 4096 4096 MPEG2_MAIN 3 65536 4096 4096 H264_BASELINE 52 65536 4096 4096 H264_MAIN 52 65536 4096 4096 H264_HIGH 52 65536 4096 4096 VC1_SIMPLE 1 65536 4096 4096 VC1_MAIN 2 65536 4096 4096 VC1_ADVANCED 4 65536 4096 4096 MPEG4_PART2_SP 3 65536 4096 4096 MPEG4_PART2_ASP 5 65536 4096 4096 DIVX4_QMOBILE --- not supported --- DIVX4_MOBILE --- not supported --- DIVX4_HOME_THEATER --- not supported --- DIVX4_HD_1080P --- not supported --- DIVX5_QMOBILE --- not supported --- DIVX5_MOBILE --- not supported --- DIVX5_HOME_THEATER --- not supported --- DIVX5_HD_1080P --- not supported --- H264_CONSTRAINED_BASELINE 0 65536 4096 4096 H264_EXTENDED --- not supported --- H264_PROGRESSIVE_HIGH --- not supported --- H264_CONSTRAINED_HIGH --- not supported --- H264_HIGH_444_PREDICTIVE --- not supported --- VP9_PROFILE_0 --- not supported --- VP9_PROFILE_1 --- not supported --- VP9_PROFILE_2 --- not supported --- VP9_PROFILE_3 --- not supported --- HEVC_MAIN 186 139264 8192 4352 HEVC_MAIN_10 186 139264 8192 4352 HEVC_MAIN_STILL --- not supported --- HEVC_MAIN_12 --- not supported --- HEVC_MAIN_444 --- not supported --- HEVC_MAIN_444_10 --- not supported --- HEVC_MAIN_444_12 --- not supported --- AV1_MAIN --- not supported --- AV1_HIGH --- not supported --- AV1_PROFESSIONAL --- not supported ---
With these specs, it is probably not possible to play back webm files with video codecs vp8 or vp9. As a solution, 1. In the VLC settings, go to Tools --> Preferences --> Input / Cidecs and set 'Hardware-accelerated decoding' to Disable to play the video 2. When downloading videos with yt-dlp, specify a format other than webm. Example $ yt-dlp --recode-video mp4 URL
Note: about rpm -qa | grep 4\\.4\\.4 cute command, this is new to me, could you explain me what the grep does?
If i don't escape the ., I get these; libbfio1-20240414-1.1.x86_64 libcsplit1-20240414-1.1.x86_64 texlive-font-change-xetex-2024.216.2016.1svn40404-56.1.noarch libgweather-4-0-4.4.4-1.1.x86_64 libcpath1-20240414-1.1.x86_64 libclocale1-20240414-1.1.x86_64 libswscale5_9-4.4.4-200.33.x86_64 libfcache1-20240414-1.1.x86_64 libavutil56_70-4.4.4-200.33.x86_64 texlive-font-change-xetex-doc-2024.216.2016.1svn40404-56.1.noarch gweather4-data-4.4.4-1.1.x86_64 libavcodec58_134-4.4.4-200.33.x86_64 [...] Best Regards. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Japan was the future but it's stuck in the past" -- Rupert Wingfield-Hayes (BBC) --
Hello, Sorry, I forgot. In the Message; Subject : Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <2011286.1B6X9YZ1mS@silversurfer> Date & Time: Sun, 24 Nov 2024 10:47:49 +0100 Stakanov via openSUSE Users <users@lists.opensuse.org> has written: [...]
my screen is Lenovo T32H-20 resolution 2560x1440 which is, I belief, not hardware wise limited but Mesa Radeon graphics driver related (the Radeon Pro W5500 has 3840x2160 as maximum resolution although not for games. https://www.techpowerup.com/gpu-specs/radeon-pro-w5500.c3479 are the details of the card. Shouldn't vlc downsize the video on a smaller resolution? were can I set this as automatic default.
vlc does not have a down-sizing function. Please downsize it as follows; $ ffmpeg -i INPUT.FILE -s 2560x1440 OUTPUT.FILE or $ ffmpeg -i INPUT.FILE -s 1920x1080 OUTPUT.FILE [...] The resolution that can be specified in this case. 2560x1440 1600x900 1280x720 1024x576 768x432 640x360 Best Regards. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Maddox hopes that empowering users to pick their own algorithms will get them to think more about what’s involved in making them. " -- Bluesky's Custom Algorithms Could Be the Future of Social Media --
On 2024-11-25 00:31, Masaru Nomiya wrote:
vlc does not have a down-sizing function. Please downsize it as follows;
$ ffmpeg -i INPUT.FILE -s 2560x1440 OUTPUT.FILE
or
$ ffmpeg -i INPUT.FILE -s 1920x1080 OUTPUT.FILE [...]
As the file was downloaded with yt-dlp, maybe just download a different version. I don't remember the exact method, but there is a switch to list the available versions, then you can fire the command requesting a specific version. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
On Mon, 25 Nov 2024 00:40:43 +0100, "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 2024-11-25 00:31, Masaru Nomiya wrote:
vlc does not have a down-sizing function. Please downsize it as follows;
$ ffmpeg -i INPUT.FILE -s 2560x1440 OUTPUT.FILE
or
$ ffmpeg -i INPUT.FILE -s 1920x1080 OUTPUT.FILE [...]
As the file was downloaded with yt-dlp, maybe just download a different version. I don't remember the exact method, but there is a switch to list the available versions, then you can fire the command requesting a specific version.
This is the entry I have in ~/.config/yt-dlp/config to automatically choose the largest version not exceeding certain display pixel dimensions: # Video format code, see the "FORMAT SELECTION" for all the info -f 'bestvideo*[width<=?2560][height<=?2560]+bestaudio/best[width<=?2560][height<=?2560]' -- Robert Webb
Hello, In the Message; Subject : Re: Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <970091422.3873723.1732873262003@mail.yahoo.com> Date & Time: Fri, 29 Nov 2024 09:41:01 +0000 (UTC) [RW] == Robert Webb via openSUSE Users <users@lists.opensuse.org> has written: RW> On Mon, 25 Nov 2024 00:40:43 +0100, "Carlos E. R." <robin.listas@telefonica.net> wrote: CER>> On 2024-11-25 00:31, Masaru Nomiya wrote: MN>>> vlc does not have a down-sizing function. Please downsize it as follows; MN>>> $ ffmpeg -i INPUT.FILE -s 2560x1440 OUTPUT.FILE MN>>> or MN>>> $ ffmpeg -i INPUT.FILE -s 1920x1080 OUTPUT.FILE [...]
CER>> As the file was downloaded with yt-dlp, maybe just download a different CER>> version. I don't remember the exact method, but there is a switch to CER>> list the available versions, then you can fire the command requesting a CER>> specific version. RW> This is the entry I have in ~/.config/yt-dlp/config to automatically RW> choose the largest version not exceeding certain display pixel RW> dimensions: RW> # Video format code, see the "FORMAT SELECTION" for all the info RW> -f 'bestvideo*[width<=?2560][height<=?2560]+bestaudio/best[width<=?2560][height<=?2560]' I don't understand what Robert is saying, not just Carlos. What is your yt-dlp? Mine is this; $ yt-dlp --version 2024.11.18 Are you saying that yt-dlp can change the size while downloading? If there is such a thing, I would like to know about it. If the file format is specified, yt-dlp changes the file format after downloading the file, right? Best Regards & Good Night. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ " Reading widely about things that don't seem immediately or practically useful, in the hope that what you learn now may prove meaningful later—that's pretty much the definition of a liberal- arts education. Who knew that one of its best defenders would turn out to be a computer scientist? " -- "What Does It Really Mean to Learn?" THE NEW YORKER --
On Fri, 29 Nov 2024 20:06:37 +0900, Masaru Nomiya <nomiya@lake.dti.ne.jp> wrote:
In the Message; Subject : Re: Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <970091422.3873723.1732873262003@mail.yahoo.com> Date & Time: Fri, 29 Nov 2024 09:41:01 +0000 (UTC)
[RW] == Robert Webb via openSUSE Users <users@lists.opensuse.org> has written:
RW> On Mon, 25 Nov 2024 00:40:43 +0100, "Carlos E. R." <robin.listas@telefonica.net> wrote:
CER>> As the file was downloaded with yt-dlp, maybe just download a different CER>> version. I don't remember the exact method, but there is a switch to CER>> list the available versions, then you can fire the command requesting a CER>> specific version.
RW> This is the entry I have in ~/.config/yt-dlp/config to automatically RW> choose the largest version not exceeding certain display pixel RW> dimensions:
RW> # Video format code, see the "FORMAT SELECTION" for all the info RW> -f 'bestvideo*[width<=?2560][height<=?2560]+bestaudio/best[width<=?2560][height<=?2560]'
I don't understand what Robert is saying, not just Carlos.
What is your yt-dlp? Mine is this; $ yt-dlp --version 2024.11.18
$ yt-dlp --version 2024.10.22
Are you saying that yt-dlp can change the size while downloading? If there is such a thing, I would like to know about it.
I do not know whether yt-dlp can *change* the size of videos. With my configuration, as posted above, yt-dlp *chooses* from among the several available sizes, the size most acceptable to me. It downloads that one and does not change the size.
If the file format is specified, yt-dlp changes the file format after downloading the file, right?
No. It downloads a file already in that format, if available. Maybe yt-dlp has options to modify a file after downloading, but I haven't looked into that. -- Robert Webb
On 2024-11-29 12:06, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <970091422.3873723.1732873262003@mail.yahoo.com> Date & Time: Fri, 29 Nov 2024 09:41:01 +0000 (UTC)
[RW] == Robert Webb via openSUSE Users <users@lists.opensuse.org> has written:
...
RW> This is the entry I have in ~/.config/yt-dlp/config to automatically RW> choose the largest version not exceeding certain display pixel RW> dimensions:
RW> # Video format code, see the "FORMAT SELECTION" for all the info RW> -f 'bestvideo*[width<=?2560][height<=?2560]+bestaudio/best[width<=?2560][height<=?2560]'
I don't understand what Robert is saying, not just Carlos.
What is your yt-dlp?
Mine is this;
$ yt-dlp --version 2024.11.18
Are you saying that yt-dlp can change the size while downloading?
No. The server can have several versions available for downloading, and you can choose which one you want. I do this in two steps (sorry, I don't remember where I kept my notes on this, so going from memory). First I query the server for the available versions. Second I choose one. But today I don't find the option to list the resolutions available. Ah, I did it with the ancestor of yt-dlp, that's why I do not find the option. You can do: yt-dlp --list-formats https://www.youtube.com/watch?v=xxzaAscpaCU it yields a lot of versions, and on the rightmost column you have the resolution. So just choose one with the ID number on the left. But I am confused by the "video only" choices. So Robert has concocted a line that chooses a version with a maximum resolution on the fly. cer@Telcontar:~/tmp/tmp> yt-dlp -f 'bestvideo*[width<=?2560][height<=?2560]+bestaudio/best[width<=?2560][height<=?2560]' https://www.youtube.com/watch?v=xxzaAscpaCU [youtube] Extracting URL: https://www.youtube.com/watch?v=xxzaAscpaCU [youtube] xxzaAscpaCU: Downloading webpage [youtube] xxzaAscpaCU: Downloading ios player API JSON [youtube] xxzaAscpaCU: Downloading mweb player API JSON [youtube] xxzaAscpaCU: Downloading m3u8 information [info] xxzaAscpaCU: Downloading 1 format(s): 271+251 [download] Destination: I bought the perfect Roller Compactor! (BUT ITS BROKEN) Can we fix it? [xxzaAscpaCU].f271.webm [download] 100% of 2.20GiB in 00:00:57 at 39.24MiB/s [download] Destination: I bought the perfect Roller Compactor! (BUT ITS BROKEN) Can we fix it? [xxzaAscpaCU].f251.webm [download] 100% of 49.41MiB in 00:00:02 at 17.29MiB/s [Merger] Merging formats into "I bought the perfect Roller Compactor! (BUT ITS BROKEN) Can we fix it? [xxzaAscpaCU].webm" Deleting original file I bought the perfect Roller Compactor! (BUT ITS BROKEN) Can we fix it? [xxzaAscpaCU].f271.webm (pass -k to keep) Deleting original file I bought the perfect Roller Compactor! (BUT ITS BROKEN) Can we fix it? [xxzaAscpaCU].f251.webm (pass -k to keep) cer@Telcontar:~/tmp/tmp> ls -lh total 2,3G -rw-r--r-- 1 cer users 2,3G Sep 15 22:51 I bought the perfect Roller Compactor! (BUT ITS BROKEN) Can we fix it? [xxzaAscpaCU].webm cer@Telcontar:~/tmp/tmp> mediainfo: Width : 2 560 pixels Height : 1 440 pixels I don't want that large resolution. cer@Telcontar:~/tmp/tmp> rm I\ bought\ the\ perfect\ Roller\ Compactor\!\ \ \(BUT\ ITS\ BROKEN\)\ Can\ we\ fix\ it?\ \[xxzaAscpaCU\].webm cer@Telcontar:~/tmp/tmp> yt-dlp -f 'bestvideo*[width<=?1080][height<=?1080]+bestaudio/best[width<=?1080][height<=?1080]' https://www.youtube.com/watch?v=xxzaAscpaCU [youtube] Extracting URL: https://www.youtube.com/watch?v=xxzaAscpaCU [youtube] xxzaAscpaCU: Downloading webpage [youtube] xxzaAscpaCU: Downloading ios player API JSON [youtube] xxzaAscpaCU: Downloading mweb player API JSON [youtube] xxzaAscpaCU: Downloading m3u8 information [info] xxzaAscpaCU: Downloading 1 format(s): 244+251 [download] Destination: I bought the perfect Roller Compactor! (BUT ITS BROKEN) Can we fix it? [xxzaAscpaCU].f244.webm [download] 100% of 157.74MiB in 00:00:10 at 14.65MiB/s [download] Destination: I bought the perfect Roller Compactor! (BUT ITS BROKEN) Can we fix it? [xxzaAscpaCU].f251.webm [download] 100% of 49.41MiB in 00:00:01 at 27.75MiB/s [Merger] Merging formats into "I bought the perfect Roller Compactor! (BUT ITS BROKEN) Can we fix it? [xxzaAscpaCU].webm" Deleting original file I bought the perfect Roller Compactor! (BUT ITS BROKEN) Can we fix it? [xxzaAscpaCU].f244.webm (pass -k to keep) Deleting original file I bought the perfect Roller Compactor! (BUT ITS BROKEN) Can we fix it? [xxzaAscpaCU].f251.webm (pass -k to keep) cer@Telcontar:~/tmp/tmp> ls -lh total 208M -rw-r--r-- 1 cer users 208M Sep 15 22:51 I bought the perfect Roller Compactor! (BUT ITS BROKEN) Can we fix it? [xxzaAscpaCU].webm cer@Telcontar:~/tmp/tmp> Width : 854 pixels Height : 480 pixels It hasn't worked that right, because I wanted 1080 pixels. cer@Telcontar:~/tmp/tmp> yt-dlp -f 'bestvideo*[width<=?1920][height<=?1080]+bestaudio/best[width<=?1920][height<=?1080]' https://www.youtube.com/watch?v=xxzaAscpaCU [youtube] Extracting URL: https://www.youtube.com/watch?v=xxzaAscpaCU [youtube] xxzaAscpaCU: Downloading webpage [youtube] xxzaAscpaCU: Downloading ios player API JSON [youtube] xxzaAscpaCU: Downloading mweb player API JSON [youtube] xxzaAscpaCU: Downloading m3u8 information [info] xxzaAscpaCU: Downloading 1 format(s): 248+251 [download] I bought the perfect Roller Compactor! (BUT ITS BROKEN) Can we fix it? [xxzaAscpaCU].webm has already been downloaded cer@Telcontar:~/tmp/tmp> rm I\ bought\ the\ perfect\ Roller\ Compactor\!\ \ \(BUT\ ITS\ BROKEN\)\ Can\ we\ fix\ it?\ \[xxzaAscpaCU\].webm cer@Telcontar:~/tmp/tmp> yt-dlp -f 'bestvideo*[width<=?1920][height<=?1080]+bestaudio/best[width<=?1920][height<=?1080]' https://www.youtube.com/watch?v=xxzaAscpaCU [youtube] Extracting URL: https://www.youtube.com/watch?v=xxzaAscpaCU [youtube] xxzaAscpaCU: Downloading webpage [youtube] xxzaAscpaCU: Downloading ios player API JSON [youtube] xxzaAscpaCU: Downloading mweb player API JSON [youtube] xxzaAscpaCU: Downloading m3u8 information [info] xxzaAscpaCU: Downloading 1 format(s): 248+251 [download] Destination: I bought the perfect Roller Compactor! (BUT ITS BROKEN) Can we fix it? [xxzaAscpaCU].f248.webm [download] 100% of 503.02MiB in 00:00:29 at 16.79MiB/s [download] Destination: I bought the perfect Roller Compactor! (BUT ITS BROKEN) Can we fix it? [xxzaAscpaCU].f251.webm [download] 100% of 49.41MiB in 00:00:01 at 31.17MiB/s [Merger] Merging formats into "I bought the perfect Roller Compactor! (BUT ITS BROKEN) Can we fix it? [xxzaAscpaCU].webm" Deleting original file I bought the perfect Roller Compactor! (BUT ITS BROKEN) Can we fix it? [xxzaAscpaCU].f248.webm (pass -k to keep) Deleting original file I bought the perfect Roller Compactor! (BUT ITS BROKEN) Can we fix it? [xxzaAscpaCU].f251.webm (pass -k to keep) cer@Telcontar:~/tmp/tmp> ls -lh total 553M -rw-r--r-- 1 cer users 553M Sep 15 22:51 I bought the perfect Roller Compactor! (BUT ITS BROKEN) Can we fix it? [xxzaAscpaCU].webm cer@Telcontar:~/tmp/tmp> mediainfo I\ bought\ the\ perfect\ Roller\ Compactor\!\ \ \(BUT\ ITS\ BROKEN\)\ Can\ we\ fix\ it?\ \[xxzaAscpaCU\].webm | grep "Width\|Height" Width : 1 920 pixels Height : 1 080 pixels cer@Telcontar:~/tmp/tmp> This is the one I want :-)
If there is such a thing, I would like to know about it.
If the file format is specified, yt-dlp changes the file format after downloading the file, right?
I think so, but I haven't tried. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Hello, Robert and Carlos, many thanks. In the Message; Subject : Re: Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <b52eeeb2-7eba-4fa9-8374-f2c7f961ef4c@telefonica.net> Date & Time: Fri, 29 Nov 2024 13:20:41 +0100 [CER] == "Carlos E. R." <robin.listas@telefonica.net> has written: [...] CER> You can do: CER> yt-dlp --list-formats https://www.youtube.com/watch?v=xxzaAscpaCU CER> it yields a lot of versions, and on the rightmost column you CER> have the resolution. So just choose one with the ID number on CER> the left. But I am confused by the "video only" choices. [...] Now I understand! I was under the impression that the size would be changed during the download. But I've learned something good. I've also learned why the -f mkv option is sometimes not accepted. BTW, I have a question. Recently, when I try to use yt-dlp, I get an error like this and can't use it, but is this not the case for you guys? ERROR: [youtube] k-k0KWAO9AA: Sign in to confirm you're not a bot. Use --cookies-from-browser or --cookies for the authentication. Best Regards. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Microsoft is overhauling its cybersecurity strategy, called the Secure Future Initiative, to incorporate key security features into its core set of technology platforms and cloud services. " -- Microsoft overhauls cyber strategy to finally embrace security by default --
On 2024-11-30 02:38, Masaru Nomiya wrote:
Hello,
Robert and Carlos, many thanks.
In the Message;
Subject : Re: Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <b52eeeb2-7eba-4fa9-8374-f2c7f961ef4c@telefonica.net> Date & Time: Fri, 29 Nov 2024 13:20:41 +0100
[CER] == "Carlos E. R." <robin.listas@telefonica.net> has written:
[...] CER> You can do:
CER> yt-dlp --list-formats https://www.youtube.com/watch?v=xxzaAscpaCU
CER> it yields a lot of versions, and on the rightmost column you CER> have the resolution. So just choose one with the ID number on CER> the left. But I am confused by the "video only" choices. [...]
Now I understand!
I was under the impression that the size would be changed during the download.
But I've learned something good.
I've also learned why the -f mkv option is sometimes not accepted.
Ah, right.
BTW, I have a question.
Recently, when I try to use yt-dlp, I get an error like this and can't use it, but is this not the case for you guys?
ERROR: [youtube] k-k0KWAO9AA: Sign in to confirm you're not a bot. Use --cookies-from-browser or --cookies for the authentication.
Dunno, I have not seen it. But I don't use much the downloader. I suspect google thinks the script is a bot — which it is, kind of. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
On Sat, 30 Nov 2024 10:38:25 +0900, Masaru Nomiya <nomiya@lake.dti.ne.jp> wrote:
BTW, I have a question.
Recently, when I try to use yt-dlp, I get an error like this and can't use it, but is this not the case for you guys?
ERROR: [youtube] k-k0KWAO9AA: Sign in to confirm you're not a bot. Use --cookies-from-browser or --cookies for the authentication.
No error for me: [substituted in the following output]: <prefix> = /home/robert/Downloads/yt/J.C. Bach: Quintet in D Major for Flute, Oboe, Violin, Cello & Keyboard, Op. 22, No. 1, W.B 76... $ yt-dlp -o '/home/robert/Downloads/yt/%(title)s-%(duration)ss-%(resolution)s-yt-%(id)s.%(ext)s' -k -- k-k0KWAO9AA [youtube] Extracting URL: k-k0KWAO9AA [youtube] k-k0KWAO9AA: Downloading webpage [youtube] k-k0KWAO9AA: Downloading ios player API JSON [youtube] k-k0KWAO9AA: Downloading mweb player API JSON [youtube] k-k0KWAO9AA: Downloading m3u8 information [info] k-k0KWAO9AA: Downloading 1 format(s): 247+251 [info] Writing video description to: <prefix>-557s-726x720-yt-k-k0KWAO9AA.description [info] Downloading video thumbnail 42 ... [info] Writing video thumbnail 42 to: <prefix>-557s-726x720-yt-k-k0KWAO9AA.webp [info] Writing video metadata as JSON to: <prefix>-557s-726x720-yt-k-k0KWAO9AA.info.json WARNING: There are no annotations to write. [download] Destination: <prefix>-557s-726x720-yt-k-k0KWAO9AA.f247.webm [download] 100% of 16.42MiB in 00:00:04 at 3.29MiB/s [download] Destination: <prefix>-557s-726x720-yt-k-k0KWAO9AA.f251.webm [download] 100% of 10.03MiB in 00:00:03 at 2.96MiB/s [Merger] Merging formats into "<prefix>-557s-726x720-yt-k-k0KWAO9AA.webm" Have you been downloading a lot from YouTube? For me, the download speed starts decreasing after some large downloads, so I try to spread them out. If you don't mind signing in to YouTube, you could do that with your web browser and then invoke yt-dlp with the --cookies-from-browser option. -- Robert Webb
Hello, In the Message; Subject : Re: Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <454195215.4499749.1733027308761@mail.yahoo.com> Date & Time: Sun, 1 Dec 2024 04:28:28 +0000 (UTC) [RW] == Robert Webb via openSUSE Users <users@lists.opensuse.org> has written: RW> On Sat, 30 Nov 2024 10:38:25 +0900, Masaru Nomiya <nomiya@lake.dti.ne.jp> wrote: MN> > BTW, I have a question. MN> > Recently, when I try to use yt-dlp, I get an error like this and can't MN> > use it, but is this not the case for you guys? MN> > ERROR: [youtube] k-k0KWAO9AA: Sign in to confirm you're not a MN> > bot. Use --cookies-from-browser or --cookies for the MN> > authentication. RW> No error for me: RW> [substituted in the following output]: RW> <prefix> = /home/robert/Downloads/yt/J.C. Bach: Quintet in D Major for Flute, Oboe, Violin, Cello & Keyboard, Op. 22, No. 1, W.B 76... RW> $ yt-dlp -o '/home/robert/Downloads/yt/%(title)s-%(duration)ss-%(resolution)s-yt-%(id)s.%(ext)s' -k -- k-k0KWAO9AA [...] RW> [download] Destination: <prefix>-557s-726x720-yt-k-k0KWAO9AA.f251.webm RW> [download] 100% of 10.03MiB in 00:00:03 at 2.96MiB/s RW> [Merger] Merging formats into "<prefix>-557s-726x720-yt-k-k0KWAO9AA.webm" RW> Have you been downloading a lot from YouTube? For me, the download RW> speed starts decreasing after some large downloads, so I try to spread RW> them out. RW> If you don't mind signing in to YouTube, you could do that with your web RW> browser and then invoke yt-dlp with the --cookies-from-browser option. Many thanks. I don't like watching videos, and I use yt-dlp exclusively to download the music files in videos. I don't do it very often. I happened to see Stakanov's email and tried it, and an error message appeared. I thought it was a new kind of youtube harassment, but when I saw your email and looked it up on Google, it was an implementation of yt-dlp. How do I pass cookies to yt-dlp? Passing cookies to yt-dlp is a good way to workaround login when a particular extractor does not implement it explicitly. Another use case is working around CAPTCHA some websites require you to solve in particular cases in order to get access (e.g. YouTube, CloudFlare). Best Regards. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ " The production of A.I. seems to carry a powerful side effect: as the machines generate intelligence, they also generate mystery. Human misunderstanding endures, possibly a permanent condition. " -- "Was Linguistic A.I. Created by Accident?" THE NEW YORKER --
Hello,
In the Message;
Subject : Re: Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <970091422.3873723.1732873262003@mail.yahoo.com> Date & Time: Fri, 29 Nov 2024 09:41:01 +0000 (UTC)
[RW] == Robert Webb via openSUSE Users <users@lists.opensuse.org> has written:
RW> On Mon, 25 Nov 2024 00:40:43 +0100, "Carlos E. R." <robin.listas@telefonica.net> wrote: CER>> On 2024-11-25 00:31, Masaru Nomiya wrote:
MN>>> vlc does not have a down-sizing function. Please downsize it as follows;
MN>>> $ ffmpeg -i INPUT.FILE -s 2560x1440 OUTPUT.FILE
MN>>> or
MN>>> $ ffmpeg -i INPUT.FILE -s 1920x1080 OUTPUT.FILE [...]
CER>> As the file was downloaded with yt-dlp, maybe just download a different CER>> version. I don't remember the exact method, but there is a switch to CER>> list the available versions, then you can fire the command requesting a CER>> specific version.
RW> This is the entry I have in ~/.config/yt-dlp/config to automatically RW> choose the largest version not exceeding certain display pixel RW> dimensions:
RW> # Video format code, see the "FORMAT SELECTION" for all the info RW> -f 'bestvideo*[width<=?2560][height<=?2560]+bestaudio/best[width<=?2560][heigh t<=?2560]'
I don't understand what Robert is saying, not just Carlos.
What is your yt-dlp?
Mine is this;
$ yt-dlp --version 2024.11.18
Are you saying that yt-dlp can change the size while downloading?
If there is such a thing, I would like to know about it.
If the file format is specified, yt-dlp changes the file format after downloading the file, right?
Best Regards & Good Night.
--- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ " Reading widely about things that don't seem immediately or practically useful, in the hope that what you learn now may
In data venerdì 29 novembre 2024 12:06:37 Ora standard dell’Europa centrale, Masaru Nomiya ha scritto: prove
meaningful later—that's pretty much the definition of a
liberal-
arts education. Who knew that one of its best defenders
would turn
out to be a computer scientist? "
-- "What Does It Really Mean to Learn?" THE NEW YORKER --
Actually, yt-dlp can change the file format and the size selected. By default it requests the largest size available if several are available. Typical example would be youtube where (following the quality / speed of your connect, the browser generally chooses the fitting size for not having the system run out of buffer when watching a video. yt-dlp can therefore choose which of the versions offered (but by default does not as it has all the time to download the file in the max size offered). The different formats are normally downloaded all together and they are then by default all integrated into a mvk file, unless you pass the -k (keep) option to yt-dlp and then you have the mkv and the different formats prior to integration. I think you are interested in the capacity to limit download size to a specific format (which yt-dlp can do). https://usercomp.com/news/1044021/yt-dlp-select-maximum-resolution-and-speci... gives an indication (just an example of many). P.S. sorry if you are already informed about all this, not my intention to do bikeshedding to be clear.
In data sabato 30 novembre 2024 10:18:58 Ora standard dell’Europa centr
I don't understand what Robert is saying, not just Carlos.
P.S. sorry if you are already informed about all this, not my intention to do bikeshedding to be clear.
Sorry I was the victim of Kontact/kmail that did hide the new messages from yesterday for nearly 15 minutes to finish "filtering tasks". So my message was actually redundant. Please disregard.
Hello, In the Message; Subject : Re: Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <5089922.oDNyiQoezu@silversurfer> Date & Time: Sat, 30 Nov 2024 10:26:00 +0100 Stakanov via openSUSE Users <users@lists.opensuse.org> has written:
In data sabato 30 novembre 2024 10:18:58 Ora standard dell’Europa centr
I don't understand what Robert is saying, not just Carlos.
P.S. sorry if you are already informed about all this, not my intention to do bikeshedding to be clear.
Sorry I was the victim of Kontact/kmail that did hide the new messages from yesterday for nearly 15 minutes to finish "filtering tasks". So my message was actually redundant. Please disregard.
Thanks for advice. Actually, I don't like watching videos, so I use yt-dlp exclusively to download the music files from videos. Best Regards. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "During testing, Sakana found that its system began unexpectedly attempting to modify its own experiment code to extend the time it had to work on a problem." -- Research AI model unexpectedly attempts to modify its own code to extend runtime (ars TECHNICA) --
On 2024-12-01 06:10, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <5089922.oDNyiQoezu@silversurfer> Date & Time: Sat, 30 Nov 2024 10:26:00 +0100
Stakanov via openSUSE Users <users@lists.opensuse.org> has written:
In data sabato 30 novembre 2024 10:18:58 Ora standard dell’Europa centr
I don't understand what Robert is saying, not just Carlos.
P.S. sorry if you are already informed about all this, not my intention to do bikeshedding to be clear.
Sorry I was the victim of Kontact/kmail that did hide the new messages from yesterday for nearly 15 minutes to finish "filtering tasks". So my message was actually redundant. Please disregard.
Thanks for advice.
Actually, I don't like watching videos, so I use yt-dlp exclusively to download the music files from videos.
When I was a teenager I fell in love with Brahms - Violin Concerto in D major, Op. 77. Then later, not so much. And then one day, relatively recently, I bumped into this interpretation: https://www.youtube.com/watch?v=7C_U7eUbVd8 I find it fabulous. Watching him play it and his expressions is fabulous. There is something worthy watching a concert in video instead of in CD that I missed for years. Actual concerts in my city are rare events. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, 2024-11-24 at 10:47 +0100, Stakanov via openSUSE Users wrote:
I have here a video from youtube via yt-dlp that plays normally on gpac (normally but somewhat limit apparently for either graphics card or processor) but music runs well, and I do not know if gpac generally has good video quality or not, and that does play only music on vlc but with a black screen. Normally if a video is so big it cannot play it should be interlaced in vlc, isn't this the case?
You made me curious, I did not know about gpac existence. I installed it, and I don't like it. No menu, no interface. gpac media_file.mkv gives an error, it has to be: gpac -play media_file.mkv Well, different. - -- Cheers, Carlos E. R. (from openSUSE 15.5 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCZ0O38Bwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVC+4AniL+C3OIzArTKg5xAK4j bfJvLguXAKCIhC5YRzeGrx340i70/qpblGabyA== =YSgc -----END PGP SIGNATURE-----
Hello, In the Message; Subject : Re: Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <1d08c222-ce73-1abc-a4f7-147046f91b0f@telefonica.net> Date & Time: Mon, 25 Nov 2024 00:34:08 +0100 (CET) [CER] == "Carlos E. R." <robin.listas@telefonica.net> has written: CER> On Sunday, 2024-11-24 at 10:47 +0100, Stakanov via openSUSE Users wrote:
I have here a video from youtube via yt-dlp that plays normally on gpac (normally but somewhat limit apparently for either graphics card or processor) but music runs well, and I do not know if gpac generally has good video quality or not, and that does play only music on vlc but with a black screen. Normally if a video is so big it cannot play it should be interlaced in vlc, isn't this the case?
CER> You made me curious, I did not know about gpac existence. CER> I installed it, and I don't like it. No menu, no interface. Aren't you forgetting this? $ gpac -gui But I don't like it either... Best Regards. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "During testing, Sakana found that its system began unexpectedly attempting to modify its own experiment code to extend the time it had to work on a problem." -- Research AI model unexpectedly attempts to modify its own code to extend runtime (ars TECHNICA) --
On 2024-11-25 01:22, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <1d08c222-ce73-1abc-a4f7-147046f91b0f@telefonica.net> Date & Time: Mon, 25 Nov 2024 00:34:08 +0100 (CET)
[CER] == "Carlos E. R." <robin.listas@telefonica.net> has written:
CER> On Sunday, 2024-11-24 at 10:47 +0100, Stakanov via openSUSE Users wrote:
I have here a video from youtube via yt-dlp that plays normally on gpac (normally but somewhat limit apparently for either graphics card or processor) but music runs well, and I do not know if gpac generally has good video quality or not, and that does play only music on vlc but with a black screen. Normally if a video is so big it cannot play it should be interlaced in vlc, isn't this the case?
CER> You made me curious, I did not know about gpac existence.
CER> I installed it, and I don't like it. No menu, no interface.
Aren't you forgetting this?
I am not forgetting anything, I just installed the thing today.
$ gpac -gui
cer@Telcontar:~/Videos> gpac -gui -play University\ of\ California\ Television\ \(UCTV\)-UCtelevision-Sugar\ -\ The\ Bitter\ Truth-dBnniua6-oM.mkv No filter chain found for PID University of California Television (UCTV)-UCtelevision-Sugar - The Bitter Truth-dBnniua6-oM.mkv in filter fin to any loaded filters - NOT CONNECTED Service University of California Television (UCTV)-UCtelevision-Sugar - The Bitter Truth-dBnniua6-oM.mkv Cannot find filter for service: Requested URL is not valid or cannot be found :-( then cer@Telcontar:~/Videos> gpac -gui Uffff... Terrible interface. Maybe it is the start of some experiment in learning how to do a media player.
But I don't like it either...
Ah! Good :-) -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
In data lunedì 25 novembre 2024 03:24:35 Ora standard dell’Europa centrale, Carlos E. R. ha scritto:
On 2024-11-25 01:22, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <1d08c222-ce73-1abc-a4f7-147046f91b0f@telefonica.net> Date & Time: Mon, 25 Nov 2024 00:34:08 +0100 (CET)
[CER] == "Carlos E. R." <robin.listas@telefonica.net> has written:
CER> On Sunday, 2024-11-24 at 10:47 +0100, Stakanov via openSUSE Users wrote:
I have here a video from youtube via yt-dlp that plays normally on gpac (normally but somewhat limit apparently for either graphics card or processor)
but music runs well, and I do not know if gpac generally
has good video quality or not, and that does play only music on vlc but with a black screen. Normally if a video is so big it cannot play it should be interlaced in vlc, isn't this the case?
CER> You made me curious, I did not know about gpac existence.
CER> I installed it, and I don't like it. No menu, no interface.
Aren't you forgetting this?
I am not forgetting anything, I just installed the thing today.
$ gpac -gui
cer@Telcontar:~/Videos> gpac -gui -play University\ of\ California\ Television\ \(UCTV\)-UCtelevision-Sugar\ -\ The\ Bitter\ Truth-dBnniua6-oM.mkv No filter chain found for PID University of California Television (UCTV)-UCtelevision-Sugar - The Bitter Truth-dBnniua6-oM.mkv in filter fin to any loaded filters - NOT CONNECTED Service University of California Television (UCTV)-UCtelevision-Sugar - The Bitter Truth-dBnniua6-oM.mkv Cannot find filter for service: Requested URL is not valid or cannot be found
:-(
then
cer@Telcontar:~/Videos> gpac -gui
Uffff... Terrible interface.
Maybe it is the start of some experiment in learning how to do a media player.
But I don't like it either...
Ah! Good :-)
-- Cheers / Saludos,
Carlos E. R. (from 15.5 x86_64 at Telcontar)
well, I used it because I found it installed by default on my system as alternative for webm. But I also thought it was crap. Helped however to do a quick check about whether my problem was the downloaded files or the codecs / size in VLC. So do not complain.
On 2024-11-25 08:10, Stakanov via openSUSE Users wrote:
well, I used it because I found it installed by default on my system as alternative for webm. But I also thought it was crap. Helped however to do a quick check about whether my problem was the downloaded files or the codecs / size in VLC. So do not complain.
If you are just testing some local/remote file, use ffplay (ffmpeg). Plays almost anything. Check the man pages what it can do. In your case: ffplay -format PS. I use ffmpeg-6 from packman -- /bengan
Hello, In the Message; Subject : Re: Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <abfe2c7d-4154-43df-8fc1-bdfa403faa72@bag.org> Date & Time: Mon, 25 Nov 2024 10:37:08 +0100 [BG] == Bengt Gördén <bengan@bag.org> has written: BG> On 2024-11-25 08:10, Stakanov via openSUSE Users wrote:
well, I used it because I found it installed by default on my system as alternative for webm. But I also thought it was crap. Helped however to do a quick check about whether my problem was the downloaded files or the codecs / size in VLC. So do not complain.
BG> If you are just testing some local/remote file, use ffplay (ffmpeg). Plays BG> almost anything. Check the man pages what it can do. In your case: BG> ffplay -format BG> PS. I use ffmpeg-6 from packman Just give two questions. 1. why ffmpeg-6? 2. why packman's? Best Regards & Good Night. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ " Reading widely about things that don't seem immediately or practically useful, in the hope that what you learn now may prove meaningful later—that's pretty much the definition of a liberal- arts education. Who knew that one of its best defenders would turn out to be a computer scientist? " -- "What Does It Really Mean to Learn?" THE NEW YORKER --
On 2024-11-25 11:11, Masaru Nomiya wrote:
Just give two questions.
1. why ffmpeg-6?
2. why packman's?
It's just as information to my comment about ffplay so Stakanov can relate to it if he wonders about something. Plus it's what the "zypper doctor" prescribed. I use some packages from packman and and in case of a zypper dup, the algorithm thinks that it is best with ffmpeg-6. Not that I really care if it's 5, 6 or 7. regards, -- /bengan
Hello, In the Message; Subject : Re: Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <27d286e5-241c-4fb9-bf14-1d34fedcd38b@bag.org> Date & Time: Mon, 25 Nov 2024 11:39:32 +0100 [BG] == Bengt Gördén <bengan@bag.org> has written: BG> On 2024-11-25 11:11, Masaru Nomiya wrote: MN> > Just give two questions. MN> > 1. why ffmpeg-6? MN> > 2. why packman's? BG> It's just as information to my comment about ffplay so Stakanov BG> can relate to it if he wonders about something. Plus it's what BG> the "zypper doctor" prescribed. I use some packages from packman BG> and and in case of a zypper dup, the algorithm thinks that it is BG> best with ffmpeg-6. Not that I really care if it's 5, 6 or 7. I asked about ffmpeg-6 because Stakanov uses ffmpeg-7 on Tumbleweed. Incidentally, the versions currently used on Tumbleweed are ffmpeg-4 and ffmpeg-7. Also, I asked about packman because I thought that the versions in the official repo and the versions in the packman repo were the same, and I wondered if there was a reason to use the packman's. Best Regards. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ " Reading widely about things that don't seem immediately or practically useful, in the hope that what you learn now may prove meaningful later—that's pretty much the definition of a liberal- arts education. Who knew that one of its best defenders would turn out to be a computer scientist? " -- "What Does It Really Mean to Learn?" THE NEW YORKER --
In data martedì 26 novembre 2024 04:32:41 Ora standard dell’Europa centrale, Masaru Nomiya ha scritto:
Hello,
In the Message;
Subject : Re: Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <27d286e5-241c-4fb9-bf14-1d34fedcd38b@bag.org> Date & Time: Mon, 25 Nov 2024 11:39:32 +0100
[BG] == Bengt Gördén <bengan@bag.org> has written:
BG> On 2024-11-25 11:11, Masaru Nomiya wrote: MN> > Just give two questions.
MN> > 1. why ffmpeg-6?
MN> > 2. why packman's?
BG> It's just as information to my comment about ffplay so Stakanov BG> can relate to it if he wonders about something. Plus it's what BG> the "zypper doctor" prescribed. I use some packages from packman BG> and and in case of a zypper dup, the algorithm thinks that it is BG> best with ffmpeg-6. Not that I really care if it's 5, 6 or 7.
I asked about ffmpeg-6 because Stakanov uses ffmpeg-7 on Tumbleweed. Incidentally, the versions currently used on Tumbleweed are ffmpeg-4 and ffmpeg-7.
Also, I asked about packman because I thought that the versions in the official repo and the versions in the packman repo were the same, and I wondered if there was a reason to use the packman's.
In my case the file plays with ffplay without issues (which surprised me). It is an webm matrioska file with following properties COMPATIBLE_BRANDS: iso6av01mp41 MAJOR_BRAND : dash MINOR_VERSION : 0 ENCODER : Lavf61.7.100 Duration: 00:02:53.41, start: 0.000000, bitrate: 13532 kb/s Stream #0:0: Video: av1 (libdav1d) (Main), yuv420p(tv, bt709), 3840x2160, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default) Metadata: HANDLER_NAME : ISO Media file produced by Google Inc. VENDOR_ID : [0][0][0][0] DURATION : 00:02:53.382000000 Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default) Metadata: DURATION : 00:02:53.408000000 Multimedia files are generally "cripleware" when in TW due to licence restrictions and are fully working in their packman correspondence. My ffmpg is from Tumbleweed and instead working normally, the codecs then are all from packman entropy@silversurfer:~> rpm ffmpeg --version RPM versione 4.19.1.1 Actually this plays really well, a bit complicated until you have set up the whole name in CLI though. But from now on I know how to test these files. Thank you very much both of you. If this plays without issues with ffplay, is this to be considered a bug to be communicated to vlc? Just to understand what to do next.
Hello, In Japan, people call each other by their family name, but here, I feel awkward calling person by his family name... In the Message; Subject : Re: Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <6506833.1jSeOiTMVD@silversurfer> Date & Time: Tue, 26 Nov 2024 14:22:57 +0100 Stakanov via openSUSE Users <users@lists.opensuse.org> has written: You're fluent in Italian....
In data martedì 26 novembre 2024 04:32:41 Ora standard dell’Europa centrale, Masaru Nomiya ha scritto: [..] MN>> Also, I asked about packman because I thought that the versions in the MN>> official repo and the versions in the packman repo were the same, and MN>> I wondered if there was a reason to use the packman's.
In my case the file plays with ffplay without issues (which surprised me). It is an webm matrioska file with following properties
COMPATIBLE_BRANDS: iso6av01mp41 MAJOR_BRAND : dash MINOR_VERSION : 0 ENCODER : Lavf61.7.100 Duration: 00:02:53.41, start: 0.000000, bitrate: 13532 kb/s Stream #0:0: Video: av1 (libdav1d) (Main), yuv420p(tv, bt709), 3840x2160, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default) Metadata: HANDLER_NAME : ISO Media file produced by Google Inc. VENDOR_ID : [0][0][0][0] DURATION : 00:02:53.382000000 Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default) Metadata: DURATION : 00:02:53.408000000
Thanks, I understand now. It was an AV1 codec problem, not a VP9 codec! ffmpeg supports the AV1 codec from version 6.0.x, and libva from version 2.21.0, so you can play it in VLC as follows; Tools --> Preferences --> Input / Cidecs then.set 'Hardware-accelerated decoding' to VA-API
Multimedia files are generally "cripleware" when in TW due to licence restrictions and are fully working in their packman correspondence.
No, ffmpeg is the same in the official repository and packman. I learned about it through this email. In the Message; Subject : [packman] Do we really need Mesa in Packman? Message-ID : <NwQ8jlt--3-9@guoyunhe.me> Date & Time: Fri, 26 Apr 2024 18:04:52 +0200 (CEST) [GY] == Guo Yunhe <i@guoyunhe.me> has written: [...] GY> I would like to know: GY> What is the difference between openSUSE repo's Mesa and Packman repo's? GY> Would it be okay to remove Mesa from Packman repo to avoid GY> dependency conflicts? [...] BTW,
My ffmpg is from Tumbleweed and instead working normally, the codecs then are all from packman entropy@silversurfer:~> rpm ffmpeg --version RPM versione 4.19.1.1
4.19.1.1 is the rpm's version. Just do this. $ ffmpeg --version Your ffmpeg is definitely 7.1. <-- ENCODER : Lavf61.7.100
Actually this plays really well, a bit complicated until you have set up the whole name in CLI though.
When downloading with yt-dlp, you can use the --restrict-filename option.
If this plays without issues with ffplay, is this to be considered a bug to be communicated to vlc? Just to understand what to do next.
The reason is that vlc uses the vdpau driver by default, but the vdpau driver is derived from Mesa. I have modified Mesa and am using the nvidia driver, but even so, as shown below, I have to use the libva driver to watch webm. $ vdpauinfo [...] HEVC_MAIN_12 153 262144 8192 8192 HEVC_MAIN_444 153 262144 8192 8192 HEVC_MAIN_444_10 153 262144 8192 8192 HEVC_MAIN_444_12 153 262144 8192 8192 AV1_MAIN 16 262144 8192 8192 AV1_HIGH --- not supported --- AV1_PROFESSIONAL --- not supported --- Many thanks. Best Regards. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ " Reading widely about things that don't seem immediately or practically useful, in the hope that what you learn now may prove meaningful later—that's pretty much the definition of a liberal- arts education. Who knew that one of its best defenders would turn out to be a computer scientist? " -- "What Does It Really Mean to Learn?" THE NEW YORKER --
Hello, In the Message; Subject : Re: Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <87r06xuxc3.wl-nomiya@lake.dti.ne.jp> Date & Time: Wed, 27 Nov 2024 13:14:52 +0900 [MN] == Masaru Nomiya <nomiya@lake.dti.ne.jp> has written: [...] MN> The reason is that vlc uses the vdpau driver by default, but the vdpau MN> driver is derived from Mesa. MN> I have modified Mesa and am using the nvidia driver, but even so, as MN> shown below, I have to use the libva driver to watch webm. [...] I thought that this was strange no matter how I looked at it, so I tried it out and found out something strange! $ vlc Taylor Swift - All Too Well (Taylor's Version) (Lyric Video).webm In this case, it cannot be played back using the vdpau driver, and the libva-API driver must be used. However, in the following case, it can be played back without any problems using the vdpau driver. $ vlc Taylor_Swift_-_All_Too_Well_Taylor_s_Version_Lyric_Video.webm The file used here was downloaded using yt-dlp --restrict-filename. Does anyone know why? Best Regards. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "During testing, Sakana found that its system began unexpectedly attempting to modify its own experiment code to extend the time it had to work on a problem." -- Research AI model unexpectedly attempts to modify its own code to extend runtime (ars TECHNICA) --
In data mercoledì 27 novembre 2024 05:14:52 Ora standard dell’Europa centrale, Masaru Nomiya ha scritto:
Hello,
In Japan, people call each other by their family name, but here, I feel awkward calling person by his family name... You really do not have to worry. Just call me as you feel comfortable. I had a colleague being very "severed" by calling him with his surname. He was from Africa, eventually in that moment, I did not know which was actually his surname and which his (so called) "Christian name". So, easy going.
In the Message;
Subject : Re: Tumbleweed: video plays on "gpac" but not on vlc - trying to understand why Message-ID : <6506833.1jSeOiTMVD@silversurfer> Date & Time: Tue, 26 Nov 2024 14:22:57 +0100
Stakanov via openSUSE Users <users@lists.opensuse.org> has written:
You're fluent in Italian.... yeah, my brain was mangled by roughly 25 years of living there. Never turned "normal".
In data martedì 26 novembre 2024 04:32:41 Ora standard dell’Europa centrale, Masaru Nomiya ha scritto: [..] MN>> Also, I asked about packman because I thought that the versions in the MN>> official repo and the versions in the packman repo were the same, and MN>> I wondered if there was a reason to use the packman's.
In my case the file plays with ffplay without issues (which surprised me). It is an webm matrioska file with following properties
COMPATIBLE_BRANDS: iso6av01mp41 MAJOR_BRAND : dash MINOR_VERSION : 0 ENCODER : Lavf61.7.100
Duration: 00:02:53.41, start: 0.000000, bitrate: 13532 kb/s Stream #0:0: Video: av1 (libdav1d) (Main), yuv420p(tv, bt709), 3840x2160,
SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)
Metadata: HANDLER_NAME : ISO Media file produced by Google Inc. VENDOR_ID : [0][0][0][0] DURATION : 00:02:53.382000000
Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
Metadata: DURATION : 00:02:53.408000000
Thanks, I understand now.
It was an AV1 codec problem, not a VP9 codec!
ffmpeg supports the AV1 codec from version 6.0.x, and libva from version 2.21.0, so you can play it in VLC as follows;
Tools --> Preferences --> Input / Cidecs then.set 'Hardware-accelerated decoding' to VA-API
Thank you! This solved it and it plays well, I have also a TV-Sat card but even if setting it to VA-API it still works so for me the whole compromise works.
Multimedia files are generally "cripleware" when in TW due to licence restrictions and are fully working in their packman correspondence.
No, ffmpeg is the same in the official repository and packman. I learned about it through this email.
In the Message;
Subject : [packman] Do we really need Mesa in Packman? Message-ID : <NwQ8jlt--3-9@guoyunhe.me> Date & Time: Fri, 26 Apr 2024 18:04:52 +0200 (CEST)
[GY] == Guo Yunhe <i@guoyunhe.me> has written:
[...] GY> I would like to know:
GY> What is the difference between openSUSE repo's Mesa and Packman repo's? GY> Would it be okay to remove Mesa from Packman repo to avoid GY> dependency conflicts? [...]
BTW,
My ffmpg is from Tumbleweed and instead working normally, the codecs then are all from packman entropy@silversurfer:~> rpm ffmpeg --version RPM versione 4.19.1.1
4.19.1.1 is the rpm's version.
Just do this.
$ ffmpeg --version
Your ffmpeg is definitely 7.1. <-- ENCODER : Lavf61.7.100
Actually this plays really well, a bit complicated until you have set up the whole name in CLI though.
When downloading with yt-dlp, you can use the --restrict-filename option.
Thank you, this is even better. You are surely teaching an old dog new tricks. Will try this out the next time.
--
participants (5)
-
Bengt Gördén
-
Carlos E. R.
-
Masaru Nomiya
-
Robert Webb
-
Stakanov