Git Product home page Git Product logo

dlna-cast's Issues

"frame dropped!" and "No attribute or service found with name 'AVTransport'" errors

I only get a bunch of errors like this one:

real-time buffer [screen-capture-recorder] [video input] too full or near too full (464% of size: 3041280 [rtbufsize parameter])! frame dropped!

After ~3 seconds of errors the program breaks:

AttributeError: No attribute or service found with name 'AVTransport'.

Is there any fix for this?

dlna-cast not working in linux

Hello and thank you in advance for having done dlna-cast...
I have installed with:
pip install dlna-cast
The program detects my DLNA device perfectly.
The problem arises when I try to run:
dlna-cast screen --dlna_device BF913C44
I think the program cannot find my ffmpeg, this is the error trace:
File "/home/tugo/.local/pipx/venvs/dlna-cast/lib/python3.12/site-packages/dlna_cast/main.py", line 112, in screen
self._start_ffmpeg_streaming(framerate, input_opts, segment_size, crf)
File "/home/tugo/.local/pipx/venvs/dlna-cast/lib/python3.12/site-packages/dlna_cast/main.py", line 82, in _start_ffmpeg_streaming
cmd = ' '.join(cmd)
^^^^^^^^^^^^^
TypeError: sequence item 3: expected str instance, NoneType found

Waiting for your prompt attention, I remain at your service to provide you with any details that seem pertinent, again, thank you...!

device discovery shows a lot of errors

dlna-cast list_dlna_devices throws a ton of errors before listing one device in the network:

Error '404 Client Error: Not Found for url: http://192.168.88.10:8008/ssdp/notfound' for <dlna_cast.ssdp.Entry object at 0x7f8ffa91a010>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa91a090>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa91a0d0>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa91a110>
Error '404 Client Error: Not Found for url: http://192.168.88.10:8008/ssdp/notfound' for <dlna_cast.ssdp.Entry object at 0x7f8ffa91a210>
Error '404 Client Error: Not Found for url: http://192.168.88.10:8008/ssdp/notfound' for <dlna_cast.ssdp.Entry object at 0x7f8ffa91a250>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa919c10>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa919c50>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa919c90>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa919cd0>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa919d90>
Error '404 Client Error: Not Found for url: http://192.168.88.10:8008/ssdp/notfound' for <dlna_cast.ssdp.Entry object at 0x7f8ffa91a590>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa919e10>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa919ed0>
Error '404 Client Error: Not Found for url: http://192.168.88.10:8008/ssdp/notfound' for <dlna_cast.ssdp.Entry object at 0x7f8ffa91a710>
VSX-S520D

I can easily filter them out with dlna-cast list_dlna_devices | grep -v ^Error, but is there a way to get rid of them?

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.