Page 1 of 1

Unable to initialize gtk, is DISPLAY set properly?

Posted: 17 Jan 2007 12:17
by hellbound
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

Posted: 17 Jan 2007 19:23
by Jean-Baptiste Kempf
What happens with -Irc ?

Posted: 19 Jan 2007 19:44
by hellbound
thanks,
it worked with http.

Posted: 26 Mar 2007 11:04
by JanSchumacher
Hi J-B,

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

Best regrads

Jan Schumacher[/quote]

Posted: 26 Mar 2007 11:22
by Jean-Baptiste Kempf
launch vlc in command line with the -Irc switch

Posted: 26 Mar 2007 11:34
by JanSchumacher
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

Posted: 26 Mar 2007 11:59
by Jean-Baptiste Kempf
Yes. Ignore.

Posted: 26 Mar 2007 12:54
by JanSchumacher
Hey J-B,

thank you for your help!

Best regrads

Jan