Opened 3 years ago

Last modified 3 years ago

#5005 new enhancement

monitor index alias for gdigrab input specification as handy alternative in multimonitors environments

Reported by: user7415 Owned by:
Priority: wish Component: avdevice
Version: unspecified Keywords: gdigrab
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

It's just a feature request.

Using gdigrab I was wondering if is possible to select monitors by using an alias based on the monitor number index instead of cropping to a specific resolution with region and offsets.

This will make a command more portable and resolution independent.

Es: i have 3 monitors.

ffmpeg -y -f -i monitor=1 -framerate 30 -c:v ffv1 capture.mkv

to capture only the monitor index 1

ffmpeg -y -f -i monitor=1,2 -framerate 30 -c:v ffv1 capture.mkv

to capture monitor 1 and 2

ffmpeg -y -f -i monitor=2,1,4 -framerate 30 -c:v ffv1 capture.mkv

to capture monitor 2,1 and 4 stitched in the specified order.

I hope it will not be a big deal, but will be nice if you will implement it!

Best Regards

Change History (1)

comment:1 Changed 3 years ago by cehoyos

  • Component changed from ffmpeg to avdevice
  • Priority changed from minor to wish
Note: See TracTickets for help on using tickets.