Comments (5)
Hey, depends on what you are trying to do. I worked for a mobile testing company for 2 years remote controlling android and ios devices :-D
If that is what you want, I'd recommend using https://appiumpro.com/editions/82 this feature. It will give you an okay MJPEG stream you directly send into browsers easily. We used it a lot, so you can assume it will work for pretty much all devices. The downside of that one is that the quality is pretty shitty and you get very low FPS and no audio.
If you want high quality video and audio you should go for my solution, you can use Gstreamer easily for streaming RTP with it, that is sadly not browser compatible. If you want browser, Gstreamer supports WebRTC and that you could use for streaming this to a browser.
Let me know if you have any other questions :-D
from quicktime_video_hack.
Showing data on WebBrowser
This is the reason I started to watch this project.
It is not that hard to integrate websocket-server with qvh and stream data to a browser, where you can play video with something like xevojapan/h264-converter.
I have a prototype in my fork, code in golang must be awfull (I had no experience with it before), but it works.
UPD: https://github.com/NetrisTV/ws-qvh
from quicktime_video_hack.
That's awesome @drauggres :-D
You should be able to do all this with qvh though without any additional code using a gstreamer pipeline. :-D If you run qvh gstreamer --examples
you will see an example of how to transcode to a mp4 file. If you just replace the filesink at the end with a https://gstreamer.freedesktop.org/documentation/tcp/tcpserversink.html you should be able to stream that mp4 whereever you want.
And if it needs to go through WS you can use sth. like this https://github.com/novnc/websockify
from quicktime_video_hack.
Thanks, @danielpaulus.
I made those changes before you added gstreamer support.
from quicktime_video_hack.
You can use a combination of https://github.com/nanoscopic/ios_video_pull , https://github.com/nanoscopic/h264_to_jpeg , and https://github.com/nanoscopic/ios_video_stream .
ios_video_pull uses qvh to get the raw h264, and send it to h264_to_jpeg
h264_to_jpeg uses ffmpeg and mac videotoolbox and turbo-jpeg to decompress the h264 into jpeg frames ( skipping duplicate frames )
ios_video_stream exposes a websocket to stream those jpegs to a browser ; there is a debug interface to test it out and see it work on port 8000 by default
from quicktime_video_hack.
Related Issues (20)
- can not docker build in gitpod
- Execute gstreamer cause nil point deference HOT 4
- Turning off Valeria mode will receive an unknown protocol HOT 2
- what's your plan to suppot win 10? HOT 16
- For questions, suggestions and ideas please use the Discussions tab :-)
- linux:Error opening usb deviceslibusb: bad access [code -3] HOT 8
- linux "failed connecting to usb","original_error":"Could not retrieve config"
- Ubuntu: qvh gstreamer run success BUT not show screen dialog <Iphone7/14.2 - Ubuntu>
- AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': Device or resource busy
- GStreamer not working HOT 8
- Can't detach kernel driver on iOS 16.0
- Unable to mirror the iphone on linux
- can't mirror while use iphone14pro and ios16
- zsh: command not found: qvh HOT 1
- Can't receiving EAT and OG data
- cross platform port
- Improve qvh by adding a more stable video integration either using mkv + tcp or ffmpeg integration HOT 5
- qvh activate errors on first run
- qvh record errors
- ubuntu22 Error closing usb context
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quicktime_video_hack.