Getting true video Height/Width from ASF videos
Posted
by David
on Stack Overflow
See other posts from Stack Overflow
or by David
Published on 2010-05-11T12:31:22Z
Indexed on
2010/05/11
12:34 UTC
Read the original article
Hit count: 253
I am trying to convert an ASF video with FFMPEG using an interface called mediahandler.
The issue is, the metadata on the ASF video appears to be corrupt. It states that the video is 640x240, and 4:3 aspect ratio.
The aspect ratio is correct, but obviously the resolution is not. This causes the converter to incorrectly scale the video, because it uses the resolution to determine the original aspect ratio.
I am able to get the aspect ratio metadata, but I'm not sure this solves the issue, because I would think that if the resolution could be incorrect, then so could the aspect ratio metadata.
So, is there any way to get the actual height/width? It appears that players like VLC have no issue with this. How do I do such a thing w/ FFMPEG?
© Stack Overflow or respective owner