Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thumbnailing failed, check the console for details #92

Open
baioug opened this issue May 13, 2022 · 4 comments
Open

Thumbnailing failed, check the console for details #92

baioug opened this issue May 13, 2022 · 4 comments

Comments

@baioug
Copy link

baioug commented May 13, 2022

默认 20:23:58.494852+0800 mpv Received configuration update from daemon (initial)
默认 20:23:58.499550+0800 mpv CHECKIN: pid=7295
默认 20:23:58.507425+0800 mpv CHECKEDIN: pid=7295 asn=0x0-0x1f71f7 foreground=1
默认 20:23:58.510188+0800 mpv FRONTLOGGING: version 1
默认 20:23:58.510261+0800 mpv Registered, pid=7295 ASN=0x0,0x1f71f7
默认 20:23:58.513077+0800 mpv BringForward: pid=7295 asn=0x0-0x1f71f7 bringForward=1 foreground=1 uiElement=0 launchedByLS=1 modifiersCount=1 allDisabled=0
默认 20:23:58.513344+0800 mpv BringFrontModifier: pid=7295 asn=0x0-0x1f71f7 Modifier 0 hideAfter=0 hideOthers=0 dontMakeFrontmost=0 mouseDown=0/0 seed=0/0
默认 20:23:58.513437+0800 mpv BringForward: pid=7295 asn=0x0-0x1f71f7
默认 20:23:58.513459+0800 mpv SetFrontProcess: asn=0x0-0x1f71f7 options=0
默认 20:23:58.521120+0800 mpv Current system appearance, (HLTB: 2), (SLS: 1)
默认 20:23:58.524698+0800 mpv No persisted cache on this platform.
默认 20:23:58.525784+0800 mpv Failed to copy the SysCfgDict MG key with error: 0
默认 20:23:58.528187+0800 mpv Post-registration system appearance: (HLTB: 2)
默认 20:23:58.571836+0800 mpv Registering for test daemon availability notify post.
默认 20:23:58.572029+0800 mpv notify_get_state check indicated test daemon not ready.
默认 20:23:58.572251+0800 mpv notify_get_state check indicated test daemon not ready.
默认 20:23:58.572434+0800 mpv notify_get_state check indicated test daemon not ready.
默认 20:23:58.610374+0800 mpv Recieved DFR status change 0. status = 0x1
默认 20:23:58.611167+0800 mpv Recieved DFR status change 1. status = 0x1
默认 20:23:58.613723+0800 mpv SignalReady: pid=7295 asn=0x0-0x1f71f7
默认 20:23:58.615509+0800 mpv SIGNAL: pid=7295 asn=0x0x-0x1f71f7
默认 20:23:58.621809+0800 mpv Initializing connection
默认 20:23:58.621867+0800 mpv Removing all cached process handles
默认 20:23:58.621908+0800 mpv Sending handshake request attempt #1 to server
默认 20:23:58.621937+0800 mpv Creating connection to com.apple.runningboard
默认 20:23:58.622884+0800 mpv Handshake succeeded
默认 20:23:58.622924+0800 mpv Identity resolved as app<application.io.mpv.12891627159.12891627169(501)>
默认 20:23:58.625053+0800 mpv Reacting to DFR status change 0. status = 0x1
默认 20:23:58.628735+0800 mpv NSApp cache appearance:
-NSRequiresAquaSystemAppearance: 0
-appearance: (null)
-effectiveAppearance: <NSCompositeAppearance: 0x7fe0c1c11dd0
(
"<NSDarkAquaAppearance: 0x7fe0c1c11180>",
"<NSSystemAppearance: 0x7fe0c0f08ff0>"
)>
默认 20:23:58.638319+0800 mpv Shortcuts Contextual Actions enabled
默认 20:23:58.638803+0800 mpv Reacting to DFR status change 1. status = 0x1
默认 20:23:58.662229+0800 mpv Warning: Expected min height of view: (<NSButton: 0x7fe0c1b42fc0>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
默认 20:23:58.662869+0800 mpv Warning: Expected min height of view: (<NSButton: 0x7fe0c198baa0>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
默认 20:23:58.663516+0800 mpv Warning: Expected min height of view: (<NSButton: 0x7fe0c198e550>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
默认 20:23:58.773821+0800 mpv [0x7fe0c4818e20] CVCGDisplayLink::setCurrentDisplay: 69733446
默认 20:23:58.773900+0800 mpv [0x7fe0c4818e00] CVDisplayLinkCreateWithCGDisplays count: 1 [displayID[0]: 0x4280c46] [CVCGDisplayLink: 0x7fe0c4818e20]
默认 20:23:58.773922+0800 mpv [0x7fe0c4818e00] CVDisplayLinkStart
默认 20:23:58.773941+0800 mpv [0x7fe0c4818e20] CVDisplayLink::start
默认 20:23:58.774065+0800 mpv [0x7fe0c1d44160] CVXTime::reset
默认 20:23:58.803908+0800 mpv SetFrontProcess: asn=0x0-0x1f71f7 options=1
错误 20:23:58.817995+0800 mpv CGContextSetFillColorWithColor: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
错误 20:23:58.818025+0800 mpv CGContextGetCompositeOperation: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
错误 20:23:58.818048+0800 mpv CGContextSetCompositeOperation: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
错误 20:23:58.818069+0800 mpv CGContextFillRects: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
错误 20:23:58.818090+0800 mpv CGContextSetCompositeOperation: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
默认 20:23:59.954044+0800 mpv HALPlugInManagement::RegisterPlugIns: skipping in-process plug-ins
错误 20:23:59.954104+0800 mpv AddInstanceForFactory: No factory registered for id <CFUUID 0x7fe0c1c5a7e0> F8BB1C28-BAE8-11D6-9C31-00039315CD46
默认 20:23:59.985774+0800 mpv AUHAL.cpp:386 AUHAL: (0x7fe0c2154040) Listening to HAL system property 1682929012
默认 20:23:59.985869+0800 mpv AUHAL.cpp:397 AUHAL: (0x7fe0c2154040) Selecting device 49 from constructor
默认 20:23:59.985907+0800 mpv AUHAL.cpp:570 SelectDevice: -> (0x7fe0c2154040)
默认 20:23:59.985929+0800 mpv AUHAL.cpp:627 SelectDevice: (0x7fe0c2154040) not already running
默认 20:23:59.985954+0800 mpv AUHAL.cpp:702 SelectDevice: (0x7fe0c2154040) nothing to teardown
默认 20:23:59.985979+0800 mpv AUHAL.cpp:706 SelectDevice: (0x7fe0c2154040) connecting device 49
默认 20:23:59.986145+0800 mpv AUHAL.cpp:3103 IsDeviceUsable: (0x7fe0c2154040) Device ID: 49 (Input:No | Output:Yes): true
默认 20:23:59.986342+0800 mpv AUHAL.cpp:716 SelectDevice: (0x7fe0c2154040) created ioproc 0xa for device 49
默认 20:23:59.986381+0800 mpv AUHAL.cpp:1452 UpdateStreamFormats: -> (0x7fe0c2154040)
默认 20:23:59.986601+0800 mpv AUHAL.cpp:1516 UpdateStreamFormats:
output stream 0 [0x32]: 2 ch, 44100 Hz, Float32, interleaved
默认 20:23:59.986640+0800 mpv AUHAL.cpp:1527 UpdateStreamFormats: 1 output streams; not all mono
默认 20:23:59.986674+0800 mpv AUHAL.cpp:1537 UpdateStreamFormats:
Output render format: 2 ch, 44100 Hz, Float32, interleaved
默认 20:23:59.986711+0800 mpv AUHAL.cpp:1527 UpdateStreamFormats: 0 input streams; not all mono
默认 20:23:59.986907+0800 mpv AUHAL.cpp:1602 UpdateStreamFormats: AUHAL(0x7fe0c2154040) Calling PropertyChanged() for kAudioUnitProperty_StreamFormat, Scope:Output, Bus:Output
默认 20:23:59.986952+0800 mpv AUHAL.cpp:1615 UpdateStreamFormats: <-
默认 20:23:59.987381+0800 mpv AUHAL.cpp:820 SelectDevice: (0x7fe0c2154040) removing 0 device listeners from device 0
默认 20:23:59.987405+0800 mpv AUHAL.cpp:829 SelectDevice: (0x7fe0c2154040) adding 6 device listeners to device 49
默认 20:23:59.987725+0800 mpv AUHAL.cpp:820 SelectDevice: (0x7fe0c2154040) removing 0 device delegate listeners from device 0
默认 20:23:59.987756+0800 mpv AUHAL.cpp:829 SelectDevice: (0x7fe0c2154040) adding 0 device delegate listeners to device 49
默认 20:23:59.987780+0800 mpv AUHAL.cpp:842 SelectDevice: <- (0x7fe0c2154040)
默认 20:23:59.988154+0800 mpv AUHAL.cpp:1711 SetStreamUsage: Output stream enables: Stream 0 is ENABLED
默认 20:23:59.988532+0800 mpv Registered notify signal com.apple.caulk.alloc.audiodump (0)
默认 20:23:59.988604+0800 mpv AUHAL.cpp:2060 SetProperty: (0x7fe0c2154040) caller requesting device change from 49 to 49
默认 20:23:59.988650+0800 mpv AUHAL.cpp:570 SelectDevice: -> (0x7fe0c2154040)
默认 20:23:59.988677+0800 mpv AUHAL.cpp:613 SelectDevice: <- (0x7fe0c2154040) exiting with nothing to do
错误 20:24:00.036993+0800 mpv CGContextSetFillColorWithColor: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
错误 20:24:00.037048+0800 mpv CGContextGetCompositeOperation: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
错误 20:24:00.037086+0800 mpv CGContextSetCompositeOperation: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
错误 20:24:00.037121+0800 mpv CGContextFillRects: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
错误 20:24:00.037152+0800 mpv CGContextSetCompositeOperation: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
默认 20:24:01.739516+0800 mpv AUHAL.cpp:444 ~AUHAL: (0x7fe0c2154040) Selecting device 0 from destructor
默认 20:24:01.739557+0800 mpv AUHAL.cpp:570 SelectDevice: -> (0x7fe0c2154040)
默认 20:24:01.739578+0800 mpv AUHAL.cpp:627 SelectDevice: (0x7fe0c2154040) not already running
默认 20:24:01.739597+0800 mpv AUHAL.cpp:632 SelectDevice: (0x7fe0c2154040) disconnecting device 49
默认 20:24:01.739614+0800 mpv AUHAL.cpp:696 SelectDevice: (0x7fe0c2154040) destroying ioproc 0xa for device 49
默认 20:24:01.739820+0800 mpv AUHAL.cpp:804 SelectDevice: (0x7fe0c2154040) nothing to setup
默认 20:24:01.739856+0800 mpv AUHAL.cpp:820 SelectDevice: (0x7fe0c2154040) removing 6 device listeners from device 49
默认 20:24:01.740233+0800 mpv AUHAL.cpp:829 SelectDevice: (0x7fe0c2154040) adding 0 device listeners to device 0
默认 20:24:01.740272+0800 mpv AUHAL.cpp:820 SelectDevice: (0x7fe0c2154040) removing 0 device delegate listeners from device 49
默认 20:24:01.740305+0800 mpv AUHAL.cpp:829 SelectDevice: (0x7fe0c2154040) adding 0 device delegate listeners to device 0
默认 20:24:01.740329+0800 mpv AUHAL.cpp:842 SelectDevice: <- (0x7fe0c2154040)
默认 20:24:01.746114+0800 mpv [0x7fe0c4818e00] CVDisplayLinkStop
默认 20:24:01.746151+0800 mpv [0x7fe0c4818e20] CVDisplayLink::stop
默认 20:24:01.746205+0800 mpv [0x7fe0c4818e20] CVCGDisplayLink::finalize
默认 20:24:01.746251+0800 mpv [0x7fe0c4818e20] CVDisplayLink::finalize
默认 20:24:01.753087+0800 mpv PostHideProcess: pid=7295 processToShow=0x0-0x2 (ourselves)
默认 20:24:01.753289+0800 mpv Entering exit handler.
默认 20:24:01.753324+0800 mpv Exiting exit handler.
默认 20:46:57.219058+0800 mpv HALPlugInManagement::RegisterPlugIns: skipping in-process plug-ins
错误 20:46:57.219121+0800 mpv AddInstanceForFactory: No factory registered for id <CFUUID 0x7fa4c663e900> F8BB1C28-BAE8-11D6-9C31-00039315CD46
默认 20:46:57.256091+0800 mpv AUHAL.cpp:386 AUHAL: (0x7fa4c8091640) Listening to HAL system property 1682929012
默认 20:46:57.256197+0800 mpv AUHAL.cpp:397 AUHAL: (0x7fa4c8091640) Selecting device 49 from constructor
默认 20:46:57.256232+0800 mpv AUHAL.cpp:570 SelectDevice: -> (0x7fa4c8091640)
默认 20:46:57.256263+0800 mpv AUHAL.cpp:627 SelectDevice: (0x7fa4c8091640) not already running
默认 20:46:57.256288+0800 mpv AUHAL.cpp:702 SelectDevice: (0x7fa4c8091640) nothing to teardown
默认 20:46:57.256309+0800 mpv AUHAL.cpp:706 SelectDevice: (0x7fa4c8091640) connecting device 49
默认 20:46:57.256510+0800 mpv AUHAL.cpp:3103 IsDeviceUsable: (0x7fa4c8091640) Device ID: 49 (Input:No | Output:Yes): true
默认 20:46:57.256697+0800 mpv AUHAL.cpp:716 SelectDevice: (0x7fa4c8091640) created ioproc 0xa for device 49
默认 20:46:57.256735+0800 mpv AUHAL.cpp:1452 UpdateStreamFormats: -> (0x7fa4c8091640)
默认 20:46:57.256901+0800 mpv AUHAL.cpp:1516 UpdateStreamFormats:
output stream 0 [0x32]: 2 ch, 44100 Hz, Float32, interleaved
默认 20:46:57.256942+0800 mpv AUHAL.cpp:1527 UpdateStreamFormats: 1 output streams; not all mono
默认 20:46:57.256973+0800 mpv AUHAL.cpp:1537 UpdateStreamFormats:
Output render format: 2 ch, 44100 Hz, Float32, interleaved
默认 20:46:57.257004+0800 mpv AUHAL.cpp:1527 UpdateStreamFormats: 0 input streams; not all mono
默认 20:46:57.257208+0800 mpv AUHAL.cpp:1602 UpdateStreamFormats: AUHAL(0x7fa4c8091640) Calling PropertyChanged() for kAudioUnitProperty_StreamFormat, Scope:Output, Bus:Output
默认 20:46:57.257255+0800 mpv AUHAL.cpp:1615 UpdateStreamFormats: <-
默认 20:46:57.257707+0800 mpv AUHAL.cpp:820 SelectDevice: (0x7fa4c8091640) removing 0 device listeners from device 0
默认 20:46:57.257752+0800 mpv AUHAL.cpp:829 SelectDevice: (0x7fa4c8091640) adding 6 device listeners to device 49
默认 20:46:57.258140+0800 mpv AUHAL.cpp:820 SelectDevice: (0x7fa4c8091640) removing 0 device delegate listeners from device 0
默认 20:46:57.258179+0800 mpv AUHAL.cpp:829 SelectDevice: (0x7fa4c8091640) adding 0 device delegate listeners to device 49
默认 20:46:57.258208+0800 mpv AUHAL.cpp:842 SelectDevice: <- (0x7fa4c8091640)
默认 20:46:57.258624+0800 mpv AUHAL.cpp:1711 SetStreamUsage: Output stream enables: Stream 0 is ENABLED
默认 20:46:57.259076+0800 mpv Registered notify signal com.apple.caulk.alloc.audiodump (0)
默认 20:46:57.259136+0800 mpv AUHAL.cpp:2060 SetProperty: (0x7fa4c8091640) caller requesting device change from 49 to 49
默认 20:46:57.259167+0800 mpv AUHAL.cpp:570 SelectDevice: -> (0x7fa4c8091640)
默认 20:46:57.259193+0800 mpv AUHAL.cpp:613 SelectDevice: <- (0x7fa4c8091640) exiting with nothing to do
错误 20:46:57.348450+0800 mpv CGContextSetFillColorWithColor: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
错误 20:46:57.348510+0800 mpv CGContextGetCompositeOperation: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
错误 20:46:57.348534+0800 mpv CGContextSetCompositeOperation: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
错误 20:46:57.348556+0800 mpv CGContextFillRects: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
错误 20:46:57.348575+0800 mpv CGContextSetCompositeOperation: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
默认 20:47:00.102524+0800 mpv AUHAL.cpp:444 ~AUHAL: (0x7fa4c8091640) Selecting device 0 from destructor
默认 20:47:00.102561+0800 mpv AUHAL.cpp:570 SelectDevice: -> (0x7fa4c8091640)
默认 20:47:00.102581+0800 mpv AUHAL.cpp:627 SelectDevice: (0x7fa4c8091640) not already running
默认 20:47:00.102598+0800 mpv AUHAL.cpp:632 SelectDevice: (0x7fa4c8091640) disconnecting device 49
默认 20:47:00.102616+0800 mpv AUHAL.cpp:696 SelectDevice: (0x7fa4c8091640) destroying ioproc 0xa for device 49
默认 20:47:00.102794+0800 mpv AUHAL.cpp:804 SelectDevice: (0x7fa4c8091640) nothing to setup
默认 20:47:00.102837+0800 mpv AUHAL.cpp:820 SelectDevice: (0x7fa4c8091640) removing 6 device listeners from device 49
默认 20:47:00.103151+0800 mpv AUHAL.cpp:829 SelectDevice: (0x7fa4c8091640) adding 0 device listeners to device 0
默认 20:47:00.103177+0800 mpv AUHAL.cpp:820 SelectDevice: (0x7fa4c8091640) removing 0 device delegate listeners from device 49
默认 20:47:00.103193+0800 mpv AUHAL.cpp:829 SelectDevice: (0x7fa4c8091640) adding 0 device delegate listeners to device 0
默认 20:47:00.103218+0800 mpv AUHAL.cpp:842 SelectDevice: <- (0x7fa4c8091640)
默认 20:47:00.121320+0800 mpv [0x7fa4c5836200] CVDisplayLinkStop
默认 20:47:00.121352+0800 mpv [0x7fa4c5836220] CVDisplayLink::stop
默认 20:47:00.121411+0800 mpv [0x7fa4c5836220] CVCGDisplayLink::finalize
默认 20:47:00.121455+0800 mpv [0x7fa4c5836220] CVDisplayLink::finalize
默认 20:47:00.130131+0800 mpv PostHideProcess: pid=7448 processToShow=0x0-0x2 (ourselves)
默认 20:47:00.130408+0800 mpv Entering exit handler.
默认 20:47:00.130446+0800 mpv Exiting exit handler.

@baioug
Copy link
Author

baioug commented May 13, 2022

it test issue 66 it do not work for me
iam MacBook pro 2016 macOS 12.3.1 use new version mpv player

can not find why thumb do not work for me
console log

@baioug
Copy link
Author

baioug commented May 13, 2022

in the server lua script file 659 line

function do_worker_job(state_json_string, frames_json_string)

    if need_thumbnail_generation then
        local ret = thumbnail_func(file_path, timestamp, thumb_state.thumbnail_size, thumbnail_path, thumb_state.worker_extra)

ret.status is 3 ret.error is init

check_output

I use mpv not ffmpeg

that is my test for this issue

@baioug
Copy link
Author

baioug commented May 14, 2022

shell file to run command like this can gen bgra file
but copy this command to lua file for test it alse can not work no bgra file be created
WTF?

/Applications/mpv.app/Contents/MacOS/mpv --msg-level=all=error --hwdec=no /Users/xxx/Desktop/1612082780.mov --frames=1 --hr-seek=yes --no-audio --vf=scale=200:200 --vf-add=format=bgra --of=rawvideo --ovc=rawvideo --o=/private/tmp/my_mpv_thumbnails/1612082780-84195774/1.bgra

/Applications/mpv.app/Contents/MacOS/mpv --msg-level=all=error --hwdec=no /Users/xxx/Desktop/1612082780.mov --frames=1 --hr-seek=yes --no-audio --vf=scale=200:200 --vf-add=format=bgra --of=rawvideo --ovc=rawvideo --o=/private/tmp/my_mpv_thumbnails/1612082780-84195774/1.bgra

@norpol
Copy link

norpol commented Aug 6, 2022

@phoenixlg #91 this might fix it for you. --o became -o.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants