Opened 4 years ago

Closed 4 years ago

#60931 closed defect (fixed)

mpv @0.31.0: error: property 'path' not found on object of type 'id'

Reported by: mrkapqa Owned by: Ionic (Mihai Moldovan)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: mavericks Cc: i0ntempest
Port: mpv

Description

Hello ,

on a older MP1.1/2.1 the newer mpv .31 failed to build.

the standard variant as the x11 variant.

please see attached log, maybe this can be fixed.

thank you very much.

Attachments (1)

mpv.log (404.7 KB) - added by mrkapqa 4 years ago.

Download all attachments as: .zip

Change History (13)

Changed 4 years ago by mrkapqa

Attachment: mpv.log added

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: i0ntempest added
Keywords: mpv removed
Owner: set to Ionic
Status: newassigned
Summary: (10.9) mpv : build failedmpv @0.31.0: error: property 'path' not found on object of type 'id'
Version: 2.6.2

Please run sudo port selfupdate to update to MacPorts 2.6.3 and then try again, since mpv has already been updated to 0.32.0. No guarantee that will fix the problem though.

comment:2 Changed 4 years ago by mrkapqa

<hello,

thank you, now the mpv would build.

however, there would be no playback.

mpv --opengl-backend=X11 Out\ Of\ This\ World\ hour\ 1\ 12-21-18\ guest\ Simon\ Parkes-_6TrOaNIHC4.webm Warning: option --opengl-backend was replaced with --gpu-context and might be removed in the future. Error parsing option opengl-backend (option parameter could not be parsed) Setting commandline option --opengl-backend=X11 failed.

rebuilding with the following

sudo port install mpv +audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11

would stall video at 00:00

mpv Out\ Of\ This\ World\ hour\ 1\ 12-21-18\ guest\ Simon\ Parkes-_6TrOaNIHC4.webm

Can't load unknown script: /Users/rich/.config/mpv/scripts/youtube-quality.conf

(+) Video --vid=1 (*) (vp9 1280x720 29.970fps) (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)

AO: [coreaudio] 48000Hz stereo 2ch floatp VO: [gpu] 1280x720 yuv420p [youtube_quality_osc] The 'tick' event is deprecated and will be removed. AV: 00:00:00 / 00:55:38 (0%) A-V: 0.000

comment:3 Changed 4 years ago by mrkapqa

sudo port install mpv +audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11
--->  Computing dependencies for mpv
--->  Cleaning mpv
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.
richs-mac-pro:~ rich$ mpv --opengl-backend=X11 Out\ Of\ This\ World\ hour\ 1\ 12-21-18\ guest\ Simon\ Parkes-_6TrOaNIHC4.webm 
Warning: option --opengl-backend was replaced with --gpu-context and might be removed in the future.
Error parsing option opengl-backend (option parameter could not be parsed)
Setting commandline option --opengl-backend=X11 failed.

Last edited 4 years ago by mrkapqa (previous) (diff)

comment:4 Changed 4 years ago by kencu (Ken)

I find mplayer much more usable on older systems than mpv.

On my G5 I can play at least 720p videos no problem from youtube.

Using smtube makes it all much much easier too btw.

comment:5 Changed 4 years ago by i0ntempest

To me it looks like your config files can’t be read... maybe use --no-config arg or move your mpv config folder to somewhere else and try playing again, see what come up.

comment:6 Changed 4 years ago by mrkapqa

Thank you,

tried to move .mpv inside .config folder, but the error persists.

remember that the one/s that offer those build here

https://laboratory.stolendata.net/~djinn/mpv_osx/

wrote that those builds don't function on the macpro1.1/2.1 because of missing cpu/extensions that those build require.

the macports build had functioned previously, infact it should be still functional on another partition running lion or snowleopard.

«kencu i also use linux on powerpc but the mplayer on debian 7 is quite outdated; still trying to get a functional build of mpv up and running. had one at a time, but things have changed, again. with macports, mplayer on tiger/leopard is usable, but the playback is somewhat delayed; maybe you could show me how to pass some proper setting?

comment:7 Changed 4 years ago by i0ntempest

Why would you need --opengl-backend=X11? And what does /Users/rich/.config/mpv/scripts/youtube-quality.conf do? Did you try with both of these removed?

comment:8 Changed 4 years ago by mrkapqa

yes, both removed.

https://github.com/jgreco/mpv-youtube-quality

the opengl-backend thing i used on older snow leopard and since this time it did not function correctly, i tried with it aswell; maybe this messed the configuration up?

https://trac.macports.org/ticket/53253

comment:9 Changed 4 years ago by i0ntempest

You seem to have put the .conf file in the wrong place, it should be in script-opts folder from what I read. If nothing here helps we'll need help from the main maintainer Ionic.

Last edited 4 years ago by i0ntempest (previous) (diff)

comment:10 Changed 4 years ago by mrkapqa

Thank you, i have installed the OS anew, now the problem is solved.

it must have been related to the .conf file; i had passed an option probably that was stored even when deleting afterwards the mpv.conf in the /home/.config folder.

Version 0, edited 4 years ago by mrkapqa (next)

comment:11 Changed 4 years ago by i0ntempest

Well I didn't know mpv looks at THAT dir for config. Anyways glad you got it solved, this can now be closed.

Last edited 4 years ago by i0ntempest (previous) (diff)

comment:12 Changed 4 years ago by i0ntempest

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.