From: José Maldonado Subject: Re: Enable VA-API in graphics/ffmpeg To: ports Date: Sun, 21 Jul 2024 13:09:24 -0400 El dom, 21 jul 2024 a la(s) 1:00 p.m., Lucas Gabriel Vuotto (lucas@sexy.is) escribió: > > On Sat, Jul 20, 2024 at 11:32:29AM GMT, Rafael Sadowski wrote: > > OK to enable VA-API? It only depends on xenocara libva. Since libva > > builds on almost all arches, I see no reason to restrict it by CPU > > architectures any further. > > This worked well with mpv but is giving me issues in Firefox: > > - Invidious instances (YouTube alternative frontend) give me "No > compatible source was found for this media" > - Twitch gives a similar message > - Couldn't test in YouTube because it thinks I'm a bot > - Some meme pages show webms just fine > > In any case, disabling hardware media decoding didn't help. Rolling back > to 4.4.4p3 (that's what's in cdn.openbsd.org) makes the issues go away. > I can try with 4.4.4p4 too (adds --disable-vaapi), if it's needed. > > Lucas > This is rare. In my case, using mpv+yt-dlp for YouTube videos work fine (using 4.4.4p3 and 4.4.4p5). Log: mpv https://www.youtube.com/watch\?v\=PXFXEGLi3wg (+) Video --vid=1 (*) (vp9 1920x1080 59.940fps) (+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz) Subs --sid=1 --slang=live_chat 'json' (null) (external) File tags: Uploader: Edu Camps Channel_URL: https://www.youtube.com/channel/UCV6dTKLL29jPIggEvjIMPzw [ffmpeg/video] vp9: No support for codec vp9 profile 0. AO: [sndio] 44100Hz stereo 2ch s16 VO: [gpu] 1920x1080 yuv420p [ffmpeg] https: Stream ends prematurely at 327680, should be 23079373 [ffmpeg] https: Will reconnect at 327680 in 0 second(s), error=Input/output error. [ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: reached eof, corrupted TRUN atom AV: 00:00:07 / 00:23:46 (1%) A-V: 0.010 DS: 0.91/42 Dropped: 37 Cache: 11s/6MB Exiting... (Quit) -- "Dios en su Cielo, todo bien en la Tierra" ***********************************************