On 4/9/2015 6:29 PM, Benjamin Black wrote:
I’m trying to convert a WMV video with original dimensions 720x480 to H264, but 
the output changes to 640x480. And ffprobe claims that the output video is 
720x480, but all the video players I’ve tried report that it is 640x480. I’ve 
tried version 2.6.1 and the latest. Am I missing something obvious or is this a 
bug?
[...]
   Duration: 00:00:23.77, start: 0.000000, bitrate: 6767 kb/s
     Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, 2 
channels, fltp, 192 kb/s
     Stream #0:1(eng): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 
720x480, 6634 kb/s, SAR 8:9 DAR 4:3, 30 fps, 30 tbr, 1k tbn, 1k tbc


Not an expert but you have SAR 8:9 DAR 4:3 and this may be the cause. I think SAR is actually the one. If you want to force the real resolution, you could use setsar/setdar filters: https://ffmpeg.org/ffmpeg-filters.html#setdar_002c-setsar

E.g.: -vf 'setsar=1'

Experiment with that.

--
Claudiu

_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to