@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]