#17751 closed defect (fixed)
mplayer-1.5 FTBFS with ffmpeg-6.0
Reported by: | Joe Locash | Owned by: | blfs-book |
---|---|---|---|
Priority: | normal | Milestone: | 12.0 |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
Subject says it all and the fix is in mplayer svn.
Should mplayer be a manual update again?
Other mplayer tickets related to this subject:
https://wiki.linuxfromscratch.org/blfs/ticket/15313 https://wiki.linuxfromscratch.org/blfs/ticket/16734
Change History (8)
follow-up: 4 comment:1 by , 2 years ago
comment:2 by , 2 years ago
comment:3 by , 2 years ago
If we want to try a snapshot, we should grab it from http://www.mplayerhq.hu/MPlayer/releases/mplayer-checkout-snapshot.tar.bz2
comment:4 by , 2 years ago
Replying to Bruce Dubbs:
We need some more details Joe. It seems to build OK for me. However trying to run it crashes:
I'm sorry Bruce. The build I did was from svn revision 38369 which is older than the 1.5 release. I rebuilt w/ the 1.5 release and it built fine but crashed the same way as you.
Where is the fix in svn?
Doug posted links, here are the commit messages:
------------------------------------------------------------------------ r38412 | reimar | 2023-02-20 17:41:00 -0500 (Mon, 20 Feb 2023) | 4 lines configure: update for latest FFmpeg. Just remove the AV/FF prefixes for the allformats/codecs parsing. ------------------------------------------------------------------------ r38411 | reimar | 2023-02-20 17:39:50 -0500 (Mon, 20 Feb 2023) | 2 lines ad_spdif.c: Use proper way to set avformat option. ------------------------------------------------------------------------ r38410 | reimar | 2023-02-03 15:22:31 -0500 (Fri, 03 Feb 2023) | 5 lines ve_lavc: Fix av_reallocp_array usage. Reported by Jeremie Courreges-Anglas <jca at wxcvbn org> and Brad Smith <brad at comstyle com>
Building svn rev 38412 is fine and doesn't crash:
$ mplayer big_buck_bunny.mp4 MPlayer UNKNOWN-12.2.0 (C) 2000-2023 MPlayer Team 226 audio & 469 video codecs Playing big_buck_bunny.mp4. libavformat version 60.3.100 (external) libavformat file format detected. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f3dba7d8e40]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol [lavf] stream 0: audio (aac), -aid 0, -alang eng [lavf] stream 1: video (h264), -vid 0 VIDEO: [H264] 640x360 24bpp 24.000 fps 612.2 kbps (74.7 kbyte/s) libva info: VA-API version 1.17.0 libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 60.3.100 (external) Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== Clip info: major_brand: mp42 minor_version: 1 compatible_brands: mp42avc1 creation_time: 2010-02-09T01:55:39.000000Z Load subtitles in ./ ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 22050 Hz, 2 ch, floatle, 65.1 kbit/4.61% (ratio: 8134->176400) Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio)) ========================================================================== AO: [pulse] 22050Hz 2ch floatle (4 bytes per sample) Starting playback... Movie-Aspect is undefined - no prescaling applied. VO: [vdpau] 640x360 => 640x360 Planar YV12
comment:5 by , 2 years ago
I applied the three patches above and rebuild mplayer, but it still did not work with ffmpeg-6.0 installed:
Playing /home/bdubbs/big_buck_bunny.mp4. libavformat version 60.3.100 (external) Mismatching header version 59.17.102 libavformat file format detected. ...
Looking at my /usr/lib:
lrwxrwxrwx 1 root root 23 Mar 3 13:59 libavformat.so -> libavformat.so.60.3.100 lrwxrwxrwx 1 root root 24 Feb 17 12:32 libavformat.so.59 -> libavformat.so.59.27.100 -rwxr-xr-x 1 root root 2529424 Feb 17 12:32 libavformat.so.59.27.100 lrwxrwxrwx 1 root root 23 Mar 3 13:59 libavformat.so.60 -> libavformat.so.60.3.100 -rwxr-xr-x 1 root root 2541544 Mar 3 13:59 libavformat.so.60.3.100
Checking mplayer. Wow. ldd gives 218 libraries.
comment:6 by , 2 years ago
OK I did get mplayer to work by removing "--disable-ffmpeg_a". My conclusion is that mplayer-1.5 is incompatible with ffmpeg-6.
comment:7 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Updated the book to not use ffmpeg-6.
Fixed at commit 050c538d875cdabe0217f0652bb65866f0ed14b2
We need some more details Joe. It seems to build OK for me. However trying to run it crashes:
Where is the fix in svn?