I’m probably the only one still running Gallery2, but the latest version of ffmpeg broke video sizing.
Output went from:
Stream #0.0: Video: mjpeg, yuvj422p, 320x240, 15.00 fps(r)
To:
Stream #0:1(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt470bg/bt470bg/smpte170m), 1920x1080, 21959 kb/s, SAR 1:1 DAR 16:9, 27.15 fps, 30 tbr, 90k tbn, 180k tbc (default)
Fix is a pretty easy one, but here it is in case anyone needs it (Line 300):
- if (preg_match("/Stream.?Video:.?(\d+)x(\d+).\ +([0-9.]+) (fps|tb)./",
+ if (preg_match("/Stream.?Video:.?, (\d+)x(\d+).\ +([0-9.]+) (fps|tb)./",