Record a UDP source to a .ts file (x minutes)

About encoding, codec settings, muxers and filter usage
carlos_am_2003
Blank Cone
Blank Cone
Posts: 12
Joined: 17 Aug 2023 22:50

Record a UDP source to a .ts file (x minutes)

Postby carlos_am_2003 » 17 Aug 2023 22:56

Hello!

Using VLC command line I need to record a file with, for example, 1 minute.

I tried:

Code: Select all

vlc -I dummy UDP_URL :demux=dump :demuxdump-file="test.ts" --stop-time=60.0 --drop-late-frames :udp-caching=3000 vlc://quit
Help me please!

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

Re: Record a UDP source to a .ts file (x minutes)

Postby Rémi Denis-Courmont » 18 Aug 2023 10:00

You cannot use time with demuxdump.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

carlos_am_2003
Blank Cone
Blank Cone
Posts: 12
Joined: 17 Aug 2023 22:50

Re: Record a UDP source to a .ts file (x minutes)

Postby carlos_am_2003 » 18 Aug 2023 13:50

In that case, I must kill the VLC process after a certain time. Correct?


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 5 guests