Skip to content
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

ch1 substream not presenting codec parameters, fails in ffmpeg and others. vbuffer related? #505

Open
wltechblog opened this issue Feb 16, 2025 · 2 comments

Comments

@wltechblog
Copy link
Contributor

Discussing this issue on Discord but tracking it here.

substream channel isn't functioning properly in most software (mpv and go2rtc seem to work).

Consider increasing the value for the 'analyzeduration' (1000000) and 'probesize' (1000000) options
Input #0, rtsp, from 'rtsp://thingino:[email protected]:554/ch1':
  Metadata:
    title           : thingino prudynt
    comment         : stream1
  Duration: N/A, start: -0.000250, bitrate: N/A
  Stream #0:0: Video: h264, none, 90k tbr, 90k tbn
  Stream #0:1: Audio: opus, 48000 Hz, mono, fltp```

disabling vbuffer seems to be a successful workaroung.

Note from @gtxaspec 
```it's trying to create another rtsp server...hmm
[ERROR:RTSP.cpp]: Failed to create RTSP server: IPv6 bind() error (port number: 554): Address in use
for the sub stream,when it should reuse the existing one

workaround to disable vbuffer:

reboot```


@dwebfr2
Copy link

dwebfr2 commented Feb 16, 2025

after workaround with disabling vbuffer and reboot

chmod -x /etc/init.d/S96vbuffer
reboot

substream ch1 works now in VLC, before it didnt work

@themactep
Copy link
Owner

Yes, that is prudynt peculiarity when one client (vbuffer) wants a stream without audio. That breaks things for other clients. Will need a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants