Official Xtreamer Forums: VideoLAN - VLC package discussion - Official Xtreamer Forums

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

VideoLAN - VLC package discussion Media streaming

#1 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 13 January 2011 - 18:08

VLC is a free and open source cross-platform multimedia player and framework, that plays most multimedias files as well as DVD, Audio CD, VCD, and various streaming protocols.

It is simple to use, yet very powerful and extendable.

http://www.videolan.org/

More info soon...
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

#2 User is offline   pven 

  • Member
  • Group: Members
  • Posts: 168
  • Joined: 17-June 09
  • City:Hornberg
  • Country:Germany

Posted 14 January 2011 - 20:43

Ok, I was able to install it and I see some VLC-stuff in /home/epkg. However: I have no idea how to use it on eTrayz. :mrgreen:
0

#3 User is offline   pennywise 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 29-November 10
  • City:Meppen
  • Country:Germany

Posted 15 January 2011 - 20:54

Dear Hijacker!

Thank you for the implementation of my request.
I´ve got the problem, that I´m not able to start the application.

I use following syntax:

vlc --extraintf=http --daemon --http-host 192.168.2.108:1234

This is the output:

[8:/root]$ vlc --extraintf=http --daemon --http-host 192.168.2.108:1234
VLC media player 0.9.9a Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure  '--build=i386-pc-linux-gnu' '--host=arm-none-linux-gnueabi' '--target=arm-none-linux-gnueabi' '--prefix=/opt' '--enable-v4l' '--disable-v4l2' '--enable-bonjour' '--enable-x264' '--enable-dvbpsi' '--enable-a52' '--enable-dvdnav' '--with-dvdnav-config-path=/home/slug/optware/cs08q1armel/staging/opt/bin' '--enable-faad' '--enable-flac' '--disable-gnutls' '--enable-mpc' '--enable-ncurses' '--enable-ogg' '--enable-png' '--disable-remoteosd' '--enable-shout' '--enable-speex' '--enable-vorbis' '--disable-alsa' '--disable-dca' '--disable-glx' '--disable-gnomevfs' '--disable-libcdio' '--disable-libcddb' '--disable-screen' '--disable-sdl' '--disable-wxwidgets' '--disable-skins2' '--disable-x11' '--disable-nls' '--disable-static' 'build_alias=i386-pc-linux-gnu' 'host_alias=arm-none-linux-gnueabi' 'target_alias=arm-none-linux-gnueabi' 'CC=/home/slug/optware/cs08q1armel/toolchain/arm-2008q1/bin/arm-none-linux-gnueabi-gcc' 'LDFLAGS= -L/home/slug/optware/cs08q1armel/staging/opt/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link,/home/slug/optware/cs08q1armel/staging/opt/lib ' 'CPPFLAGS=-O2   -pipe -I/home/slug/optware/cs08q1armel/staging/opt/include -I/home/slug/optware/cs08q1armel/staging/opt/include/ncurses' 'CPP=/home/slug/optware/cs08q1armel/toolchain/arm-2008q1/bin/arm-none-linux-gnueabi-gcc -E' 'CXX=/home/slug/optware/cs08q1armel/toolchain/arm-2008q1/bin/arm-none-linux-gnueabi-g++' 'PKG_CONFIG_PATH=/home/slug/optware/cs08q1armel/staging/opt/lib/pkgconfig'
[00000001] main libvlc debug: translation test: code is "C"


I think the application didn´t start....

[9:/root]$ netstat -an | grep 1234
[10:/root]$

[12:/root]$ ps aux | grep -i vlc
sysadmin 2527 0.0 0.4 1812 548 pts/1 S+ 21:48 0:00 grep -i vlc
[13:/root]$

Which syntax do you use to start the app?

Have a nice evening,
Pennywise
0

#4 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 15 January 2011 - 21:33

No idea how to use it :). I was hoping for you guys to figure it out or you already know how to use it. I just compiled the latest version and made it available as easy installation with my APP Installer.

As for your try. It looks like you already have the optware version of VLC installed and by default it takes that executable from the path. This is on my eTRAYz:

[12:~]$ which vlc
/home/epkg/bin/vlc


But if I try to start it I get this:

[13:~]$ vlc
VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privileged TCP ports
you can use vlc-wrapper (make sure it is Set-UID root and
cannot be run by non-trusted users first).


You need to type full path to the application like so /home/epkg/bin/vlc. So I tried your systax with my VLC version ran as sysadmin user:

[9:~]$ sudo -u sysadmin /home/epkg/bin/vlc --extraintf=http --daemon --http-host 192.168.0.25:1234
VLC media player 1.1.5 The Luggage (revision exported)
LibVLC has detected an unusable buggy GNU/libc version.
Please update to version 2.8 or newer.
[10:~]$ ps -ef|grep vlc
sysadmin 28063     1  9 22:25 ?        00:00:00 /home/epkg/bin/vlc --extraintf=http --daemon --http-host 192.168.0.25:1234
root     28087 27849  0 22:26 pts/2    00:00:00 grep --color=auto vlc
[11:~]$ netstat -an|grep 1234
tcp        0      0 192.168.0.25:1234       0.0.0.0:*               LISTEN


eTRAYz has outdated glibc library which can't be simply replaced with new one so ignore the error. I think all will still work with old one. So just ignore the error.

It runs :). Now what? ;)

PS: This is what I see in my browser:

Posted Image

If you get forbidden error then edit this file /home/epkg/share/vlc/.http. I added this line:

192.168.0.0/24


Which is the network address of my LAN. Tomorrow I will edit the package and make APP Installer add this line automaticaly when you install VLC over it.
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

#5 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 16 January 2011 - 09:23

Update package to v2. Now the LAN network address is automaticaly added into .hosts file.
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

#6 User is offline   pennywise 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 29-November 10
  • City:Meppen
  • Country:Germany

Posted 16 January 2011 - 09:24

Here a litte progress report....
Now, when I use the "vlc option" of my satellite receiver, I could see all the wanted files (avi, mkv etc....)
That´s quiet good, but I´m not able to play them (at the moment).

Unfortunatly I got no error message. I´ll be looking for any debug options to resolv my problemen.
I´ll test the access with my vlc player on my windows notebook, too.
The process of receiver and player on my nootebook should be the same.

Thank you so far for yor great support.
Have a nice sunday.

Regards,
Pennywise
0

#7 User is offline   Joze 

  • Member
  • Group: Members
  • Posts: 88
  • Joined: 26-June 10
  • Country:Spain

Posted 16 January 2011 - 17:25

View PostTheHijacker, on 16 January 2011 - 09:23, said:

Update package to v2. Now the LAN network address is automaticaly added into .hosts file.



How?
0

#8 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 16 January 2011 - 17:30

View PostJoze, on 16 January 2011 - 17:25, said:

How?


How to update? From APP Installer of course. Search for VLC package. Select latest version from the list of versions and he will prompt you if you wish to update.
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

#9 User is offline   Joze 

  • Member
  • Group: Members
  • Posts: 88
  • Joined: 26-June 10
  • Country:Spain

Posted 16 January 2011 - 17:33

I knew that the question sounded stupid, but, Ive have no upgrade available. currently 1.1.5-2 and only.
firmware 1.0.7 and installer 2.5

Am I outofdate?
0

#10 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 16 January 2011 - 17:43

I APP Installer doesn't say "Upgrade available" then you are up-to-date.

1.1.5-2 means version 1.1.5 with my package internal version 2. I usualy remove old versions so only latest one is available for users.
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

#11 User is offline   Ominae 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 14-January 11
  • Country:Sweden

Posted 17 January 2011 - 19:13

View PostTheHijacker, on 17 January 2011 - 17:27, said:

You need to start it first using SSH console terminal. Then open your browser with ET IP and port 1234.


