Directshow capture and get error aspect ratio.
Posted: 03 Jul 2008 10:48
I am trying to capture from a VGA capture card.
Here's my 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 correct aspect ratio should be 16:9. However, it showed in 4:3 while play.
I checked the test.mp4 with GSpot and suprisly found the frame size is correct: 1280x720, but display ratio is 4:3. How could I fix it?
GSpot give the following check result:
pic size: 1280x720
storage aspect ratio: 16:9
pixel aspect ratio: 3:4
display aspect ratio: 4:3
Here's my 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 correct aspect ratio should be 16:9. However, it showed in 4:3 while play.
I checked the test.mp4 with GSpot and suprisly found the frame size is correct: 1280x720, but display ratio is 4:3. How could I fix it?
GSpot give the following check result:
pic size: 1280x720
storage aspect ratio: 16:9
pixel aspect ratio: 3:4
display aspect ratio: 4:3