Here's the command line:
vlc dshow:// :dshow-size="1280x720" :dshow-fps=25.000000 :sout=#transcode{vcodec=mp4v,vb=2048,scale=1,acodec=mp4a,ab=192,channels=2}:duplicate{dst=display,dst=std{access=file,mux=mp4,dst="D:\test.mp4"}}
The stream source is 1280x720, so I set the capture resolution to 1280x720. But vlc shows a 1280x1024 screen.
However, when I check the stream info, it said 1280x-720.
I can only fix the playback screen by add ":aspect-ratio=16:9" to the end of the command line. But the captured file is still 1280x1024.
How could I solve the problem? Any suggestions will be appreciated.