Giter Site home page Giter Site logo

[Question] Can't use H264 about neko HOT 4 CLOSED

m1k1o avatar m1k1o commented on July 16, 2024
[Question] Can't use H264

from neko.

Comments (4)

mbattista avatar mbattista commented on July 16, 2024

H264 is not supported by Firefox. Try a different browser e.g. Chrome.

With your stutter. If you self-host, do you have enough upload speed? If that could be a factor, try lowering the NEKO_VIDEO_BITRATE.

In other cases, e.g. old CPU, you can try to fiddle with the NEKO_VIDEO parameter. If you need help with those, I can try to give some examples for VP8 later.

from neko.

oldsweatyman avatar oldsweatyman commented on July 16, 2024

Switched tag to google-chrome and I get the same error:

2021-07-12 00:59:03,272 DEBG 'neko' stdout output:
�[90m4:59AM�[0m �[1m�[31mERR�[0m�[0m message handler has failed �[31merror=�[0m�[31m"signal/answer failed: unable to start track, codec is not supported by remote"�[0m �[36mmodule=�[0mwebsocket

2021-07-12 00:59:18,854 DEBG 'neko' stdout output:
�[90m4:59AM�[0m �[31mWRN�[0m read message error �[31merror=�[0m�[31m"websocket: close 1005 (no status)"�[0m �[36mmodule=�[0mwebsocket

docker compose:

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='stream' --net='proxynet' -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'NEKO_PASSWORD'='stream' -e 'NEKO_PASSWORD_ADMIN'='&puMS29yJ#uv%d' -e 'NEKO_ICELITE'='true' -e 'NEKO_MAX_FPS'='30' -e 'NEKO_H264'='true' -e 'NEKO_VP8'='false' -e 'NEKO_EPR'='52000-52100' -e 'NEKO_SCREEN'='1920x1080@30' -p '8085:8080/tcp' -p '52000-52100:52000-52100/udp' -v '/mnt/user/downloads/hardlinks':'/home/neko/archive/':'rw' -v '/mnt/user/temp/hardlinks/':'/home/neko/temp':'rw' --shm-size="2gb" --cap-add SYS_ADMIN 'm1k1o/neko:google-chrome'

4f17445293a8aaa01a6ac5ce8b20ccbbd942f32bb1c3708f941ad5a4b85f4929

Don't have an old CPU (Intel® Xeon E-2146G)
I have gigabit up/down and I'm actually even accessing the container locally using the VLC tag instead of chrome or firefox (via ip:port address) and playing local files. Unmistakable stutter here and there including in audio. I shut off nearly all other containers and tried running a file off an SSD so there's no way it's an I/O issue. Is it actually possible to get perfect playback or am I chasing something that doesn't exist

from neko.

m1k1o avatar m1k1o commented on July 16, 2024

The WebRTC backend it handled by m1k1o/neko:base image. Browsers (and other apps) are just extending that image. Therefore, it should not matter if you use Google Chrome, Firefox, chromium or any other program installed within the virtual environment.

Error unable to start track, codec is not supported by remote is coming from WebRTC backend. It means, that your client (what is referred as remote) does not support codec (what is your choice — h264). As @mbattista correctly pointed out, Firefox does not support that. It would be interesting, to know what browser are you trying to use.

There was an attempt to solve the similar issue you are mentioning (Unmistakable stutter here and there, including in audio) #25 and since then, I personally don't see problems with streaming. Zero latency streaming is very sensible for any, even if just temporary network issue like packet reordering, high network latency or etc.

from neko.

m1k1o avatar m1k1o commented on July 16, 2024

#109 could shine more lights on this topic. @oldsweatyman can you try again, if recent pull request fixed this issue?

from neko.

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.