[FFmpeg-user] ffplay on second monitor

Paul B Mahol onemda at gmail.com
Wed Jan 16 21:16:24 EET 2019

On 1/16/19, mark at leman.net <mark at leman.net> wrote:
> Quoting Paul B Mahol <onemda at gmail.com>:
>> On 1/16/19, Mark Leman <mark at leman.net> wrote:
>>> Hi Folks,
>>> I am trying to use ffplay to crop and scale the 720p 16:9 output from
>>> vmix to provide a second 800x600 4:3 output on a video wall.
>>> The command
>>> ffplay -f dshow -i video="vMix Video" -an -x 800 -y 600 -noborder -vf
>>> "crop=960:720:160:0, scale=800:600"
>>> does exactly what I want, but I can't move the 'noborder' window to my
>>> second monitor which is the video wall.
>>> Is there a way to specify which screen the window appears on? (OS is
>>> Windows 10)
>>> I have tried without the 'noboarder' option, which allows me to drag the
>>> window over to the second display an make it full screen. But as soon as
>>> I click on any other program on the first monitor ffplay drops from full
>>> screen.
>>> I have also tried solving the problem with VLC but it has significant
>>> buffering lag.
>> Try also with mpv.
> Thanks for that idea, I had a quick look at mpv with the following:
> mpv.exe "test_vid_1280x720.mp4" --osc=no --screen=2 --no-border
> --geometry=800x600 --panscan=1
> However I don't know how to get mpv to take the directshow video input I
> need?

It should be available via: mpv "av://dshow:vMix Video"

More information about the ffmpeg-user mailing list