Screen width and height being cut while using dummy interface
Posted: 15 Mar 2022 16:53
I have used dummy interface to perform screen recording on my laptop running windows 10 with screen resolution set to 1920*1080 resolution and scaled to 125%(recommended). It takes the wrong resolution as suggested in logs as 1536*864 while recording hence the screen cut. The same if we do using qt interface it takes the right resolution no screen cut.
Anyone can help with this? (VLC 3.0.16)
Please find below the logs for both:
Dummy Interface
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
main debug: looking for access_demux module matching "screen": 15 candidates
screen debug: screen width: 1536, height: 864, depth: 32
screen debug: capturing subscreen top: 0, left: 0, width: 1536, height: 864
main debug: selecting program id=0
main debug: using access_demux module "screen"
main debug: looking for packetizer module matching "any": 25 candidates
rawvideo warning: invalid frame rate 0/0, using 25 fps instead
main debug: using packetizer module "rawvideo"
QT Interface
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
main debug: `screen://' gives access `screen' demux `any' path `'
main debug: creating demux: access='screen' demux='any' location='' file='(null)'
main debug: looking for access_demux module matching "screen": 15 candidates
screen debug: screen width: 1920, height: 1080, depth: 32
screen debug: capturing subscreen top: 0, left: 0, width: 1920, height: 1080
main debug: selecting program id=0
main debug: using access_demux module "screen"
main debug: looking for packetizer module matching "any": 25 candidates
rawvideo warning: invalid frame rate 0/0, using 25 fps instead
Commands used:
.\vlc.exe -I dummy --verbose=2 -vvv --file-logging --logfile=C:\Users\aman1512\.company\vlc-log.log screen:// --screen-fps=25 --quiet --sout='#transcode{vcodec=h264,acodec=mpga,scale=Auto,ab=128,channels=2,samplerate=44100,scodec=none}:file{dst=C:\\Work\\Stream.mp4,no-overwrite}' --run-time=30 vlc://quit
.\vlc.exe -I qt--verbose=2 -vvv --file-logging --logfile=C:\Users\aman1512\.company\vlc-log.log screen:// --screen-fps=25 --quiet --sout='#transcode{vcodec=h264,acodec=mpga,scale=Auto,ab=128,channels=2,samplerate=44100,scodec=none}:file{dst=C:\\Work\\Stream.mp4,no-overwrite}' --run-time=30 vlc://quit
Anyone can help with this? (VLC 3.0.16)
Please find below the logs for both:
Dummy Interface
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
main debug: looking for access_demux module matching "screen": 15 candidates
screen debug: screen width: 1536, height: 864, depth: 32
screen debug: capturing subscreen top: 0, left: 0, width: 1536, height: 864
main debug: selecting program id=0
main debug: using access_demux module "screen"
main debug: looking for packetizer module matching "any": 25 candidates
rawvideo warning: invalid frame rate 0/0, using 25 fps instead
main debug: using packetizer module "rawvideo"
QT Interface
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
main debug: `screen://' gives access `screen' demux `any' path `'
main debug: creating demux: access='screen' demux='any' location='' file='(null)'
main debug: looking for access_demux module matching "screen": 15 candidates
screen debug: screen width: 1920, height: 1080, depth: 32
screen debug: capturing subscreen top: 0, left: 0, width: 1920, height: 1080
main debug: selecting program id=0
main debug: using access_demux module "screen"
main debug: looking for packetizer module matching "any": 25 candidates
rawvideo warning: invalid frame rate 0/0, using 25 fps instead
Commands used:
.\vlc.exe -I dummy --verbose=2 -vvv --file-logging --logfile=C:\Users\aman1512\.company\vlc-log.log screen:// --screen-fps=25 --quiet --sout='#transcode{vcodec=h264,acodec=mpga,scale=Auto,ab=128,channels=2,samplerate=44100,scodec=none}:file{dst=C:\\Work\\Stream.mp4,no-overwrite}' --run-time=30 vlc://quit
.\vlc.exe -I qt--verbose=2 -vvv --file-logging --logfile=C:\Users\aman1512\.company\vlc-log.log screen:// --screen-fps=25 --quiet --sout='#transcode{vcodec=h264,acodec=mpga,scale=Auto,ab=128,channels=2,samplerate=44100,scodec=none}:file{dst=C:\\Work\\Stream.mp4,no-overwrite}' --run-time=30 vlc://quit