From cf137538fa3b3e76d192db6fc8e8c02df7ec727a Mon Sep 17 00:00:00 2001 From: Lctrs Date: Thu, 16 Jul 2020 17:11:32 +0200 Subject: [PATCH] Package FFmpeg for now due to missing codecs To be removed in favor of ffmpeg-full when 20.08 is out Closes #1 --- net.rpcs3.RPCS3.yaml | 76 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/net.rpcs3.RPCS3.yaml b/net.rpcs3.RPCS3.yaml index 23f2e9c..7e82526 100644 --- a/net.rpcs3.RPCS3.yaml +++ b/net.rpcs3.RPCS3.yaml @@ -97,6 +97,82 @@ modules: tag: "libevdev-1.9.0" commit: "468760ba11438734912f793b1de00cb0f243497f" + - name: "ffmpeg" + config-opts: + - "--disable-debug" + - "--disable-doc" + - "--disable-static" + - "--enable-optimizations" + - "--enable-shared" + - "--disable-ffplay" + - "--disable-ffprobe" + - "--disable-everything" + - "--enable-gnutls" + - "--enable-libaom" + - "--enable-libdav1d" + - "--enable-libfdk-aac" + - "--enable-libmp3lame" + - "--enable-libfontconfig" + - "--enable-libfreetype" + - "--enable-libopus" + - "--enable-libpulse" + - "--enable-libspeex" + - "--enable-libtheora" + - "--enable-libvorbis" + - "--enable-libvpx" + - "--enable-libwebp" + - "--enable-openal" + - "--enable-opengl" + - "--enable-sdl2" + - "--enable-vulkan" + # audio-encoders + - "--enable-encoder= + ac3,alac,flac,libfdk_aac,g723_1,mp2,libmp3lame,libopus,pcm_alaw,pcm_mulaw,\ + pcm_f32le,pcm_s16be,pcm_s24be,pcm_s16le,pcm_s24le,pcm_s32le,\ + pcm_u8,tta,libvorbis,wavpack,\ + wmav1,wmav2" + # audio-decoders + - "--enable-decoder=\ + ac3,alac,flac,g723_1,g729,libfdk_aac,libopus,mp2,mp3,m4a,pcm_alaw,pcm_mulaw,\ + pcm_f32le,pcm_s16be,pcm_s24be,pcm_s16le,pcm_s24le,pcm_s32le,\ + pcm_u8,tta,vorbis,wavpack,ape,dca,eac3,mlp,tak,truehd,wmav1,wmav2,wmapro" + # video-encoders + - "--enable-encoder=\ + ass,ffv1,libaom_av1,libvpx_vp8,libvpx_vp9,rawvideo,theora,\ + h263,h264,wmv1,wmv2" + # video-decoders + - "--enable-decoder=\ + ass,ffv1,libaom_av1,libdav1d,libvpx_vp8,libvpx_vp9,rawvideo,theora,vp8,vp9,\ + cinepak,flv,hevc,h263,h264,indeo2,indeo3,indeo4,indeo5,mpeg2video,mpeg4,msmpeg4,msmpeg4v1,msmpeg4v2,msmpeg4v3,vp6,vp6a,vp6f,wmv1,wmv2,wmv3,wmv3image" + # image-formats + - "--enable-encoder=gif,png,tiff,webp" + - "--enable-decoder=gif,png,tiff,webp" + # hwaccels + - "--enable-hwaccel=h264_vaapi,h264_vdpau,hevc_vaapi,hevc_vdpau" + # muxers + - "--enable-muxer=ac3,ass,flac,gif,matroska,mp3,mpegvideo,ogg,opus,wav" + # demuxers + - "--enable-demuxer=\ + aac,ac3,ass,flac,gif,matroska,mov,mp3,mpegvideo,ogg,wav,\ + avi,h264,m4v,ape" + # parsers + - "--enable-parser=\ + aac,ac3,flac,mpegaudio,mpeg4video,opus,vp3,vp8,vorbis,\ + hevc,h264,dca" + # filters + - "--enable-filter=crop,scale" + - "--enable-protocol=file" + cleanup: + - "/lib/*.so" + - "/include" + - "/lib/pkgconfig" + - "/share/ffmpeg" + sources: + - type: "git" + url: "https://git.ffmpeg.org/ffmpeg.git" + tag: "n4.3.1" + commit: "6b6b9e593dd4d3aaf75f48d40a13ef03bdef9fdb" + - name: "rpcs3-llvm" buildsystem: "cmake-ninja" builddir: true