VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. I'm trying to stream BBC's live content (world championsip snooker) and getting the mpd link for the stream is no issue.

    Here's a valid mpd that can be played through vlc
    Code:
    https://ve-cmaf-push-uk.live.fastly.md.bbci.co.uk/x=4/i=urn:bbc:pips:service:uk_bbc_stream_001/pc_hd_abr_v2.mpd
    But the problem is I'm on debian and there's a problem atm were HW Accel/VAAPI is not supported, so playing videos with vlc makes my cpu fan speed go crazy the whole time any video is playing as it's software decoding only.

    So I use either ffplay or haruna and I have no issues - at least no issues with anything but BBC - absolutely nothing can capture or play the stream - I've tried:

    haruna, ffplay, streamlink, ffmpeg, n_m3u8dl-re and yt-dlp - all fail

    So I tried cvlc to see if I could see what was going on and I noticed it picks up an error in the stream (which I think is the reason why all other software is failing) - but somehow, vlc/cvlc is able to fix the error and despite the output, the BBC stream plays:

    Code:
    cvlc "https://ve-cmaf-push-uk.live.cf.md.bbci.co.uk/x=4/i=urn:bbc:pips:service:uk_bbc_stream_003/pc_hd_abr_v2.mpd"
    VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
    [0000560c38b57170] dummy interface: using the dummy interface module...
    [00007fb98c00c770] mp4 demux: Fragment sequence discontinuity detected 454606870 != 0
    [00007fb98c008a10] mp4 demux: Fragment sequence discontinuity detected 454606871 != 0
    [00007fb9a09b5410] main decoder error: buffer deadlock prevented
    [00007fb9a0001190] adaptive demux: Ending demuxer stream. [needrestart]
    [00007fb98c008a10] mp4 demux: Fragment sequence discontinuity detected 454606872 != 0
    [00007fb974002b00] main filter error: Failed to create video converter
    [00007fb9a09b5410] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding
    [00007fb9740355d0] blend blend error: no matching alpha blending routine (chroma: YUVA -> VDV0)
    [00007fb9740355d0] main blend error: blending YUVA to VDV0 failed
    [00007fb974002b00] main filter error: Failed to create video converter
    [00007fb9740355d0] blend blend error: no matching alpha blending routine (chroma: YUVA -> VDV0)
    [00007fb9740355d0] main blend error: blending YUVA to VDV0 failed
    [00007fb9740355d0] blend blend error: no matching alpha blending routine (chroma: YUVA -> VDV0)
    Does anyone know what's going on here and how I can get BBC to stream with anything other than VLC?
    Quote Quote  
  2. Member
    Join Date
    Feb 2006
    Location
    United States
    Search Comp PM
    Originally Posted by vidsrme View Post
    I'm trying to stream BBC's live content (world championsip snooker) and getting the mpd link for the stream is no issue.

    Here's a valid mpd that can be played through vlc
    Code:
    https://ve-cmaf-push-uk.live.fastly.md.bbci.co.uk/x=4/i=urn:bbc:pips:service:uk_bbc_stream_001/pc_hd_abr_v2.mpd
    But the problem is I'm on debian and there's a problem atm were HW Accel/VAAPI is not supported, so playing videos with vlc makes my cpu fan speed go crazy the whole time any video is playing as it's software decoding only.

    So I use either ffplay or haruna and I have no issues - at least no issues with anything but BBC - absolutely nothing can capture or play the stream - I've tried:

    haruna, ffplay, streamlink, ffmpeg, n_m3u8dl-re and yt-dlp - all fail

    So I tried cvlc to see if I could see what was going on and I noticed it picks up an error in the stream (which I think is the reason why all other software is failing) - but somehow, vlc/cvlc is able to fix the error and despite the output, the BBC stream plays:

    Code:
    cvlc "https://ve-cmaf-push-uk.live.cf.md.bbci.co.uk/x=4/i=urn:bbc:pips:service:uk_bbc_stream_003/pc_hd_abr_v2.mpd"
    VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
    [0000560c38b57170] dummy interface: using the dummy interface module...
    [00007fb98c00c770] mp4 demux: Fragment sequence discontinuity detected 454606870 != 0
    [00007fb98c008a10] mp4 demux: Fragment sequence discontinuity detected 454606871 != 0
    [00007fb9a09b5410] main decoder error: buffer deadlock prevented
    [00007fb9a0001190] adaptive demux: Ending demuxer stream. [needrestart]
    [00007fb98c008a10] mp4 demux: Fragment sequence discontinuity detected 454606872 != 0
    [00007fb974002b00] main filter error: Failed to create video converter
    [00007fb9a09b5410] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding
    [00007fb9740355d0] blend blend error: no matching alpha blending routine (chroma: YUVA -> VDV0)
    [00007fb9740355d0] main blend error: blending YUVA to VDV0 failed
    [00007fb974002b00] main filter error: Failed to create video converter
    [00007fb9740355d0] blend blend error: no matching alpha blending routine (chroma: YUVA -> VDV0)
    [00007fb9740355d0] main blend error: blending YUVA to VDV0 failed
    [00007fb9740355d0] blend blend error: no matching alpha blending routine (chroma: YUVA -> VDV0)
    Does anyone know what's going on here and how I can get BBC to stream with anything other than VLC?
    try these tips -
    If hardware acceleration (HW Accel) or VA-API isn't working in Debian, it could be due to several reasons including incorrect driver settings, missing drivers, or compatibility issues with specific applications like VLC. Troubleshooting might involve checking GPU drivers, installing necessary VA-API drivers, or trying alternative media players like MPV.
    Here's a more detailed breakdown:
    1. Check Your GPU Driver:

    Nouveau:
    Ensure your driver isn't set to nouveau, which might be causing issues. You may need to switch to a proprietary driver, especially for NVIDIA or AMD cards.

    Proprietary Drivers:
    If you have an NVIDIA or AMD GPU, consider installing the proprietary drivers for optimal performance. You can find instructions on how to do this on the Debian Wiki or your GPU vendor's website.

    2. Install VA-API Drivers:

    Missing Drivers:
    .

    Make sure you have all the necessary VA-API drivers installed. You can try installing all available VA-API drivers, including non-free and non-free-firmware options.
    Specific Drivers:
    .
    For Intel GPUs, you might need intel-media-va-driver or intel-media-va-driver-non-free depending on your hardware. For NVIDIA, try libva-vdpau-driver or nvidia-driver.

    3. Test with Alternative Media Players:

    MPV:
    Try using MPV from the terminal and manually switching the decoder to VA-API.

    Flatpak/Snap:
    Consider using Flatpak or Snap versions of VLC or other media players, as they might have better VA-API support, according to a thread on the Framework Community.

    4. Check Browser Support:

    Chromium/Chrome:
    VA-API is generally supported in Chromium and Chrome by default, but you may need to enable it using the --enable-features=VaapiVideoDecodeLinuxGL flag.
    Firefox:
    VA-API is supported in Firefox starting from version 95 but needs to be manually enabled.
    GNOME Web:
    VA-API support is available in GNOME Web through the gstreamer1.0-vaapi package, according to the Debian Wiki.

    5. Other Potential Issues and Solutions:

    FFmpeg Compatibility:
    .

    Changes in FFmpeg releases can sometimes break VA-API support in some applications. Try installing an older version of FFmpeg or applying necessary patches.
    VLC Issues:
    .
    VLC has had known issues with VA-API in the past, especially with older versions of the software. You may need to upgrade VLC or try alternative media players.
    Mesa Issues:
    .
    Mesa, the open-source graphics drivers, can also cause issues with VA-API. Downgrading Mesa might help resolve some problems, according to a post on the Arch Linux Forums.
    VA-API vs. VDPAU:
    .
    Remember that VA-API is primarily for Intel GPUs, while VDPAU is for NVIDIA. You might need to experiment with both to find the best combination for your setup.

    By systematically checking these points and trying different solutions, you should be able to identify the cause of the VA-API issues and get hardware acceleration working again in your Debian system.

    and see - https://www.reddit.com/r/debian/comments/1e5mkz9/debian_12_vlc_has_no_hardware_acceleration_vaapi/
    Last edited by october262; 27th Apr 2025 at 01:03.
    Quote Quote  
  3. [QUOTE=october262;2773218]
    Originally Posted by vidsrme View Post

    try these tips -

    5. Other Potential Issues and Solutions:

    FFmpeg Compatibility:
    .

    Changes in FFmpeg releases can sometimes break VA-API support in some applications. Try installing an older version of FFmpeg or applying necessary patches.
    VLC Issues:
    .
    VLC has had known issues with VA-API in the past, especially with older versions of the software. You may need to upgrade VLC or try alternative media players.

    Thanks, but there's nothing that can be done, basically ffmpeg and the way it handles VAAPI has been updated and the vlc dev's need to update vlc to account for the change, but they are super lazy, this has been a known issue for ages now and they just aren't interested in fixing it at all.

    I could set use some hacky way to force vlc use an older version of ffmpeg but it's much easier to just use another player like haruna, that doesnt have the issue and HW accel/VAAPI works fine ootb.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!