IPTV recording from command line

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Markus00
New Cone
New Cone
Posts: 2
Joined: 01 Mar 2019 12:18

IPTV recording from command line

Postby Markus00 » 01 Mar 2019 12:25

Hello,

I need help with start recording iptv from command line.

I have read many post here. But it doesnt work for me.

I want to record 1 hour.

"C:\Program Files\VideoLAN\VLC\vlc.exe" http://xxxxx/45646.ts :sout=#duplicate{dst=file{dst=C:\JS45C.ts},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep --run-time=3600 vlc://quit

With this command VLC starts with the correct channel.
But no recording start.

I can record when I manual click on the record button in vlc.

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: IPTV recording from command line

Postby unidan » 01 Mar 2019 14:07

Hi, can you provide logs? You can provide them via gist or pastebin.
To help you, we need messages, to completely understand what your problems is.

From windows command line or linux or macos terminal, launch vlc with options -vv and --logfile=file

  • Windows example: vlc.exe -vv --logfile=c:\vlclog.txt
  • Linux example: vlc -vv --logfile=vlclog.txt, or vlc -vv 2>&1 > logfile.txt
Then paste the full resulting log here between [​code]and[​/code] (or use Pastebin.com if it's too long)

Also don't forget to name your Operating System and provide the VLC media player version.

Markus00
New Cone
New Cone
Posts: 2
Joined: 01 Mar 2019 12:18

Re: IPTV recording from command line

Postby Markus00 » 01 Mar 2019 23:13

I have the same problem with this command line.

vlc.exe -vv --logfile=c:\vlclog.txt

Vlc starts but no logfile is created. Tried different paths also.


Windows 10, VLC 3.0.6

Luca1980
New Cone
New Cone
Posts: 3
Joined: 03 Mar 2019 11:55

Re: IPTV recording from command line

Postby Luca1980 » 03 Mar 2019 12:14

It does actually, even if the red button does not show as pressed.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 33 guests