VLC record stream fail

About encoding, codec settings, muxers and filter usage
hip_zip
New Cone
New Cone
Posts: 1
Joined: 29 Nov 2020 14:36

VLC record stream fail

Postby hip_zip » 29 Nov 2020 14:45

Hello,

I am using VLC command line to record rtsp stream from two cameras.
On each feed, I add a png image using the logo property (it's a rule picture on the record).
The problem that I encounter is that on one camera, the recording is done without worries. But on the second, the recording is often empty file (few Kb) or two seconds (the duration should be 150 seconds).
When i try with VLC GUI, i have the same results.
The two command lines are the same, but on one record it works, but not on the other. The version of VLC is 3.0.7.
Can you help me solve this problem?

PS: I have met you with the code I use to register.

Code: Select all

# executer vlc pour enregistrer # camera de droite C:\"Program Files (x86)"\VideoLAN\VLC\vlc.exe --logo-file regle_droite_640_transcode.png rtsp://192.168.0.10/ONVIF/MediaInput?profile=6_def_profile2 --sout "#transcode{acodec=none,vcodec=mp4v,sfilter=logo}:std{access=file,dst=d:\\cam1.mp4,no-overwrite}" --run-time=150 -V dummy --intf=dummy --dummy-quiet # camera de gauche C:\"Program Files (x86)"\VideoLAN\VLC\vlc.exe --logo-file regle_gauche_640_transcode.png rtsp://192.168.0.11/ONVIF/MediaInput?profile=6_def_profile2 --sout "#transcode{acodec=none,vcodec=mp4v,sfilter=logo}:std{access=file,dst=d:\\cam2.mp4,no-overwrite}" --run-time=150 -V dummy --intf=dummy --dummy-quiet

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 9 guests