Page 1 of 1

IPTV recording from command line

Posted: 01 Mar 2019 12:25
by Markus00
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.

Re: IPTV recording from command line

Posted: 01 Mar 2019 14:07
by unidan
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.

Re: IPTV recording from command line

Posted: 01 Mar 2019 23:13
by Markus00
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

Re: IPTV recording from command line

Posted: 03 Mar 2019 12:14
by Luca1980
It does actually, even if the red button does not show as pressed.