-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dlna-cast not working in linux #2
Comments
I didn't get a chance to test on Linux, so the default option is missing in the current version. However, you can pass your own string if you familiar with dlna-cast screen --dlna_device BF913C44 --input_opts '-f dshow -i video="screen-capture-recorder":audio="virtual-audio-capturer"' According to ChatGPT, possible options are:
You may use |
Hello again link89, thanks for your prompt response, the part of the code that generates the empty string error, I think it expects the name of the ffmpeg executable,; I have tried to pass it with: |
Greetings link89, thanks for your quick response, I tried before going to work: |
It looks like dlna-cast screen --dlna_device BF913C44 --input_opts='-f x11grab -i :0.0 -f alsa -ac 2 -i hw:0,0' |
Sorry but I made a mistake when copying your suggestion, the command without single quotes: |
Trying with the command: |
And finally, from the same command above, but without the single quotes: |
I am very interested in having this work on linux as well. Unfortunately, I cannot help you with the coding, but if you need a tester, hit me up. |
Hello link89, I am not a Python programmer, but if you tell me what to do, to debug your program, I will be happy to undertake the task. I tell you, I ran your program a while ago, in a super user or root session and the result is the same, the index.m3u8 file is not generated. I am also very interested in your program running on Linux. Well, waiting for your response, I greet you sincerely... |
Greetings @link89 and I can confirm that the program now works, on Void Linux i686 32 bits. |
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...!
The text was updated successfully, but these errors were encountered: