Giter Site home page Giter Site logo

Comments (5)

danielpaulus avatar danielpaulus commented on June 14, 2024

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.

drauggres avatar drauggres commented on June 14, 2024

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.

danielpaulus avatar danielpaulus commented on June 14, 2024

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.

drauggres avatar drauggres commented on June 14, 2024

Thanks, @danielpaulus.
I made those changes before you added gstreamer support.

from quicktime_video_hack.

nanoscopic avatar nanoscopic commented on June 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.