Public bug reported: 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/vf.c:287: vf_get_image: Assertion `h == -1 || h >= vf->h' failed. MPlayer interrupted by signal 6 in module: decode video [ This binary of MPlayer in Debian is currently compiled with '--enable-debug'; the debugging symbols are in the package 'mplayer-dbgsym'.] 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@vk4msl-ws:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.3 LTS Release: 18.04 Codename: bionic stuartl@vk4msl-ws:~$ uname -a 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@vk4msl-ws:~$ dpkg -l mplayer Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-========================================-=========================-=========================-====================================================================================== ii mplayer 2:1.3.0-7build2 amd64 movie player for Unix-like systems ** Affects: mplayer (Ubuntu) Importance: Undecided Status: New ** Attachment added: "Video that causes the crash." https://bugs.launchpad.net/bugs/1857407/+attachment/5314961/+files/test.ogv -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1857407 Title: mplayer broken Theora codec: libmpcodecs/vf.c:287: vf_get_image: Assertion `h == -1 || h >= vf->h' failed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mplayer/+bug/1857407/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs