Coder Social home page Coder Social logo

Comments (6)

roflcoopter avatar roflcoopter commented on May 18, 2024 1

Ah interesting, I never worked with audio decoder before, i am guessing this could become an issue even if you manage to get the decoder to work.

I am gonna see if i can find an online RTSP stream with audio to test with. Ill get back to you shortly

from viseron.

roflcoopter avatar roflcoopter commented on May 18, 2024

In the meantime, can you try adding

input_args:
  - -an

to your camera config? That should skip the audio completely

from viseron.

pixeye33 avatar pixeye33 commented on May 18, 2024

Hello,
thanks for your quick response !

Before any changes : I've let it run and the behaviour ended up to be the same at the very first log i've shared (but after a much longer time).

I've just tried the config suggested :
[lib.camera.salon ] [DEBUG ] - FFMPEG decoder command: ffmpeg -hide_banner -loglevel panic -an -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -rtsp_transport tcp -i rtsp://root:[email protected]:8554/unicast -f rawvideo -pix_fmt nv12 pipe:1

but i'm still getting the same message :
[lib.camera.salon ] [ERROR ] - Error starting decoder pipe! [mp3float @ 0x55dcc64b2600] Header missing
and after some time it seems to start working (i did not configured the recording yet to look at the videos captured).

from viseron.

roflcoopter avatar roflcoopter commented on May 18, 2024

Okay i see. To make it easier for the user to debug, Viseron will first try to open the stream with -loglevel error and check for any errors. However, it seems not all of these errors are fatal, and the stream may continue anyway.

I will add a config option so you can supply your own recoverable errors which Viseron will then ignore and let the decoder start. Hold tight!

from viseron.

pixeye33 avatar pixeye33 commented on May 18, 2024

I was able to make the issue disapear by playing with the settings on the camera, but yes i do think those improvements will help to understand what's happening ๐Ÿ‘

from viseron.

roflcoopter avatar roflcoopter commented on May 18, 2024

great to hear!

from viseron.

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.