* [gentoo-user] media-video/gpac and media-video/mplayer fails to build.
@ 2025-02-20 18:00 Dale
2025-02-20 18:14 ` Mark Knecht
2025-02-20 21:42 ` Michael Cook
0 siblings, 2 replies; 25+ messages in thread
From: Dale @ 2025-02-20 18:00 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2187 bytes --]
Howdy,
I downloaded some really new videos the other day, .mkv ones. Nothing I
had would play them, mplayer or mpv based players. I decided to keyword
them, and a couple friends, and change some USE flags to see if they
would play with newer but unstable versions. They did but I am having
trouble re-emerging gpac and mplayer. The compile failed. It is what
is left of @preserved-rebuild and USE flag changes. The videos play now
but still want to re-emerge these for a clean set of packages. I waited
a bit and synced again, no fixes. I can't find a bug report related to
mine either but I may not be looking for the right thing. I couldn't
find anything on the forums either. Since I read this mailing list,
I've seen nothing here either.
I've attached the build logs for both. It could be that gpac fails and
causes mplayer to fail as well. Fixing gpac may fix mplayer. This is
the version and USE flag info.
[ebuild R ] media-video/gpac-2.2.1-r1:0/11::gentoo USE="X a52 aac
alsa ffmpeg jpeg jpeg2k mad opengl png pulseaudio sdl ssl theora*
truetype vorbis xml xvid -debug -dvb -jack -oss -static-libs"
CPU_FLAGS_X86="sse2" 0 KiB
[ebuild R ] media-video/mplayer-1.5_p20241125::gentoo USE="X a52
alsa bidi bluray cddb cdio cdparanoia dga dts dvd dvdnav enca encode
faac ftp iconv ipv6 jpeg libass lzo mad mng mp3 network opengl osdmenu
png pulseaudio rar sdl shm theora* truetype unicode vcd vorbis x264
xscreensaver xv xvid -aalib (-aqua) -bl -bs2b -cpudetection -debug -doc
-dv -dvb -faad -fbcon -ggi -gsm -jack -joystick -ladspa -libcaca
-libmpeg2 -lirc -live -md5sum -nas -openal -oss -pnm -pvr -radio -rtc
-rtmp -samba (-selinux) -speex -tga -toolame -tremor -twolame -v4l
-vdpau (-vidix) -xinerama -yuv4mpeg -zoran" CPU_FLAGS_X86="avx avx2 fma3
mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -fma4
-xop" VIDEO_CARDS="-mga"
Maybe I need to adjust USE flags? I enabled some trying to get the
videos to work. Maybe I enabled a bad one???
Any ideas? Nothing I've tried gets them to compile clean. I'm not sure
if it is a bug or me doing something I shouldn't. o_O
Thanks.
Dale
:-) :-)
[-- Attachment #2: gpac-fail-log.txt --]
[-- Type: text/plain, Size: 20587 bytes --]
x86_64-pc-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include" -march=native -O2 -pipe -msse2 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1" -fvisibility="hidden" -c -o filters/write_nhml.o filters/write_nhml.c
x86_64-pc-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include" -march=native -O2 -pipe -msse2 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1" -fvisibility="hidden" -c -o filters/write_generic.o filters/write_generic.c
x86_64-pc-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include" -march=native -O2 -pipe -msse2 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1" -fvisibility="hidden" -c -o filters/write_nhnt.o filters/write_nhnt.c
x86_64-pc-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include" -march=native -O2 -pipe -msse2 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1" -fvisibility="hidden" -c -o filters/vflip.o filters/vflip.c
x86_64-pc-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include" -march=native -O2 -pipe -msse2 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1" -fvisibility="hidden" -c -o filters/write_qcp.o filters/write_qcp.c
x86_64-pc-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include" -march=native -O2 -pipe -msse2 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1" -fvisibility="hidden" -c -o filters/write_tx3g.o filters/write_tx3g.c
filters/vflip.c: In function ‘vflip_process’:
filters/vflip.c:334:25: warning: ‘wiB’ may be used uninitialized [-Wmaybe-uninitialized]
334 | vertical_flip(ctx, src_planes[i], dst_planes[i], height, i, wiB);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
filters/vflip.c:217:13: note: ‘wiB’ was declared here
217 | u32 wiB, height; //wiB: width in Bytes of a plane
| ^~~
filters/vflip.c:334:25: warning: ‘height’ may be used uninitialized [-Wmaybe-uninitialized]
334 | vertical_flip(ctx, src_planes[i], dst_planes[i], height, i, wiB);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
filters/vflip.c:217:18: note: ‘height’ was declared here
217 | u32 wiB, height; //wiB: width in Bytes of a plane
| ^~~~~~
x86_64-pc-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include" -march=native -O2 -pipe -msse2 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1" -fvisibility="hidden" -c -o ../modules/dektec_out/dektec_video_decl.o ../modules/dektec_out/dektec_video_decl.c
x86_64-pc-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include" -march=native -O2 -pipe -msse2 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1" -fvisibility="hidden" -c -o filters/unframer.o filters/unframer.c
x86_64-pc-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include" -march=native -O2 -pipe -msse2 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1" -fvisibility="hidden" -c -o filters/dec_opensvc.o filters/dec_opensvc.c
x86_64-pc-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include" -march=native -O2 -pipe -msse2 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1" -fvisibility="hidden" -c -o filters/ff_common.o filters/ff_common.c
x86_64-pc-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include" -march=native -O2 -pipe -msse2 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1" -fvisibility="hidden" -c -o filters/ff_avf.o filters/ff_avf.c
x86_64-pc-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include" -march=native -O2 -pipe -msse2 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1" -fvisibility="hidden" -c -o filters/write_vtt.o filters/write_vtt.c
x86_64-pc-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include" -march=native -O2 -pipe -msse2 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1" -fvisibility="hidden" -c -o filters/ff_dec.o filters/ff_dec.c
filters/ff_avf.c: In function ‘ffavf_process’:
filters/ff_avf.c:575:45: error: ‘AVFrame’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
575 | ctx->frame->channel_layout = ipid->ch_layout;
| ^~~~~~~~~~~~~~
| ch_layout
filters/ff_avf.c:576:43: error: ‘AVFrame’ has no member named ‘channels’
576 | ctx->frame->channels = ipid->nb_ch;
| ^~
filters/ff_avf.c:720:41: error: ‘AVFrame’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
720 | else if (frame->channel_layout!=opid->ch_layout) {}
| ^~~~~~~~~~~~~~
| ch_layout
filters/ff_avf.c:721:39: error: ‘AVFrame’ has no member named ‘channels’
721 | else if (frame->channels != opid->nb_ch) {}
| ^~
filters/ff_avf.c:727:91: error: ‘AVFrame’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
727 | u64 gpac_ch_layout = ffmpeg_channel_layout_to_gpac(frame->channel_layout);
| ^~~~~~~~~~~~~~
| ch_layout
In file included from filters/ff_common.h:27,
from filters/ff_avf.c:30:
filters/ff_avf.c:730:116: error: ‘AVFrame’ has no member named ‘channels’
730 | gf_filter_pid_set_property(opid->io_pid, GF_PROP_PID_NUM_CHANNELS, &PROP_UINT(frame->channels));
| ^~
/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include/gpac/filters.h:1473:78: note: in definition of macro ‘PROP_UINT’
1473 | #define PROP_UINT(_val) (GF_PropertyValue){.type=GF_PROP_UINT, .value.uint = _val}
| ^~~~
filters/ff_avf.c:736:58: error: ‘AVFrame’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
736 | opid->ch_layout = frame->channel_layout;
| ^~~~~~~~~~~~~~
| ch_layout
filters/ff_avf.c:737:52: error: ‘AVFrame’ has no member named ‘channels’
737 | opid->nb_ch = frame->channels;
| ^~
filters/ff_avf.c: In function ‘ffavf_configure_pid’:
filters/ff_avf.c:882:45: error: implicit declaration of function ‘av_get_default_channel_layout’ [-Wimplicit-function-declaration]
882 | if (!ch_layout) ch_layout = av_get_default_channel_layout(p->value.uint);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include" -march=native -O2 -pipe -msse2 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1" -fvisibility="hidden" -c -o filters/ff_rescale.o filters/ff_rescale.c
make[1]: *** [../config.mak:182: filters/ff_avf.o] Error 1
make[1]: *** Waiting for unfinished jobs....
filters/ff_common.c: In function ‘ffmpeg_arg_translate’:
filters/ff_common.c:777:14: error: ‘AV_OPT_TYPE_CHANNEL_LAYOUT’ undeclared (first use in this function); did you mean ‘AV_OPT_TYPE_CHLAYOUT’?
777 | case AV_OPT_TYPE_CHANNEL_LAYOUT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| AV_OPT_TYPE_CHLAYOUT
filters/ff_common.c:777:14: note: each undeclared identifier is reported only once for each function it appears in
filters/ff_common.c: In function ‘ffmpeg_codec_par_from_gpac’:
filters/ff_common.c:2051:32: error: ‘AVCodecParameters’ has no member named ‘channels’
2051 | if (p) codecpar->channels = p->value.uint;
| ^~
filters/ff_common.c:2065:34: error: ‘AVCodecParameters’ has no member named ‘channels’
2065 | else if (codecpar->channels==2)
| ^~
filters/ff_common.c:2067:27: error: ‘AVCodecParameters’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
2067 | codecpar->channel_layout = ffmpeg_channel_layout_from_gpac(ch_layout);
| ^~~~~~~~~~~~~~
| ch_layout
filters/ff_common.c: In function ‘ffmpeg_codec_par_to_gpac’:
filters/ff_common.c:2125:21: error: ‘AVCodecParameters’ has no member named ‘channels’
2125 | if (codecpar->channels) {
| ^~
In file included from filters/ff_common.h:27,
from filters/ff_common.c:30:
filters/ff_common.c:2126:95: error: ‘AVCodecParameters’ has no member named ‘channels’
2126 | gf_filter_pid_set_property(opid, GF_PROP_PID_NUM_CHANNELS, &PROP_UINT(codecpar->channels));
| ^~
/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include/gpac/filters.h:1473:78: note: in definition of macro ‘PROP_UINT’
1473 | #define PROP_UINT(_val) (GF_PropertyValue){.type=GF_PROP_UINT, .value.uint = _val}
| ^~~~
filters/ff_dec.c: In function ‘ffdec_process_audio’:
filters/ff_common.c:2127:31: error: ‘AVCodecParameters’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
2127 | if (codecpar->channel_layout) {
| ^~~~~~~~~~~~~~
| ch_layout
filters/ff_dec.c:38:79: error: ‘AVCodecContext’ has no member named ‘channels’
38 | #define FF_CHECK_PROP(_name, _ffname, _type) if (ctx->_name != ctx->decoder->_ffname) { \
| ^~
filters/ff_dec.c:708:9: note: in expansion of macro ‘FF_CHECK_PROP’
708 | FF_CHECK_PROP(channels, channels, GF_PROP_PID_NUM_CHANNELS)
| ^~~~~~~~~~~~~
In file included from filters/ff_common.h:27,
from filters/ff_dec.c:30:
filters/ff_dec.c:39:95: error: ‘AVCodecContext’ has no member named ‘channels’
39 | gf_filter_pid_set_property(ctx->out_pid, _type, &PROP_UINT( (u32) ctx->decoder->_ffname ) ); \
| ^~
/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include/gpac/filters.h:1473:78: note: in definition of macro ‘PROP_UINT’
1473 | #define PROP_UINT(_val) (GF_PropertyValue){.type=GF_PROP_UINT, .value.uint = _val}
| ^~~~
filters/ff_dec.c:708:9: note: in expansion of macro ‘FF_CHECK_PROP’
708 | FF_CHECK_PROP(channels, channels, GF_PROP_PID_NUM_CHANNELS)
| ^~~~~~~~~~~~~
filters/ff_common.c:2128:142: error: ‘AVCodecParameters’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
2128 | gf_filter_pid_set_property(opid, GF_PROP_PID_CHANNEL_LAYOUT, &PROP_LONGUINT( ffmpeg_channel_layout_to_gpac(codecpar->channel_layout) ));
| ^~~~~~~~~~~~~~
/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include/gpac/filters.h:1481:87: note: in definition of macro ‘PROP_LONGUINT’
1481 | #define PROP_LONGUINT(_val) (GF_PropertyValue){.type=GF_PROP_LUINT, .value.longuint = _val}
| ^~~~
filters/ff_dec.c:40:48: error: ‘AVCodecContext’ has no member named ‘channels’
40 | ctx->_name = (u32) ctx->decoder->_ffname; \
| ^~
filters/ff_dec.c:708:9: note: in expansion of macro ‘FF_CHECK_PROP’
708 | FF_CHECK_PROP(channels, channels, GF_PROP_PID_NUM_CHANNELS)
| ^~~~~~~~~~~~~
filters/ff_dec.c:709:40: error: ‘AVCodecContext’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
709 | FF_CHECK_PROPL(channel_layout, channel_layout, GF_PROP_PID_CHANNEL_LAYOUT)
| ^~~~~~~~~~~~~~
filters/ff_dec.c:43:81: note: in definition of macro ‘FF_CHECK_PROPL’
43 | #define FF_CHECK_PROPL(_name, _ffname, _type) if (ctx->_name != ctx->decoder->_ffname) { \
| ^~~~~~~
filters/ff_dec.c:709:40: error: ‘AVCodecContext’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
709 | FF_CHECK_PROPL(channel_layout, channel_layout, GF_PROP_PID_CHANNEL_LAYOUT)
| ^~~~~~~~~~~~~~
/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include/gpac/filters.h:1481:87: note: in definition of macro ‘PROP_LONGUINT’
1481 | #define PROP_LONGUINT(_val) (GF_PropertyValue){.type=GF_PROP_LUINT, .value.longuint = _val}
| ^~~~
filters/ff_dec.c:709:9: note: in expansion of macro ‘FF_CHECK_PROPL’
709 | FF_CHECK_PROPL(channel_layout, channel_layout, GF_PROP_PID_CHANNEL_LAYOUT)
| ^~~~~~~~~~~~~~
filters/ff_dec.c:709:40: error: ‘AVCodecContext’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
709 | FF_CHECK_PROPL(channel_layout, channel_layout, GF_PROP_PID_CHANNEL_LAYOUT)
| ^~~~~~~~~~~~~~
filters/ff_dec.c:45:42: note: in definition of macro ‘FF_CHECK_PROPL’
45 | ctx->_name = (u32) ctx->decoder->_ffname; \
| ^~~~~~~
filters/ff_dec.c: In function ‘ffdec_configure_pid’:
filters/ff_dec.c:1197:37: error: ‘AVCodecContext’ has no member named ‘channels’
1197 | ctx->decoder->channels = ctx->channels;
| ^~
filters/ff_dec.c:1346:33: error: ‘AVCodecContext’ has no member named ‘channels’
1346 | if (ctx->decoder->channels) {
| ^~
filters/ff_dec.c:38:79: error: ‘AVCodecContext’ has no member named ‘channels’
38 | #define FF_CHECK_PROP(_name, _ffname, _type) if (ctx->_name != ctx->decoder->_ffname) { \
| ^~
filters/ff_dec.c:1348:25: note: in expansion of macro ‘FF_CHECK_PROP’
1348 | FF_CHECK_PROP(channels, channels, GF_PROP_PID_NUM_CHANNELS)
| ^~~~~~~~~~~~~
filters/ff_dec.c:39:95: error: ‘AVCodecContext’ has no member named ‘channels’
39 | gf_filter_pid_set_property(ctx->out_pid, _type, &PROP_UINT( (u32) ctx->decoder->_ffname ) ); \
| ^~
/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/include/gpac/filters.h:1473:78: note: in definition of macro ‘PROP_UINT’
1473 | #define PROP_UINT(_val) (GF_PropertyValue){.type=GF_PROP_UINT, .value.uint = _val}
| ^~~~
filters/ff_dec.c:1348:25: note: in expansion of macro ‘FF_CHECK_PROP’
1348 | FF_CHECK_PROP(channels, channels, GF_PROP_PID_NUM_CHANNELS)
| ^~~~~~~~~~~~~
filters/ff_dec.c:40:48: error: ‘AVCodecContext’ has no member named ‘channels’
40 | ctx->_name = (u32) ctx->decoder->_ffname; \
| ^~
filters/ff_dec.c:1348:25: note: in expansion of macro ‘FF_CHECK_PROP’
1348 | FF_CHECK_PROP(channels, channels, GF_PROP_PID_NUM_CHANNELS)
| ^~~~~~~~~~~~~
filters/ff_dec.c:1350:35: error: ‘AVCodecContext’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
1350 | if (ctx->decoder->channel_layout) {
| ^~~~~~~~~~~~~~
| ch_layout
filters/ff_dec.c:1351:82: error: ‘AVCodecContext’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
1351 | u64 ch_lay = ffmpeg_channel_layout_to_gpac(ctx->decoder->channel_layout);
| ^~~~~~~~~~~~~~
| ch_layout
make[1]: *** [../config.mak:182: filters/ff_common.o] Error 1
make[1]: *** [../config.mak:182: filters/ff_dec.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-video/gpac-2.2.1-r1/work/gpac-2.2.1/src'
make: *** [Makefile:13: all] Error 2
* ERROR: media-video/gpac-2.2.1-r1::gentoo failed (compile phase):
* emake failed
[-- Attachment #3: mplayer-fail-log.txt --]
[-- Type: text/plain, Size: 62321 bytes --]
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_sab.o libmpcodecs/vf_sab.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_stereo3d.c
libmpcodecs/vf_scale.c:733:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
733 | {"presize", 0, CONF_TYPE_OBJ_PRESETS, 0, 0, 0, &size_preset},
| ^
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_softskip.o libmpcodecs/vf_softskip.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_swapuv.o libmpcodecs/vf_swapuv.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_telecine.o libmpcodecs/vf_telecine.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_tile.o libmpcodecs/vf_tile.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_tfields.o libmpcodecs/vf_tfields.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_tinterlace.o libmpcodecs/vf_tinterlace.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_test.o libmpcodecs/vf_test.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_vo.o libmpcodecs/vf_vo.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_unsharp.o libmpcodecs/vf_unsharp.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_pp7.o libmpcodecs/vf_pp7.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_yvu9.o libmpcodecs/vf_yvu9.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/aac_hdr.o libmpdemux/aac_hdr.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_yuvcsp.o libmpcodecs/vf_yuvcsp.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_yadif.o libmpcodecs/vf_yadif.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/asfheader.o libmpdemux/asfheader.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/aviprint.o libmpdemux/aviprint.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demuxer.o libmpdemux/demuxer.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/aviheader.o libmpdemux/aviheader.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_audio.o libmpdemux/demux_audio.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_asf.o libmpdemux/demux_asf.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_avi.o libmpdemux/demux_avi.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_aac.o libmpdemux/demux_aac.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_demuxers.o libmpdemux/demux_demuxers.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_perspective.o libmpcodecs/vf_perspective.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_lmlm4.o libmpdemux/demux_lmlm4.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_fli.o libmpdemux/demux_fli.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_film.o libmpdemux/demux_film.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_mkv.o libmpdemux/demux_mkv.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_mpg.o libmpdemux/demux_mpg.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_nsv.o libmpdemux/demux_nsv.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_mov.o libmpdemux/demux_mov.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_mf.o libmpdemux/demux_mf.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o input/input.o input/input.c
input/input.c:635:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
635 | { "input", &input_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
| ^
input/input.c: In function 'mp_input_get_key_name':
input/input.c:1471:14: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
1471 | return key_names[i].name;
| ^~~~~~~~~
libmpdemux/demux_mov.c: In function 'lschunks':
libmpdemux/demux_mov.c:1544:25: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
1544 | char *text = malloc(text_len+2+1);
| ^~~~
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawaudio.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_realaud.o libmpdemux/demux_realaud.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_real.o libmpdemux/demux_real.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_roq.o libmpdemux/demux_roq.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_rawvideo.o libmpdemux/demux_rawvideo.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_smjpeg.o libmpdemux/demux_smjpeg.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_pva.o libmpdemux/demux_pva.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_ty.o libmpdemux/demux_ty.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_ty_osd.o libmpdemux/demux_ty_osd.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_viv.o libmpdemux/demux_viv.c
libmpdemux/demux_mov.c: In function 'lschunks_intrak':
libmpdemux/demux_mov.c:1701:19: warning: argument 1 value '18446744073709551361' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
1701 | char* str = malloc(len + 1);
| ^~~~~~~~~~~~~~~
In file included from libmpdemux/demux_mov.c:43:
/usr/include/stdlib.h:672:14: note: in a call to allocation function 'malloc' declared here
672 | extern void *malloc (size_t __size) __THROW __attribute_malloc__
| ^~~~~~
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/extension.o libmpdemux/extension.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/ebml.o libmpdemux/ebml.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/mf.o libmpdemux/mf.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_y4m.o libmpdemux/demux_y4m.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_vqf.o libmpdemux/demux_vqf.c
In file included from /usr/include/ctype.h:25,
from libmpdemux/mf.c:21:
/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
| ^~~~~~~
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/mp_taglists.o libmpdemux/mp_taglists.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/parse_es.o libmpdemux/parse_es.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/parse_mp4.o libmpdemux/parse_mp4.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/video.o libmpdemux/video.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/yuv4mpeg.o libmpdemux/yuv4mpeg.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/mpeg_packetizer.o libmpdemux/mpeg_packetizer.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_hdr.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o osdep/getch2.o osdep/getch2.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o osdep/timer-linux.o osdep/timer-linux.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/yuv4mpeg_ratio.o libmpdemux/yuv4mpeg_ratio.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream.o stream/stream.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_file.o stream/stream_file.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_mf.o stream/stream_mf.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_cue.o stream/stream_cue.c
stream/stream.c: In function 'open_stream_plugin':
stream/stream.c:165:62: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
165 | { "stream url", arg , CONF_TYPE_CUSTOM_URL, 0, 0 ,0, sinfo->opts };
| ^~~~~
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/url.o stream/url.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_null.o stream/stream_null.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_bd.o stream/stream_bd.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o sub/eosd.o sub/eosd.c
stream/stream_bd.c: In function 'find_vuk':
stream/stream_bd.c:158:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
158 | char *filename = av_asprintf("%s/.cache/aacs/vuk/%s", home, idstr);
| ^~~~
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o sub/find_sub.o sub/find_sub.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o sub/spudec.o sub/spudec.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o sub/osd.o sub/osd.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o sub/sub_cc.o sub/sub_cc.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o sub/font_load.o sub/font_load.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_cdda.o stream/stream_cdda.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o sub/vobsub.o sub/vobsub.c
stream/stream_cdda.c:102:59: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
102 | { "span", ST_OFF(span), CONF_TYPE_OBJ_PARAMS, 0, 0, 0, &m_span_params_def },
| ^
stream/stream_cdda.c:104:62: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
104 | { "hostname", ST_OFF(span), CONF_TYPE_OBJ_PARAMS, 0, 0, 0, &m_span_params_def },
| ^
stream/stream_cdda.c:128:62: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
128 | { "span", &cdda_dflts.span, CONF_TYPE_OBJ_PARAMS, 0, 0, 0, &m_span_params_def },
| ^
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_dvdnav.o stream/stream_dvdnav.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_dvd.o stream/stream_dvd.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_dvd_common.o stream/stream_dvd_common.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_cddb.o stream/stream_cddb.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libvo/aclib.o libvo/aclib.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_lavcac3enc.o libaf/af_lavcac3enc.c
libaf/af_lavcac3enc.c: In function 'control':
libaf/af_lavcac3enc.c:104:17: warning: 'avcodec_close' is deprecated [-Wdeprecated-declarations]
104 | avcodec_close(s->lavc_actx);
| ^~~~~~~~~~~~~
In file included from libaf/af_lavcac3enc.c:35:
/usr/include/libavcodec/avcodec.h:2398:5: note: declared here
2398 | int avcodec_close(AVCodecContext *avctx);
| ^~~~~~~~~~~~~
libaf/af_lavcac3enc.c: In function 'uninit':
libaf/af_lavcac3enc.c:161:17: warning: 'avcodec_close' is deprecated [-Wdeprecated-declarations]
161 | avcodec_close(s->lavc_actx);
| ^~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:2398:5: note: declared here
2398 | int avcodec_close(AVCodecContext *avctx);
| ^~~~~~~~~~~~~
libaf/af_lavcac3enc.c: In function 'af_open':
libaf/af_lavcac3enc.c:277:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
277 | s->lavc_acodec = avcodec_find_encoder_by_name("ac3_fixed");
| ^
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_lavcresample.o libaf/af_lavcresample.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o av_opts.o av_opts.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o av_helpers.o av_helpers.c
av_helpers.c: In function 'lavc_encode_audio':
av_helpers.c:154:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
154 | av_init_packet(&pkt);
| ^~~~~~~~~~~~~~
In file included from /usr/include/libavcodec/avcodec.h:44,
from av_helpers.c:21:
/usr/include/libavcodec/packet.h:670:6: note: declared here
670 | void av_init_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vd_ffmpeg.o libmpcodecs/vd_ffmpeg.c
x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/ad_spdif.o libmpcodecs/ad_spdif.c
libmpcodecs/vd_ffmpeg.c: In function 'init':
libmpcodecs/vd_ffmpeg.c:325:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
325 | lavc_codec = avcodec_find_decoder_by_name(codec_idx2str(sh->codec->dll_idx));
| ^
libmpcodecs/vd_ffmpeg.c: In function 'uninit':
libmpcodecs/vd_ffmpeg.c:514:9: warning: 'avcodec_close' is deprecated [-Wdeprecated-declarations]
514 | if (avctx->codec && avcodec_close(avctx) < 0)
| ^~
In file included from libmpcodecs/vd_ffmpeg.c:56:
/usr/include/libavcodec/avcodec.h:2398:5: note: declared here
2398 | int avcodec_close(AVCodecContext *avctx);
| ^~~~~~~~~~~~~
libmpcodecs/ad_spdif.c: In function 'init':
libmpcodecs/ad_spdif.c:117:42: error: passing argument 6 of 'avio_alloc_context' from incompatible pointer type [-Wincompatible-pointer-types]
117 | read_packet, write_packet, seek);
| ^~~~~~~~~~~~
| |
| int (*)(void *, unsigned char *, int)
In file included from /usr/include/libavformat/avformat.h:319,
from libmpcodecs/ad_spdif.c:25:
/usr/include/libavformat/avio.h:404:25: note: expected 'int (*)(void *, const uint8_t *, int)' {aka 'int (*)(void *, const unsigned char *, int)'} but argument is of type 'int (*)(void *, unsigned char *, int)'
404 | int (*write_packet)(void *opaque, const uint8_t *buf, int buf_size),
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libmpcodecs/ad_spdif.c: In function 'decode_audio':
libmpcodecs/ad_spdif.c:256:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
256 | av_init_packet(&pkt);
| ^~~~~~~~~~~~~~
In file included from /usr/include/libavcodec/codec_par.h:33,
from /usr/include/libavformat/avformat.h:312:
/usr/include/libavcodec/packet.h:670:6: note: declared here
670 | void av_init_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
libmpcodecs/vd_ffmpeg.c: In function 'decode':
libmpcodecs/vd_ffmpeg.c:874:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
874 | av_init_packet(&pkt);
| ^~~~~~~~~~~~~~
In file included from /usr/include/libavcodec/avcodec.h:44:
/usr/include/libavcodec/packet.h:670:6: note: declared here
670 | void av_init_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
libmpcodecs/vd_ffmpeg.c:1007:20: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
1007 | return &mpi_no_picture; // H.264 first field only
| ^~~~~~~~~~~~~~~
libmpcodecs/vd_ffmpeg.c:1063:5: warning: 'interlaced_frame' is deprecated [-Wdeprecated-declarations]
1063 | if(pic->interlaced_frame) mpi->fields |= MP_IMGFIELD_INTERLACED;
| ^~
In file included from /usr/include/libavcodec/avcodec.h:36:
/usr/include/libavutil/frame.h:566:9: note: declared here
566 | int interlaced_frame;
| ^~~~~~~~~~~~~~~~
libmpcodecs/vd_ffmpeg.c:1064:5: warning: 'top_field_first' is deprecated [-Wdeprecated-declarations]
1064 | if(pic->top_field_first ) mpi->fields |= MP_IMGFIELD_TOP_FIRST;
| ^~
/usr/include/libavutil/frame.h:574:9: note: declared here
574 | int top_field_first;
| ^~~~~~~~~~~~~~~
make: *** [Makefile:729: libmpcodecs/ad_spdif.o] Error 1
make: *** Waiting for unfinished jobs....
* ERROR: media-video/mplayer-1.5_p20241125::gentoo failed (compile phase):
* emake failed
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] media-video/gpac and media-video/mplayer fails to build.
2025-02-20 18:00 [gentoo-user] media-video/gpac and media-video/mplayer fails to build Dale
@ 2025-02-20 18:14 ` Mark Knecht
2025-02-20 18:23 ` Dale
` (2 more replies)
2025-02-20 21:42 ` Michael Cook
1 sibling, 3 replies; 25+ messages in thread
From: Mark Knecht @ 2025-02-20 18:14 UTC (permalink / raw
To: gentoo-user
On Thu, Feb 20, 2025 at 11:01 AM Dale <rdalek1967@gmail.com> wrote:
>
> Howdy,
>
> I downloaded some really new videos the other day, .mkv ones. Nothing I
> had would play them, mplayer or mpv based players.
Convert them using handbrake. Probably saves you a bunch of disk space also
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] media-video/gpac and media-video/mplayer fails to build.
2025-02-20 18:14 ` Mark Knecht
@ 2025-02-20 18:23 ` Dale
2025-02-20 18:35 ` Mark Knecht
2025-02-20 18:59 ` Grant Edwards
2025-02-20 23:15 ` [gentoo-user] " Frank Steinmetzger
2 siblings, 1 reply; 25+ messages in thread
From: Dale @ 2025-02-20 18:23 UTC (permalink / raw
To: gentoo-user
Mark Knecht wrote:
> On Thu, Feb 20, 2025 at 11:01 AM Dale <rdalek1967@gmail.com> wrote:
>> Howdy,
>>
>> I downloaded some really new videos the other day, .mkv ones. Nothing I
>> had would play them, mplayer or mpv based players.
> Convert them using handbrake. Probably saves you a bunch of disk space also
>
>
I thought about that. Thing is, if the people creating these videos is
using this new method, I'll have to convert those newer ones in the
future as well. At some point, I'll be having to convert a lot of them
which is time consuming and somewhat annoying. I don't mind the file
size to much, just want to be able to watch them, even newer ones.
I might add, eventually I'll need to upgrade to these versions anyway.
I could end up with the same problem if it is something I did wrong, bad
USE flag or something. Best way, fix it so it works. Then maybe not
have problems for a long while. :-D
Dale
:-) :-)
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] media-video/gpac and media-video/mplayer fails to build.
2025-02-20 18:23 ` Dale
@ 2025-02-20 18:35 ` Mark Knecht
2025-02-20 18:38 ` Mark Knecht
0 siblings, 1 reply; 25+ messages in thread
From: Mark Knecht @ 2025-02-20 18:35 UTC (permalink / raw
To: gentoo-user
On Thu, Feb 20, 2025 at 11:24 AM Dale <rdalek1967@gmail.com> wrote:
>
> Mark Knecht wrote:
> > On Thu, Feb 20, 2025 at 11:01 AM Dale <rdalek1967@gmail.com> wrote:
> >> Howdy,
> >>
> >> I downloaded some really new videos the other day, .mkv ones. Nothing I
> >> had would play them, mplayer or mpv based players.
> > Convert them using handbrake. Probably saves you a bunch of disk space also
> >
> >
>
>
> I thought about that. Thing is, if the people creating these videos is
> using this new method, I'll have to convert those newer ones in the
> future as well. At some point, I'll be having to convert a lot of them
> which is time consuming and somewhat annoying. I don't mind the file
> size to much, just want to be able to watch them, even newer ones.
>
> I might add, eventually I'll need to upgrade to these versions anyway.
> I could end up with the same problem if it is something I did wrong, bad
> USE flag or something. Best way, fix it so it works. Then maybe not
> have problems for a long while. :-D
>
I suppose, but 7GB files ripped from DVDs vs 400MB m4v for me
is a no brainer. Matroska is mostly to get multiple video, audio
and subtitle files into a single container. If you care about keeping
Serbian audio and Turkish subtitles, then by all means keep the
mkv and find a player that gives you all that control.
Best wishes,
Mark
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] media-video/gpac and media-video/mplayer fails to build.
2025-02-20 18:35 ` Mark Knecht
@ 2025-02-20 18:38 ` Mark Knecht
2025-02-20 19:06 ` Dale
0 siblings, 1 reply; 25+ messages in thread
From: Mark Knecht @ 2025-02-20 18:38 UTC (permalink / raw
To: gentoo-user
On Thu, Feb 20, 2025 at 11:35 AM Mark Knecht <markknecht@gmail.com> wrote:
>
> On Thu, Feb 20, 2025 at 11:24 AM Dale <rdalek1967@gmail.com> wrote:
> >
> > Mark Knecht wrote:
> > > On Thu, Feb 20, 2025 at 11:01 AM Dale <rdalek1967@gmail.com> wrote:
> > >> Howdy,
> > >>
> > >> I downloaded some really new videos the other day, .mkv ones. Nothing I
> > >> had would play them, mplayer or mpv based players.
> > > Convert them using handbrake. Probably saves you a bunch of disk space also
> > >
> > >
> >
> >
> > I thought about that. Thing is, if the people creating these videos is
> > using this new method, I'll have to convert those newer ones in the
> > future as well. At some point, I'll be having to convert a lot of them
> > which is time consuming and somewhat annoying. I don't mind the file
> > size to much, just want to be able to watch them, even newer ones.
> >
> > I might add, eventually I'll need to upgrade to these versions anyway.
> > I could end up with the same problem if it is something I did wrong, bad
> > USE flag or something. Best way, fix it so it works. Then maybe not
> > have problems for a long while. :-D
> >
>
> I suppose, but 7GB files ripped from DVDs vs 400MB m4v for me
> is a no brainer. Matroska is mostly to get multiple video, audio
> and subtitle files into a single container. If you care about keeping
> Serbian audio and Turkish subtitles, then by all means keep the
> mkv and find a player that gives you all that control.
>
> Best wishes,
> Mark
ChatGPT tells me this, but I have medium confidence
Are there any Linux media players that will play Matroska files?
Yes, there are several Linux media players that can play Matroska
(MKV) files! Here are a few popular options:
VLC Media Player: VLC is a versatile and widely-used media player that
supports a vast range of audio and video formats, including MKV. It's
available for most Linux distributions and can be easily installed
using package managers1.
SMPlayer: Based on MPlayer, SMPlayer supports all major video formats,
including MKV. It also offers features like YouTube video playback
without ads and subtitle integration2.
Haruna Video Player: This Qt-based video player supports MKV and
offers features like YouTube-dl support, playback speed control, and
hardware decoding.
GNOME Videos (Totem): The default video player for GNOME desktop
environments, Totem supports MKV and other major file formats.
MPV: A lightweight and high-performance media player that supports MKV
and many other formats. It's known for its simplicity and efficiency.
Would you like more information on how to install any of these players?
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gentoo-user] Re: media-video/gpac and media-video/mplayer fails to build.
2025-02-20 18:14 ` Mark Knecht
2025-02-20 18:23 ` Dale
@ 2025-02-20 18:59 ` Grant Edwards
2025-02-20 23:15 ` [gentoo-user] " Frank Steinmetzger
2 siblings, 0 replies; 25+ messages in thread
From: Grant Edwards @ 2025-02-20 18:59 UTC (permalink / raw
To: gentoo-user
On 2025-02-20, Mark Knecht <markknecht@gmail.com> wrote:
> On Thu, Feb 20, 2025 at 11:01 AM Dale <rdalek1967@gmail.com> wrote:
>>
>> Howdy,
>>
>> I downloaded some really new videos the other day, .mkv ones. Nothing I
>> had would play them, mplayer or mpv based players.
>
> Convert them using handbrake. Probably saves you a bunch of disk space also
There's no need for that unless for some reason you really do want
re-encode the streams. All of the popular, maintained players (vlc,
mpv, etc.) can handle the mkv container format.
mplayer has been abandoned for many years. The replacement is 'mpv'.
--
Grant
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] media-video/gpac and media-video/mplayer fails to build.
2025-02-20 18:38 ` Mark Knecht
@ 2025-02-20 19:06 ` Dale
2025-02-20 21:35 ` [gentoo-user] " Grant Edwards
0 siblings, 1 reply; 25+ messages in thread
From: Dale @ 2025-02-20 19:06 UTC (permalink / raw
To: gentoo-user
Mark Knecht wrote:
> On Thu, Feb 20, 2025 at 11:35 AM Mark Knecht <markknecht@gmail.com> wrote:
>> On Thu, Feb 20, 2025 at 11:24 AM Dale <rdalek1967@gmail.com> wrote:
>>> Mark Knecht wrote:
>>>> On Thu, Feb 20, 2025 at 11:01 AM Dale <rdalek1967@gmail.com> wrote:
>>>>> Howdy,
>>>>>
>>>>> I downloaded some really new videos the other day, .mkv ones. Nothing I
>>>>> had would play them, mplayer or mpv based players.
>>>> Convert them using handbrake. Probably saves you a bunch of disk space also
>>>>
>>>>
>>>
>>> I thought about that. Thing is, if the people creating these videos is
>>> using this new method, I'll have to convert those newer ones in the
>>> future as well. At some point, I'll be having to convert a lot of them
>>> which is time consuming and somewhat annoying. I don't mind the file
>>> size to much, just want to be able to watch them, even newer ones.
>>>
>>> I might add, eventually I'll need to upgrade to these versions anyway.
>>> I could end up with the same problem if it is something I did wrong, bad
>>> USE flag or something. Best way, fix it so it works. Then maybe not
>>> have problems for a long while. :-D
>>>
>> I suppose, but 7GB files ripped from DVDs vs 400MB m4v for me
>> is a no brainer. Matroska is mostly to get multiple video, audio
>> and subtitle files into a single container. If you care about keeping
>> Serbian audio and Turkish subtitles, then by all means keep the
>> mkv and find a player that gives you all that control.
>>
>> Best wishes,
>> Mark
> ChatGPT tells me this, but I have medium confidence
>
> Are there any Linux media players that will play Matroska files?
>
> Yes, there are several Linux media players that can play Matroska
> (MKV) files! Here are a few popular options:
>
> VLC Media Player: VLC is a versatile and widely-used media player that
> supports a vast range of audio and video formats, including MKV. It's
> available for most Linux distributions and can be easily installed
> using package managers1.
>
> SMPlayer: Based on MPlayer, SMPlayer supports all major video formats,
> including MKV. It also offers features like YouTube video playback
> without ads and subtitle integration2.
>
> Haruna Video Player: This Qt-based video player supports MKV and
> offers features like YouTube-dl support, playback speed control, and
> hardware decoding.
>
> GNOME Videos (Totem): The default video player for GNOME desktop
> environments, Totem supports MKV and other major file formats.
>
> MPV: A lightweight and high-performance media player that supports MKV
> and many other formats. It's known for its simplicity and efficiency.
>
> Would you like more information on how to install any of these players?
>
>
Well, it plays some older .mkv files already. These are some type of
NEW .mkv files. I forgot to mention that point. I have a lot of other
videos that are .mkv and they play fine, have for ages. It's some new
thing that isn't playing anymore. When I click on one, it opens and
then closes. Sometimes it is just a quick flash. Even VLC won't play
these newer files. I'm not sure what changed with .mkv but it seems
something did. I figured a new codec or something. I dunno.
I enabled a lot of stuff for video file types ages ago. I get videos
from so many sources I never know what extension it is going to be. I
don't want to convert dozens, hundreds or even thousands of video files
so I just enable all the codecs I can so that I can play whatever format
they happen to be in. Then came this new thing. It threw a wrench in
the gearbox. ;-)
Dale
:-) :-)
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gentoo-user] Re: media-video/gpac and media-video/mplayer fails to build.
2025-02-20 19:06 ` Dale
@ 2025-02-20 21:35 ` Grant Edwards
0 siblings, 0 replies; 25+ messages in thread
From: Grant Edwards @ 2025-02-20 21:35 UTC (permalink / raw
To: gentoo-user
On 2025-02-20, Dale <rdalek1967@gmail.com> wrote:
> Well, it plays some older .mkv files already. These are some type
> of NEW .mkv files. I forgot to mention that point. I have a lot of
> other videos that are .mkv and they play fine, have for ages.
OK, so the problem isn't with the .mkv container format.
> It's some new thing that isn't playing anymore. When I click on
> one, it opens and then closes. Sometimes it is just a quick flash.
> Even VLC won't play these newer files. I'm not sure what changed
> with .mkv but it seems something did.
I doubt anything has changed with .mkv.
> I figured a new codec or something.
Indeed, it's almost certainly an unsuppported codec type or codec
parameters. Try this command on some of the files you can't play:
$ ffprobe <whatever>.mkv
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] media-video/gpac and media-video/mplayer fails to build.
2025-02-20 18:00 [gentoo-user] media-video/gpac and media-video/mplayer fails to build Dale
2025-02-20 18:14 ` Mark Knecht
@ 2025-02-20 21:42 ` Michael Cook
2025-02-20 22:03 ` Dale
1 sibling, 1 reply; 25+ messages in thread
From: Michael Cook @ 2025-02-20 21:42 UTC (permalink / raw
To: gentoo-user
On 2/20/25 1:00 PM, Dale wrote:
> Howdy,
>
> I downloaded some really new videos the other day, .mkv ones. Nothing I
> had would play them, mplayer or mpv based players. I decided to keyword
> them, and a couple friends, and change some USE flags to see if they
> would play with newer but unstable versions. They did but I am having
> trouble re-emerging gpac and mplayer. The compile failed. It is what
> is left of @preserved-rebuild and USE flag changes. The videos play now
> but still want to re-emerge these for a clean set of packages. I waited
> a bit and synced again, no fixes. I can't find a bug report related to
> mine either but I may not be looking for the right thing. I couldn't
> find anything on the forums either. Since I read this mailing list,
> I've seen nothing here either.
>
> I've attached the build logs for both. It could be that gpac fails and
> causes mplayer to fail as well. Fixing gpac may fix mplayer. This is
> the version and USE flag info.
>
>
> [ebuild R ] media-video/gpac-2.2.1-r1:0/11::gentoo USE="X a52 aac
> alsa ffmpeg jpeg jpeg2k mad opengl png pulseaudio sdl ssl theora*
> truetype vorbis xml xvid -debug -dvb -jack -oss -static-libs"
> CPU_FLAGS_X86="sse2" 0 KiB
> [ebuild R ] media-video/mplayer-1.5_p20241125::gentoo USE="X a52
> alsa bidi bluray cddb cdio cdparanoia dga dts dvd dvdnav enca encode
> faac ftp iconv ipv6 jpeg libass lzo mad mng mp3 network opengl osdmenu
> png pulseaudio rar sdl shm theora* truetype unicode vcd vorbis x264
> xscreensaver xv xvid -aalib (-aqua) -bl -bs2b -cpudetection -debug -doc
> -dv -dvb -faad -fbcon -ggi -gsm -jack -joystick -ladspa -libcaca
> -libmpeg2 -lirc -live -md5sum -nas -openal -oss -pnm -pvr -radio -rtc
> -rtmp -samba (-selinux) -speex -tga -toolame -tremor -twolame -v4l
> -vdpau (-vidix) -xinerama -yuv4mpeg -zoran" CPU_FLAGS_X86="avx avx2 fma3
> mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -fma4
> -xop" VIDEO_CARDS="-mga"
>
>
> Maybe I need to adjust USE flags? I enabled some trying to get the
> videos to work. Maybe I enabled a bad one???
>
> Any ideas? Nothing I've tried gets them to compile clean. I'm not sure
> if it is a bug or me doing something I shouldn't. o_O
>
> Thanks.
>
> Dale
>
> :-) :-)
Use flags for ffmpeg would give us a better idea. But I would guess
they're either AV1 or H.265 encoded.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] media-video/gpac and media-video/mplayer fails to build.
2025-02-20 21:42 ` Michael Cook
@ 2025-02-20 22:03 ` Dale
2025-02-20 23:36 ` [gentoo-user] " Grant Edwards
0 siblings, 1 reply; 25+ messages in thread
From: Dale @ 2025-02-20 22:03 UTC (permalink / raw
To: gentoo-user
Michael Cook wrote:
>
> On 2/20/25 1:00 PM, Dale wrote:
>> Howdy,
>>
>> I downloaded some really new videos the other day, .mkv ones. Nothing I
>> had would play them, mplayer or mpv based players. I decided to keyword
>> them, and a couple friends, and change some USE flags to see if they
>> would play with newer but unstable versions. They did but I am having
>> trouble re-emerging gpac and mplayer. The compile failed. It is what
>> is left of @preserved-rebuild and USE flag changes. The videos play now
>> but still want to re-emerge these for a clean set of packages. I waited
>> a bit and synced again, no fixes. I can't find a bug report related to
>> mine either but I may not be looking for the right thing. I couldn't
>> find anything on the forums either. Since I read this mailing list,
>> I've seen nothing here either.
>>
>> I've attached the build logs for both. It could be that gpac fails and
>> causes mplayer to fail as well. Fixing gpac may fix mplayer. This is
>> the version and USE flag info.
>>
>>
>> [ebuild R ] media-video/gpac-2.2.1-r1:0/11::gentoo USE="X a52 aac
>> alsa ffmpeg jpeg jpeg2k mad opengl png pulseaudio sdl ssl theora*
>> truetype vorbis xml xvid -debug -dvb -jack -oss -static-libs"
>> CPU_FLAGS_X86="sse2" 0 KiB
>> [ebuild R ] media-video/mplayer-1.5_p20241125::gentoo USE="X a52
>> alsa bidi bluray cddb cdio cdparanoia dga dts dvd dvdnav enca encode
>> faac ftp iconv ipv6 jpeg libass lzo mad mng mp3 network opengl osdmenu
>> png pulseaudio rar sdl shm theora* truetype unicode vcd vorbis x264
>> xscreensaver xv xvid -aalib (-aqua) -bl -bs2b -cpudetection -debug -doc
>> -dv -dvb -faad -fbcon -ggi -gsm -jack -joystick -ladspa -libcaca
>> -libmpeg2 -lirc -live -md5sum -nas -openal -oss -pnm -pvr -radio -rtc
>> -rtmp -samba (-selinux) -speex -tga -toolame -tremor -twolame -v4l
>> -vdpau (-vidix) -xinerama -yuv4mpeg -zoran" CPU_FLAGS_X86="avx avx2 fma3
>> mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -fma4
>> -xop" VIDEO_CARDS="-mga"
>>
>>
>> Maybe I need to adjust USE flags? I enabled some trying to get the
>> videos to work. Maybe I enabled a bad one???
>>
>> Any ideas? Nothing I've tried gets them to compile clean. I'm not sure
>> if it is a bug or me doing something I shouldn't. o_O
>>
>> Thanks.
>>
>> Dale
>>
>> :-) :-)
>
>
> Use flags for ffmpeg would give us a better idea. But I would guess
> they're either AV1 or H.265 encoded.
>
>
>
I'm getting some help off list from another Michael. O_O He suggested
several USE flag changes. Some I never heard of. As I type, it's
compiling in my chroot where I build binaries. If it works and
everything compiles OK, I'll post a list of the changes. It may help
someone else in the future with the same problem.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] media-video/gpac and media-video/mplayer fails to build.
2025-02-20 18:14 ` Mark Knecht
2025-02-20 18:23 ` Dale
2025-02-20 18:59 ` Grant Edwards
@ 2025-02-20 23:15 ` Frank Steinmetzger
2 siblings, 0 replies; 25+ messages in thread
From: Frank Steinmetzger @ 2025-02-20 23:15 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1533 bytes --]
Am Thu, Feb 20, 2025 at 11:14:19AM -0700 schrieb Mark Knecht:
> On Thu, Feb 20, 2025 at 11:01 AM Dale <rdalek1967@gmail.com> wrote:
> >
> > Howdy,
> >
> > I downloaded some really new videos the other day, .mkv ones. Nothing I
> > had would play them, mplayer or mpv based players.
>
> Convert them using handbrake. Probably saves you a bunch of disk space also
Matroska is just a container format – as its name implies from the Russian
dolls: https://en.wikipedia.org/wiki/Matryoshka_doll
MKV is simply one of the *the* best container formats out there right now.
It is open and supports many many different types of media streams inside
(video, audio, subtitle, metadata, attachments, chapters). It possibly
became very wide-spread through its use in the movie ripping scene, but by
know is also supported by the corporate world. Even my Sony TV can play them
natively from a USB device (well, it’s Android after all).
If you really want to use a different container (maybe mp4), then convert it
without re-encoding:
ffmpeg -i input.mkv -map 0 -c copy output.mp4
`-map 0` means copy every stream from the input file, not just the first of
each type
`-c copy` means copy the streams without re-encoding
But it won’t make any difference to the player. Unless you disabled the mkv
use flag, that is. ^^
--
Grüße | Greetings | Salut | Qapla’
Please do not share anything from, with or about me on any social network.
Puberty is the time when parents become difficult.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gentoo-user] Re: media-video/gpac and media-video/mplayer fails to build.
2025-02-20 22:03 ` Dale
@ 2025-02-20 23:36 ` Grant Edwards
2025-02-21 0:05 ` Frank Steinmetzger
0 siblings, 1 reply; 25+ messages in thread
From: Grant Edwards @ 2025-02-20 23:36 UTC (permalink / raw
To: gentoo-user
On 2025-02-20, Dale <rdalek1967@gmail.com> wrote:
>
>> Use flags for ffmpeg would give us a better idea. But I would guess
>> they're either AV1 or H.265 encoded.
>
> I'm getting some help off list from another Michael. O_O He suggested
> several USE flag changes. Some I never heard of.
Ask ffmpeg what's in the file. Then you'll _know_ what encoder(s)
were used and what USE flags you need.
--
Grant
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: media-video/gpac and media-video/mplayer fails to build.
2025-02-20 23:36 ` [gentoo-user] " Grant Edwards
@ 2025-02-21 0:05 ` Frank Steinmetzger
2025-02-21 8:06 ` Dale
0 siblings, 1 reply; 25+ messages in thread
From: Frank Steinmetzger @ 2025-02-21 0:05 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 903 bytes --]
Am Thu, Feb 20, 2025 at 11:36:47PM -0000 schrieb Grant Edwards:
> On 2025-02-20, Dale <rdalek1967@gmail.com> wrote:
> >
> >> Use flags for ffmpeg would give us a better idea. But I would guess
> >> they're either AV1 or H.265 encoded.
> >
> > I'm getting some help off list from another Michael. O_O He suggested
> > several USE flag changes. Some I never heard of.
>
> Ask ffmpeg what's in the file. Then you'll _know_ what encoder(s)
> were used and what USE flags you need.
The command to just get file information is ffprobe. Its output is very
dense. I recommend mediainfo for a more human-friendly output. It also comes
with an optional GUI.
--
Grüße | Greetings | Salut | Qapla’
Please do not share anything from, with or about me on any social network.
“A computer is like air conditioning:
it becomes useless when you open Windows.” – Linus Torvalds
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: media-video/gpac and media-video/mplayer fails to build.
2025-02-21 0:05 ` Frank Steinmetzger
@ 2025-02-21 8:06 ` Dale
2025-02-21 14:54 ` Grant Edwards
0 siblings, 1 reply; 25+ messages in thread
From: Dale @ 2025-02-21 8:06 UTC (permalink / raw
To: gentoo-user
Frank Steinmetzger wrote:
> Am Thu, Feb 20, 2025 at 11:36:47PM -0000 schrieb Grant Edwards:
>> On 2025-02-20, Dale <rdalek1967@gmail.com> wrote:
>>>> Use flags for ffmpeg would give us a better idea. But I would guess
>>>> they're either AV1 or H.265 encoded.
>>> I'm getting some help off list from another Michael. O_O He suggested
>>> several USE flag changes. Some I never heard of.
>> Ask ffmpeg what's in the file. Then you'll _know_ what encoder(s)
>> were used and what USE flags you need.
> The command to just get file information is ffprobe. Its output is very
> dense. I recommend mediainfo for a more human-friendly output. It also comes
> with an optional GUI.
>
The other Michael asked for ffprobe info, off list. I enabled some USE
flags and tried to recompile with those. It failed on some, again. I'm
giving it another go now.
I also went back to stable packages on some instead of unstable. See if
that helps any.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gentoo-user] Re: media-video/gpac and media-video/mplayer fails to build.
2025-02-21 8:06 ` Dale
@ 2025-02-21 14:54 ` Grant Edwards
2025-02-21 15:38 ` Dale
0 siblings, 1 reply; 25+ messages in thread
From: Grant Edwards @ 2025-02-21 14:54 UTC (permalink / raw
To: gentoo-user
On 2025-02-21, Dale <rdalek1967@gmail.com> wrote:
> Frank Steinmetzger wrote:
>> Am Thu, Feb 20, 2025 at 11:36:47PM -0000 schrieb Grant Edwards:
>>> On 2025-02-20, Dale <rdalek1967@gmail.com> wrote:
>>>>> Use flags for ffmpeg would give us a better idea. But I would guess
>>>>> they're either AV1 or H.265 encoded.
>>>> I'm getting some help off list from another Michael. O_O He suggested
>>>> several USE flag changes. Some I never heard of.
>>>
>>> Ask ffmpeg what's in the file. Then you'll _know_ what encoder(s)
>>> were used and what USE flags you need.
>
>> The command to just get file information is ffprobe. Its output is
>> very dense. I recommend mediainfo for a more human-friendly
>> output. It also comes with an optional GUI.
>
> The other Michael asked for ffprobe info, off list.
He's right, that's what you need to do (or something equivalent) so
that you know what codec you're missing.
> I enabled some USE flags and tried to recompile with those. It
> failed on some, again. I'm giving it another go now.
So are you trying to figure out why you can't play those .mkv files,
or just trying to get mplayer to build? I'll once again point out
that mplayer seems to by dying (hasn't had a new version released in 3
years). Most users seem to have moved to mpv.
https://wiki.gentoo.org/wiki/MPlayer:
Note
MPlayer is not very actively maintained anymore, but still
alive. However, its fork MPV is active and it comes with some extra
features too.
--
Grant
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: media-video/gpac and media-video/mplayer fails to build.
2025-02-21 14:54 ` Grant Edwards
@ 2025-02-21 15:38 ` Dale
2025-02-21 23:59 ` Frank Steinmetzger
0 siblings, 1 reply; 25+ messages in thread
From: Dale @ 2025-02-21 15:38 UTC (permalink / raw
To: gentoo-user
Grant Edwards wrote:
> On 2025-02-21, Dale <rdalek1967@gmail.com> wrote:
>> Frank Steinmetzger wrote:
>>> Am Thu, Feb 20, 2025 at 11:36:47PM -0000 schrieb Grant Edwards:
>>>> On 2025-02-20, Dale <rdalek1967@gmail.com> wrote:
>>>>>> Use flags for ffmpeg would give us a better idea. But I would guess
>>>>>> they're either AV1 or H.265 encoded.
>>>>> I'm getting some help off list from another Michael. O_O He suggested
>>>>> several USE flag changes. Some I never heard of.
>>>> Ask ffmpeg what's in the file. Then you'll _know_ what encoder(s)
>>>> were used and what USE flags you need.
>>> The command to just get file information is ffprobe. Its output is
>>> very dense. I recommend mediainfo for a more human-friendly
>>> output. It also comes with an optional GUI.
>> The other Michael asked for ffprobe info, off list.
> He's right, that's what you need to do (or something equivalent) so
> that you know what codec you're missing.
>
>> I enabled some USE flags and tried to recompile with those. It
>> failed on some, again. I'm giving it another go now.
> So are you trying to figure out why you can't play those .mkv files,
> or just trying to get mplayer to build? I'll once again point out
> that mplayer seems to by dying (hasn't had a new version released in 3
> years). Most users seem to have moved to mpv.
>
> https://wiki.gentoo.org/wiki/MPlayer:
>
> Note
>
> MPlayer is not very actively maintained anymore, but still
> alive. However, its fork MPV is active and it comes with some extra
> features too.
>
> --
> Grant
>
>
>
Well, Micheal helped me with USE flags. I needed some that I had no
idea about. Some related to hardware I have, or think I have since they
may be to old. Some related to Vulkan. Anyway, after a lot of fiddling
with USE flags, I still can't get gpac and mplayer to rebuild. I think
it may just be a bug that needs to be worked on but the output is not
something I can figure out. Funny thing is, despite gpac and mplayer
not being able to build and put the changes into effect, the videos now
play just fine. I suspect that at some point those bugs will be dealt
with and they will build. In the meantime I can play the videos at
least. I just don't have a clean output of emerge -auDN world is all.
For a long time, I think Smplayer depended on mplayer. I've had times
where Smplayer wouldn't play videos using mplayer so I went into
preferences and changed it to use mpv. It seems to work just fine so
unless something breaks, I'll leave it set to mpv. I guess I keep
mplayer around just in case something pops up and I need it. I'm not
sure what if anything actually needs it other than me just letting it
sit there, just in case.
If anyone has a idea on the original failure of gpac and mplayer, I'm
open to test something to see if it works. Otherwise, maybe when I sync
Sunday morning it will have a fix. If not, maybe it will the next
week. One can hope. ;-) They are unstable packages so failing to
build isn't surprising really. Most unstable packages do work fine but
every once in a while, one fails. They do eventually get worked out. I
just don't know if I should file a bug or if it is something related to
me and what I'm doing.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: media-video/gpac and media-video/mplayer fails to build.
2025-02-21 15:38 ` Dale
@ 2025-02-21 23:59 ` Frank Steinmetzger
2025-02-22 13:35 ` Dale
0 siblings, 1 reply; 25+ messages in thread
From: Frank Steinmetzger @ 2025-02-21 23:59 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1951 bytes --]
Am Fri, Feb 21, 2025 at 09:38:37AM -0600 schrieb Dale:
> Grant Edwards wrote:
> > On 2025-02-21, Dale <rdalek1967@gmail.com> wrote:
> >> Frank Steinmetzger wrote:
> >>> Am Thu, Feb 20, 2025 at 11:36:47PM -0000 schrieb Grant Edwards:
> >> […]
> >> I enabled some USE flags and tried to recompile with those. It
> >> failed on some, again. I'm giving it another go now.
> > So are you trying to figure out why you can't play those .mkv files,
> > or just trying to get mplayer to build? I'll once again point out
> > that mplayer seems to by dying (hasn't had a new version released in 3
> > years). Most users seem to have moved to mpv.
> […]
> Well, Micheal helped me with USE flags. I needed some that I had no
> idea about. Some related to hardware I have, or think I have since they
> may be to old. Some related to Vulkan. Anyway, after a lot of fiddling
> with USE flags, I still can't get gpac and mplayer to rebuild.
I have a gentoo chroot sitting on my PC. Just so I don’t forget everything
while Arch is my daily driver. :D
Anyways, I did an emerge sync and was able to emerge the current stable
version 1.5_p20241125 of mplayer just fine (it wasn’t installed before).
This is an AMD-only system, just like yours I think. Since your problematic
header files come from ffmpeg, here are my active ffmpeg use flags:
X alsa bluray bzip2 cpudetection dav1d doc encode frei0r gnutls gpl iconv
jpegxl lcms libass libdrm lzma modplug mp3 network opengl opus pic postproc
pulseaudio rav1e sdl srt ssh svg theora threads truetype twolame vorbis
vulkan webp x264 x265 xvid zlib
The version is 6.1.2, installed back in December. I have not touched this
installation since then.
--
Grüße | Greetings | Salut | Qapla’
Please do not share anything from, with or about me on any social network.
“Your code is shit.. your argument is shit.” – Linus Torvalds, linux.kernel
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: media-video/gpac and media-video/mplayer fails to build.
2025-02-21 23:59 ` Frank Steinmetzger
@ 2025-02-22 13:35 ` Dale
2025-02-22 22:42 ` Dale
0 siblings, 1 reply; 25+ messages in thread
From: Dale @ 2025-02-22 13:35 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 4181 bytes --]
Frank Steinmetzger wrote:
> Am Fri, Feb 21, 2025 at 09:38:37AM -0600 schrieb Dale:
>> Grant Edwards wrote:
>>> On 2025-02-21, Dale <rdalek1967@gmail.com> wrote:
>>>> Frank Steinmetzger wrote:
>>>>> Am Thu, Feb 20, 2025 at 11:36:47PM -0000 schrieb Grant Edwards:
>>>> […]
>>>> I enabled some USE flags and tried to recompile with those. It
>>>> failed on some, again. I'm giving it another go now.
>>> So are you trying to figure out why you can't play those .mkv files,
>>> or just trying to get mplayer to build? I'll once again point out
>>> that mplayer seems to by dying (hasn't had a new version released in 3
>>> years). Most users seem to have moved to mpv.
>> […]
>> Well, Micheal helped me with USE flags. I needed some that I had no
>> idea about. Some related to hardware I have, or think I have since they
>> may be to old. Some related to Vulkan. Anyway, after a lot of fiddling
>> with USE flags, I still can't get gpac and mplayer to rebuild.
> I have a gentoo chroot sitting on my PC. Just so I don’t forget everything
> while Arch is my daily driver. :D
>
> Anyways, I did an emerge sync and was able to emerge the current stable
> version 1.5_p20241125 of mplayer just fine (it wasn’t installed before).
> This is an AMD-only system, just like yours I think. Since your problematic
> header files come from ffmpeg, here are my active ffmpeg use flags:
>
> X alsa bluray bzip2 cpudetection dav1d doc encode frei0r gnutls gpl iconv
> jpegxl lcms libass libdrm lzma modplug mp3 network opengl opus pic postproc
> pulseaudio rav1e sdl srt ssh svg theora threads truetype twolame vorbis
> vulkan webp x264 x265 xvid zlib
>
> The version is 6.1.2, installed back in December. I have not touched this
> installation since then.
>
> -- Grüße | Greetings | Salut | Qapla’ Please do not share anything
> from, with or about me on any social network. “Your code is shit..
> your argument is shit.” – Linus Torvalds, linux.kernel
I had this installed at one time before as well. I have different USE
flags than yours for sure. This is mine.
USE="X a52 alsa bidi bluray cddb cdio cdparanoia dga dts dvd dvdnav enca
encode faac ftp iconv ipv6 jpeg libass lzo mad mng mp3 network opengl
osdmenu png pulseaudio rar sdl shm theora truetype unicode vcd vdpau
vorbis x264 xscreensaver xv xvid -aalib (-aqua) -bl -bs2b -cpudetection
-debug -doc -dv -dvb -faad -fbcon -ggi -gsm -jack -joystick -ladspa
-libcaca -libmpeg2 -lirc -live -md5sum -nas -openal -oss -pnm -pvr
-radio -rtc -rtmp -samba (-selinux) -speex -tga -toolame -tremor
-twolame -v4l (-vidix) -xinerama -yuv4mpeg -zoran"
I suspect we have different profiles and maybe even different CPUs as
well. I might add, mplayer actually built once with the current USE
flags. It wants to rebuild due to preserved libs but there is no change
to the USE flags. I suspect the reason mplayer is failing has to do
with gpac failing. I could change the USE flags to stop gpac from being
pulled in but that may mean my videos won't play again. So, I checked,
nothing actually depended on gpac according to equery d. So, I removed
it. I then tried to emerge mplayer again. It still failed. I disabled
two USE flags that I added to make.conf, vaapi vdpau. It still fails.
Oh, I'm typing this as I do things. I've currently removed several USE
flags I added and removed some packages from the package.keyword file,
going back to stable. Lots of stuff to compile. I'll be back. OK.
Back. After removing some USE flags, I have a clean rebuild. The new
.mkv video files no longer play tho. I'll start enabling USE flags
until the videos start to play again or I get a failure in building a
package again. I'll try to post back the end result. Might help some
other poor soul.
Oh, I found out what depends on mplayer. It's media-video/devedeng that
I use to burn videos to media DVDs. I don't see a way to make it depend
on mpv. Not a obvious one anyway. Is there a software package that
burns DVDs the same way but doesn't need mplayer? I don't make DVDs
often but I'd like to keep a tool around just in case.
Dale
:-) :-)
[-- Attachment #2: Type: text/html, Size: 5735 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: media-video/gpac and media-video/mplayer fails to build.
2025-02-22 13:35 ` Dale
@ 2025-02-22 22:42 ` Dale
2025-02-23 1:34 ` David M. Fellows
0 siblings, 1 reply; 25+ messages in thread
From: Dale @ 2025-02-22 22:42 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 5935 bytes --]
Dale wrote:
> Frank Steinmetzger wrote:
>> Am Fri, Feb 21, 2025 at 09:38:37AM -0600 schrieb Dale:
>>> Grant Edwards wrote:
>>>> On 2025-02-21, Dale <rdalek1967@gmail.com> wrote:
>>>>> Frank Steinmetzger wrote:
>>>>>> Am Thu, Feb 20, 2025 at 11:36:47PM -0000 schrieb Grant Edwards:
>>>>> […]
>>>>> I enabled some USE flags and tried to recompile with those. It
>>>>> failed on some, again. I'm giving it another go now.
>>>> So are you trying to figure out why you can't play those .mkv files,
>>>> or just trying to get mplayer to build? I'll once again point out
>>>> that mplayer seems to by dying (hasn't had a new version released in 3
>>>> years). Most users seem to have moved to mpv.
>>> […]
>>> Well, Micheal helped me with USE flags. I needed some that I had no
>>> idea about. Some related to hardware I have, or think I have since they
>>> may be to old. Some related to Vulkan. Anyway, after a lot of fiddling
>>> with USE flags, I still can't get gpac and mplayer to rebuild.
>> I have a gentoo chroot sitting on my PC. Just so I don’t forget everything
>> while Arch is my daily driver. :D
>>
>> Anyways, I did an emerge sync and was able to emerge the current stable
>> version 1.5_p20241125 of mplayer just fine (it wasn’t installed before).
>> This is an AMD-only system, just like yours I think. Since your problematic
>> header files come from ffmpeg, here are my active ffmpeg use flags:
>>
>> X alsa bluray bzip2 cpudetection dav1d doc encode frei0r gnutls gpl iconv
>> jpegxl lcms libass libdrm lzma modplug mp3 network opengl opus pic postproc
>> pulseaudio rav1e sdl srt ssh svg theora threads truetype twolame vorbis
>> vulkan webp x264 x265 xvid zlib
>>
>> The version is 6.1.2, installed back in December. I have not touched this
>> installation since then.
>>
>> -- Grüße | Greetings | Salut | Qapla’ Please do not share anything
>> from, with or about me on any social network. “Your code is shit..
>> your argument is shit.” – Linus Torvalds, linux.kernel
>
>
> I had this installed at one time before as well. I have different USE
> flags than yours for sure. This is mine.
>
>
> USE="X a52 alsa bidi bluray cddb cdio cdparanoia dga dts dvd dvdnav
> enca encode faac ftp iconv ipv6 jpeg libass lzo mad mng mp3 network
> opengl osdmenu png pulseaudio rar sdl shm theora truetype unicode vcd
> vdpau vorbis x264 xscreensaver xv xvid -aalib (-aqua) -bl -bs2b
> -cpudetection -debug -doc -dv -dvb -faad -fbcon -ggi -gsm -jack
> -joystick -ladspa -libcaca -libmpeg2 -lirc -live -md5sum -nas -openal
> -oss -pnm -pvr -radio -rtc -rtmp -samba (-selinux) -speex -tga
> -toolame -tremor -twolame -v4l (-vidix) -xinerama -yuv4mpeg -zoran"
>
>
> I suspect we have different profiles and maybe even different CPUs as
> well. I might add, mplayer actually built once with the current USE
> flags. It wants to rebuild due to preserved libs but there is no
> change to the USE flags. I suspect the reason mplayer is failing has
> to do with gpac failing. I could change the USE flags to stop gpac
> from being pulled in but that may mean my videos won't play again.
> So, I checked, nothing actually depended on gpac according to equery
> d. So, I removed it. I then tried to emerge mplayer again. It still
> failed. I disabled two USE flags that I added to make.conf, vaapi
> vdpau. It still fails. Oh, I'm typing this as I do things. I've
> currently removed several USE flags I added and removed some packages
> from the package.keyword file, going back to stable. Lots of stuff to
> compile. I'll be back. OK. Back. After removing some USE flags, I
> have a clean rebuild. The new .mkv video files no longer play tho.
> I'll start enabling USE flags until the videos start to play again or
> I get a failure in building a package again. I'll try to post back
> the end result. Might help some other poor soul.
>
> Oh, I found out what depends on mplayer. It's media-video/devedeng
> that I use to burn videos to media DVDs. I don't see a way to make it
> depend on mpv. Not a obvious one anyway. Is there a software package
> that burns DVDs the same way but doesn't need mplayer? I don't make
> DVDs often but I'd like to keep a tool around just in case.
>
> Dale
>
> :-) :-)
As was mentioned, mplayer isn't well maintained. I fiddled with USE
flags until I got as close to a clean system as I could. I ended up
with mplayer being the only thing that wouldn't compile. It would fail
almost all the time. If it would compile, the videos wouldn't play. If
it failed, something else would work but the videos would play. I did a
duck search. I found a interesting tidbit of info from another distro
where a person was trying to install mplayer manually. That person had
to switch back to a older gcc to get mplayer to compile clean. So, I
installed gcc 13, had 14 installed, and emerged mplayer just fine. So,
it seems certain conditions, maybe USE flags, would cause mplayer to
fail with the new gcc. The biggest thing, I had to have the latest
unstable version of ffmpeg to play the videos. That was the hang up. I
just had to figure out how to have it and mplayer be able to compile.
Now who among us would have ever thought of that????? If it wasn't for
that search I did, I wouldn't have thought of gcc being the problem.
My next question. Given mplayer is getting old and rotting on the vine
so to speak, anyone know if one can get rid of it completely? Right
now, Devedeng requires it and Smplayer does to, even tho I have it set
to use mpv now. I found a couple other packages but I may can do
without them. I'm just wondering how much longer mplayer is going to
last before packages that must have mplayer is going to be tree cleaned
because they no longer work.
Thanks to all for the help. We were all hammering at it for sure.
Dale
:-) :-)
[-- Attachment #2: Type: text/html, Size: 8021 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: media-video/gpac and media-video/mplayer fails to build.
2025-02-22 22:42 ` Dale
@ 2025-02-23 1:34 ` David M. Fellows
2025-02-23 7:53 ` Dale
0 siblings, 1 reply; 25+ messages in thread
From: David M. Fellows @ 2025-02-23 1:34 UTC (permalink / raw
To: gentoo-user, Dale
>Dale wrote:
Much snipped
>
>My next question. Given mplayer is getting old and rotting on the vine
>so to speak, anyone know if one can get rid of it completely? Right
>now, Devedeng requires it and Smplayer does to, even tho I have it set
>to use mpv now. I found a couple other packages but I may can do
>without them. I'm just wondering how much longer mplayer is going to
>last before packages that must have mplayer is going to be tree cleaned
>because they no longer work.
devedeng depends on vlc or mpv or mplayer. emerge would prefer them in
that order.
smplayer depends on mpv or mplayer
Your other packages probably have similar dependencies. You can check their
ebuilds to see.
This means if you emerge --depclean mplayer
to make sure it is gone from @world.
Then emerge smplayer
which should pull in mpv as a dependency.
Then emerge devedeng
which should be happy finding mpv already installed. Unless you have vlc
also installed in which case it would be happy with that.
Hope this is of use.
DaveF
>
>Thanks to all for the help. We were all hammering at it for sure.
>
>Dale
>
>:-) :-)
>
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: media-video/gpac and media-video/mplayer fails to build.
2025-02-23 1:34 ` David M. Fellows
@ 2025-02-23 7:53 ` Dale
2025-02-23 8:23 ` Michael
0 siblings, 1 reply; 25+ messages in thread
From: Dale @ 2025-02-23 7:53 UTC (permalink / raw
To: Gentoo User
David M. Fellows wrote:
>> Dale wrote:
> Much snipped
>> My next question. Given mplayer is getting old and rotting on the vine
>> so to speak, anyone know if one can get rid of it completely? Right
>> now, Devedeng requires it and Smplayer does to, even tho I have it set
>> to use mpv now. I found a couple other packages but I may can do
>> without them. I'm just wondering how much longer mplayer is going to
>> last before packages that must have mplayer is going to be tree cleaned
>> because they no longer work.
> devedeng depends on vlc or mpv or mplayer. emerge would prefer them in
> that order.
> smplayer depends on mpv or mplayer
>
> Your other packages probably have similar dependencies. You can check their
> ebuilds to see.
>
> This means if you emerge --depclean mplayer
> to make sure it is gone from @world.
> Then emerge smplayer
> which should pull in mpv as a dependency.
> Then emerge devedeng
> which should be happy finding mpv already installed. Unless you have vlc
> also installed in which case it would be happy with that.
>
> Hope this is of use.
> DaveF
>
>
That's a huge help. I figured, because of the name if nothing else,
that Smplayer would always need mplayer even tho it is set to use mpv.
I figured the name would change or something if that changed. For
watching videos on my TV, Smplayer is awesome. For watching on my puter
monitor, mpv does a fine job as well. I do wish mpv had a volume
control for audio tho. One thing I really like about Smplayer, the
ability to add videos to the playlist and not alter what is currently
playing.
I suspect at some point, mplayer is going to have to go bye bye. I
figure Gentoo devs may be the ones keeping it moving right now with
patches and such. At some point, something will break that they have no
interest in fixing, or someone else outside Gentoo. At that point,
funeral music will have to be played, with mpv most likely. ;-)
Oh, the key to getting those videos to play wasn't USE flags, it was the
latest ffmpeg. Once I installed that, the videos started playing
again. Having the USE flags updated is a good thing tho. I should be
up to date with those now.
Thanks to all for the help.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: media-video/gpac and media-video/mplayer fails to build.
2025-02-23 7:53 ` Dale
@ 2025-02-23 8:23 ` Michael
2025-02-23 10:21 ` Dale
0 siblings, 1 reply; 25+ messages in thread
From: Michael @ 2025-02-23 8:23 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 817 bytes --]
On Sunday, 23 February 2025 07:53:28 Greenwich Mean Time Dale wrote:
> I do wish mpv had a volume control for audio tho.
It does. From the fine manual:
/ and *
Decrease/increase volume.
Also, on the GUI, if you scroll with your mouse up or down you alter the audio
volume.
> One thing I really like about Smplayer, the
> ability to add videos to the playlist and not alter what is currently
> playing.
I think the only way to add a playlist to mpv is by creating a txt file with a
list of videos, one video per line, save it as <list_name>.m3u and then drag
'n drop it into the mpv window, or call it with mpv in a terminal:
mpv <list_name>.m3u
You can experiment to see if adding a new m3u list will overwrite the old one,
or stop what is currently playing - I haven't tried this yet. ;-)
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: media-video/gpac and media-video/mplayer fails to build.
2025-02-23 8:23 ` Michael
@ 2025-02-23 10:21 ` Dale
2025-02-23 12:54 ` Frank Steinmetzger
2025-02-23 18:46 ` Michael
0 siblings, 2 replies; 25+ messages in thread
From: Dale @ 2025-02-23 10:21 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 3498 bytes --]
Michael wrote:
> On Sunday, 23 February 2025 07:53:28 Greenwich Mean Time Dale wrote:
>
>> I do wish mpv had a volume control for audio tho.
> It does. From the fine manual:
>
> / and *
> Decrease/increase volume.
>
> Also, on the GUI, if you scroll with your mouse up or down you alter the audio
> volume.
>
The keyboard option does work. I didn't know that. I have a speaker
icon that I can click on to mute/unmute but that's it. I'd like to have
a control that I can click on and adjust, or better yet, just show up
all the time. When I scroll the mouse wheel, it moves forward or
backward. I prefer that really. I'm bad to skip forward through bits I
don't want to watch. The arrow keys work but the mouse button is faster
for me.
>> One thing I really like about Smplayer, the
>> ability to add videos to the playlist and not alter what is currently
>> playing.
> I think the only way to add a playlist to mpv is by creating a txt file with a
> list of videos, one video per line, save it as <list_name>.m3u and then drag
> 'n drop it into the mpv window, or call it with mpv in a terminal:
>
> mpv <list_name>.m3u
>
> You can experiment to see if adding a new m3u list will overwrite the old one,
> or stop what is currently playing - I haven't tried this yet. ;-)
I have to admit, I keep saying I want to build playlist files for mpv,
smplayer or any other player, and then instead of selecting a large list
of videos, I just click on the playlist file, right click and open with
preferred player would be a good option too if one file would work with
any player. I keep saying I want to do that but I just never get around
to finding the time info to do it. I've really wanted to do this for
two reasons. I have some videos that have parts in a foreign language.
For those, I have the subtitle files. If I go to a directory and just
do a CTRL + A and try to open with Smplayer, the subtitle file makes it
not want to open because it is not a video file. The file types are
mixed. That file, because it has the same name as the video, is buried
in there, somewhere. Then when I added Franks checksum tool, it adds a
file to but I named it so that it will always be at the top. I do a
CTRL + A then click that file while holding the CTRL key to deselect
it. Still, it's a extra step. Having a playlist file would avoid all
of that.
Another reason I haven't done this, I have well north of 600 directories
that I need to create playlists for. It would take a while but I could
create them as I go to them to watch the videos. I just need to find
out how this is done. I'm thinking just doing a ls and piping it to a
file should work. I may have to edit out any subtitle files but other
than that, might work. Then again, there may be some tool that does
this already.
As it is, I have a entry in my right click menu that adds videos to the
Smplayer playlist. I have one entry that doesn't but it will add to the
playlist if it is already playing a video since Smplayer is set to
single instance. For mpv, I just have to highlight all the videos I
want to play and then open as a group. It will then treat them as a
playlist. For my use, it works fine. A playlist would improve things
in a way tho.
One of these days. At least now I can play my videos and have a clean
emerge after updating. ;-) I wonder, does Frank have a nifty script
for creating playlist files????/ ROFL
Dale
:-) :-)
[-- Attachment #2: Type: text/html, Size: 4992 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: media-video/gpac and media-video/mplayer fails to build.
2025-02-23 10:21 ` Dale
@ 2025-02-23 12:54 ` Frank Steinmetzger
2025-02-23 18:46 ` Michael
1 sibling, 0 replies; 25+ messages in thread
From: Frank Steinmetzger @ 2025-02-23 12:54 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 6045 bytes --]
Am Sun, Feb 23, 2025 at 04:21:20AM -0600 schrieb Dale:
> Michael wrote:
> > On Sunday, 23 February 2025 07:53:28 Greenwich Mean Time Dale wrote:
> >
> >> I do wish mpv had a volume control for audio tho.
> > It does. From the fine manual:
> >
> > / and *
> > Decrease/increase volume.
> >
> > Also, on the GUI, if you scroll with your mouse up or down you alter the audio
> > volume.
> >
>
> The keyboard option does work. I didn't know that. I have a speaker
> icon that I can click on to mute/unmute but that's it. I'd like to have
> a control that I can click on and adjust, or better yet, just show up
> all the time. When I scroll the mouse wheel, it moves forward or
> backward. I prefer that really. I'm bad to skip forward through bits I
> don't want to watch. The arrow keys work but the mouse button is faster
> for me.
Mpv has many useful and not too hard to remember keyboard assignments that
you might find useful:
previous/next chapter: ! and @ (and PgUp/PgDown, but I reassinged those)
previous/next file: < and >
show position: o
show file info: i
hide video window: _
(I just found that out myself when I wanted to verify some of my entries)
Below are some useful entries from my ~/.config/mpv/input.conf. I’m also not
very fond of some of mpv’s defaults, like seeking on cursor up/down, so I
changed it and added some conveniences on my own:
# Seeking mapped to the most universal keys for volume by default? I think not.
down add volume -5
up add volume +5
# do the big seek on page keys instead
PgUp seek 60
PgDwn seek -60
Ctrl+g show_progress
# full screen on middle click
MOUSE_BTN1 cycle fullscreen
# go back a bit on right mouse button
MOUSE_BTN2 seek -5
# volume control with mouse wheel
MOUSE_BTN3 add volume +5
MOUSE_BTN4 add volume -5
# some more groupings for seeking and playback speed (big and small increments)
F1 seek -60
F2 seek -5
F3 seek 5
F4 seek 60
F5 multiply speed 0.8
F6 multiply speed 0.9091
F7 multiply speed 1.1
F8 multiply speed 1.25
: add audio-delay 0.100
; add audio-delay -0.100
x add audio-delay -0.100
X add audio-delay 0.100
/ multiply speed 0.8
* multiply speed 1.25
- multiply speed 0.5
+ multiply speed 2.0
9 multiply speed 0.6666
0 multiply speed 1.5
# and the same on the numpad
KP_DIVIDE multiply speed 0.8
KP_MULTIPLY multiply speed 1.25
KP_SUBTRACT multiply speed 0.5
KP_ADD multiply speed 2.0
9 multiply speed 0.6666
0 multiply speed 1.5
s cycle sub +1
S cycle sub -1
a cycle audio +1
A cycle audio -1
Ctrl+a cycle video-aspect-override +1
Ctrl+A cycle video-aspect-override -1
P screenshot
# rotate video, e.g. to watch portrait video full-screen
e cycle_values video-rotate 90 180 270 0
> I have to admit, I keep saying I want to build playlist files for mpv,
> smplayer or any other player, and then instead of selecting a large list
> of videos, I just click on the playlist file, right click and open with
> preferred player would be a good option too if one file would work with
> any player.
>[…]
> I have some videos that have parts in a foreign language.
> For those, I have the subtitle files. If I go to a directory and just
> do a CTRL + A and try to open with Smplayer, the subtitle file makes it
> not want to open because it is not a video file. The file types are
> mixed.
You could clean the directories up by merging the subtitles into the video
files. Avi does not officially support that, but the more modern containers
like mp4 and mkv do. If they are not too many, you can do it manually with
mkvtoolnix, it has a nice GUI in which you can enter all sorts of metadata,
like stream language. But if they are too many, a script for mkvmerge might
be better. What numbers are we talking about?
> That file, because it has the same name as the video, is buried
> in there, somewhere. Then when I added Franks checksum tool, it adds a
> file to but I named it so that it will always be at the top. I do a
> CTRL + A then click that file while holding the CTRL key to deselect
> it. Still, it's a extra step. Having a playlist file would avoid all
> of that.
To speed up the selection process, you could sort by file type and then
select only the relevant block of files, or filter for your video file
extension with Dolphin’s Ctrl+I filter bar.
> Another reason I haven't done this, I have well north of 600 directories
> that I need to create playlists for. It would take a while but I could
> create them as I go to them to watch the videos. I just need to find
> out how this is done. I'm thinking just doing a ls and piping it to a
> file should work.
Year, that’s what I thought of, too, when I read this. :)
> I may have to edit out any subtitle files but other than that, might
> work. Then again, there may be some tool that does this already.
> […]
> One of these days. At least now I can play my videos and have a clean
> emerge after updating. ;-) I wonder, does Frank have a nifty script
> for creating playlist files????/ ROFL
Hehehe. Not an existing script, but I can scribble a one-liner. ;-)
Assuming your video structure is flat (just one level deep):
for d in */; do (cd "$d"; ls *.{avi,mkv,mp4,webm} > playlist.m3u); done
This goes into each subdirectory and puts a list of all the mentioned file
extensions into a file. Amend the list of extensions to your need. This is
the inclusive way. The exclusive way is to instead of listing specific
extensions, list everything and filter them out:
ls | grep -vE '\.(ssa|srt|sub|idx|vtt|md5)$' > playlist.m3u
This filters out some subtitle filetypes that I am aware of, amend as
needed.
--
Grüße | Greetings | Salut | Qapla’
Please do not share anything from, with or about me on any social network.
begin signature_virus
Hi! I’m a signature virus.
Please copy me to your signature to help me spread.
end
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: media-video/gpac and media-video/mplayer fails to build.
2025-02-23 10:21 ` Dale
2025-02-23 12:54 ` Frank Steinmetzger
@ 2025-02-23 18:46 ` Michael
1 sibling, 0 replies; 25+ messages in thread
From: Michael @ 2025-02-23 18:46 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2035 bytes --]
On Sunday, 23 February 2025 10:21:20 Greenwich Mean Time Dale wrote:
> Michael wrote:
> > On Sunday, 23 February 2025 07:53:28 Greenwich Mean Time Dale wrote:
> >> I do wish mpv had a volume control for audio tho.
> >
> > It does. From the fine manual:
> > / and *
> >
> > Decrease/increase volume.
> >
> > Also, on the GUI, if you scroll with your mouse up or down you alter the
> > audio volume.
>
> The keyboard option does work. I didn't know that. I have a speaker
> icon that I can click on to mute/unmute but that's it. I'd like to have
> a control that I can click on and adjust, or better yet, just show up
> all the time. When I scroll the mouse wheel, it moves forward or
> backward. I prefer that really. I'm bad to skip forward through bits I
> don't want to watch. The arrow keys work but the mouse button is faster
> for me.
Hmm ... when I scroll the mouse on my system it increases/decreases the
volume. :-/
I use the < > arrows to move back/forward 5 seconds, or up/down arrows to move
1 minute, or Shift+PageUp/Down to jump 10 minutes.
Alternatively, I click on the progress bar in the GUI.
> >> One thing I really like about Smplayer, the
> >> ability to add videos to the playlist and not alter what is currently
> >> playing.
> >
> > I think the only way to add a playlist to mpv is by creating a txt file
> > with a list of videos, one video per line, save it as <list_name>.m3u and
> > then drag 'n drop it into the mpv window, or call it with mpv in a
> > terminal:
> >
> > mpv <list_name>.m3u
> >
> > You can experiment to see if adding a new m3u list will overwrite the old
> > one, or stop what is currently playing - I haven't tried this yet. ;-)
There's another more manual way, for ad hoc play lists - open Dolphin, select
all the files you want to play and drag 'n drop them together in an mpv
window. They will be played sequentially. However, if you try to add another
file/list by dragging it into the mpv window, it will overwrite the previous
selection.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
end of thread, other threads:[~2025-02-23 18:47 UTC | newest]
Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-20 18:00 [gentoo-user] media-video/gpac and media-video/mplayer fails to build Dale
2025-02-20 18:14 ` Mark Knecht
2025-02-20 18:23 ` Dale
2025-02-20 18:35 ` Mark Knecht
2025-02-20 18:38 ` Mark Knecht
2025-02-20 19:06 ` Dale
2025-02-20 21:35 ` [gentoo-user] " Grant Edwards
2025-02-20 18:59 ` Grant Edwards
2025-02-20 23:15 ` [gentoo-user] " Frank Steinmetzger
2025-02-20 21:42 ` Michael Cook
2025-02-20 22:03 ` Dale
2025-02-20 23:36 ` [gentoo-user] " Grant Edwards
2025-02-21 0:05 ` Frank Steinmetzger
2025-02-21 8:06 ` Dale
2025-02-21 14:54 ` Grant Edwards
2025-02-21 15:38 ` Dale
2025-02-21 23:59 ` Frank Steinmetzger
2025-02-22 13:35 ` Dale
2025-02-22 22:42 ` Dale
2025-02-23 1:34 ` David M. Fellows
2025-02-23 7:53 ` Dale
2025-02-23 8:23 ` Michael
2025-02-23 10:21 ` Dale
2025-02-23 12:54 ` Frank Steinmetzger
2025-02-23 18:46 ` Michael
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox