download the file:
https://dl.dropbox.com/u/7221986/aspect_bug.mkv
and transcode it to a MP4 (here with the latest official mac binary):
ffmpeg -i aspect_bug.mkv -vcodec copy -acodec copy aspect_bug.mp4
ffmpeg version 1.2-tessus Copyright (c) 2000-2013 the FFmpeg developers
built on Mar 15 2013 01:18:55 with llvm-gcc 4.2.1 (LLVM build 2336.1.00)
configuration: --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-fontconfig --enable-libfreetype --enable-libass --enable-filters --enable-runtime-cpudetect
libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, matroska,webm, from 'aspect_bug.mkv':
Duration: 00:01:00.06, start: 0.000000, bitrate: 4395 kb/s
Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x536 [SAR 1:1 DAR 160:67], SAR 67:3 DAR 160:3, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0:1(ger): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 768 kb/s
Metadata:
title : DTS
Stream #0:2(ger): Subtitle: subrip
Metadata:
title : Forced
[mp4 @ 0x102019c00] track 1: codec frame size is not set
Output #0, mp4, to 'aspect_bug.mp4':
Metadata:
encoder : Lavf54.63.104
Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x536 [SAR 67:3 DAR 160:3], q=2-31, 23.98 fps, 16k tbn, 1k tbc (default)
Stream #0:1(ger): Audio: dts ([169][0][0][0] / 0x00A9), 48000 Hz, 5.1(side), 768 kb/s
Metadata:
title : DTS
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 1440 fps=0.0 q=-1.0 Lsize= 32257kB time=00:01:00.05 bitrate=4400.5kbits/s
video:26554kB audio:5630kB subtitle:0 global headers:0kB muxing overhead 0.227912%
open the MP4 in VLC/Mplayer/QuickTime Player =>for some reason it is displayed in a completely weird size or aspect ratio. since ffmpeg seems to know the file is 1280x536, this should not occur.
Which player plays the original mkv file the way you want it?
(Afaict, there is no bug, the file is exactly as "weird" as QT shows the output file for you.)