Unable to initialize gtk, is DISPLAY set properly?

*nix specific usage questions
hellbound
Blank Cone
Blank Cone
Posts: 19
Joined: 07 Sep 2006 18:38

Unable to initialize gtk, is DISPLAY set properly?

Postby hellbound » 17 Jan 2007 12:17

Hi guys,
I have one PVR150 and one WinTV Nova-S-Plus on one machine, I am trying to get the streaming with pvr150 to work,

Running this command will have following result.

Code: Select all

[root@localhost ~]# vlc -vvv pvr:/dev/video0:norm=pal:size=720x576:frequency=576250: \ > bitrate=3000000:maxbitrate=2000000 --sout http:10.1.1.14 --ttl 12 VLC media player 0.8.5 Janus starting VLC root wrapper... using UID 0 (root) *************************************** * Running VLC as root is discouraged. * *************************************** It is potentially dangerous, and might not even work properly. [00000001] main vlc debug: opening config file /root/.vlc/vlcrc [00000001] main vlc debug: checking builtin modules [00000001] main vlc debug: checking plugin modules [00000001] main vlc debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat [00000001] main vlc debug: recursively browsing `modules' [00000001] main vlc debug: recursively browsing `/usr/lib/vlc' [00000001] main vlc debug: recursively browsing `plugins' [00000001] main vlc debug: module bank initialized, found 222 modules [00000001] main vlc debug: opening config file /root/.vlc/vlcrc [00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU [00000001] main vlc debug: looking for memcpy module: 3 candidates [00000001] main vlc debug: using memcpy module "memcpymmxext" [00000281] main playlist debug: waiting for thread completion [00000281] main playlist debug: thread 26409872 (playlist) created at priority 0 (playlist/playlist.c:184) [00000282] main private debug: waiting for thread completion [00000282] main private debug: thread 36899728 (preparser) created at priority 0 (playlist/playlist.c:210) [00000283] main interface debug: looking for interface module: 1 candidate [00000283] main interface debug: using interface module "hotkeys" [00000283] main interface debug: thread 47389584 (interface) created at priority 0 (interface/interface.c:231) [00000285] main interface debug: looking for interface module: 1 candidate [00000285] main interface debug: using interface module "screensaver" [00000285] main interface debug: thread 57879440 (interface) created at priority 0 (interface/interface.c:231) [00000281] main playlist debug: adding playlist item `bitrate=3000000:maxbitrate=2000000' ( bitrate=3000000:maxbitrate=2000000 ) [00000281] main playlist debug: adding playlist item `pvr:/dev/video0:norm=pal:size=720x576:frequency=576250:' ( pvr:/dev/video0:norm=pal:size=720x576:frequency=576250: ) [00000287] main interface debug: looking for interface module: 5 candidates [00000287] main interface debug: using interface module "wxwidgets" [00000287] main interface debug: thread 105089936 (manager) created at priority 0 (interface/interface.c:216) Error: Unable to initialize gtk, is DISPLAY set properly? [00000001] main vlc debug: removing all interfaces [00000287] main interface debug: thread 105089936 joined (interface/interface.c:258) [00000287] main interface debug: removing module "wxwidgets" [00000285] main interface debug: thread 57879440 joined (interface/interface.c:258) [00000285] main interface debug: removing module "screensaver" [00000283] main interface debug: thread 47389584 joined (interface/interface.c:258) [00000283] main interface debug: removing module "hotkeys" [00000001] main vlc debug: removing playlist handler [00000282] main private debug: thread 36899728 joined (playlist/playlist.c:247) [00000281] main playlist debug: thread 26409872 joined (playlist/playlist.c:248) [00000281] main playlist debug: deleting playlist item `pvr:/dev/video0:norm=pal:size=720x576:frequency=576250:' [00000281] main playlist debug: deleting playlist item `bitrate=3000000:maxbitrate=2000000' [00000001] main vlc debug: removing all video outputs [00000001] main vlc debug: removing all audio outputs [00000001] main vlc debug: removing module "memcpymmxext" [00000001] main vlc debug: saving plugins cache file /root/.vlc/cache/plugins-04041e.dat

I appreciate any help.
Thanks

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:

Postby Jean-Baptiste Kempf » 17 Jan 2007 19:23

What happens with -Irc ?
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.

hellbound
Blank Cone
Blank Cone
Posts: 19
Joined: 07 Sep 2006 18:38

Postby hellbound » 19 Jan 2007 19:44

thanks,
it worked with http.

JanSchumacher
New Cone
New Cone
Posts: 8
Joined: 27 Jul 2006 09:05

Postby JanSchumacher » 26 Mar 2007 11:04

Hi J-B,

i have the same Problem like Hellbound. What do you mean with
What happens with -Irc ?
?

Best regrads

Jan Schumacher[/quote]

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:

Postby Jean-Baptiste Kempf » 26 Mar 2007 11:22

launch vlc in command line with the -Irc switch
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.

JanSchumacher
New Cone
New Cone
Posts: 8
Joined: 27 Jul 2006 09:05

Postby JanSchumacher » 26 Mar 2007 11:34

Hey J-B,

this is my Command

Code: Select all

vlc -vvv rtsp://192.168.2.10:554/mpeg4/media.amp --sout '#transcode{vcodec=WMV1,vb=384,scale=1,acodec=mp3,ab=96,channels=2}:duplicate{dst=std{access=http,mux=asf,dst=192.168.2.24:90}}'
on with position must i write -irc?

EDIT:

Hey J-B,

it Works! :D

But i become this Warning

Code: Select all

Compiler did not align stack variables. Libavcodec has been miscompiled and may be very slow or crash. This is not a bug in libavcodec, but in the compiler. Do not report crashes to FFmpeg developers.
Do you have an answer to this warning?

Best regrads

Jan Schumacher

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:

Postby Jean-Baptiste Kempf » 26 Mar 2007 11:59

Yes. Ignore.
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.

JanSchumacher
New Cone
New Cone
Posts: 8
Joined: 27 Jul 2006 09:05

Postby JanSchumacher » 26 Mar 2007 12:54

Hey J-B,

thank you for your help!

Best regrads

Jan


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

Who is online

Users browsing this forum: No registered users and 2 guests