From 9d2cda5faa3ec6a5ca9ab7c69a80f151b6d425ce Mon Sep 17 00:00:00 2001 From: Themaister Date: Mon, 10 Dec 2012 06:46:45 -0800 Subject: [PATCH] Updated FFmpeg recording and live streaming (markdown) --- FFmpeg-recording-and-live-streaming.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/FFmpeg-recording-and-live-streaming.md b/FFmpeg-recording-and-live-streaming.md index eb85f9a..b6345f1 100644 --- a/FFmpeg-recording-and-live-streaming.md +++ b/FFmpeg-recording-and-live-streaming.md @@ -6,9 +6,21 @@ for libavcodec using a separate config file. RetroArch requires a very recent version of FFmpeg to work correctly. If you are on Linux or OSX, your distros FFmpeg build is likely out of date, and you should build FFmpeg from Git. A recommended command line is: -`./configure --prefix=/opt/ffmpeg --enable-libx264 --enable-gpl --enable-libmp3lame -`make -`sudo make install + ./configure --prefix=/opt/ffmpeg --enable-libx264 --enable-gpl --enable-libmp3lame + make + sudo make install + +This assumes you will install a custom FFmpeg build into `/opt/ffmpeg`. +For Windows users, the redist includes recent enough libav* binaries. + +Now you can configure RetroArch with: + + PKG_CONFIG_PATH=/opt/ffmpeg/lib/pkgconfig ./configure + +and the configure script should pick up the FFmpeg libraries in `/opt/ffmpeg/lib`. Check config.mk +to make sure. After successfully compiling, make sure that the RetroArch binary picks up the correct FFmpeg libs by adding `/opt/ffmpeg/lib` to LD_LIBRARY_PATH (or the equivalent on OSX). ## Lossless coding -By default (not providing a codec \ No newline at end of file +By default (not providing an encoding config), lossless coding is used. This means libx264/RGB, with -qp 0 (lossless). The audio codec used is FLAC. + +## Lossy and flexible coding config \ No newline at end of file