Video Support

From CockosWiki

(Difference between revisions)
Jump to: navigation, search
(Playback in Reaper 5)
(FFMPEG libraries)
 
(21 intermediate revisions not shown)
Line 2: Line 2:
=Video support in REAPER=
=Video support in REAPER=
-
 
-
This page will be updated as Reaper v5 progresses.
 
:REAPER supports inserting video items in your project. The item will display the waveform of any audio contained in the video file. For longer videos it could take a bit more time than usual to generate that overview, as the entire video file has to be traversed and its, usually compressed, audio decoded.
:REAPER supports inserting video items in your project. The item will display the waveform of any audio contained in the video file. For longer videos it could take a bit more time than usual to generate that overview, as the entire video file has to be traversed and its, usually compressed, audio decoded.
Line 9: Line 7:
:Video items are handled like any other item, though it is recommended you edit video items only along the frame edges, which means having a SMPTE timeruler active with the frame rate that matches that of the video.
:Video items are handled like any other item, though it is recommended you edit video items only along the frame edges, which means having a SMPTE timeruler active with the frame rate that matches that of the video.
-
:Most of the basic settings for video are handled in '''Preferences / Media / Video/REX/Misc''' .
+
:Basic settings for video are handled in '''Preferences / Media / Video/REX/Misc''' .
-
==Playback in Reaper 5==
+
==Playback in Reaper 5 and 6==
-
:Reaper 5 supports playback of almost any video out there by using the '''VLC playback engine''' or the '''FFMPEG libraries'''. On OSX it may also use the AVFoundation libraries that come with OSX. The effect plugin "Video processor" provides many different video effects as well. There are some online tutorials available that are just a Youtube search away.
+
:Reaper 5/6 supports playback of almost any video out there by using the '''VLC playback engine''' or the '''FFMPEG libraries'''. On OSX it may also use the AVFoundation libraries that come with OSX. The effect plugin "Video processor" provides many different video effects as well. There are some online tutorials available that are just a Youtube search away.
:'''Windows'''
:'''Windows'''
-
::VLC , '''recommended!''' v3.0.3 as of July 30th 2018 , FFMpeg(shared binary DLL files)or system playback(same as version Reaper v4).
+
::VLC , '''recommended!''' v3.0.8 as of April 19th 2020 , FFMpeg(shared binary DLL files)or system playback(same as version Reaper v4).
:'''Mac OSX'''
:'''Mac OSX'''
::Video playback is provided by the '''AVFoundation''' libraries that come '''preinstalled in all OSX systems starting with v10.7 (Lion)'''. This system library is a lot more efficient than the FFMPEG libraries are. The user can also use an installed VLC player to play either all or just selected video formats, such as MKV containers, WMV files or WEBM videos.
::Video playback is provided by the '''AVFoundation''' libraries that come '''preinstalled in all OSX systems starting with v10.7 (Lion)'''. This system library is a lot more efficient than the FFMPEG libraries are. The user can also use an installed VLC player to play either all or just selected video formats, such as MKV containers, WMV files or WEBM videos.
 +
 +
==Playback in Reaper 4==
 +
:Reaper v4 comes with preinstalled FFMPEG libraries that support only free formats. The user can download FFMPEG binaries that support non-free formats such as MP4 as well. The '''Video Lan Client player''' can be installed as used too, which extends the playback capabilities of Reaper considerably, but you may have to rely on an older version of VLC to work well enough in Reaper v4.
 +
 +
:The easiest method is to simply install the Video Lan Client player on either Windows or OSX. Be sure to install the 32-bit version of the Video Lan Client (VLC) player for the 32-bit version of Reaper. Install the 64-bit version of VLC for use in the 64-bit version of Reaper. The latest version of VLC is always available [https://videolan.org here] and [http://download.videolan.org/pub/videolan/vlc/last/ here].
 +
 +
:Tell Reaper to use the VLC player as a video playback method by accessing the '''''Preferences''''' of Reaper and selecting the video page. In the dropdown menu titled ''Preferred video decoding engine'' select '''VLC'''.
 +
==Downloads==
==Downloads==
-
===VLC v3.0.3 ===
+
===VLC Download Links ===
-
:[http://download.videolan.org/pub/videolan/vlc/3.0.3/win64/ Windows 64-bit version] (Reaper and Windows 64-bit)
+
:[http://www.videolan.org/vlc/download-windows.html Windows] (Reaper and Windows)
-
:[http://download.videolan.org/pub/videolan/vlc/3.0.3/win32/ Windows 32-bit] (Reaper 32-bit ,Windows 32-bit or 64-bit]
+
:[http://www.videolan.org/vlc/download-macosx.html MacOS]
-
:[http://download.videolan.org/pub/videolan/vlc/3.0.3/macosx/ MacOS]
+
-
Windows users need to remember to download 64-bit version if you're using the 64-bit version of Reaper.
+
-
===FFMPEG v3.4.1 libraries===
+
:Find the most recent versions either on the main webpage of VLC
-
(required for encoding video to non-free formats)
+
-
(v4 support is incoming for v5.94 or slightly later perhaps)
+
-
:[https://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-3.4.1-win64-shared.zip Windows version Reaper 64-bit] ((Reaper and Windows 64-bit, place in /plugins directory of program installation path)
+
:or go [http://download.videolan.org/pub/videolan/vlc/ here] for an overview of all versions for all systems.
-
:[https://ffmpeg.zeranoe.com/builds/win32/shared/ffmpeg-3.4.1-win32-shared.zip Windows version Reaper 32-bit] (Reaper 32-bit ,Windows 32-bit or 64-bit, place in /plugins directory of program installation path)
+
:Windows users need to remember to download 64-bit version if you're using the 64-bit version of Reaper.
-
:[https://ffmpeg.zeranoe.com/builds/macos64/shared/ffmpeg-3.4.1-macos64-shared.zip MacOS/OSX version Reaper 64-bit] (remember that OSX/MacOS users can use the AVFoundation encoder instead which is usually faster too)
+
===FFMPEG libraries===
 +
:They are required for encoding video to non-free formats on Windows. MacOS does come with an encoding library AVFoundation already, so give that a go first.
-
==Playback in Reaper 4==
+
:Windows users require the full ffmpeg libraries to produce non-free formats such as MP4 containers with H264 video and AAC audio. The Windows version of Reaper v6 and up supports FFMPEG v4.3.1 as of 5.1.2021 (January 5th 2021)
-
:Reaper v4 comes with preinstalled FFMPEG libraries that support only free formats. The user can download FFMPEG binaries that support non-free formats such as MP4 as well. The '''Video Lan Client player''' can be installed as used too, which extends the playback capabilities of Reaper considerably, but you may have to rely on an older version of VLC to work well enough in Reaper v4.
+
-
:The easiest method is to simply install the Video Lan Client player on either Windows or OSX. Be sure to install the 32-bit version of the Video Lan Client (VLC) player for the 32-bit version of Reaper. Install the 64-bit version of VLC for use in the 64-bit version of Reaper. The latest version of VLC is always available [https://videolan.org here] and [http://download.videolan.org/pub/videolan/vlc/last/ here].
+
::'''Downloading and installing the libraries'''
-
:Tell Reaper to use the VLC player as a video playback method by accessing the '''''Preferences''''' of Reaper and selecting the video page. In the dropdown menu titled ''Preferred video decoding engine'' select '''VLC'''.
+
::[https://ffmpeg.org Visit the FFMPEG Homepage]
 +
::Visit the downloads section, then the Windows section. Click on the link to the BtbN builds. They're tested to work. Feel free to try other builds.
 +
 +
::On that webpage version, architecture and linking(static or shared) need to be chosen.
 +
:::'''Version''' : Avoid the nightly builds. Pick the stable builds which will be a version number such as '''4.3.1''' in this case.
 +
 +
:::'''Architecture''' : Windows users, remember to choose the 64-bit or 32-bit to match the kind of Reaper version you're using.
 +
 +
:::'''Linking''' : Always choose Shared.  The static build only contain the commandline executables.
 +
 +
::Download the package, unpack it by double-clicking on the file or using your preferred tool for this, such as 7-Zip for example.
 +
:::The '''.dll''' files for Windows will usually be found in a directory called '''bin'''.
 +
 +
:::Locate that resource directory via the Options menu of Reaper. Choose the menu item '''Show Reaper resource path in explorer/finder'''. Copy those files in to the '''userplugins''' directory of your Reaper resource directory.
==Configurable Playback Method per video format (Reaper 5 and up)==
==Configurable Playback Method per video format (Reaper 5 and up)==
-
::Reaper 5 supports a selectable playback method '''per format'''. The user can choose a default playback method and provide overrides for specific formats.
+
:Reaper 5 supports a selectable playback method '''per format'''. The user can choose a default playback method and provide overrides for specific formats.
::This is handled via a line of text entered in a box on the '''Video/REX/Misc''' page of the '''preferences'''.
::This is handled via a line of text entered in a box on the '''Video/REX/Misc''' page of the '''preferences'''.
-
::Default in Reaper v5 for Windows is:
+
:Default in Reaper v5 for Windows is:
-
:::'''<code>libav vlc qt:mov,qt,m4v,mp4 dshow:!mov qt</code>'''
+
::'''<code>libav vlc qt:mov,qt,m4v,mp4 dshow:!mov qt</code>'''
::'''''libav, vlc, qt and dshow''''' are decoding methods. The first one is used before the second and so on.
::'''''libav, vlc, qt and dshow''''' are decoding methods. The first one is used before the second and so on.
-
::Decoding overrides for specific formats are used like so :
+
:Decoding overrides for specific formats are used like so :
::'''''method:extension-of-video,another-extension,...'''''
::'''''method:extension-of-video,another-extension,...'''''
::Example:  '''''vlc:webm'''''  (WEBM files are decoded with VLC)
::Example:  '''''vlc:webm'''''  (WEBM files are decoded with VLC)
-
::Methods can also be excluded from decoding a specific format like so :
+
:Methods can also be excluded from decoding a specific format like so :
::'''''method:!extension-of-video'''''
::'''''method:!extension-of-video'''''
::Example: '''''vlc:!mov'''''  (excludes VLC from being used to decode Quicktime files)
::Example: '''''vlc:!mov'''''  (excludes VLC from being used to decode Quicktime files)
Line 65: Line 80:
==Rendering video ==
==Rendering video ==
-
: In Windows you can use the preinstalled FFMPEG libraries to render to free formats and codecs. The supported codecs are [http://en.wikipedia.org/wiki/DV DV], [http://en.wikipedia.org/wiki/FFV1 FFV1] (lossless) and [http://en.wikipedia.org/wiki/Huffyuv Huffyuv] (lossless).
+
: Windowscan use the preinstalled FFMPEG libraries to render to free formats and codecs. The supported codecs are [http://en.wikipedia.org/wiki/DV DV], [http://en.wikipedia.org/wiki/FFV1 FFV1] (lossless) and [http://en.wikipedia.org/wiki/Huffyuv Huffyuv] (lossless).
-
: In MacOS you can use the AVFoundation libraries that are preinstalled in the operating system, or use the FFMPEG libraries instead.
+
: MacOS, use the AVFoundation libraries that are preinstalled in the operating system, or use the FFMPEG libraries instead.
-
:If the full FFmpeg libraries are installed, more video rendering formats will be available.
+
:Install the full FFmpeg libraries to have more rendering format options.
-
:[[Image:ffmpeg2-screenshot.jpg]]
+
::[[Image:ffmpeg2-screenshot.jpg]]
-
:'''Reaper 64-bit version, Windows(x64 only)''', recommended FFMPEG library :
 
-
::https://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-3.0.1-win64-shared.7z
 
-
::Unpack the file with [http://7-zip.org/ 7-zip], Winrar or similar.
 
-
::There are a bunch of files that have the '''''DLL''''' extension in the directory '''''ffmpeg-3.0.1-win64-shared\bin\'''''. Copy those files to '''''Your-Reaper-Resource-Direcory\UserPlugins\'''''.
+
==Decoding video with FFMPEG libraries==
 +
:For decoding, you'll need to first tell Reaper to use the FFMPEG libraries you just installed in the Video/REX/Misc page of the preferences, and then restart Reaper for the change to take effect.
-
::You'll need to first tell Reaper to use the FFMPEG libraries you just installed in the Video/REX/Misc page of the preferences, and then restart Reaper for the change to take effect.
+
:To check whether the installation works, place a video on to the timeline and check the '''Source Properties''' of the video item (default shortcut '''CTRL/CMD+F2'''). If the FFMPEG libraries are being used to decode the video, those libaries will show up in the descriptions of the source properties, telling you what is being used for decoding.
-
::To check whether the installation works, place a video on to the timeline and check the Source Properties of the video item (default shortcut CTRL+F2). If the FFMPEG libraries are being used to decode the video, those libaries will show up in the descriptions of the source properties, telling you what is being used for decoding.
+
::[[Image:ffmpeg-screenshot.jpg]]
-
:::[[Image:ffmpeg-screenshot.jpg]]
+
==Formats for Post Production==
 +
:'''Quicktime''' container, using the '''PhotoJPEG''' codec at 40-75% quality
-
:'''Reaper 32-bit version, Windows''', recommended FFMPEG library :
+
:'''Quicktime or MKV''' container, using the '''Prores Proxy''' codec at quality 20(suggested)
-
::https://ffmpeg.zeranoe.com/builds/win32/shared/ffmpeg-3.0.1-win32-shared.7z
+
-
::There are a bunch of files that have the '''''DLL''''' extension in the directory '''''ffmpeg-3.0.1-win32-shared\bin\'''''. Copy those files to '''''Your-Reaper-Resource-Direcory\UserPlugins\'''''.
 
-
 
-
::You'll need to first tell Reaper to use the FFMPEG libraries you just installed in the Video/REX/Misc page of the preferences, and then restart Reaper for the change to take effect.
 
-
 
-
::To check whether the installation works, place a video on to the timeline and check the Source Properties of the video item (default shortcut CTRL+F2). If the FFMPEG libraries are being used to decode the video, those libaries will show up in the descriptions of the source properties, telling you what is being used for decoding.
 
-
 
-
:::[[Image:ffmpeg-screenshot.jpg]]
 
-
 
-
 
-
:'''Reaper , OSX''', recommended FFMPEG library :
 
-
:: REAPER OS X supports loading FFmpeg 3.0.x, if you build it, but encoding/decoding video using AVFoundation on OS 10.8+ is preferred.
 
-
 
-
==Recommended formats for post production==
 
-
 
-
:Quicktime container, using the PhotoJPEG codec at 40-75% quality
 
-
 
-
:Quicktime or MKV container, using the Prores Proxy codec at quality 20(suggested)
 
:These formats can easily be produced with at least two free applications
:These formats can easily be produced with at least two free applications
 +
::[https://sourceforge.net/projects/tencoder/ '''TEncoder''']
 +
::Free, open source and available for Windows in both installable and portable format. This program does not require Quicktime to be installed, and can produce Prores Proxy files in either a Quicktime or MKV container, both of which Reaper can play back.
-
[https://sourceforge.net/projects/tencoder/ TEncoder], free, open source and available for Windows in both installable and portable format. This program does not require Quicktime to be installed, and can produce Prores Proxy files in either a Quicktime or MKV container, both of which Reaper can play back.
+
::[http://www.squared5.com/ '''MPEG Streamclip''']
 +
::Free and available for both MacOS and Windows. Windows users should download the 1.2.1b6 beta.
-
[http://www.squared5.com/ MPEG Streamclip], free and available for both OSX and Windows. Windows users should download the 1.2.1b6 beta.
+
:MacOS users can probably use ProRes in any case, since the AVFoundation libraries support that format.
-
:OSX users can probably use ProRes as well, since the AVFoundation libraries support that format, but this is not yet tested.
+
==Reaper 5+ advantages and differences for video==
-
 
+
-
==Reaper 5 advantages and differences for video==
+
:Note that these features may change to a small degree, but these features are part of Reaper 5.0 with a high degree of certainty, and have been tested to work at least on Windows at the time of writing.
:Note that these features may change to a small degree, but these features are part of Reaper 5.0 with a high degree of certainty, and have been tested to work at least on Windows at the time of writing.
-
:*Reaper 5 handles the frame rates setting of the project a little differently than Reaper 4 does. The '''project settings''' now determine the video output frame rate, so set that to what you need. Video now has its own page in the project settings.
+
:*Frame rate settings of the projects are kept in the '''project settings''' in Reaper 5 and up. Video now has its own page in the project settings.
-
:*The timeruler has been fixed to handle 29.97 dropframe video accurately. The timeruler now displays sensible values that are more useful to the user. Most of those fixes will likely be ported back to Reaper 4.
+
:*The timeruler has been fixed to handle 29.97 dropframe video accurately. The timeruler now displays sensible values that are more useful to the user.
-
:*OSX users can now use the AVFoundation libraries built in to OSX 10.7 and higher, which are more efficient and give the user a good batch of encoding features as well.
+
:*MacOS users can now use the AVFoundation libraries built in to OSX 10.7 and higher, which are more efficient and give the user a good batch of encoding features as well.
:*The video window can be docked now.
:*The video window can be docked now.
-
 
==Tutorials for Reaper 4==
==Tutorials for Reaper 4==
-
A '''video tutorial''' on how to sync up audio recordings to a video shot with any video camera and render it out can be found at the Homebrewed Music site : http://www.homebrewedmusic.com/2010/07/15/syncing-audio-to-video-in-reaper/
+
:A '''video tutorial''' on how to sync up audio recordings to a video shot with any video camera and render it out can be found at the Homebrewed Music site : http://www.homebrewedmusic.com/2010/07/15/syncing-audio-to-video-in-reaper/
-
More information and a discussion of the tutorial can be found here at the Reaper forums: http://forum.cockos.com/showthread.php?t=61484
+
:More information and a discussion of the tutorial can be found here at the Reaper forums: http://forum.cockos.com/showthread.php?t=61484
=More information=
=More information=

Latest revision as of 18:30, 6 January 2021

Main Page > REAPER Documentation, going quite a lot further

Contents

Video support in REAPER

REAPER supports inserting video items in your project. The item will display the waveform of any audio contained in the video file. For longer videos it could take a bit more time than usual to generate that overview, as the entire video file has to be traversed and its, usually compressed, audio decoded.
Video items are handled like any other item, though it is recommended you edit video items only along the frame edges, which means having a SMPTE timeruler active with the frame rate that matches that of the video.
Basic settings for video are handled in Preferences / Media / Video/REX/Misc .

Playback in Reaper 5 and 6

Reaper 5/6 supports playback of almost any video out there by using the VLC playback engine or the FFMPEG libraries. On OSX it may also use the AVFoundation libraries that come with OSX. The effect plugin "Video processor" provides many different video effects as well. There are some online tutorials available that are just a Youtube search away.
Windows
VLC , recommended! v3.0.8 as of April 19th 2020 , FFMpeg(shared binary DLL files)or system playback(same as version Reaper v4).
Mac OSX
Video playback is provided by the AVFoundation libraries that come preinstalled in all OSX systems starting with v10.7 (Lion). This system library is a lot more efficient than the FFMPEG libraries are. The user can also use an installed VLC player to play either all or just selected video formats, such as MKV containers, WMV files or WEBM videos.

Playback in Reaper 4

Reaper v4 comes with preinstalled FFMPEG libraries that support only free formats. The user can download FFMPEG binaries that support non-free formats such as MP4 as well. The Video Lan Client player can be installed as used too, which extends the playback capabilities of Reaper considerably, but you may have to rely on an older version of VLC to work well enough in Reaper v4.
The easiest method is to simply install the Video Lan Client player on either Windows or OSX. Be sure to install the 32-bit version of the Video Lan Client (VLC) player for the 32-bit version of Reaper. Install the 64-bit version of VLC for use in the 64-bit version of Reaper. The latest version of VLC is always available here and here.
Tell Reaper to use the VLC player as a video playback method by accessing the Preferences of Reaper and selecting the video page. In the dropdown menu titled Preferred video decoding engine select VLC.


Downloads

VLC Download Links

Windows (Reaper and Windows)
MacOS
Find the most recent versions either on the main webpage of VLC
or go here for an overview of all versions for all systems.
Windows users need to remember to download 64-bit version if you're using the 64-bit version of Reaper.

FFMPEG libraries

They are required for encoding video to non-free formats on Windows. MacOS does come with an encoding library AVFoundation already, so give that a go first.
Windows users require the full ffmpeg libraries to produce non-free formats such as MP4 containers with H264 video and AAC audio. The Windows version of Reaper v6 and up supports FFMPEG v4.3.1 as of 5.1.2021 (January 5th 2021)
Downloading and installing the libraries
Visit the FFMPEG Homepage
Visit the downloads section, then the Windows section. Click on the link to the BtbN builds. They're tested to work. Feel free to try other builds.
On that webpage version, architecture and linking(static or shared) need to be chosen.
Version : Avoid the nightly builds. Pick the stable builds which will be a version number such as 4.3.1 in this case.
Architecture : Windows users, remember to choose the 64-bit or 32-bit to match the kind of Reaper version you're using.
Linking : Always choose Shared. The static build only contain the commandline executables.
Download the package, unpack it by double-clicking on the file or using your preferred tool for this, such as 7-Zip for example.
The .dll files for Windows will usually be found in a directory called bin.
Locate that resource directory via the Options menu of Reaper. Choose the menu item Show Reaper resource path in explorer/finder. Copy those files in to the userplugins directory of your Reaper resource directory.

Configurable Playback Method per video format (Reaper 5 and up)

Reaper 5 supports a selectable playback method per format. The user can choose a default playback method and provide overrides for specific formats.
This is handled via a line of text entered in a box on the Video/REX/Misc page of the preferences.
Default in Reaper v5 for Windows is:
libav vlc qt:mov,qt,m4v,mp4 dshow:!mov qt
libav, vlc, qt and dshow are decoding methods. The first one is used before the second and so on.
Decoding overrides for specific formats are used like so :
method:extension-of-video,another-extension,...
Example: vlc:webm (WEBM files are decoded with VLC)
Methods can also be excluded from decoding a specific format like so :
method:!extension-of-video
Example: vlc:!mov (excludes VLC from being used to decode Quicktime files)

Rendering video

Windows, can use the preinstalled FFMPEG libraries to render to free formats and codecs. The supported codecs are DV, FFV1 (lossless) and Huffyuv (lossless).
MacOS, use the AVFoundation libraries that are preinstalled in the operating system, or use the FFMPEG libraries instead.


Install the full FFmpeg libraries to have more rendering format options.
Ffmpeg2-screenshot.jpg


Decoding video with FFMPEG libraries

For decoding, you'll need to first tell Reaper to use the FFMPEG libraries you just installed in the Video/REX/Misc page of the preferences, and then restart Reaper for the change to take effect.
To check whether the installation works, place a video on to the timeline and check the Source Properties of the video item (default shortcut CTRL/CMD+F2). If the FFMPEG libraries are being used to decode the video, those libaries will show up in the descriptions of the source properties, telling you what is being used for decoding.
Ffmpeg-screenshot.jpg

Formats for Post Production

Quicktime container, using the PhotoJPEG codec at 40-75% quality
Quicktime or MKV container, using the Prores Proxy codec at quality 20(suggested)


These formats can easily be produced with at least two free applications
TEncoder
Free, open source and available for Windows in both installable and portable format. This program does not require Quicktime to be installed, and can produce Prores Proxy files in either a Quicktime or MKV container, both of which Reaper can play back.
MPEG Streamclip
Free and available for both MacOS and Windows. Windows users should download the 1.2.1b6 beta.
MacOS users can probably use ProRes in any case, since the AVFoundation libraries support that format.

Reaper 5+ advantages and differences for video

Note that these features may change to a small degree, but these features are part of Reaper 5.0 with a high degree of certainty, and have been tested to work at least on Windows at the time of writing.
  • Frame rate settings of the projects are kept in the project settings in Reaper 5 and up. Video now has its own page in the project settings.
  • The timeruler has been fixed to handle 29.97 dropframe video accurately. The timeruler now displays sensible values that are more useful to the user.
  • MacOS users can now use the AVFoundation libraries built in to OSX 10.7 and higher, which are more efficient and give the user a good batch of encoding features as well.
  • The video window can be docked now.

Tutorials for Reaper 4

A video tutorial on how to sync up audio recordings to a video shot with any video camera and render it out can be found at the Homebrewed Music site : http://www.homebrewedmusic.com/2010/07/15/syncing-audio-to-video-in-reaper/
More information and a discussion of the tutorial can be found here at the Reaper forums: http://forum.cockos.com/showthread.php?t=61484

More information

Personal tools