where is the LOG

*nix specific usage questions
mcygogo
Blank Cone
Blank Cone
Posts: 15
Joined: 10 Oct 2011 07:14

where is the LOG

Postby mcygogo » 18 Oct 2011 13:12

I compiled the VLC 1.1.12, and I run it in the terminal, It can play the local file, But It can NOT play the RTSP video. the terminal log like this :
$ ./bin/vlc-static rtsp://192.168.0.130:8554/chacha.mpg
VLC media player 1.1.12 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x9f41914] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Remote control interface initialized. Type `help' for help.
[0xa05cf1c] main input error: open of `rtsp://192.168.0.130:8554/chacha.mpg' failed: (null)
[0xa05cf1c] main input error: Your input can't be opened
[0xa05cf1c] main input error: VLC is unable to open the MRL 'rtsp://192.168.0.130:8554/chacha.mpg'. Check the log for details.

And I got a vlc player on my OS(utuntu), it can play the stream well, so, I am sure the stream is OK, but why I can play the stream by the vlc I compiled?
and the configure option is this : ../configure --prefix=/media/data/work/vlc/01src/vlc-1.1.12/01install_dir --enable-realrtsp --disable-nls --disable-mozilla --disable-lua --disable-glx --disable-skins2
and the error infomations tell me check the log file , but where is the log file ?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: where is the LOG

Postby Jean-Baptiste Kempf » 18 Oct 2011 14:41

USe -vvv and look at all the logs.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

mcygogo
Blank Cone
Blank Cone
Posts: 15
Joined: 10 Oct 2011 07:14

Re: where is the LOG

Postby mcygogo » 19 Oct 2011 03:47

USe -vvv and look at all the logs.
ok, now I can get the LOG, I found that I can NOT find a plugin for live555 rtsp stream. this is the log info:
[0x86518a4] main input debug: `rtsp://192.168.0.130:8554/chacha.mpg' gives access `rtsp' demux `' path `192.168.0.130:8554/chacha.mpg'
[0x86518a4] main input debug: creating demux: access='rtsp' demux='' path='192.168.0.130:8554/chacha.mpg'
[0x8655ac4] main demux debug: looking for access_demux module: 0 candidates
[0x8655ac4] main demux debug: no access_demux module matched "rtsp"
[0x8655ac4] main demux debug: TIMER module_need() : 0.181 ms - Total 0.181 ms / 1 intvls (Avg 0.181 ms)
[0x86518a4] main input debug: creating access 'rtsp' path='192.168.0.130:8554/chacha.mpg'
[0x8655aa4] main access debug: looking for access module: 1 candidate
[0x8655aa4] main access debug: net: connecting to 192.168.0.130 port 8554
[0x8655aa4] main access debug: connection succeeded (socket = 5)
[0x8655aa4] access_realrtsp access debug: rtsp connected

[0x8655aa4] access_realrtsp access warning: only real/helix rtsp servers supported for now
[0x8655aa4] main access debug: no access module matching "rtsp" could be loaded
[0x8655aa4] main access debug: TIMER module_need() : 1.360 ms - Total 1.360 ms / 1 intvls (Avg 1.360 ms)
[0x8655aa4] main access debug: waitpipe: object killed
[0x86518a4] main input error: open of `rtsp://192.168.0.130:8554/chacha.mpg' failed: (null)
[0x86518a4] main input error: Your input can't be opened
[0x86518a4] main input error: VLC is unable to open the MRL 'rtsp://192.168.0.130:8554/chacha.mpg'. Check the log for details.


and I just configure the src with --enable-live555 , so why the vlc can NOT find the live555 rtsp plugin ????

mcygogo
Blank Cone
Blank Cone
Posts: 15
Joined: 10 Oct 2011 07:14

Re: where is the LOG

Postby mcygogo » 19 Oct 2011 04:21

OK, I fixed it, I just need install the liveMedia-dev package

mcygogo
Blank Cone
Blank Cone
Posts: 15
Joined: 10 Oct 2011 07:14

How can I find the right source code from the LOG info

Postby mcygogo » 21 Oct 2011 11:33

I just begin to read the source code of VLC, and I found that I can get many informations from the LOG. But I can not find out the right source code which print the info,
for example I get info like this: [0x9df6260] main decoder debug: using decoder module "avcodec" , I just grep the info , but I can get nothing.
How can I find out the c file which print out the info ?
some one can share some experiences about reading the source code?


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 14 guests