--file-logging doesn't work (WinXP)

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
pps
New Cone
New Cone
Posts: 3
Joined: 27 Dec 2008 04:02

--file-logging doesn't work (WinXP)

Postby pps » 12 Jan 2009 19:59

Hi, guys.
I am unable to make VLC output logs to a file. I have tried all options outlined in VLC help:

vlc -vvv --file-logging --logfile=foo.log --logmode=text creation.mpg

vlc -vvv --file-logging --logfile=foo.log --logmode=html creation.mpg

vlc -vvv --file-logging --rrd-file=foo.log creation.mpg

Log file is never even created. The only relevant output of VLC seems to be this:

main error: option syslog does not exist

I have tested this on Linux(Ubuntu) and Mac OS X and it works fine, but on XP no such luck.

edit: VLC 0.9.8a

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: --file-logging doesn't work (WinXP)

Postby VLC_help » 13 Jan 2009 19:50

I can replicate this.

jvdstoel1
Blank Cone
Blank Cone
Posts: 20
Joined: 17 Nov 2008 22:39

Re: --file-logging doesn't work (WinXP)

Postby jvdstoel1 » 13 Jan 2009 20:32

Perhaps this topic viewtopic.php?f=14&t=52885 helps you further?

Johan

Steerpike
Blank Cone
Blank Cone
Posts: 32
Joined: 21 Mar 2007 06:06
Location: Bay Area, CA

Re: --file-logging doesn't work (WinXP)

Postby Steerpike » 14 Jan 2009 03:51

I'm having similar difficulties, but I did find something of a workaround.

First of all, the linked post above suggests:
"vlc INPUT --file-logging --logfile file_log.txt"
but aren't the rules on Windows that you must use the "--option=value" syntax, not "--option value" ?

Anyway, I tried all variations and the only way I can get a log file is to use the following combo:

""C:\Program Files\VideoLAN\VLC\vlc" P1000098.mov --extraintf=logger --verbose=2 ..."

This causes a log file named vlc-log.txt to be written in the current directory, as well as a log screen to be displayed during the processing. I have not found a way to give it a different name (not that I care).

What is more interesting/concerning, though, is that this file (vlc-log-txt) does not contain ALL the info shown on the screen. Even with --verbose=2 (or 3), I get a lot of 'main debug: ...' lines, etc, but what I DON'T get, and what is relevant to my current troubleshooting exercise, are entries such as this:

Code: Select all

[00000477] avcodec encoder debug: libavcodec already initialized [00000477] avcodec encoder warning: libfaac doesn't support this output format! (libfaac@0187EDA0) [00000477] avcodec encoder error: cannot open encoder [00000477] main encoder debug: TIMER module_Need() : 70.000 ms - Total 70.000 ms / 1 intvls (Avg 70.000 ms) [00000403] stream_out_transcode stream out error: cannot find audio encoder (mod ule:any fourcc:mp4a)
(I copied these from the screen log)

Khenatram
Blank Cone
Blank Cone
Posts: 61
Joined: 11 Nov 2008 10:55
VLC version: 0.8.6.i
Operating System: Windows

Re: --file-logging doesn't work (WinXP)

Postby Khenatram » 14 Jan 2009 07:04

Hi,

I am using following options

string[] initOptions = { NativeLibVlc.vlcInstallDirectory,
":no-one-instance",
":no-loop",
":no-drop-late-frames",
":disable-screensaver",
":vout=vout_directx",
"vlc INPUT --file-logging --logfile=" + NativeLibVlc.vlcInstallDirectory
+ "LogFile" + vlcHandle.ToString() + ".txt",
"--plugin-path=" + NativeLibVlc.vlcInstallDirectory
+ @"\plugins" };


but I cannot see the log file at vlc installation directory.

Regards,

Ram.

Khenatram
Blank Cone
Blank Cone
Posts: 61
Joined: 11 Nov 2008 10:55
VLC version: 0.8.6.i
Operating System: Windows

Re: --file-logging doesn't work (WinXP)

Postby Khenatram » 02 Apr 2009 10:29

Code: Select all

string[] initOptions = { NativeLibVlc.vlcInstallDirectory, ":no-one-instance", ":no-loop", ":no-drop-late-frames", ":disable-screensaver", ":vout=vout_directx", "--extraintf=logger", " --verbose=3", "--logfile=" + "D:\\VLC Log\\" + vlcHandle.ToString() + ".txt", "--plugin-path=" + NativeLibVlc.vlcInstallDirectory + @"\plugins", };

worked for me


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 56 guests