Apply FFMPEG -vf filters to Advanced -> Recording output

Gavin H

New Member
Hi,

Using OBS 25.0.3 (Ubuntu 20.04 pre-packaged) I'd like to apply a simple -vf "crop=1280:720:0:0" filter definition to the video which gets recorded.

My canvas is an unusual size of 1704 x 720 and I only want to record the leftmost 1280 x 720 - is this possible? I'd hoped this would be close enough: but sure enough I get

warning: 'Failed to set "crop=1280:720:0:0"

That's fair enough because those aren't valid options for libx264 :(

1606415059666.png


I appreciate that OBS works directly with the ffmpeg libraries rather than just launching a commandline subprocess - is there any way I can squeeze this in without resorting to 'Output to File' and UNIX sockets , and *another* ffmpeg process?

Cheers,
Gavin.
 

Attachments

  • 1606415099645.png
    1606415099645.png
    22.6 KB · Views: 49
  • 1606415109850.png
    1606415109850.png
    22.6 KB · Views: 48

vulgerrity

New Member
Curious about this too. did you find a solution? Have you tried removing the quotes around your "crop" command?
 
Top