err shh console what how where when :P and how do you start it when i work that SHH thing out :P
0

#12 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 17 January 2011 - 19:47

View PostOminae, on 17 January 2011 - 19:13, said:

err shh console what how where when :P and how do you start it when i work that SHH thing out :P


Nevermind. Upgrade to v3 of the package. I added autostart script that will start the daemon automaticaly. You can also control it via APP Installer.

Basicly he runs following command:

/home/epkg/bin/vlc --extraintf=http --daemon --http-host 192.168.0.25:1324


I changed the port for 1324 since 1234 is too common :). Clicking on Launch APP will open WebGUI.
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

#13 User is offline   pennywise 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 29-November 10
  • City:Meppen
  • Country:Germany

Posted 18 January 2011 - 13:16

I got this error, when I use the vlc player on my windows computer.


main debug: processing request item http://192.168.2.108:1324 node Wiedergabeliste skip 0
main debug: resyncing on http://192.168.2.108:1324
main debug: http://192.168.2.108:1324 is at 0
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'http://192.168.2.108:1324'
main debug: thread (input) created at priority 1 (../.././src/input/input.c:214)
main debug: thread started
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path 'C:\Users\thorben.MK\AppData\Local\Temp'
main debug: `http://192.168.2.108:1324' gives access `http' demux `' path `192.168.2.108:1324'
main debug: creating demux: access='http' demux='' path='192.168.2.108:1324'
main debug: looking for access_demux module: 0 candidates
main debug: no access_demux module matched "http"
main debug: TIMER module_need() : 0.191 ms - Total 0.191 ms / 1 intvls (Avg 0.191 ms)
main debug: creating access 'http' path='192.168.2.108:1324'
main debug: looking for access module: 2 candidates
access_http debug: http: server='192.168.2.108' port=1324 file=''
main debug: net: connecting to 192.168.2.108 port 1324
qt4 debug: IM: Setting an input
main debug: connection succeeded (socket = 1444)
access_http debug: protocol 'HTTP' answer code 200
access_http debug: Content-Type: text/html; charset=UTF-8
access_http debug: this frame size=31748
main debug: using access module "access_http"
main debug: TIMER module_need() : 262.500 ms - Total 262.500 ms / 1 intvls (Avg 262.500 ms)
main debug: Using AStream*Stream
main debug: pre buffering
main debug: received first data after 160 ms
main debug: pre-buffering done 1024 bytes in 0s - 6 KiB/s
main debug: looking for stream_filter module: 2 candidates
main debug: no stream_filter module matching "any" could be loaded
main debug: TIMER module_need() : 0.193 ms - Total 0.193 ms / 1 intvls (Avg 0.193 ms)
main debug: looking for stream_filter module: 1 candidate
main debug: using stream_filter module "stream_filter_record"
main debug: TIMER module_need() : 0.114 ms - Total 0.114 ms / 1 intvls (Avg 0.114 ms)
main debug: creating demux: access='http' demux='' path='192.168.2.108:1324'
main debug: looking for demux module: 51 candidates
lua debug: Trying Lua scripts in C:\Users\thorben.MK\AppData\Roaming\vlc\lua\playlist
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\playlist
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\anevia_streams.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\anevia_xml.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\appletrailers.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\bbc_co_uk.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\break.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\canalplus.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\cue.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\dailymotion.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\france2.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\googlevideo.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\jamendo.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\joox.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\katsomo.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\koreus.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\lelombrik.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\megavideo.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\metacafe.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\metachannels.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\mpora.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\pinkbike.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\rockbox_fm_presets.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\vimeo.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\youtube.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\youtube_homepage.lua
avcodec debug: couldn't guess format
vobsub debug: this doesn't seem to be a vobsub file
ps warning: this does not look like an MPEG PS stream, continuing anyway
main debug: using demux module "ps"
main debug: TIMER module_need() : 368.347 ms - Total 368.347 ms / 1 intvls (Avg 368.347 ms)
main debug: looking for meta reader module: 2 candidates
lua debug: Trying Lua scripts in C:\Users\thorben.MK\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.lua
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 3.683 ms - Total 3.683 ms / 1 intvls (Avg 3.683 ms)
main debug: `http://192.168.2.108:1324' successfully opened
ps warning: garbage at input, trying to resync...
main debug: EOF reached
main debug: removing module "ps"
main debug: removing module "stream_filter_record"
main debug: removing module "access_http"
main debug: waitpipe: object killed
main debug: thread ended
main debug: dead input
main debug: thread times: real 0m0.954054s, kernel 0m0.046800s, user 0m0.015600s
main debug: changing item without a request (current 0/1)
main debug: nothing to play
qt4 debug: IM: Deleting the input
main debug: TIMER input launching for 'http://192.168.2.108:1324' : 797.041 ms - Total 797.041 ms / 1 intvls (Avg 797.041 ms)


