mplayer broken Theora codec: libmpcodecs/vf.c:287: vf_get_image: Assertion `h == -1 || h >= vf->h' failed.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mplayer (Debian) |
Fix Released
|
Unknown
|
|||
mplayer (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I'm using 'mplayer' alongside 'xscreensaver' to play a few videos as screen savers. To save space, I've dropped the frame size of the videos (and they play without sound).
On some videos, which I have converted from other media (the example I will give here is a truncated version of a public-domain video from archive.org to demonstrate the issue), mplayer on Ubuntu 18.04 crashes:
$ mplayer /tmp/test.ogv
MPlayer 1.3.0 (Debian), built with gcc-7 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing /tmp/test.ogv.
libavformat version 57.83.100 (external)
libavformat file format detected.
[lavf] stream 0: video (theora), -vid 0
[lavf] stream 1: audio (vorbis), -aid 0, -alang eng
VIDEO: [theo] 240x180 0bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
=======
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 57.107.100 (external)
Selected video codec: [fftheora] vfm: ffmpeg (FFmpeg Theora)
=======
Load subtitles in /tmp/
=======
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 32000 Hz, 1 ch, floatle, 128.0 kbit/12.50% (ratio: 16000->128000)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
=======
AO: [pulse] 32000Hz 1ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [vdpau] 240x180 => 240x180 Planar YV12
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [vdpau] 240x180 => 240x180 Planar YV12
Dropping frame with size not matching configured size (240x180 vs 240x168 vs 240x180)
Dropping frame with size not matching configured size (240x180 vs 240x168 vs 240x180)
[VD_FFMPEG] DRI failure.
mplayer: libmpcodecs/
MPlayer interrupted by signal 6 in module: decode video
[ This binary of MPlayer in Debian is currently compiled with
'--enable-
'mplayer-
The same videos play just fine with mplayer on Gentoo. (The video was produced using the command: ffmpeg -i ${INPUT} -s 240x180 -ar 32000 -ac 1 -b:a 128000 -b:v 250000 -t 10 ${OUTPUT}). I have tried other CODECs and container formats, it seems to be related to Theora which I chose because it's a good free-software CODEC for video.
stuartl@
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
stuartl@
Linux vk4msl-ws 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
stuartl@
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii mplayer 2:1.3.0-7build2 amd64 movie player for Unix-like systems
Changed in mplayer (Debian): | |
status: | Unknown → New |
Changed in mplayer (Debian): | |
status: | New → Fix Released |
Reproduced the same crash on Debian 10.