RTSP stream not decoding properly / glitching on Raspberry Pi, but works properly Windows

*nix specific usage questions
schlumpfpirat
New Cone
New Cone
Posts: 3
Joined: 04 Jan 2014 15:35

RTSP stream not decoding properly / glitching on Raspberry Pi, but works properly Windows

Postby schlumpfpirat » 24 Mar 2022 12:59

I'm trying to stream a security camera to VLC via RTSP. It works fine on Windows, but results in artifacts on Raspberry Pi.

I tried disabling hardware acceleration, but that didn't work either.

As soon as I rewrite the stream with e.g. the following command the stream works fine, but adds a ~5 second delay.

Code: Select all

ffmpeg -rtsp_transport tcp -i rtsp://user:password@192.168.100.200:554/front -preset ultrafast -x264opts keyint=15 -pix_fmt yuv420p -c:v libx264 -vf scale=-2:720 -flags2 fast -max_muxing_queue_size 1024 -f rtsp rtsp://localhost:554/frontcompressed
Attached is the VLC log debug file: https://pastebin.com/2d4q0bFH



Image

Rémi Denis-Courmont
Developer
Developer
Posts: 15318
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: RTSP stream not decoding properly / glitching on Raspberry Pi, but works properly Windows

Postby Rémi Denis-Courmont » 24 Mar 2022 16:10

The VLC build uses unofficial modules for video, so maybe look for help from your distro?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 55 guests