I try to open the networkstream with following command "http://192.168.2.108:1324" as you can see here:
Attached File  vlc1.jpg (63.67K)
Number of downloads: 161

This is a screenshot of "http://192.168.2.108:1324"
Attached File  VLC media player - Web Interface_1295356179412.jpeg (57.51K)
Number of downloads: 179

Any idea or experience?

Best regards,
Pennywise
0

#14 User is offline   pven 

  • Member
  • Group: Members
  • Posts: 168
  • Joined: 17-June 09
  • City:Hornberg
  • Country:Germany

Posted 18 January 2011 - 21:34

The IP of my eTrayz is 192.168.178.26, but when I check the vlc-process it shows 'sysadmin 1611 1 0 22:27 ? 00:00:01 /home/epkg/bin/vlc --extraintf=http --daemon --http-host 192.168.0.25:1324'. Looks like the wrong IP is used?
0

#15 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 18 January 2011 - 21:52

Yeah. Thats IP of my eTRAYz :).

Sorry for the screwup. v4 of the package is now online that fixes this problem.
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

#16 User is offline   Joze 

  • Member
  • Group: Members
  • Posts: 88
  • Joined: 26-June 10
  • Country:Spain

Posted 18 January 2011 - 22:02

XD XD ... was so funny, you should change your internal IP address now we all know :D:D
Kidding :D

About commandline may you change that --http-host with --server-port, so the --daemon will start the server.
Doesnt need to statically asign the IP, does it?

Still getting this message even asking for help in commandline
VLC media player 1.1.5 The Luggage (revision exported)
LibVLC has detected an unusable buggy GNU/libc version.
Please update to version 2.8 or newer.

Cheers,
J.
0

#17 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 19 January 2011 - 07:05

No idea what command line is proper to start daemon. I just took what you users advised. :)

With 90% of APP that I prepare for APP Installer I never used before or will never be using again. VLC is one of them. ;)

So what would be proper full command line to start it up?

Regarding outdated glibc. Can't do anything about it. This is inside eTRAYz firmware and updating this lib will require me to recompiled almost all other applications again.
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

#18 User is offline   sleazymarc 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 18-August 10
  • Country:Canada

Posted 27 January 2011 - 23:14

Can this be done from windows? Also, is the VLC install only available on eTRAYz or MK1 and pro also?
0

#19 User is offline   Cobane 

  • Member
  • Group: Members
  • Posts: 78
  • Joined: 11-October 09
  • Country:Slovenia

Posted 28 January 2011 - 06:50

View PostTheHijacker, on 19 January 2011 - 07:05, said:

Regarding outdated glibc. Can't do anything about it. This is inside eTRAYz firmware and updating this lib will require me to recompiled almost all other applications again.

You could send a request to eTRAYz development team for FW V1.08!
0

#20 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 28 January 2011 - 06:52

Updating glibc will prevent all other applications that are currently working to stop working. So it is not that easy step :).
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users