Given that acquisition, compilation, and installation of FFmpeg is a prerequisite for this process, I’ll not repeat instructions regarding use of the bash command line, the nano text editor, setting permissions, and related tasks. RetroArch Script in nano Editor – Build with FFmpeg Recording Enabled Finally a standard version of the retroarch.sh script is retrieved from RetroPie’s github repository. Next the retropie_packages.sh script is called to fetch, compile, and install RetroArch. The above code selects the RetroPie-Setup directory, then modifies the retroarch.sh script to remove the parameter which disables the recording subsystem. ![]() Make the file executable using the chmod command. shĭenote the file as a bash script by entering the first line as:Ĭopy and paste the code block into the file, then save it. ![]() These commands can be executed line-by-line from a terminal alternatively, should you wish to run the code as a single script:Ĭreate a new text file in nano with an appropriate name and an extension of. Git checkout scriptmodules/emulators/retroarch.sh Sed -i "s/-disable-ffmpeg//" scriptmodules/emulators/retroarch.sh # remove the config that disables ffmpeg on the RPI “Assuming you are comfortable in the terminal: I shall be updating this guide in due course, but for the time being please see the revised instructions in the comments for this post (search this page for “OBTAIN AND BUILD SPECIFIC VERSION OF RETROARCH TO ENABLE FFMPEG RECORDING”).Īs explained by RetroPie forum administrator BuZz in the thread containing my initial question regarding in-game recording: Should you encounter issues, the solution is to build a specific known-good release of RetroArch. Please Note: the process listed in this section obtains and builds the latest, not necessarily stable, RetroArch source from GitHub. Please see the my earlier post: What is RetroPie? for a little background on RetroPie, RetroArch, and Libretro.Īt time of writing, the version of the RetroArch framework implemented by RetroPie specifically excludes the in-built recording facility which utilises FFmpeg, however this feature can be implemented with relative ease. Searching for other emulators offering recording, I found only the non- Libretro variant of Fuse to have in-built facilities whilst serviceable for capturing ZX Spectrum games, the audio-video files generated by the emulator are of a decidedly non-standard format.įundamentally it was my experiments when attempting to transcode footage of Technician Ted captured from Fuse, first with avconv, and later with FFmpeg, and a subsequent enquiry on the RetroPie forum, which spawned the series of articles which form this how-to guide.įor reference, the system used whilst researching this project was a Raspberry Pi 3, overclocked to 1300mhz (please see Overclocking the Raspberry Pi 3: Thermal Limits and Optimising for Single vs Multicore Performance for specifics). I’d previously managed to enable the audio-video feature provided by the Atari ST emulator, Hatari, and was hopeful that a software-only solution was feasible for other systems.Īt time of writing this guide has been tested on RetroPie 3.7, 3.8.1, and 4 (rc-1) setups, all running on installations of Raspbian Jessie, and RetroPie 4.0.3 installed on Raspbian Jessie with Pixel My motivation to undertake what has become a sizeable research, development, and experimentation, project grew from a simple desire to obtain recordings of emulators running under RetroPie. Recording to an External Storage Device.Tuning the FFmpeg Recording Configuration.Recording with the Custom RecordConfig Option.Adding Recording Options to the RetroPie Runcommand Menu.Activating the RetroArch Recording Features.Checking FFmpeg has Been Enabled in RetroArch.Rebuilding RetroArch to Enable FFmpeg Recording.Implemented natively on a standard Raspberry Pi, this approach runs without the need for any external hardware (such as an Elgato capture-card). The following guide demonstrates how to enable the capture of real-time gameplay footage from various console systems available in the RetroPie emulator suite, a number of which can utilise the RetroArch framework to provide an integrated audio-video recording facility. ![]() ![]() Video Captured Natively in RetroPie - Source: RetroResolution
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |