[libav-bugs] [Bug 203] scale filter has a rounding error

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Sat Feb 18 16:55:26 CET 2012


https://bugzilla.libav.org/show_bug.cgi?id=203

--- Comment #2 from relaxed <john.vansickle at gmail.com> 2012-02-18 16:55:26 CET ---
(In reply to comment #1)
> Can you still reproduce this with 0.8 proper, or better yet git HEAD?

Sean,

Thanks for looking into this. Yes, it still happens with git head build today:

$ avconv -i sample.mpg -an -filter:v 'scale=640:ih*ow/sar/iw' out.mkv
avconv version v0.8-554-gc7e8639, Copyright (c) 2000-2012 the Libav developers
  built on Feb 18 2012 10:53:02 with gcc 4.6.2
Input #0, mpeg, from 'sample.mpg':
  Duration: 00:00:03.00, start: 0.200000, bitrate: 5592 kb/s
    Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45
DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
[buffer @ 0x2913d40] w:720 h:576 pixfmt:yuv420p
[scale @ 0x290d780] w:720 h:576 fmt:yuv420p -> w:640 h:359 fmt:yuv420p
flags:0x4
[libx264 @ 0x2914120] height not divisible by 2 (640x359)
Output #0, matroska, to 'out.mkv':
    Stream #0.0: Video: libx264, yuv420p, 640x359 [PAR 359:360 DAR 16:9],
q=-1--1, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> libx264)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters
such as bit_rate, rate, width or height

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list