[MPlayer-users] dsize filter broken?

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Aug 31 22:12:49 CEST 2012


On Fri, Aug 31, 2012 at 04:42:18PM +0200, Robert Szelepcsényi wrote:
> I need to play movies in a window created by a gtk application.
> I launch mplayer with:
> 
> mplayer -wid <window_id> -fs <file>
> 
> mplayer plays the file without any problem scalling/letterboxing as necessary.
> 
> Yes, -fs stands for "fullscreen", but if mplayer is given -wid parameter, it stays within the window and correctly scaled the movie maintaining the aspect ration. Without it the movie just fills in the window.
> 
> 
> However, under certain circumstances I need to change the aspect ratio of the movie. So I tried:
> 
> mplayer -wid <window_id> -vf dsize=<w>:<h> -fs <file>

Thanks for the bug report, but:
you could have saved me a bit of reading and yourself a bit of writing
by just trying it without the -wid and -fs, it would have shown exactly
the same issue.

> [h264 @ 0xeb8560]get_buffer() failed (-1 1 (nil))
> [h264 @ 0xeb8560]decode_slice_header error
> 
> Whatever I do, it gives me these errors. The movie seems to be playing correctly, but I get a feelling it is not completely smooth. Rather hard to tell.

Pretty sure it isn't, the "get_buffer() failed" etc. means that
most B-frames will be skipped.
Anyway it's fixed in SVN r35135.


More information about the MPlayer-users mailing list