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

[Bug]: Livestream dies with ffmpeg error #355

Closed
pijay01 opened this issue Jul 27, 2023 · 2 comments
Closed

[Bug]: Livestream dies with ffmpeg error #355

pijay01 opened this issue Jul 27, 2023 · 2 comments
Labels
external bug Bug in external library or ioBroker wontfix This will not be worked on

Comments

@pijay01
Copy link

pijay01 commented Jul 27, 2023

Adapter version

1.0.0

JS-Controller version

4.0.24

Node version

v18.16.1

Operating System type

Linux

Operating system version

Ubuntu 22.04.2 LTS

Describe the bug

Hi,

first of all, thank you for the work on this adapter.

When i try to start the live_stream (set start_stream to true) the camera starts streaming for a short time and I can see the objects rtsp_stream and rtsp_stream_url getting some content. But within 2-3 seconds the camera stops again and the values gets removed.

Attached is the error

To reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '....'
  4. See error

Screenshots & Logfiles

eusec.0 2023-07-27 20:06:57.679 error Station: T8010N23210613B0 Device: T8113N63210616D9 - Error - Stopping livestream... [{}]
eusec.0 2023-07-27 20:06:57.678 error ffmpegStreamToGo2rtc(): ffmpeg stderr: ffmpeg version 5.0.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2022 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg libavutil 57. 17.100 / 57. 17.100 libavcodec 59. 18.100 / 59. 18.100 libavformat 59. 16.100 / 59. 16.100 libavdevice 59. 4.100 / 59. 4.100 libavfilter 8. 24.100 / 8. 24.100 libswscale 6. 4.100 / 6. 4.100 libswresample 4. 3.100 / 4. 3.100 libpostproc 56. 3.100 / 56. 3.100 Input #0, h264, from 'unix:/tmp/eusec.0.1.sock': Duration: N/A, bitrate: N/A Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080, 15 fps, 15 tbr, 1200k tbn Input #1, aac, from 'unix:/tmp/eusec.0.2.sock': Duration: N/A, bitrate: 24 kb/s Stream #1:0: Audio: aac (LC), 16000 Hz, mono, fltp, 24 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #1:0 -> #0:1 (aac (native) -> opus (native)) Press [q] to stop, [?] for help
eusec.0 2023-07-27 20:06:57.677 error ffmpegStreamToGo2rtc(): ffmpeg output:
eusec.0 2023-07-27 20:06:57.677 error ffmpegStreamToGo2rtc(): An error occurred: ffmpeg was killed with signal SIGSEGV
eusec.0 2023-07-27 20:06:57.673 error Exception-Code: ECONNRESET: read ECONNRESET
eusec.0 2023-07-27 20:06:57.673 error Error: read ECONNRESET at Pipe.onStreamRead (node:internal/stream_base_commons:217:20)
eusec.0 2023-07-27 20:06:57.672 error uncaught exception: read ECONNRESET
eusec.0 2023-07-27 20:06:57.671 error Exception-Code: ECONNRESET: read ECONNRESET
eusec.0 2023-07-27 20:06:57.671 error Error: read ECONNRESET at Pipe.onStreamRead (node:internal/stream_base_commons:217:20)
eusec.0 2023-07-27 20:06:57.671 error uncaught exception: read ECONNRESET
eusec.0 2023-07-27 20:06:52.310 warn ffmpegStreamToGo2rtc(): Started

Additional context

No response

@pijay01 pijay01 added the bug Something isn't working label Jul 27, 2023
@freakyfreaky
Copy link

Still an issue with the latest version 1.1.0 an JS Controller 5.0.11

@bropat bropat added wontfix This will not be worked on external bug Bug in external library or ioBroker and removed bug Something isn't working labels Nov 12, 2023
@bropat
Copy link
Owner

bropat commented Nov 12, 2023

I can't do anything about this because this error ffmpeg was killed with signal SIGSEGV comes from the "ffmpeg" command itself (SIGSEV meaning), which is supplied as dependency. Please open an issue there.

@bropat bropat closed this as not planned Won't fix, can't repro, duplicate, stale Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external bug Bug in external library or ioBroker wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants