-
Notifications
You must be signed in to change notification settings - Fork 2
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
OS X support #1
Comments
This comment was marked as outdated.
This comment was marked as outdated.
gst-launch-1.0 videotestsrc pattern=11 ! videoconvert ! autovideosink
gst-launch-1.0 playbin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm
gst-launch-1.0 audiotestsrc ! autoaudiosink |
This comment was marked as outdated.
This comment was marked as outdated.
I have made a couple changes that resolved a similar issue for me on Linux (Ubuntu). If you would like to give it a try, here is the PR: #2 |
I've improved the scripts to account for the different lib names and the different video syncs. Let me know if they work as expected for you! If you could re-evaluation what on this list is still relevant and put it in the new issue. Thanks! |
Testing OS X one more time here. OS Versions: sw_vers -productVersion
14.4.1
uname -a
Darwin studio Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000 arm64
brew --version
Homebrew 4.2.21 Dependency versions:
Build projectm: git clone https://github.com/projectM-visualizer/projectm
cd projectm
git fetch && git reset --hard origin/master
git submodule update --init --recursive
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/homebrew ..
make
make install
-- Installing: /opt/homebrew/lib/libprojectM-4.4.1.0.dylib
-- Installing: /opt/homebrew/lib/libprojectM-4-playlist.4.1.0.dylib
... Build gst-projectm
gst-launch-1.0 audiotestsrc ! queue ! audioconvert ! projectm ! video/x-raw,width=512,height=512,framerate=60/1 ! videoconvert ! osxvideosink sync=false
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'projectm0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayCocoa\)\ gldisplaycocoa0";
** (gst-launch-1.0:29313): ERROR **: 08:22:41.492: OpenGL Error: GL_INVALID_ENUM - Enumeration parameter is not legal
zsh: trace trap gst-launch-1.0 audiotestsrc ! queue ! audioconvert ! projectm ! ! !
{"app_name":"gst-launch-1.0","timestamp":"2024-05-10 08:22:42.00 -0700","app_version":"","slice_uuid":"4b111051-a9f5-3f1d-8e67-ce5a22d0f649","build_version":"","platform":1,"share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS 14.4.1 (23E224)","roots_installed":0,"incident_id":"C58E371D-97E0-4CBC-945B-50C90AFFA16C","name":"gst-launch-1.0"}
{
"uptime" : 170000,
"procRole" : "Default",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro18,3",
"coalitionID" : 591,
"osVersion" : {
"train" : "macOS 14.4.1",
"build" : "23E224",
"releaseType" : "User"
},
"captureTime" : "2024-05-10 08:22:41.5017 -0700",
"codeSigningMonitor" : 1,
"incident" : "C58E371D-97E0-4CBC-945B-50C90AFFA16C",
"pid" : 29313,
"translated" : false,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2024-05-10 08:22:40.8631 -0700",
"procStartAbsTime" : 4182616876616,
"procExitAbsTime" : 4182632011825,
"procName" : "gst-launch-1.0",
"procPath" : "\/opt\/homebrew\/*\/gst-launch-1.0",
"parentProc" : "zsh",
"parentPid" : 24623,
"coalitionName" : "com.apple.Terminal",
"crashReporterKey" : "2BAD61E7-BD81-C89C-4977-791B0B0B82D6",
"responsiblePid" : 563,
"responsibleProc" : "Terminal",
"codeSigningID" : "gst-launch-1-555549444b111051a9f53f1d8e67ce5a22d0f649",
"codeSigningTeamID" : "",
"codeSigningFlags" : 570425857,
"codeSigningValidationCategory" : 10,
"codeSigningTrustLevel" : 4294967295,
"instructionByteStream" : {"beforePC":"9E++qf17Aan9QwCR8wMAqix4AJRgAAA1kwAANUsXAZQgAIBSRhcBlA==","atPC":"IAAg1Pxvuqn6ZwGp+F8CqfZXA6n0TwSp\/XsFqf1DAZH\/gxbR8wMBqg=="},
"wakeTime" : 1131,
"sleepWakeUUID" : "E29218B4-BFA7-4747-B4B0-E91B7B2FED0A",
"sip" : "enabled",
"exception" : {"codes":"0x0000000000000001, 0x000000010497c2f4","rawCodes":[1,4372022004],"type":"EXC_BREAKPOINT","signal":"SIGTRAP"},
"termination" : {"flags":0,"code":5,"namespace":"SIGNAL","indicator":"Trace\/BPT trap: 5","byProc":"exc handler","byPid":29313},
"os_fault" : {"process":"gst-launch-1.0"},
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 2,
"threads" : [{"id":2843931,"threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":27500675596288},{"value":0},{"value":27500675596288},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":6403},{"value":0},{"value":1},{"value":6403},{"value":260525},{"value":0},{"value":2199023255552},{"value":18446744073709551569},{"value":8622321168},{"value":0},{"value":4294967295},{"value":2},{"value":27500675596288},{"value":0},{"value":27500675596288},{"value":6102195960},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6709054244},"cpsr":{"value":4096},"fp":{"value":6102195808},"sp":{"value":6102195728},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6708978164},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":4596,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":28},{"imageOffset":80676,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":28},{"imageOffset":40500,"symbol":"mach_msg_overwrite","symbolLocation":476,"imageIndex":28},{"imageOffset":5496,"symbol":"mach_msg","symbolLocation":24,"imageIndex":28},{"imageOffset":516184,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":29},{"imageOffset":510236,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":29},{"imageOffset":507404,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":29},{"imageOffset":208896,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":30},{"imageOffset":208444,"symbol":"ReceiveNextEventCommon","symbolLocation":648,"imageIndex":30},{"imageOffset":207764,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":76,"imageIndex":30},{"imageOffset":239984,"symbol":"_DPSNextEvent","symbolLocation":660,"imageIndex":31},{"imageOffset":8572396,"symbol":"-[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":700,"imageIndex":31},{"imageOffset":187576,"symbol":"-[NSApplication run]","symbolLocation":476,"imageIndex":31},{"imageOffset":700840,"symbol":"run_main_with_nsapp","symbolLocation":180,"imageIndex":21},{"imageOffset":700928,"symbol":"gst_macos_main","symbolLocation":36,"imageIndex":21},{"imageOffset":24800,"symbol":"start","symbolLocation":2360,"imageIndex":32}]},{"id":2843934,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}],"threadState":{"x":[{"value":6102757376},{"value":5123},{"value":6102220800},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6102757376},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709222688},"far":{"value":0}}},{"triggered":true,"id":2843935,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":105553122218688},{"value":105553122218624},{"value":24},{"value":10},{"value":1536},{"value":4372758528},{"value":6103331040},{"value":18446744073709551615},{"value":3057737748},{"value":2043},{"value":2045},{"value":3059836947},{"value":19},{"value":6709222832,"symbolLocation":0,"symbol":"pthread_setspecific"},{"value":92160},{"value":0},{"value":1},{"value":3},{"value":6103328232},{"value":0},{"value":0},{"value":4372760848,"symbolLocation":0,"symbol":"g_log_structured_depth"},{"value":0},{"value":4372760760,"symbolLocation":0,"symbol":"g_messages_lock"},{"value":4372024784,"symbolLocation":0,"symbol":"g_log_writer_default"},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4372021984},"cpsr":{"value":4096},"fp":{"value":6103328112},"sp":{"value":6103328096},"esr":{"value":4060086273,"description":"(Breakpoint) brk 1"},"pc":{"value":4372022004,"matchesCrashFrame":1},"far":{"value":0}},"queue":"org.freedesktop.gstreamer.glwindow","frames":[{"imageOffset":262900,"symbol":"_g_log_abort","symbolLocation":40,"imageIndex":22},{"imageOffset":263816,"symbol":"g_log_structured_array","symbolLocation":264,"imageIndex":22},{"imageOffset":262464,"symbol":"g_log_default_handler","symbolLocation":204,"imageIndex":22},{"imageOffset":261420,"symbol":"g_logv","symbolLocation":828,"imageIndex":22},{"imageOffset":260480,"symbol":"g_log","symbolLocation":28,"imageIndex":22},{"imageOffset":27088,"symbol":"gl_error_handler","symbolLocation":252,"imageIndex":4},{"imageOffset":31668,"symbol":"gst_projectm_gl_start","symbolLocation":220,"imageIndex":4},{"imageOffset":42364,"symbol":"gst_gl_base_audio_visualizer_gl_start","symbolLocation":204,"imageIndex":4},{"imageOffset":224168,"symbol":"_run_message_sync","symbolLocation":32,"imageIndex":7},{"imageOffset":241708,"symbol":"__gst_gl_window_cocoa_send_message_async_block_invoke","symbolLocation":48,"imageIndex":7},{"imageOffset":10064,"symbol":"_dispatch_call_block_and_release","symbolLocation":32,"imageIndex":35},{"imageOffset":17384,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":35},{"imageOffset":47636,"symbol":"_dispatch_lane_serial_drain","symbolLocation":748,"imageIndex":35},{"imageOffset":50500,"symbol":"_dispatch_lane_invoke","symbolLocation":380,"imageIndex":35},{"imageOffset":94928,"symbol":"_dispatch_root_queue_drain_deferred_wlh","symbolLocation":288,"imageIndex":35},{"imageOffset":92996,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":404,"imageIndex":35},{"imageOffset":12300,"symbol":"_pthread_wqthread","symbolLocation":288,"imageIndex":34},{"imageOffset":7464,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":34}]},{"id":2843947,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}],"threadState":{"x":[{"value":6103904256},{"value":19203},{"value":6103367680},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6103904256},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709222688},"far":{"value":0}}},{"id":2843948,"name":"macos-gst-thread","threadState":{"x":[{"value":4},{"value":0},{"value":6104476240},{"value":6104476112},{"value":6104476504},{"value":5408},{"value":105553175762208},{"value":4064},{"value":6104476504},{"value":1000},{"value":8},{"value":2},{"value":105553178788056},{"value":5},{"value":0},{"value":10391814820155359232},{"value":93},{"value":0},{"value":0},{"value":105553178788064},{"value":89},{"value":105553178788048},{"value":5},{"value":105553178788064},{"value":5},{"value":6104476112},{"value":1},{"value":6104476240},{"value":6104476368}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4372054856},"cpsr":{"value":2684358656},"fp":{"value":6104476608},"sp":{"value":6104476096},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709023576},"far":{"value":0}},"frames":[{"imageOffset":50008,"symbol":"__select","symbolLocation":8,"imageIndex":28},{"imageOffset":295752,"symbol":"g_poll","symbolLocation":424,"imageIndex":22},{"imageOffset":234612,"symbol":"g_main_context_iterate_unlocked","symbolLocation":296,"imageIndex":22},{"imageOffset":235360,"symbol":"g_main_loop_run","symbolLocation":120,"imageIndex":22},{"imageOffset":20456,"symbol":"real_main","symbolLocation":1832,"imageIndex":27},{"imageOffset":700540,"symbol":"gst_thread_func","symbolLocation":132,"imageIndex":21},{"imageOffset":392052,"symbol":"g_thread_proxy","symbolLocation":68,"imageIndex":22},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":34},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":34}]},{"id":2843956,"name":"com.apple.NSEventThread","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":141849884884992},{"value":0},{"value":141849884884992},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":33027},{"value":0},{"value":1},{"value":33027},{"value":51438},{"value":0},{"value":0},{"value":18446744073709551569},{"value":8622321168},{"value":0},{"value":4294967295},{"value":2},{"value":141849884884992},{"value":0},{"value":141849884884992},{"value":6105047144},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6709054244},"cpsr":{"value":4096},"fp":{"value":6105046992},"sp":{"value":6105046912},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6708978164},"far":{"value":0}},"frames":[{"imageOffset":4596,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":28},{"imageOffset":80676,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":28},{"imageOffset":40500,"symbol":"mach_msg_overwrite","symbolLocation":476,"imageIndex":28},{"imageOffset":5496,"symbol":"mach_msg","symbolLocation":24,"imageIndex":28},{"imageOffset":516184,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":29},{"imageOffset":510236,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":29},{"imageOffset":507404,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":29},{"imageOffset":1457332,"symbol":"_NSEventThread","symbolLocation":144,"imageIndex":31},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":34},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":34}]},{"id":2844034,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}],"threadState":{"x":[{"value":6105624576},{"value":63755},{"value":6105088000},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6105624576},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709222688},"far":{"value":0}}},{"id":2844035,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}],"threadState":{"x":[{"value":6106198016},{"value":63491},{"value":6105661440},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6106198016},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709222688},"far":{"value":0}}},{"id":2844037,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}],"threadState":{"x":[{"value":6106771456},{"value":46083},{"value":6106234880},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6106771456},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709222688},"far":{"value":0}}},{"id":2844038,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}],"threadState":{"x":[{"value":6107344896},{"value":46339},{"value":6106808320},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6107344896},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709222688},"far":{"value":0}}},{"id":2844039,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}],"threadState":{"x":[{"value":6107918336},{"value":63235},{"value":6107381760},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6107918336},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709222688},"far":{"value":0}}},{"id":2844040,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}],"threadState":{"x":[{"value":6108491776},{"value":46595},{"value":6107955200},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6108491776},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709222688},"far":{"value":0}}},{"id":2844041,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}],"threadState":{"x":[{"value":6109065216},{"value":62979},{"value":6108528640},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6109065216},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709222688},"far":{"value":0}}},{"id":2844042,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}],"threadState":{"x":[{"value":6109638656},{"value":62723},{"value":6109102080},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6109638656},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709222688},"far":{"value":0}}},{"id":2844043,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}],"threadState":{"x":[{"value":6110212096},{"value":46851},{"value":6109675520},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6110212096},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709222688},"far":{"value":0}}},{"id":2844044,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}],"threadState":{"x":[{"value":6110785536},{"value":47107},{"value":6110248960},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6110785536},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709222688},"far":{"value":0}}},{"id":2844045,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}],"threadState":{"x":[{"value":6111358976},{"value":47363},{"value":6110822400},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6111358976},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709222688},"far":{"value":0}}},{"id":2844046,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}],"threadState":{"x":[{"value":6111932416},{"value":47619},{"value":6111395840},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6111932416},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709222688},"far":{"value":0}}},{"id":2844049,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}],"threadState":{"x":[{"value":6112505856},{"value":62467},{"value":6111969280},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6112505856},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709222688},"far":{"value":0}}},{"id":2844050,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}],"threadState":{"x":[{"value":6113079296},{"value":62211},{"value":6112542720},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6113079296},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709222688},"far":{"value":0}}},{"id":2844051,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}],"threadState":{"x":[{"value":6113652736},{"value":61955},{"value":6113116160},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6113652736},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709222688},"far":{"value":0}}},{"id":2844061,"name":"pool-spawner","threadState":{"x":[{"value":260},{"value":0},{"value":256},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6114225720},{"value":0},{"value":105553163092696},{"value":2},{"value":0},{"value":0},{"value":0},{"value":0},{"value":305},{"value":8622337000},{"value":0},{"value":105553163092672},{"value":105553174642976},{"value":6114226400},{"value":0},{"value":0},{"value":256},{"value":257},{"value":512},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6709245276},"cpsr":{"value":1610616832},"fp":{"value":6114225840},"sp":{"value":6114225696},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6708992492},"far":{"value":0}},"frames":[{"imageOffset":18924,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":28},{"imageOffset":30044,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":34},{"imageOffset":545752,"symbol":"g_cond_wait","symbolLocation":44,"imageIndex":22},{"imageOffset":39368,"symbol":"g_async_queue_pop_intern_unlocked","symbolLocation":116,"imageIndex":22},{"imageOffset":393284,"symbol":"g_thread_pool_spawn_thread","symbolLocation":124,"imageIndex":22},{"imageOffset":392052,"symbol":"g_thread_proxy","symbolLocation":68,"imageIndex":22},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":34},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":34}]},{"id":2844062,"name":"queue0:src","threadState":{"x":[{"value":260},{"value":0},{"value":0},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6114795672},{"value":0},{"value":105553163108504},{"value":2},{"value":0},{"value":0},{"value":0},{"value":0},{"value":305},{"value":8622337000},{"value":0},{"value":105553163108480},{"value":105553174594064},{"value":6114799840},{"value":0},{"value":0},{"value":0},{"value":1},{"value":256},{"value":0},{"value":105553122067728}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6709245276},"cpsr":{"value":1610616832},"fp":{"value":6114795792},"sp":{"value":6114795648},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6708992492},"far":{"value":0}},"frames":[{"imageOffset":18924,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":28},{"imageOffset":30044,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":34},{"imageOffset":545752,"symbol":"g_cond_wait","symbolLocation":44,"imageIndex":22},{"imageOffset":223700,"symbol":"gst_gl_window_default_send_message","symbolLocation":88,"imageIndex":7},{"imageOffset":90752,"symbol":"gst_gl_context_thread_add","symbolLocation":204,"imageIndex":7},{"imageOffset":39808,"symbol":"gst_gl_base_audio_visualizer_find_gl_context_unlocked","symbolLocation":812,"imageIndex":4},{"imageOffset":37076,"symbol":"gst_gl_base_audio_visualizer_decide_allocation","symbolLocation":80,"imageIndex":4},{"imageOffset":89760,"symbol":"gst_audio_visualizer_src_negotiate","symbolLocation":876,"imageIndex":8},{"imageOffset":87184,"symbol":"gst_audio_visualizer_sink_event","symbolLocation":140,"imageIndex":8},{"imageOffset":389804,"symbol":"gst_pad_send_event_unchecked","symbolLocation":656,"imageIndex":21},{"imageOffset":387596,"symbol":"gst_pad_push_event_unchecked","symbolLocation":352,"imageIndex":21},{"imageOffset":401024,"symbol":"push_sticky","symbolLocation":268,"imageIndex":21},{"imageOffset":370704,"symbol":"events_foreach","symbolLocation":140,"imageIndex":21},{"imageOffset":374748,"symbol":"check_sticky","symbolLocation":104,"imageIndex":21},{"imageOffset":386576,"symbol":"gst_pad_push_event","symbolLocation":528,"imageIndex":21},{"imageOffset":243380,"symbol":"gst_base_transform_setcaps","symbolLocation":1964,"imageIndex":18},{"imageOffset":236728,"symbol":"gst_base_transform_sink_eventfunc","symbolLocation":252,"imageIndex":18},{"imageOffset":389804,"symbol":"gst_pad_send_event_unchecked","symbolLocation":656,"imageIndex":21},{"imageOffset":387596,"symbol":"gst_pad_push_event_unchecked","symbolLocation":352,"imageIndex":21},{"imageOffset":401024,"symbol":"push_sticky","symbolLocation":268,"imageIndex":21},{"imageOffset":370704,"symbol":"events_foreach","symbolLocation":140,"imageIndex":21},{"imageOffset":374748,"symbol":"check_sticky","symbolLocation":104,"imageIndex":21},{"imageOffset":386576,"symbol":"gst_pad_push_event","symbolLocation":528,"imageIndex":21},{"imageOffset":219748,"symbol":"gst_queue_loop","symbolLocation":2068,"imageIndex":15},{"imageOffset":571256,"symbol":"gst_task_func","symbolLocation":284,"imageIndex":21},{"imageOffset":396312,"symbol":"g_thread_pool_thread_proxy","symbolLocation":208,"imageIndex":22},{"imageOffset":392052,"symbol":"g_thread_proxy","symbolLocation":68,"imageIndex":22},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":34},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":34}]},{"id":2844063,"name":"audiotestsrc0:src","threadState":{"x":[{"value":260},{"value":0},{"value":0},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6115371656},{"value":0},{"value":105553163317720},{"value":2},{"value":0},{"value":0},{"value":0},{"value":0},{"value":305},{"value":8622337000},{"value":0},{"value":105553163317696},{"value":105553174478160},{"value":6115373280},{"value":0},{"value":0},{"value":0},{"value":1},{"value":256},{"value":512},{"value":4371476900,"symbolLocation":0,"symbol":"_gst_debug_min"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6709245276},"cpsr":{"value":1610616832},"fp":{"value":6115371776},"sp":{"value":6115371632},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6708992492},"far":{"value":0}},"frames":[{"imageOffset":18924,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":28},{"imageOffset":30044,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":34},{"imageOffset":545752,"symbol":"g_cond_wait","symbolLocation":44,"imageIndex":22},{"imageOffset":210640,"symbol":"gst_queue_handle_sink_query","symbolLocation":216,"imageIndex":15},{"imageOffset":371404,"symbol":"gst_pad_query","symbolLocation":504,"imageIndex":21},{"imageOffset":364092,"symbol":"gst_pad_peer_query","symbolLocation":376,"imageIndex":21},{"imageOffset":197328,"symbol":"gst_base_src_negotiate_unlocked","symbolLocation":116,"imageIndex":18},{"imageOffset":213420,"symbol":"gst_base_src_loop","symbolLocation":160,"imageIndex":18},{"imageOffset":571256,"symbol":"gst_task_func","symbolLocation":284,"imageIndex":21},{"imageOffset":396312,"symbol":"g_thread_pool_thread_proxy","symbolLocation":208,"imageIndex":22},{"imageOffset":392052,"symbol":"g_thread_proxy","symbolLocation":68,"imageIndex":22},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":34},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":34}]},{"id":2844064,"name":"gmain","threadState":{"x":[{"value":4},{"value":0},{"value":6115945872},{"value":6115945744},{"value":0},{"value":688},{"value":105553178886832},{"value":0},{"value":6115946136},{"value":1000},{"value":0},{"value":2},{"value":105553178886832},{"value":2095104},{"value":2043},{"value":2766047276},{"value":93},{"value":2768142381},{"value":0},{"value":105553178886840},{"value":4294967295},{"value":105553178886832},{"value":13},{"value":105553178886840},{"value":13},{"value":6115945744},{"value":1},{"value":6115945872},{"value":6115946000}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4372054856},"cpsr":{"value":2684358656},"fp":{"value":6115946240},"sp":{"value":6115945728},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709023576},"far":{"value":0}},"frames":[{"imageOffset":50008,"symbol":"__select","symbolLocation":8,"imageIndex":28},{"imageOffset":295752,"symbol":"g_poll","symbolLocation":424,"imageIndex":22},{"imageOffset":234612,"symbol":"g_main_context_iterate_unlocked","symbolLocation":296,"imageIndex":22},{"imageOffset":234812,"symbol":"g_main_context_iteration","symbolLocation":60,"imageIndex":22},{"imageOffset":239472,"symbol":"glib_worker_main","symbolLocation":48,"imageIndex":22},{"imageOffset":392052,"symbol":"g_thread_proxy","symbolLocation":68,"imageIndex":22},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":34},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":34}]},{"id":2844066,"name":"gldisplay-event","threadState":{"x":[{"value":4},{"value":0},{"value":6116519328},{"value":6116519200},{"value":0},{"value":0},{"value":105553178902544},{"value":0},{"value":6116519592},{"value":1000},{"value":0},{"value":2},{"value":105553178908544},{"value":2045},{"value":2871164956},{"value":28},{"value":93},{"value":163840},{"value":0},{"value":105553178908552},{"value":4294967295},{"value":105553178908544},{"value":18},{"value":105553178908552},{"value":18},{"value":6116519200},{"value":1},{"value":6116519328},{"value":6116519456}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4372054856},"cpsr":{"value":2684358656},"fp":{"value":6116519696},"sp":{"value":6116519184},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709023576},"far":{"value":0}},"frames":[{"imageOffset":50008,"symbol":"__select","symbolLocation":8,"imageIndex":28},{"imageOffset":295752,"symbol":"g_poll","symbolLocation":424,"imageIndex":22},{"imageOffset":234612,"symbol":"g_main_context_iterate_unlocked","symbolLocation":296,"imageIndex":22},{"imageOffset":235360,"symbol":"g_main_loop_run","symbolLocation":120,"imageIndex":22},{"imageOffset":104436,"symbol":"_event_thread_main","symbolLocation":88,"imageIndex":7},{"imageOffset":392052,"symbol":"g_thread_proxy","symbolLocation":68,"imageIndex":22},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":34},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":34}]},{"id":2844067,"name":"gstglcontext","threadState":{"x":[{"value":4},{"value":0},{"value":6117092640},{"value":6117092512},{"value":0},{"value":9920},{"value":105553178781376},{"value":1027},{"value":6117092904},{"value":1000},{"value":0},{"value":2},{"value":105553178781376},{"value":2095104},{"value":2043},{"value":3547187821},{"value":93},{"value":3549282855},{"value":0},{"value":105553178781384},{"value":4294967295},{"value":105553178781376},{"value":20},{"value":105553178781384},{"value":20},{"value":6117092512},{"value":1},{"value":6117092640},{"value":6117092768}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4372054856},"cpsr":{"value":2684358656},"fp":{"value":6117093008},"sp":{"value":6117092496},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6709023576},"far":{"value":0}},"frames":[{"imageOffset":50008,"symbol":"__select","symbolLocation":8,"imageIndex":28},{"imageOffset":295752,"symbol":"g_poll","symbolLocation":424,"imageIndex":22},{"imageOffset":234612,"symbol":"g_main_context_iterate_unlocked","symbolLocation":296,"imageIndex":22},{"imageOffset":235360,"symbol":"g_main_loop_run","symbolLocation":120,"imageIndex":22},{"imageOffset":86764,"symbol":"gst_gl_context_create_thread","symbolLocation":1040,"imageIndex":7},{"imageOffset":392052,"symbol":"g_thread_proxy","symbolLocation":68,"imageIndex":22},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":34},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":34}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64e",
"base" : 4439408640,
"size" : 49152,
"uuid" : "e8a1b184-0349-3c61-a119-6543eb038317",
"path" : "\/usr\/lib\/libobjc-trampolines.dylib",
"name" : "libobjc-trampolines.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 4436426752,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "com.apple.AppleMetalOpenGLRenderer",
"size" : 442368,
"uuid" : "83d94df2-aca8-3695-a3a1-bf8ca16657ac",
"path" : "\/System\/Library\/Extensions\/AppleMetalOpenGLRenderer.bundle\/Contents\/MacOS\/AppleMetalOpenGLRenderer",
"name" : "AppleMetalOpenGLRenderer",
"CFBundleVersion" : "1"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4434608128,
"size" : 49152,
"uuid" : "bceccc24-e8fd-328a-afaa-18dd5c1c7659",
"path" : "\/opt\/homebrew\/*\/libgstosxvideo.dylib",
"name" : "libgstosxvideo.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4434182144,
"size" : 49152,
"uuid" : "3db05c25-af6c-3976-bfb8-2b73f63a8874",
"path" : "\/opt\/homebrew\/*\/libgstvideoconvertscale.dylib",
"name" : "libgstvideoconvertscale.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4368891904,
"size" : 49152,
"uuid" : "5bc75e61-fcee-3ebf-b1a6-220eaf21f8ae",
"path" : "\/Users\/USER\/*\/libgstprojectm.dylib",
"name" : "libgstprojectm.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4437131264,
"size" : 753664,
"uuid" : "06aef6bc-7d51-3359-9708-541c931b69d3",
"path" : "\/opt\/homebrew\/*\/libprojectM-4.4.1.0.dylib",
"name" : "libprojectM-4.4.1.0.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4438327296,
"size" : 524288,
"uuid" : "99f98f1a-2204-3895-9c1c-a03be2566f3d",
"path" : "\/opt\/homebrew\/*\/libgstvideo-1.0.0.dylib",
"name" : "libgstvideo-1.0.0.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4435935232,
"size" : 327680,
"uuid" : "5866cc58-061a-3c82-bb6a-4a1c091caff3",
"path" : "\/opt\/homebrew\/*\/libgstgl-1.0.0.dylib",
"name" : "libgstgl-1.0.0.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4434329600,
"size" : 163840,
"uuid" : "cbe63aa4-0bf1-39ad-aa35-d73fdac2bfa4",
"path" : "\/opt\/homebrew\/*\/libgstpbutils-1.0.0.dylib",
"name" : "libgstpbutils-1.0.0.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4440178688,
"size" : 868352,
"uuid" : "1a7bda7e-24d4-3a17-85b9-adb83f1e177a",
"path" : "\/opt\/homebrew\/*\/libX11.6.dylib",
"name" : "libX11.6.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4369924096,
"size" : 16384,
"uuid" : "cb44ecf3-ca0e-34a0-8602-607065b83dce",
"path" : "\/opt\/homebrew\/*\/libX11-xcb.1.dylib",
"name" : "libX11-xcb.1.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4432805888,
"size" : 81920,
"uuid" : "8ef9b9ff-3f1e-39a6-bec1-e7d10db8e6cb",
"path" : "\/opt\/homebrew\/*\/libxcb.1.1.0.dylib",
"name" : "libxcb.1.1.0.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4373331968,
"size" : 16384,
"uuid" : "bf6689dc-5292-350c-94b7-d1d71956c572",
"path" : "\/opt\/homebrew\/*\/libXau.6.0.0.dylib",
"name" : "libXau.6.0.0.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4373413888,
"size" : 16384,
"uuid" : "11368a67-e3a3-3d6f-ae03-78456881a92e",
"path" : "\/opt\/homebrew\/*\/libXdmcp.6.dylib",
"name" : "libXdmcp.6.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4373233664,
"size" : 32768,
"uuid" : "d786468c-d78e-3a27-becb-298e52eb46ea",
"path" : "\/opt\/homebrew\/*\/libgstaudioconvert.dylib",
"name" : "libgstaudioconvert.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4435492864,
"size" : 311296,
"uuid" : "1a013834-dd75-3f38-a00e-919475650cd6",
"path" : "\/opt\/homebrew\/*\/libgstcoreelements.dylib",
"name" : "libgstcoreelements.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4370350080,
"size" : 49152,
"uuid" : "f7037975-2442-335a-a6f7-00980ce7de52",
"path" : "\/opt\/homebrew\/*\/libgstaudiotestsrc.dylib",
"name" : "libgstaudiotestsrc.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4433035264,
"size" : 344064,
"uuid" : "3760ee84-63e7-3111-a803-1c213ca087cc",
"path" : "\/opt\/homebrew\/*\/libgstaudio-1.0.0.dylib",
"name" : "libgstaudio-1.0.0.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4433543168,
"size" : 376832,
"uuid" : "5c6bb74a-4f79-30d9-9375-a4242cdb2dcd",
"path" : "\/opt\/homebrew\/*\/libgstbase-1.0.0.dylib",
"name" : "libgstbase-1.0.0.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4432527360,
"size" : 180224,
"uuid" : "f662112f-389e-317c-9aa3-38821ae6c15a",
"path" : "\/opt\/homebrew\/*\/libgsttag-1.0.0.dylib",
"name" : "libgsttag-1.0.0.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4434771968,
"size" : 573440,
"uuid" : "f994d955-4042-3b10-ba94-7bf9296c5496",
"path" : "\/opt\/homebrew\/*\/liborc-0.4.0.dylib",
"name" : "liborc-0.4.0.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4370513920,
"size" : 917504,
"uuid" : "ab2a29b1-e175-3644-bb0d-82415df9bc16",
"path" : "\/opt\/homebrew\/*\/libgstreamer-1.0.0.dylib",
"name" : "libgstreamer-1.0.0.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4371759104,
"size" : 983040,
"uuid" : "80aa0559-f78c-3932-a57a-cd80e140e154",
"path" : "\/opt\/homebrew\/*\/libglib-2.0.0.dylib",
"name" : "libglib-2.0.0.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4369432576,
"size" : 98304,
"uuid" : "9924fd2d-8556-34b2-add9-ab2838b3359b",
"path" : "\/opt\/homebrew\/*\/libintl.8.dylib",
"name" : "libintl.8.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4369973248,
"size" : 245760,
"uuid" : "7432be8c-02f1-31dc-b0eb-50d634dd5abc",
"path" : "\/opt\/homebrew\/*\/libgobject-2.0.0.dylib",
"name" : "libgobject-2.0.0.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4369350656,
"size" : 16384,
"uuid" : "556047c9-c8db-3da2-92ff-8d0e0e5b38b1",
"path" : "\/opt\/homebrew\/*\/libgmodule-2.0.0.dylib",
"name" : "libgmodule-2.0.0.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4373528576,
"size" : 475136,
"uuid" : "0e90f358-d449-3571-95ad-690078c20228",
"path" : "\/opt\/homebrew\/*\/libpcre2-8.0.dylib",
"name" : "libpcre2-8.0.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4364681216,
"size" : 32768,
"uuid" : "4b111051-a9f5-3f1d-8e67-ce5a22d0f649",
"path" : "\/opt\/homebrew\/*\/gst-launch-1.0",
"name" : "gst-launch-1.0"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6708973568,
"size" : 241660,
"uuid" : "2a91fd2c-4cef-3211-a025-7a1c0a8c2db5",
"path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6709641216,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.CoreFoundation",
"size" : 5083136,
"uuid" : "33908a83-098f-3437-973e-fb848c4f39df",
"path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
"name" : "CoreFoundation",
"CFBundleVersion" : "2420"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6885687296,
"CFBundleShortVersionString" : "2.1.1",
"CFBundleIdentifier" : "com.apple.HIToolbox",
"size" : 2899968,
"uuid" : "c315e2a3-3fd1-3a2b-b205-b8b492b0f506",
"path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
"name" : "HIToolbox"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6768992256,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.AppKit",
"size" : 20172800,
"uuid" : "8b85317d-d56a-3370-8b78-da6c1d0fb53c",
"path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
"name" : "AppKit",
"CFBundleVersion" : "2487.50.124"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6705512448,
"size" : 559580,
"uuid" : "f6dd3ec2-85a4-3ab1-8486-b189cd980ebe",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
},
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6709215232,
"size" : 53248,
"uuid" : "45239f06-cc53-36d0-9933-7776ac7ea2fa",
"path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6707453952,
"size" : 294912,
"uuid" : "7f973554-8168-35bf-ae86-2e9123e81bf7",
"path" : "\/usr\/lib\/system\/libdispatch.dylib",
"name" : "libdispatch.dylib"
}
],
"sharedCache" : {
"base" : 6704758784,
"size" : 4189880320,
"uuid" : "a53b7d2f-a773-3524-8828-248b33ef0b4e"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=835.1M resident=0K(0%) swapped_out_or_unallocated=835.1M(100%)\nWritable regions: Total=1.4G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.4G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 128K 1 \nActivity Tracing 256K 1 \nCG image 96K 5 \nColorSync 624K 29 \nCoreAnimation 176K 11 \nCoreGraphics 32K 2 \nCoreUI image data 1104K 7 \nFoundation 16K 1 \nKernel Alloc Once 32K 1 \nMALLOC 1.3G 47 \nMALLOC guard page 192K 12 \nOpenGL GLSL 256K 3 \nSTACK GUARD 56.4M 27 \nStack 21.8M 27 \nVM_ALLOCATE 848K 35 \n__AUTH 937K 203 \n__AUTH_CONST 15.0M 359 \n__CTF 824 1 \n__DATA 4111K 370 \n__DATA_CONST 18.9M 387 \n__DATA_DIRTY 919K 115 \n__FONT_DATA 2352 1 \n__GLSLBUILTINS 5174K 1 \n__LINKEDIT 527.8M 29 \n__OBJC_RO 71.7M 1 \n__OBJC_RW 2195K 1 \n__TEXT 307.3M 401 \ndyld private memory 272K 2 \nmapped file 70.8M 19 \nshared memory 864K 14 \n=========== ======= ======= \nTOTAL 2.4G 2113 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "org.freedesktop.gstreamer.glwindow"
}
},
"logWritingSignature" : "81ab42a13a79089001a60fb15136efc9b0e44a1c",
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "648c94d4ebdf9e3e398fa708",
"factorPackIds" : {
"SIRI_UNDERSTANDING_NL_OVERRIDES" : "65a8104b6712a43e7922cab8"
},
"deploymentId" : 240000171
},
{
"rolloutId" : "63f9578e238e7b23a1f3030a",
"factorPackIds" : {
},
"deploymentId" : 240000005
}
],
"experiments" : [
{
"treatmentId" : "a34d22a1-a1a5-4126-a477-0c499e502c6a",
"experimentId" : "65835bc103dc58766bab2d27",
"deploymentId" : 400000011
}
]
}
} |
https://gstreamer.freedesktop.org/documentation/opengl/gltestsrc.html?gi-language=c
|
I see all your examples are running the test with audio. Did you try any of the others. Does details or inspect give you a result about the projectm lib? |
What's making this challenging for Hack and me is that there isn't any helpful information in what you've posted that would assist us in tracking down the issue, because the error given is so generic. I dont have a mac device to play around on so all I can do is provide suggestions until I do.
|
Test scripts ./test.sh --details
Plugin Details:
Name projectm
Description plugin to visualize audio using the ProjectM library
Filename /Users/noah/.local/share/gstreamer-1.0/plugins/libgstprojectm.dylib
Version 0.0.1
License LGPL
Source module GstProjectM
Binary package GstProjectM
Origin URL https://github.com/projectM-visualizer/gst-projectm
projectm: ProjectM Visualizer
1 features:
+-- 1 elements ./test.sh --inspect
Factory Details:
Rank none (0)
Long-name ProjectM Visualizer
Klass Generic
Description A plugin for visualizing music using ProjectM
Author AnomieVision <[email protected]> | Tristan Charpentier <[email protected]>
Plugin Details:
Name projectm
Description plugin to visualize audio using the ProjectM library
Filename /Users/noah/.local/share/gstreamer-1.0/plugins/libgstprojectm.dylib
Version 0.0.1
License LGPL
Source module GstProjectM
Binary package GstProjectM
Origin URL https://github.com/projectM-visualizer/gst-projectm
GObject
+----GInitiallyUnowned
+----GstObject
+----GstElement
+----GstAudioVisualizer
+----GstGLBaseAudioVisualizer
+----GstProjectM
Pad Templates:
SINK template: 'sink'
Availability: Always
Capabilities:
audio/x-raw
format: S16LE
layout: interleaved
channels: [ 1, 2147483647 ]
rate: [ 1, 2147483647 ]
channel-mask: { (bitmask)0x0000000000000003 }
SRC template: 'src'
Availability: Always
Capabilities:
video/x-raw
format: { (string)ABGR }
framerate: [ 0/1, 2147483647/1 ]
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
Element has no clocking capabilities.
Element has no URI handling capabilities.
Pads:
SINK: 'sink'
Pad Template: 'sink'
SRC: 'src'
Pad Template: 'src'
Element Properties:
aspect-correction : Enables or disables aspect ratio correction. When enabled, the visualizer adjusts for aspect ratio differences in rendering.
flags: readable, writable
Boolean. Default: true
beat-sensitivity : Controls the sensitivity to audio beats. Higher values make the visualizer respond more strongly to beats.
flags: readable, writable
Float. Range: 0 - 5 Default: 1
easter-egg : DControls the activation of an Easter Egg feature. The value determines the likelihood of triggering the Easter Egg.
flags: readable, writable
Float. Range: 0 - 1 Default: 0
hard-cut-duration : Sets the duration, in seconds, for hard cuts. Hard cuts are abrupt transitions in the visualizer.
flags: readable, writable
Double. Range: 0 - 999999 Default: 3
hard-cut-enabled : Enables or disables hard cuts. When enabled, the visualizer may exhibit sudden transitions based on the audio input.
flags: readable, writable
Boolean. Default: false
hard-cut-sensitivity: Adjusts the sensitivity of the visualizer to hard cuts. Higher values increase the responsiveness to abrupt changes in audio.
flags: readable, writable
Float. Range: 0 - 1 Default: 1
mesh-size : Sets the size of the mesh used in rendering. The format is 'width,height'.
flags: readable, writable
String. Default: "48,32"
name : The name of the object
flags: readable, writable
String. Default: "projectm0"
parent : The parent of the object
flags: readable, writable
Object of type "GstObject"
preset : Specifies the path to the preset file. The preset file determines the visual style and behavior of the audio visualizer.
flags: readable, writable
String. Default: null
preset-duration : Sets the duration, in seconds, for each preset. A zero value causes the preset to play indefinitely.
flags: readable, writable
Double. Range: 0 - 999999 Default: 0
preset-locked : Locks or unlocks the current preset. When locked, the visualizer remains on the current preset without automatic changes.
flags: readable, writable
Boolean. Default: true
shade-amount : Shading color to use (big-endian ARGB)
flags: readable, writable, controllable
Unsigned Integer. Range: 0 - 4294967295 Default: 657930
shader : Shader function to apply on each frame
flags: readable, writable, controllable
Enum "GstAudioVisualizerShader" Default: 1, "fade"
(0): none - GST_AUDIO_VISUALIZER_SHADER_NONE
(1): fade - GST_AUDIO_VISUALIZER_SHADER_FADE
(2): fade-and-move-up - GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_UP
(3): fade-and-move-down - GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_DOWN
(4): fade-and-move-left - GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_LEFT
(5): fade-and-move-right - GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_RIGHT
(6): fade-and-move-horiz-out - GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_HORIZ_OUT
(7): fade-and-move-horiz-in - GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_HORIZ_IN
(8): fade-and-move-vert-out - GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_VERT_OUT
(9): fade-and-move-vert-in - GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_VERT_IN
soft-cut-duration : Sets the duration, in seconds, for soft cuts. Soft cuts are smoother transitions between visualizer states.
flags: readable, writable
Double. Range: 0 - 999999 Default: 3
texture-dir : Sets the path to the directory containing textures used in the visualizer.
flags: readable, writable
String. Default: null |
This one already has
|
Okay I'll review this and see if i can track it down |
Were there any other videosinks available to you on osx, aside from osxvideosink? |
|
Try all of these and lmk if any work:
My goal here is to narrow down my search field. If any errors look new please share! |
I'm thinking we should take out the video pipeline stuff, does this look right?
The last one didn't error but it didn't display anything either. |
Thanks for testing those! How would you remove it? Its what displays the gl context? |
|
Oh my apologies, I misunderstood what you were talking about. I see now, the difference in commands. I'll keep poking at it when I can but I'm not seeing a hint on where the issue is. Without having my own osx device to dev on, I cant really do much else. |
Looks like the GL error |
Debugging the hat plug-in, I can also see that the GL error pops up somewhere during projectM initialization. We don't check for error in most places (which is something we probably should do), so that can happen anywhere. Shaders and the basic textures as well as the vertex buffers look good though, as they all have proper IDs. One way of checking would be placing glGetError() calls in strategic places in libprojectM and look where the error is set, then work back in the call hierarchy to find the call that is problematic. Might as well be a bug in projectM we missed. |
I added a number of glGetError() calls and I think the problem is possibly located in GLint preferredInternalFormat{GL_BGRA};
glGetInternalformativ(GL_TEXTURE_2D, GL_RGBA8, GL_TEXTURE_IMAGE_FORMAT, sizeof(preferredInternalFormat), &preferredInternalFormat); According to https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetInternalformat.xhtml it's only available from GL 4.2 on, and MacOS seems to have 4.1. |
That's kinda weird, as I'd expect that the function isn't defined at all, and would rather cause a nullptr dereference when caled like this. Since I'm not really sure this internal format selection really does anything to improve performance and the order of the noise channels isn't relevant at all, I'd just remove that code and use |
I've removed the offending function in PR projectM-visualizer/projectm#806 as it's bad to use GL 4.2 functions in a library that claims to only need GL 3.3. |
After that fix (which was an unfortunate problem, but not the actual issue), it seems that the internal framebuffer creation in projectM fails, and the first frame rendered then fails with a That's a tough one, because the internal framebuffer classes look like everything is fine, e.g. each framebuffer has a unique positive ID assigned, which OpenGL returns on creation. Searching a bit and speculating, it seems like there's some issue in the macOS OpenGL implementation that makes the framebuffer creation succeed, but the returned ID is still invalid and doesn't point to an existing framebuffer. From this StackOverflow post, this seems to happen if the framebuffer is created when no drawable surface is assigned to the context, e.g. no native window it can render to. The other possibility is that the OpenGL context creation function used by GStreamer might be So it might be worth a try to make sure that projectM is created only after the output window is present, as GStreamer probably creates the osxvideosink AKA the window after initializing projectM in the filter chain. That said, creating the projectM instance on the first actual draw call might work better. I won't have the time to test this before my vacation, but at least you have a starting point. |
I have made the change @kblaschke suggested to move the projectM initialization into the render method on a branch in my fork init-projectm-on-render in case somebody with a mac has time to check it out. |
I tried
|
We could check whether GStreamer uses |
The plugin is not working for me on OS X yet.
brew
osxvideosink
devicegst-launch-1.0
commands workRunning the test command after build.sh gives this error here:
The text was updated successfully, but these errors were encountered: