protonscr

Trying to export video clip results in an error

steamopen Steam clientStreamingDistro Family: Ubuntu
ValveSoftware/steam-for-linux#11850 · opened 2025-03-27 by lsahnicne · updated 2026-04-24 · 23 comments · github
Llsahnicne 2025-03-27 github

Your system information

  • Steam client version (build number or date): 1741737356
  • Distribution (e.g. Ubuntu): Pop_OS! 22.04 LTS
  • Opted into Steam client beta?: [Yes/No] No
  • Have you checked for system updates?: [Yes/No] No
  • Steam Logs: steam-logs.tar.gz
  • GPU: AMD Radeon rx 6900 xt

Please describe your issue in as much detail as possible:

I'm trying to export a video clip made with Steam Recording as a video file, but it returns an error "Failed to export, try again (2)"

Image

Steam Runtime Diagnostics https://gist.github.com/lsahnicne/ea1640010006d165ad70d5a8890e8e3c

Steps for reproducing this issue:

  1. Have Steam Game recording record a game in a background
  2. Try to export a clip from a recording as a video file
Kkisak-valve maintainer 2025-03-27 github

Hello @lsahnicne, please copy the contents of Steam Runtime Diagnostics from Steam (Steam -> Help -> Steam Runtime Diagnostics) and put it in a gist, then include a link to the gist in this issue report. In particular, we want to check if the 32 bit VA-API render path is healthy.

Llsahnicne 2025-03-27 github

Added Steam Runtime Diagnostics to the report. It might be a duplicate of #11603 but that is on NVIDIA GPU while I have AMD.

Jjlrpalomar 2025-05-11 github

+1 also on AMD GPU

JJokerGermany 2025-06-16 github

Same here:
Linux Mint 22.1
deb Package
AMD Ryzen 5 2600
AMD Vega56
https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu noble main
is used

Starting export preview of clip clip_1537830_20250602_070951
Exporting/previewing from MPD files /home/jokergermany/.steam/debian-installation/userdata/xxx/gamerecordings/clips/clip_1537830_20250602_070951/video/fg_1537830_20250602_070740/session.mpd
[preview] Starting for export
[preview] Completed for file (23ms)
Preview finished
Starting export preview of clip clip_1537830_20250602_070951
Exporting/previewing from MPD files /home/jokergermany/.steam/debian-installation/userdata/xxx/gamerecordings/clips/clip_1537830_20250602_070951/video/fg_1537830_20250602_070740/session.mpd
[preview] Starting for export
[preview] Completed for file (8ms)
Preview finished
Starting export of clip clip_1537830_20250602_070951
Exporting/previewing from MPD files /home/jokergermany/.steam/debian-installation/userdata/xxx/gamerecordings/clips/clip_1537830_20250602_070951/video/fg_1537830_20250602_070740/session.mpd
[export] Starting for file: /media/HDD/steamexport/clip_1.750.102.512.771.mp4
libav: Cannot load libcuda.so.1

libav: Cannot load libcuda.so.1
libav: Could not dynamically load CUDA

libav: Could not dynamically load CUDA
[export] Failed to make initial encoder
Export failed with error code Failure

It don't matter if enable hardware decoding is on or off.
Last sucessfull export was 2025-06-13
since then this error.

Steam Beta Branch: Stable Client
Steam Version: 1747701111

Looks like the flatpak has the same problem:
https://github.com/flathub/com.valvesoftware.Steam/issues/1421

JJokerGermany 2025-06-16 github

€dit:
Some newer clips can be exported 🤔
(same Game)

Starting export preview of clip clip_1537830_20250615_172722
Exporting/previewing from MPD files /home/jokergermany/.steam/debian-installation/userdata/xxx/gamerecordings/clips/clip_1537830_20250615_172722/video/fg_1537830_20250615_172205/session.mpd
[preview] Starting for export
[preview] Completed for file (51ms)
Preview finished
Starting export preview of clip clip_1537830_20250615_172722
Exporting/previewing from MPD files /home/jokergermany/.steam/debian-installation/userdata/xxx/gamerecordings/clips/clip_1537830_20250615_172722/video/fg_1537830_20250615_172205/session.mpd
[preview] Starting for export
[preview] Completed for file (72ms)
Preview finished
Starting export of clip clip_1537830_20250615_172722
Exporting/previewing from MPD files /home/jokergermany/.steam/debian-installation/userdata/xxx/gamerecordings/clips/clip_1537830_20250615_172722/video/fg_1537830_20250615_172205/session.mpd
[export] Starting for file: /media/HDD/steamexport/clip_1.750.103.881.457.mp4
libav: Cannot load libcuda.so.1

libav: Cannot load libcuda.so.1
libav: Could not dynamically load CUDA

libav: Could not dynamically load CUDA
[export] [try_hardware=true][codec=1][bitrate=7500][framerate=60][width=1920][height=804][encoder_hardware=3]
[export] Processing file: /home/jokergermany/.steam/debian-installation/userdata/xxx/gamerecordings/clips/clip_1537830_20250615_172722/video/fg_1537830_20250615_172205/session.mpd
BCreateHwDeviceContext AMD Hardware VAAPI ...
... success.
[export] - Decoder: Hardware VAAPI - Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709, progressive), 1920x804, 70243 kb/s
[export] - Encoder: Hardware VAAPI - Video: h264 (h264_vaapi) (High), vaapi(pc, bt709), 1920x804 [SAR 1:1 DAR 160:67], q=-1--1, 7500 kb/s

Interesting Side-Fact:
It doesn't matter if hardware decoding is on or off, it uses hardware decoding anyway XD
And it doesn't matter if h265 is activated or not, it's using h264 anyway XD (perhaps because my hardware don't support 265 decoding?)

MMihitoko 2025-07-06 github

+1 for AMD GPU on PopOs 22,04 same error as op

Zzachcheatham 2025-07-08 github

+1 Getting the same errors when exporting video on current Arch Linux + Radeon 9800 XT

BCreateHwDeviceContext Nvidia Hardware CUDA ...
BCreateHwDeviceContext Nvidia Hardware CUDA ...
libav: Cannot load libcuda.so.1

libav: Cannot load libcuda.so.1
libav: Could not dynamically load CUDA

libav: Could not dynamically load CUDA
... failed.
libav: Cannot load libcuda.so.1

libav: Cannot load libcuda.so.1
libav: Could not dynamically load CUDA

libav: Could not dynamically load CUDA
... failed
AAstrocule 2025-07-09 github

+1, getting same error as above with 6750XT.

Ttupo-not 2025-07-29 github

+1, same on ryzen 5 7530U integrated graphics

Attempting to save a clip to clip_739630_20250729_100221 from background, timeline_73963020250729_001129[5050428] to timeline_73963020250729_001129[5062427]: 1 timelines, NOT including current, BACKGROUND recording
...save successful
Starting export of clip clip_739630_20250729_100221
Exporting/previewing from MPD files /mnt/ata-ST500LM030/obs shit/stem/clips/clip_739630_20250729_100221/video/bg_739630_20250729_001211/session.mpd
[export] Starting for file: /tmp/steam/34B60FB3DE79F5.mp4
libav: Cannot load libcuda.so.1

libav: Cannot load libcuda.so.1
libav: Could not dynamically load CUDA

libav: Could not dynamically load CUDA

FFloflo35 2025-08-12 github

Same issue as well! I'm using the HEVC codec and hardware encoding.

Ubuntu 25.04
Ryzen 5 5600
Radeon 6700 XT

Ttrollollol123 2025-08-17 github

Same issue.

Windows 11 pro
5080
7800x3d

JJames-SSH 2025-12-22 github

+1 Same issue
Arch Linux 6.18.2-zen2-1-zen
Ryzen 7 5800X
AMD Radeon RX 9070 XT

Uuntilde 2026-01-07 github

The problem is still arorund.

Operating System: CachyOS Linux
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.18.3-1-cachyos-rt-bore (64-bit)
Graphics Platform: Wayland
Processors: 6 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15,5 GiB usable)
Graphics Processor: AMD Radeon RX 6600

Steam runtime logs:
https://pastebin.com/8bkLypJW

AAnn0ying 2026-02-10 github

Having the same issue.

OS: CachyOS x86_64
Kernel: Linux 6.18.9-2-cachyos
DE: KDE Plasma 6.5.5
WM: KWin (Wayland)
CPU: 13th Gen Intel(R) Core(TM) i7-13700K
GPU: AMD Radeon RX 9070 XT

Steam Runtime Diagnostics: https://gist.github.com/Ann0ying/9d730c8262beb110f50a932b1778ca0f

CChristianSilvermoon 2026-02-14 github

If you're still unable to export a clip, I've found a temporary workaround in the form of manually exporting clips saved in Steam with ffmpeg

Locate your Steam recordings folder and find the subfolder that corresponds to your saved clip (Example: clip_XXXXXXX_YYYYYYYY_ZZZZZZ)

You can use the contained thumbnail.jpg to help visually recognize it. Enter the folder with a Terminal and do...

You might also be able to parse the `clip.pb` file for the clip's name

It seems that the clip.pb file can be humanly read using protoc and that the clip's export name is the line starting with a "7:" meaning we can in theory get the clip's name with:

protoc --decode_raw < "$x/clip.pb" | grep "^7" | cut -d'"' -f 2
You might also try out using GNU `find` to narrow down the possible clip folders

Using this command within your clips folder

find -type d -mmin -120

Can help you narrow down which clips you saved within the last 2 hours if that also helps.

ffmpeg \
  -i <(cat init-stream0.m4s chunk-stream0*.m4s) \
  -i <(cat init-stream1.m4s chunk-stream1*.m4s) \ 
  -map 0:v:0 -map 1:a:0 \
  -c copy \
  "~/Desktop/My-exported-clip.mp4"

Using cat combined with BASH's Process Substitution feature via <(command) syntax, we can avoid storing an extra combined set of files on the disk by having ffmpeg directly read cat's standard output as if it were a file

and you should after some time, get a merged video file out to your Desktop.

From there you can do any manual post-processing (such as to reduce file size, etc.) you wish.


But yeah I'm also having this problem trying to export with any settings at all

IInkstainTheBat 2026-03-10 github

Still experiencing this issue
AMD RX 9060 XT on Fedora KDE 43

Yyemouu 2026-03-11 github

If you don't mind H.264, you can click on the custom tab when exporting the video and set the codec to H.264 and then you can get your video out of Steam without running any ffmpeg commands directly.

Should be a fine work around for now until this gets fixed.

CChristianSilvermoon 2026-03-14 github

@yemouu

I was unable to export with any video codec and that's why I had suggested the ffmpeg thing as a workaround in the meantime

KKorosys 2026-04-21 github

Still having this issue for a long time now
Can export with h.264, but h.265 fails

AMD 9070 XT
EndeavourOS (Arch) x86_64

LLaarikin 2026-04-23 github

+1

I can manually export it by selecting h.265 in the export window, otherwise it won't export properly nor automatically as usual.

RX 7900XT
Fedora 43, COSMIC

CChristianSilvermoon 2026-04-23 github

At some point I started having clip exports work again, does anyone else in this Issue Comments section still have the problem?

MMBR-0001 2026-04-24 github
Image Still doesn't work on opensuse TW
Exporting/previewing from MPD files /ssd-blahblah...
[export] Starting for file: /home/user/Videos/Atomic Heart - 2026-04-24 9-29-57 PM.mp4
libav: Cannot load libcuda.so.1
libav: Cannot load libcuda.so.1
libav: Could not dynamically load CUDA
libav: Could not dynamically load CUDA
[export] Failed to make initial encoder
Export failed with error code Failure

Nothing extracted yet.