How to record IP camera video throught RTSP

Some IP webcams requires Quicktime to show the image throught the browser.
To get the full URI with the video source, you can get it from a virtual machine with windows throught wireshark like this:


To reproduce it with vlc, use this command:

vlc "rtsp://"

Probably you should see the first frame as static frame and the following error:

Failed to open VDPAU backend cannot open shared object file: No such file or directory
avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)

You can install libvdpau-va-gl1 dependencie, but the problem persists.
If you prefer to use vlc (if you compile it with hw acceleration), you can enable the option --avcodec-hw vdpau

If you don't have vlc with hw acceleration enabled, you can use mvp. To install it, follow these steps:

sudo apt-get install mpv

To reproduce the video and dump it, you can use te following command:

mpv "rtsp://" -o output.mp4 --oautofps --oneverdrop

You can add the option --no-audio if you like.
Enjoy it!


Popular posts from this blog

How to fix Android when developer options are not available for this user

from: can't read /var/mail/ in Python scripts

Fix "Set scan parameters failed: Input/output error" on Ubuntu 16.04