Most Youtube videos work perfectly but a few Youtube videos not working in Opera
-
leocg Moderator Volunteer last edited by
@victorxstc It can be a codec issue. Can you access Statistics for Nerds on those videos that doesn't play?
Any difference if you disable extensions and adblocker?
-
victorxstc last edited by
@leocg yes, stats for nerds shows no codec for the failed video:
Viewport / Frames 777x437 / -
Current / Optimal Res 0x0
Volume / Normalized 15% / 15% (content loudness -1.5dB)
Codecs
ColorDisabling all the extensions and restarting Opera did not help.
-
leocg Moderator Volunteer last edited by
@victorxstc While trying to watch one of those videos, check opera://media-internals and see if it shows any error message for that playing.
-
victorxstc last edited by leocg
@leocg I tested 4 of the previously failed videos. To my surprise, 2 of them played smoothly this time (without me doing absolutely anything)!! But 2 others still fail to play.
I tested one of the failed videos with opera://media-internals info. It gave these 4 errors:
render_id: 9 player_id: 3 created: 2024-07-14 10:45:34.377763 UTC origin_url: https://www.youtube.com/ kFrameUrl: https://www.youtube.com/watch?************ kFrameTitle: *************** - YouTube url: https://www.youtube.com/s/search/audio/success.mp3 kTotalBytes: 0x19ec kIsStreaming: false kIsSingleOrigin: true kIsRangeHeaderSupported: true kRendererName: RendererImpl pipeline_state: kStopped debug: Warning, FFmpegDemuxer failed to create a valid/supported audio decoder configuration from muxed stream, config:codec: aac, profile: unknown, bytes_per_channel: 4, channel_layout: MONO, channels: 1, samples_per_second: 44100, input_samples_per_second: 44100, sample_format: Float 32-bit, bytes_per_frame: 4, seek_preroll: 0us, codec_delay: 0, has extra data: true, encryption scheme: Unencrypted, discard decoder delay: true, target_output_channel_layout: NONE, target_output_sample_format: Unknown sample format, has aac extra data: true info: FFmpegDemuxer: skipping invalid or unsupported audio track error: [object Object] render_id: 9 player_id: 2 created: 2024-07-14 10:45:34.376677 UTC origin_url: https://www.youtube.com/ kFrameUrl: https://www.youtube.com/watch?************** kFrameTitle: ********************* - YouTube url: https://www.youtube.com/s/search/audio/open.mp3 kTotalBytes: 0x1817 kIsStreaming: false kIsSingleOrigin: true kIsRangeHeaderSupported: true kRendererName: RendererImpl pipeline_state: kStopped debug: Warning, FFmpegDemuxer failed to create a valid/supported audio decoder configuration from muxed stream, config:codec: aac, profile: unknown, bytes_per_channel: 4, channel_layout: MONO, channels: 1, samples_per_second: 44100, input_samples_per_second: 44100, sample_format: Float 32-bit, bytes_per_frame: 4, seek_preroll: 0us, codec_delay: 0, has extra data: true, encryption scheme: Unencrypted, discard decoder delay: true, target_output_channel_layout: NONE, target_output_sample_format: Unknown sample format, has aac extra data: true info: FFmpegDemuxer: skipping invalid or unsupported audio track error: [object Object] render_id: 9 player_id: 1 created: 2024-07-14 10:45:34.375643 UTC origin_url: https://www.youtube.com/ kFrameUrl: https://www.youtube.com/watch?v***************** kFrameTitle: ******************** - YouTube url: https://www.youtube.com/s/search/audio/no_input.mp3 kTotalBytes: 0x1b29 kIsStreaming: false kIsSingleOrigin: true kIsRangeHeaderSupported: true kRendererName: RendererImpl pipeline_state: kStopped debug: Warning, FFmpegDemuxer failed to create a valid/supported audio decoder configuration from muxed stream, config:codec: aac, profile: unknown, bytes_per_channel: 4, channel_layout: MONO, channels: 1, samples_per_second: 44100, input_samples_per_second: 44100, sample_format: Float 32-bit, bytes_per_frame: 4, seek_preroll: 0us, codec_delay: 0, has extra data: true, encryption scheme: Unencrypted, discard decoder delay: true, target_output_channel_layout: NONE, target_output_sample_format: Unknown sample format, has aac extra data: true info: FFmpegDemuxer: skipping invalid or unsupported audio track error: [object Object] render_id: 9 player_id: 0 created: 2024-07-14 10:45:34.374205 UTC origin_url: https://www.youtube.com/ kFrameUrl: https://www.youtube.com/watch?*************** kFrameTitle: *********************** - YouTube url: https://www.youtube.com/s/search/audio/failure.mp3 kTotalBytes: 0x1981 kIsStreaming: false kIsSingleOrigin: true kIsRangeHeaderSupported: true kRendererName: RendererImpl pipeline_state: kStopped debug: Warning, FFmpegDemuxer failed to create a valid/supported audio decoder configuration from muxed stream, config:codec: aac, profile: unknown, bytes_per_channel: 4, channel_layout: MONO, channels: 1, samples_per_second: 44100, input_samples_per_second: 44100, sample_format: Float 32-bit, bytes_per_frame: 4, seek_preroll: 0us, codec_delay: 0, has extra data: true, encryption scheme: Unencrypted, discard decoder delay: true, target_output_channel_layout: NONE, target_output_sample_format: Unknown sample format, has aac extra data: true info: FFmpegDemuxer: skipping invalid or unsupported audio track error: [object Object]
-
victorxstc last edited by
@leocg For future reference, the codec of the failed video is this (from Stats for nerds):
Video ID / sCPN **************/ EZ61 J81N W9WM 3699 2W3G Viewport / Frames 777x437 / 0 dropped of 600 Current / Optimal Res 256x144@30 / 256x144@30 Volume / Normalized 100% / 100% (content loudness -0.1dB) Codecs avc1.4d400c (160) / opus (251)
-
burnout426 Volunteer last edited by
@victorxstc said in Most Youtube videos work perfectly but a few Youtube videos not working in Opera:
Codecs avc1.4d400c (160) / opus (251)
What does https://html5test.opensuse.org/ in Opera say for h.264 and opus?
-
victorxstc last edited by
@burnout426 it says it has both of them. However, I have now installed the codecs externally. I wish I had checked this before installing the codecs so that I could see whether my Opera lacked codecs for them or not.
Anyways, now I can watch all previously failed videos. Though it still lacks some codecs like h.265:opensuse.org says:
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 No ✘ WebM with VP8 support Yes ✔ WebM with VP9 support Yes ✔
-
leocg Moderator Volunteer last edited by
@victorxstc In the previous posts, the log seems to show that the problem was with the AAC codec.
-
victorxstc last edited by
@leocg All reports are for the same video. is it possible that Youtube has changed the codec of the said video from AAC to H.264?
-
leocg Moderator Volunteer last edited by
@victorxstc Nope, because AAC is an audio codec and H264 is a video codec.
Usually they are together.
If you change your YouTube settings to use AV1 on low resolution videos, does anything changes?
-
burnout426 Volunteer last edited by
@victorxstc said in Most Youtube videos work perfectly but a few Youtube videos not working in Opera:
However, I have now installed the codecs externally.
What specifically did you install?
-
victorxstc last edited by victorxstc
@leocg Thanks for explanation.
If you change your YouTube settings to use AV1 on low resolution videos, does anything changes?*
Apparently it needs me to sign into my Youtube account. I am using Opera without an account.
I logged into my account and set it to always use AV1. But no change happened. Please note that my problem was resolved a couple of days ago after installing external codecs; so we should have tested this AV1 setting beforehand.
-
leocg Moderator Volunteer last edited by
@victorxstc Try the option that I mentioned, to use AV1 for low resolution.
-
victorxstc last edited by victorxstc
@leocg There was no such an option. The only available ones were these:
AV1 settings Auto (recommended) Prefer AV1 for SD Always prefer AV1
-
burnout426 Volunteer last edited by
@victorxstc Okay. Usually codec packs like that only provide DirectShow codecs that wouldn't help with Opera as Opera uses the Windows Media Foundation instead. But, if things are working for you now, might as well go with it.
-
victorxstc last edited by
@leocg changed the settings but nothing happened again. Again, I think it is a bit too late for this test. I should check this out in the next installation of Windows and Opera (when the issue exists again).