Skip to content

Bug: FFmpeg stream fails on Debian but works on Windows #45

@diogo24m

Description

@diogo24m

When using rtsp-ffmpeg to connect to an RTSP camera stream, it works perfectly on Windows, but fails to stream any data on Debian 12.

const rtsp = require('rtsp-ffmpeg');

const stream = new rtsp.FFMpeg({ 
  input: url, 
  rate: 10, 
  resolution: '1280x720', 
  quality: 20
});

stream.on('data', function(data) {
  console.log('streaming data...', data.length);
});

FFmpeg itself is installed and when called directly from the terminal with the same URL it doesnt give an error but also wont send data.

Environment

  • OS: Debian 12 (Bookworm)
  • Node.js: v18.x
  • rtsp-ffmpeg: latest npm version
  • Works fine on: Windows 10 (same Node.js version)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions