Giter VIP home page Giter VIP logo

Comments (9)

drauggres avatar drauggres commented on July 26, 2024
  1. Click ► Change video settings.
  2. Increase Bitrate
  3. Click Change video settings button

P.S.: click on Change video settings button will also change video size

from ws-scrcpy.

YellowQC avatar YellowQC commented on July 26, 2024

thank you! this is a great project!
i wan't to use the native decode module in my project, should i change the scrcpy.jar code? or use the official jar is fine ?

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

Thanks.
You will need to use this fork.
Or you can try to combine official scrcpy with https://github.com/novnc/websockify (I haven't try this)

from ws-scrcpy.

YellowQC avatar YellowQC commented on July 26, 2024

my current data stream flows like openstf's png stream:phone video socket ->node server ->node websocket server -> web websocket client,the problem is the .h264 stream can't not decoded and played well in html, so i want to use your native decoder to play the data stream from official scrcpy,is that fine?

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

You should probably use https://github.com/xevojapan/h264-converter directly: "native decoder" is just a simple wrapper-class around it.

from ws-scrcpy.

YellowQC avatar YellowQC commented on July 26, 2024

Hi, i hava another problem. When i increase the bitrate of phone video, like 4000000 or 8000000,the video will stop playing after some seconds,the stream data is ok and the h264-converter log keep printing,but the video frame stop playing. This problem came out easily on some old computer.Do you have any idea about this?

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

In case you didn't know: you can setup logger for h264-converter like this:

import VideoConverter, { setLogger } from 'h264-converter';

setLogger(console.log, console.error);

I don't think I can help you with this any further: I don't have knowledge about h264-converters internals.

from ws-scrcpy.

YellowQC avatar YellowQC commented on July 26, 2024

I have setup logger but the outputs seems to be normal。Thank you anyway, ws-scrcpy is a very helpful project,good job!

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

the video will stop playing after some seconds,the stream data is ok and the h264-converter log keep printing,but the video frame stop playing.

Solved by 36226ef

from ws-scrcpy.

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.