Updated FFmpeg recording and live streaming (markdown)

Themaister 2012-12-10 06:46:45 -08:00
parent baaa0bd895
commit 9d2cda5faa
1 changed files with 16 additions and 4 deletions

@ -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 <enable stuff you fancy here>
`make
`sudo make install
./configure --prefix=/opt/ffmpeg --enable-libx264 --enable-gpl --enable-libmp3lame <enable stuff you fancy here>
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
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