[Duplicated]ffmpeg video decoder problem
-
kinodegna last edited by
Can't play most video in Opera on Windows 10 22H2 (everything OK in Chrome and VLC).
in opera://media-internals/ I got "video decoder initialization failed"00:00:00.006 info "Failed to initialize DecryptingVideoDecoder" 00:00:00.007 info "Failed to initialize WMFVideoDecoder" 00:00:00.007 info "Failed to initialize VpxVideoDecoder" 00:00:00.007 info "Failed to initialize Dav1dVideoDecoder" 00:00:00.007 info "Failed to initialize FFmpegVideoDecoder" 00:00:00.007 error "video decoder initialization failed" 00:00:00.015 error {"code":15,"data":{},"group":"PipelineStatus","message":"","stack":[{"file":"media\\renderers\\video_renderer_impl.cc","line":302}]}
if video has audio then I got
00:00:00.282 info "Failed to initialize WMFAudioDecoder" 00:00:00.283 info "Failed to initialize FFmpegAudioDecoder" 00:00:00.283 error "audio decoder initialization failed" 00:00:00.283 error {"code":15,"data":{},"group":"PipelineStatus","message":"","stack":[{"file":"media\\renderers\\audio_renderer_impl.cc","line":648}]}
Already tried settings and flags for hardware acceleration and re-installing.
Thank you everyone for help. -
leocg Moderator Volunteer last edited by
@kinodegna Do you have a N version of Windows 10 by chance?
-
burnout426 Volunteer last edited by
What do the video codecs section and audio codecs section at https://html5test.com/ say in Opera?
-
kinodegna last edited by kinodegna
Video 29/33 video element Yes ✔ Subtitles Yes ✔ Audio track selection No ✘ Video track selection No ✘ Poster images Yes ✔ Codec detection Yes ✔ Video codecs MPEG-4 ASP support No ✘ H.264 support Yes ✔ H.265 support No ✘ Ogg Theora support Yes ✔ WebM with VP8 support Yes ✔ WebM with VP9 support Yes ✔
Same as in Chrome which has not the problem
-
leocg Moderator Volunteer last edited by
@kinodegna Seems OK. Do you have as couple of examples of pages where videos don't play correctly?
-
kinodegna last edited by
@leocg for example any mp4 file https://codeda.com/data/syncTest.mp4 or locally downloaded file:///D:/Downloads/syncTest.mp4
-
leocg Moderator Volunteer last edited by
@kinodegna Video on that link played fine here on Windows 11. Will try to test on Windows 10 later.
-
kinodegna last edited by
@leocg thanks.
I have this problem in my Opera on every mp4/h264 video so far. And no problems with webm/vp8. For ex. if I convert the video to webm (https://codeda.com/data/syncTest.webm) I can play it in my Opera.
YouTube source is also OK https://www.youtube.com/watch?v=ucZl6vQ_8Uo -
leocg Moderator Volunteer last edited by
@kinodegna Does it work in Vivaldi or in another Chromium based browser that is not Chrome or Edge?
If you download the file, can you play it in Windows Media Player?
-
burnout426 Volunteer last edited by
Already tried settings and flags for hardware acceleration and re-installing.
So, you tried with hardware acceleration off at the URL
opera://settings/system
and you tried with hardware acceleration on while messing with the Angle flag? -
burnout426 Volunteer last edited by
@kinodegna said in [Duplicated]ffmpeg video decoder problem:
@leocg for example any mp4 file https://codeda.com/data/syncTest.mp4 or locally downloaded file:///D:/Downloads/syncTest.mp4
That plays fine for me on Windows 11 Version 22H2 (Build 22621.1105) in Opera 94.0.4606.54 64-bit.
I do notice that with this particular mp4, it has opus for audio instead of aac. Not sure if that matters for Opera and Vivaldi's use of Windows 10's Media Foundation. Maybe though.
-
burnout426 Volunteer last edited by
Following https://support.microsoft.com/en-us/windows/media-feature-pack-for-windows-10-11-n-september-2022-78cfeea5-c7d9-4aa8-b38f-ee4df1392009 anyway to see if that helps with playback of h.264 videos.
-
kinodegna last edited by kinodegna
@burnout426 I have already checked several times (and ways): all this N-version packages are not supported by my version of Windows 10
Here is full log:
https://codeda.com/data/media-internals.txt
If you have some better mp4 for testing I will test on it
Also tried all 5 variants in "Choose ANGLE graphics backend" and hardware acceleration in opera://settings/system and opera://flags/#disable-accelerated-video-decode and opera://flags/#disable-accelerated-video-encode -
burnout426 Volunteer last edited by
@kinodegna Another question. Did this just start happening? As in, did Opera play mp4 files no problem until recently?
-
burnout426 Volunteer last edited by
@kinodegna said in [Duplicated]ffmpeg video decoder problem:
If you have some better mp4 for testing I will test on it
What about the video-only ones at https://test-videos.co.uk/bigbuckbunny/mp4-h264?
-
burnout426 Volunteer last edited by
Try test standalone installations of regular Opera, Opera GX, Opera Beta, and Opera Developer. Just curious if any of them play mp4s for you. Guessing not, but...
-
burnout426 Volunteer last edited by
You can try this tool. There's an option under "Fixes" to reset the Media Foundation. You can try to see if that helps.
Also, if possible, temporarily create a new local user account (not tied to a Microsoft account) on Windows, log into it and try Opera and Vivaldi there just to see if it works there.
Could be a recent Windows update broke something with the media foundation configuration.