danielpaulus / quicktime_video_hack

Record iOS device audio and video
MIT License
520 stars 110 forks source link

QVH and arm64/M1 #108

Open soulgalore opened 2 years ago

soulgalore commented 2 years ago

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/gst@v0.0.0-20200201205042-e6d2974fceb8

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

danielpaulus commented 2 years ago

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

prife commented 2 years ago

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.