Package Details: pcsx2 2.8.2-1

Git Clone URL: https://aur.archlinux.org/pcsx2.git (read-only, click to copy)
Package Base: pcsx2
Description: PlayStation 2 emulator
Upstream URL: https://github.com/PCSX2/pcsx2
Licenses: GPL-3.0-or-later
Submitter: freswa
Maintainer: xiota (weirdbeard)
Last Packager: xiota
Votes: 45
Popularity: 2.90
First Submitted: 2023-01-03 23:17 (UTC)
Last Updated: 2026-09-09 03:32 (UTC)

Latest Comments

1 2 3 4 5 6 .. 10 Next › Last »

Erwin_Iosef commented on 2026-08-15 17:47 (UTC) (edited on 2026-08-15 17:50 (UTC) by Erwin_Iosef)

@ylm use a pastebin when uploading large amounts of output log, first try building with -DUSE_LINKED_FFMPEG=OFF added in _cmake_pcsx2=(), if that doesn't work, try building in a clean chroot that doesn't have ffmpeg pre-installed.

ylm commented on 2026-08-15 17:25 (UTC) (edited on 2026-08-15 17:28 (UTC) by ylm)

/home/yonathan/.cache/yay/pcsx2/src/pcsx2/pcsx2/GS/GSCapture.cpp:457:15: error: no member named 'pix_fmts' in 'AVCodec'
  457 |                 if (vcodec->pix_fmts)
      |                     ~~~~~~  ^
/home/yonathan/.cache/yay/pcsx2/src/pcsx2/pcsx2/GS/GSCapture.cpp:459:25: error: no member named 'pix_fmts' in 'AVCodec'
  459 |                         sw_pix_fmt = vcodec->pix_fmts[0];
      |                                      ~~~~~~  ^
/home/yonathan/.cache/yay/pcsx2/src/pcsx2/pcsx2/GS/GSCapture.cpp:460:28: error: no member named 'pix_fmts' in 'AVCodec'
  460 |                         for (u32 i = 0; vcodec->pix_fmts[i] != AV_PIX_FMT_NONE; i++)
      |                                         ~~~~~~  ^
/home/yonathan/.cache/yay/pcsx2/src/pcsx2/pcsx2/GS/GSCapture.cpp:462:17: error: no member named 'pix_fmts' in 'AVCodec'
  462 |                                 if (vcodec->pix_fmts[i] == preferred_sw_pix_fmt)
      |                                     ~~~~~~  ^
/home/yonathan/.cache/yay/pcsx2/src/pcsx2/pcsx2/GS/GSCapture.cpp:464:27: error: no member named 'pix_fmts' in 'AVCodec'
  464 |                                         sw_pix_fmt = vcodec->pix_fmts[i];
      |                                                      ~~~~~~  ^
/home/yonathan/.cache/yay/pcsx2/src/pcsx2/pcsx2/GS/GSCapture.cpp:689:42: error: no member named 'sample_fmts' in 'AVCodec'
  689 |                 for (const AVSampleFormat* p = acodec->sample_fmts; *p != AV_SAMPLE_FMT_NONE; p++)
      |                                                ~~~~~~  ^
/home/yonathan/.cache/yay/pcsx2/src/pcsx2/pcsx2/GS/GSCapture.cpp:700:48: error: no member named 'sample_fmts' in 'AVCodec'
  700 |                         s_audio_codec_context->sample_fmt = acodec->sample_fmts[0];
      |                                                             ~~~~~~  ^
/home/yonathan/.cache/yay/pcsx2/src/pcsx2/pcsx2/GS/GSCapture.cpp:1536:15: error: no member named 'pix_fmts' in 'AVCodec'
 1536 |         if (v_codec->pix_fmts == nullptr)
      |             ~~~~~~~  ^
/home/yonathan/.cache/yay/pcsx2/src/pcsx2/pcsx2/GS/GSCapture.cpp:1542:27: error: no member named 'pix_fmts' in 'AVCodec'
 1542 |         for (int i = 0; v_codec->pix_fmts[i] != AVPixelFormat::AV_PIX_FMT_NONE; i++)
      |                         ~~~~~~~  ^
/home/yonathan/.cache/yay/pcsx2/src/pcsx2/pcsx2/GS/GSCapture.cpp:1544:29: error: no member named 'pix_fmts' in 'AVCodec'
 1544 |         ret.emplace_back(v_codec->pix_fmts[i], wrap_av_get_pix_fmt_name(v_codec->pix_fmts[i]));
      |                                  ~~~~~~~  ^
/home/yonathan/.cache/yay/pcsx2/src/pcsx2/pcsx2/GS/GSCapture.cpp:1544:76: error: no member named 'pix_fmts' in 'AVCodec'
 1544 |                                                                                 ^
11 errors generated.
[593/876] Building CXX object pcsx2/CMakeFiles/PCSX2.dir/GS/GSState.cpp.o
ninja: build stopped: subcommand failed.

Seems that AVCodec type does not have a pix_fmts member.

Thks.

Erwin_Iosef commented on 2026-08-09 21:45 (UTC) (edited on 2026-08-14 17:12 (UTC) by Erwin_Iosef)

There's a PR that updates the ffmpeg req, although I haven't tested it yet: https://github.com/PCSX2/pcsx2/pull/14831

Erwin_Iosef commented on 2026-08-09 21:15 (UTC)

pcsx2 now won't work with ffmpeg-2:9.0, with error: pcsx2: error while loading shared libraries: libavformat.so.62: cannot open shared object file: No such file or directory