[FFmpeg-user] ffplay on second monitor

Mark Leman mark at leman.net
Thu Jan 17 02:11:39 EET 2019


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"

Thanks for the suggestion, I got the following error when I tried it:

mpv "av://dshow:vMix Video"

Playing: av://dshow:vMix Video
[ffmpeg/demuxer] dshow: Malformed dshow input string.
[lavf] avformat_open_input() failed
Failed to recognize file format.
Exiting... (Errors when loading file)


Trying ffplay worked with:

ffplay -f dshow -i video="vMix Video"

ffplay version 4.1 Copyright (c) 2003-2018 the FFmpeg developers
   built with gcc 8.2.1 (GCC) 20181017
   configuration: --enable-gpl --enable-version3 --enable-sdl2 
--enable-fontconfig --enable-gnutls --enable-iconv --enable-libass 
--enable-libbluray --enable-libfreetype --enable-libmp3lame 
--enable-libopencore-amrnb --enable-libopencore-amrwb 
--enable-libopenjpeg --enable-libopus --enable-libshine 
--enable-libsnappy --enable-libsoxr --enable-libtheora 
--enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp 
--enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg 
--enable-lzma --enable-zlib --enable-gmp --enable-libvidstab 
--enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa 
--enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx 
--enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va 
--enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
   libavutil      56. 22.100 / 56. 22.100
   libavcodec     58. 35.100 / 58. 35.100
   libavformat    58. 20.100 / 58. 20.100
   libavdevice    58.  5.100 / 58.  5.100
   libavfilter     7. 40.101 /  7. 40.101
   libswscale      5.  3.100 /  5.  3.100
   libswresample   3.  3.100 /  3.  3.100
   libpostproc    55.  3.100 / 55.  3.100
Input #0, dshow, from 'video=vMix Video':=    0KB sq=    0B f=0/0
   Duration: N/A, start: 618691.793000, bitrate: N/A
     Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 
1280x720, 50 fps, 50 tbr, 10000k tbn, 10000k tbc
618696.50 M-V: -0.001 fd=  10 aq=    0KB vq=    0KB sq=    0B f=0/0

But I still don't have a way to direct ffplay to output on a specific 
monitor.

Regards,
Mark Leman



More information about the ffmpeg-user mailing list