quicktime_video_hack icon indicating copy to clipboard operation
quicktime_video_hack copied to clipboard

QVH and arm64/M1

Open soulgalore opened this issue 4 years ago • 2 comments

Hi @danielpaulus reading that other issue about the problem with videosnap and M1 I wanted to test if its the same issue with qvh, but I get stuck. If I run the amd64 version on my ARM hoping Rosetta will fix it, I get problem with libusb that is built for arm. I'll try some more with that later.

I moved on and tried compiling qvh for arm GOOS=darwin GOARCH=arm64 go build I get

package github.com/danielpaulus/quicktime_video_hack
imports github.com/danielpaulus/quicktime_video_hack/screencapture/gstadapter
imports github.com/danielpaulus/gst: build constraints exclude all Go files in /Users/peter/go/pkg/mod/github.com/danielpaulus/[email protected]

I'm not used to go, how do that dependency constraint work, is there way to override it?

soulgalore avatar Nov 29 '21 12:11 soulgalore

hmm you don't need gstreamer anyway right? Let me create a fork or some other way without gstreamer.

danielpaulus avatar Dec 04 '21 18:12 danielpaulus

hmm you don't need gstreamer anyway right? Let me create a fork or some other way without gstreamer.

gstreamer can't work correctly on macOS sometimes, I made a Qt player(based on libmpv) for qvh, by converting raw h264 to fragment mp4 format.

prife avatar Dec 24 '21 05:12 prife