[MEncoder-users] scaling segfaulting...

John Doe jdmls at yahoo.com
Tue Jul 27 15:51:33 CEST 2010


From: Grozdan <neutrino8 at gmail.com>

>> Opening video filter: [scale w=480  h=268]
> 268 is not a mod16. Might this be what's causing it? Try with a  mod16 height

-vf scale=480:272  => segfault

Also:
-vf scale=720:400   => OK  (the original dimensions...)
-vf scale=720:245-   => segfault
-vf scale=720:245+   => segfault (but goes a little bit further)
-vf scale=640:275-   => segfault
-vf scale=640:275+   => segfault (but goes a little bit further)
-vf scale=320:553-   => segfault
-vf scale=320:553+   => segfault (but goes a little bit further)
...

The extra part when it goes a little further is:
OSD chg: 6  V: no  pb:-1  
OSD chg: 3  V: no  pb:-1  
OSD chg: 2  V: no  pb:-1  
Muxer frame buffer sending 22 frame(s) to the muxer.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp 
header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp 
header.
Pos:   0.0s      1f ( 1%)   0fps Trem:   0min   1mb  A-V:0.000 [0:0] A/Vms 1/12 
D/B/S 0/0/0 

FRAMESIZE: 32256000, layer: 3, bitrate: 224, mult: 144000
demux_lavf_fill_buffer()
FRAMESIZE: 32256000, layer: 3, bitrate: 224, mult: 144000
demux_lavf_fill_buffer()
vd_ffmpeg data: e4235f76, f2918f7c, e1b3e339, 3ef2918f
using IP
*** [scale] Allocating (slices) mp_image_t, 720x400x12bpp YUV planar, 432000 
bytes
(imgfmt: 32315659, planes: 0xb7b68020,0xb7bbfe60,0xb7bae520 strides: 
720,360,360, chroma: 360x200, shift: h:1,v:1)
Segmentation fault

Maybe a problem of aspect-ratio calculation?
>   Movie-Aspect is nan:1 - prescaling to correct movie aspect.
>   VO: invalid dimensions!"

JD


      


More information about the MEncoder-users mailing list