Git Product home page Git Product logo

Comments (11)

Barabba11 avatar Barabba11 commented on September 26, 2024

I have this error:

go2rtc-error

what is this github.com/AlexxIi/go2rtc/internal/webrtc/webrtc.80:185 error?
on browser returns "not found"

from go2rtc.

Barabba11 avatar Barabba11 commented on September 26, 2024

I've tried with ffmpeg trying to collect together random examples, bu i don't know the proper syntax

streams:
  test: ffmpeg:-f gdigrab -framerate 30 -i desktop
ffmpeg:
  bin: c:\ffmpeg.exe

the following command works and output the video with screen grabbed:
ffmpeg -f gdigrab -framerate 30 -i desktop c:log\output.mkv

I have this error:
go2rtc-error
and this error:

go2rtc-error

from go2rtc.

Barabba11 avatar Barabba11 commented on September 26, 2024

I hope somebody can help me, thanks

from go2rtc.

AlexxIT avatar AlexxIT commented on September 26, 2024

Empty stream - just name without source.

from go2rtc.

Barabba11 avatar Barabba11 commented on September 26, 2024

Empty stream - just name without source.

Thank you for your answer, can you please post me a correct script to use ffmpeg, in particular to open the desktop. I can't find an example that shows me how can I paasa arguments to ffmpeg. Thank you!!

from go2rtc.

AlexxIT avatar AlexxIT commented on September 26, 2024

I don't know how to share desktop via FFmpeg from Windows

from go2rtc.

Barabba11 avatar Barabba11 commented on September 26, 2024

With this command I'm able to record the desktop into a file, how can I use these parameters with go2rtc?
Thank you!
ffmpeg -f gdigrab -framerate 30 -i desktop c:log\output.mkv

from go2rtc.

AlexxIT avatar AlexxIT commented on September 26, 2024

https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#source-exec

from go2rtc.

Barabba11 avatar Barabba11 commented on September 26, 2024

I can't figure out how to make it work, I've tried the following config:

ffmpeg:
  bin: c:\go2rtc\ffmpeg.exe
  
api:
  listen: ":80"    # default ":1984", HTTP API port ("" - disabled)
  origin: "*"        # default "", allow CORS requests (only * supported)
  
streams:
   test: exec::c:\go2rtc\ffmpeg.exe -f gdigrab -framerate 30 -i desktop

webrtc:
    candidates:
    - stun:8555

as result I have:
EOF, nothing is coming from ffmpeg, I've tried also with examples in the guide, for example:
exec:c:\go2rtc\ffmpeg,exe -re -i /media/BigBuckBunny.mp4 -c copy
I always have EOF, I've tried with version 1.85 too, and 32 bit too, same

if I type on DOS ffmpeg -f gdigrab -framerate 30 -i desktop c:log\output.mkv I can save the file video, so it works on this PC, but I can't grab video on go2rtc.

Can somebody please please please write me a working script to grab the screen and send to HLS? Thank you!!!!! I really don't know what to do for a such simple thing :(

from go2rtc.

Barabba11 avatar Barabba11 commented on September 26, 2024

I've tried again, created empty file, then on links selected screen+audio, I got this error in log:

01:13:00.590 INF [webrtc] listen addr=:8555/tcp
01:13:33.844 ERR github.com/AlexxIT/go2rtc/internal/webrtc/webrtc.go:183 > error="SetRemoteDescription called with no ice-ufrag"

from go2rtc.

Barabba11 avatar Barabba11 commented on September 26, 2024
This is m config, almost empty ad suggested: 
api:
  listen: ":80"    # default ":1984", HTTP API port ("" - disabled)
  origin: "*"        # default "", allow CORS requests (only * supported)
 
streams:
    boia:

then I use the 2 links available in links page
http://127.0.0.1/webrtc.html?dst=boia&media=display+speaker
http://127.0.0.1/links.html?src=boia# (this reminds the same page)

and I have the error ERR github.com/AlexxIT/go2rtc/internal/webrtc/webrtc.go:183 > error="SetRemoteDescription called with no ice-ufrag"

I can't understand why it's so complicated (

from go2rtc.

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.