Archive:Kdenlive/Manual/Capturing: Difference between revisions

From KDE UserBase Wiki
mNo edit summary
mNo edit summary
Line 51: Line 51:


<!--T:24-->
<!--T:24-->
In version 0.9.3, the screen grab is done by the ffmpeg functionality instead.  For screen capture to work in ver 0.9.3, the version of ffmpeg installed needs to have been compiled with the <code>--enable-x11grab</code>  option. Ubuntu comes with an ffmpeg version compiled with this option.   
In version 0.9.3, the screen grab is done by the ''ffmpeg'' functionality instead.  For screen capture to work in ver 0.9.3, the version of ''ffmpeg'' installed needs to have been compiled with the <code>--enable-x11grab</code>  option. Ubuntu comes with an ''ffmpeg'' version compiled with this option.   


<!--T:25-->
<!--T:25-->
To check on your linux distro, type <code>ffmpeg -version</code> in a terminal and look for <code>--enable-x11grab</code> in the reported configuration info. <ref>There are now two branches of ffmpeg: a Libav branch and an ffmpeg.org branch. The ffmpeg version from the latter reports the configuration when you run with <code>ffmpeg -version</code>. The Libav version does not. So this method to check for the <code>--enable-x11grab</code> does not work if you have the Libav version of ffmpeg.</ref>
To check on your linux distro, type <code>ffmpeg -version</code> in a terminal and look for <code>--enable-x11grab</code> in the reported configuration info. <ref>There are now two branches of ''ffmpeg'': a ''Libav'' branch and an ffmpeg.org branch. The ''ffmpeg'' version from the latter branch reports the configuration when you run with <code>ffmpeg -version</code>. The ''Libav'' version does not. So this method to check for the <code>--enable-x11grab</code> does not work if you have the ''Libav'' version of ''ffmpe''g.</ref>


<!--T:26-->
<!--T:26-->

Revision as of 01:23, 9 December 2014

Capturing

Kdenlive provides functionality for capturing video from external devices; e.g., Firewire, FFmpeg, Screen Grab and Blackmagic.

You configure video capturing from Settings -> Configure Kdenlive -> Capture (more on this here).

You define the destination location for your captures by using Settings -> Configure Kdenlive -> Environment -> Default Folders (more on this here).

To execute a video capture, select the Record Monitor and choose the capture device from the dropdown in the bottom right.

Firewire

This captures video from sources connected via a firewire (also known as - IEEE 1394 High Speed Serial Bus) card and cable. This functionality uses the dvgrab program and the settings for this can be customized by clicking the spanner icon or choosing Settings>Configure Kdenlive. See Configure Firewire Capture.

To perform a capture:

  • Plug in your device to the firewire card and turn it on to play mode
  • Click the Connect Button
  • Click the Record Button — note it toggles to grey while you are recording
  • Click the Record button again to stop capture. Or click the stop button.
  • Once capturing is finished, click the disconnect button
  • In the Captured Files dialog, click the import button to have the captured files automatically imported into the project tree.

Note: If your device does not start playing the source device when you click the record button, you may have to start playback on your device manually and then click record.

FFmpeg

I believe this captures video from an installed Web Cam using Video4Linux2.

Screen Grab

This captures video of the PC screen. In version 0.9.2 it uses recordMyDesktop to do the capture. There is an open defect with this functionality in ver 0.9.2 — See bug tracker ID 2643.

In version 0.9.3, the screen grab is done by the ffmpeg functionality instead. For screen capture to work in ver 0.9.3, the version of ffmpeg installed needs to have been compiled with the --enable-x11grab option. Ubuntu comes with an ffmpeg version compiled with this option.

To check on your linux distro, type ffmpeg -version in a terminal and look for --enable-x11grab in the reported configuration info. [1]

If you are capturing the screen and using the X246 with audio settings and you get a crash as shown in the screen shot ...

... then consider creating a profile for audio capture where -acodec pcm_s16le is replaced by -acodec libvorbis -b 320k. See Configure Kdnelive.

Blackmagic

This is for capturing from Blackmagics decklink video capture cards (AFAIK). Not sure how stable this code is at the moment. See defect 2130.

Footnotes

  1. There are now two branches of ffmpeg: a Libav branch and an ffmpeg.org branch. The ffmpeg version from the latter branch reports the configuration when you run with ffmpeg -version. The Libav version does not. So this method to check for the --enable-x11grab does not work if you have the Libav version of ffmpeg.