NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) MVP & NMT MVPMC dongle v
« Previous 1 2 3 4 5 … 10 Next »
config VLC?

 
  • 0 Vote(s) - 0 Average
config VLC?
jasjol
Offline

Senior Member

Posts: 270
Threads: 78
Joined: Dec 2004
#1
2008-05-02, 09:50 AM
Hi

since i have problems with my GBPVR I would like to try VLC

how would a simple set up be in config file to enable VLC to se a folder where I have mpg files?


I looked at wiki etc

and is a little bit lost

so far I copied this into a file dongle.bin.config in c:/mvpMC

this folder and folder c:/videoC is shared to guest

what should I change ?

or do some of you have a simpler config file to use?


my config file:
## mvpmc (file://SVARTCOMP200710/mvpmc)
## mvpmc --startup emulate --emulate 192.168.1.42 &

vlc -I Telnet

#####################################################
#
# Example config file.
# NOTE: -lines that start with a '#' are comments
# -command lines should end with a semicolon ';'
#
#####################################################
#################################
# SECTION 1 Setting the Timezone
#################################
#set timezone to Eastern Time
# Other U.S. Timezones (with 2007 DST):
# CST+6CDT,M3.2.0/2,M11.1.0/2
# MST+7MDT,M3.2.0/2,M11.1.0/2
# PST+8PDT,M3.2.0/2,M11.1.0/2
#
### TZ=EST+5EDT,M3.2.0/2,M11.1.0/2; export TZ;
########################
# Setting the TZ variable above only affects the shell process this script
# runs in. If you want to telnet to the MVP and have the TZ variable set
# then we need to write it to the /etc/shell.config file that gets run
# everytime a new shell is started.
# This section is only needed if you want to telnet to the mvp
# and manually run things like mvpmc.
# It's great for debugging.
########################
# Echo the command to set the TZ variable to the shell.config file
#
### echo "TZ=EST+5EDT,M3.2.0/2,M11.1.0/2; export TZ" > /etc/shell.config;

#################################
# SECTION 2 Syncing the Time
#################################
# Set NTP variable to cause the system startup scripts to sync time.
# Use $SERVER if you are running a local TIME server.
# Note: $SERVER is the server IP address passed in with the DHCP response.
# You can attempt to sync to an internet TIME server by specifying the internet
# servers IP address/name.
# eg: sync to pool.ntp.org: >NTP=pool.ntp.org;
#
NTP=$SERVER;
#####################################################
# SECTION 3 Example of Mounting a Windows File Share
#####################################################
# a. Create /wxp_video directory on MediaMVP.
# b. Mount my Windows XP box's mpeg file share
#
# The following lines are commented out since they
# need to be customized on a per-user basis.
mkdir /wxp_video;
mount.cifs //192.1.1.42/videoC /wxp_video/ -o password=guest;

##########################################################################
# SECTION 4
# Start the mvpmc application.
# The mvpmc command line (line that starts the mvpmc application)
# should be ended with an ampersand instead of a semicolon. This
# causes the mvpmc application to run in the background. If this
# is not done then the mvp may hang or reboot after several days or weeks.
#
# The following mvpmc options start mvpmc with replaytv support and
# the replaytv color theme
##########################################################################
### mvpmc -R "ip=discover" -t /usr/share/mvpmc/replaytv.xml &
###
##
## mount CIFS, NFS, etc.
##
...

##
## create mvpmc file system
##
mkdir /mvpmc_media

##
## link tv, movies to /home/user/mnt/vidoes/tv and ../movies
##
ln -s /home/user/mnt/videos/tv /mvpmc_media/tv
ln -s /home/user/mnt/videos/movies /mvpmc_media/movies

##
## link pictures to /home/user2/mnt/photos
##
ln -s /home/user2/mnt/photos /mvpmc_media/pictures

##
## link music to /mvpmc_media/music
##
ln -s /home/user3/mp3 /mvpmc_media/music
Using DELL P4 1.5GB RAM 250 GB HD + DLINK DNS313 netdisk 1,5TB, 2 pieces of Hauppauge PVR150 w/45-button remote, 1 Popcorn Hour 110. Win XP SP3. GB-PVR v1.4.7 Plugins: Xrecord
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,945
Threads: 956
Joined: May 2006
#2
2008-05-02, 11:50 AM
There's quite a few problems, but the biggest ones are that

- vlc -I Telnet runs on the server, not client
- you files for vlc will need to be linked to a folder /videoC in mvpmc
- you don't have an mvpmc command line in the config file.

Martin
jasjol
Offline

Senior Member

Posts: 270
Threads: 78
Joined: Dec 2004
#3
2008-05-02, 12:22 PM
ok thanks for support:

"- vlc -I Telnet runs on the server, not client"
what should I write instead in config file?

"- you files for vlc will need to be linked to a folder /videoC in mvpmc"

what VLC files do you mean - is it the folder where VLC is? (C:/program/VLC) should this folder also be shared?


"- you don't have an mvpmc command line in the config file."

what MVPMC command line is needed for running VLC?

additional questions:
*in guest account should have or not have password?

* in line below is home referring to c:/home or is it referring to home folder for configfile (in my case c:/MVPMC)?
and is "home/user/mnt/videos/tv " just a normal path?

ln -s /home/user/mnt/videos/tv /mvpmc_media/tv
Using DELL P4 1.5GB RAM 250 GB HD + DLINK DNS313 netdisk 1,5TB, 2 pieces of Hauppauge PVR150 w/45-button remote, 1 Popcorn Hour 110. Win XP SP3. GB-PVR v1.4.7 Plugins: Xrecord
natewin
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Jun 2008
#4
2008-06-18, 08:04 PM (This post was last modified: 2008-06-18, 08:16 PM by natewin.)
jasjol Wrote:"- vlc -I Telnet runs on the server, not client"
what should I write instead in config file?

On the server you go to c:\program files\videolan\vlc\ and run "vlc -I Telnet" this will start a VLC server session. I have installed vlc as a NT service instead. You don't do anything on the MVP except for adding the --vlc VLC.SERVER.IP option to your mvpmc line (more later)

jasjol Wrote:"- you files for vlc will need to be linked to a folder /videoC in mvpmc"

what VLC files do you mean - is it the folder where VLC is? (C:/program/VLC) should this folder also be shared?

I don't know what this is. Your wxp_video share / mount should take care of making a file-browser folder. Now you can just use the file browser to open that folder and play video. Note, playing files from Windows shares seems to be worded strangely in the docs (to me anyway). It seems a bit buried, but from what I understand is that for any file you want to play using VLC you need to create a .m3u playlist with the full path of the file you want to play with VLC in the playlist. So far I have not been able to play more than one file in a row this way, so it is just one file/playlist for me right now.

Example: playlist.m3u contains
c:\wxp_movies\movie.avi

This will let VLC play the file from your PC. If you use the file browser and select the .avi it would not find the file, you need to make the playlist file. In this case I guess you really only need to share a playlist folder and just put the .m3u files that link to video files on your machine.


jasjol Wrote:"- you don't have an mvpmc command line in the config file."

what MVPMC command line is needed for running VLC?

Your config never starts mvpmc. you have it commented out here:
jasjol Wrote:## mvpmc --startup emulate --emulate 192.168.1.42 &

That is going to start mvmpc in emulate mode using the server 192.168.1.42.

My startup looks like: mvpmc -c 192.168.123.100 -D 192.168.123.100:0 --vlc 192.168.123.100 --emulate 192.168.123.100 --startup emulate

It tells mvpmc to use -c SLIMSERVER.SERVER.IP -D VNC.SERVER.IP:DISPLAY# --vlc VLC.SERVER.IP --startup (IN EMULATE MODE) --emulate EMULATE.SERVER.IP

See: http://mvpmc.wikispaces.com/commandline for more info on mvpmc command line options.

jasjol Wrote:additional questions:
*in guest account should have or not have password?

I have not set one, just used the "-o guest,ro;" OR "-o password=guest;" in your mount.

jasjol Wrote:* in line below is home referring to c:/home or is it referring to home folder for configfile (in my case c:/MVPMC)?
and is "home/user/mnt/videos/tv " just a normal path?

ln -s /home/user/mnt/videos/tv /mvpmc_media/tv


I am not using any of these file system links and it looks like you should be all set with the line:
mkdir /wxp_video;
mount.cifs //192.1.1.42/videoC /wxp_video/ -o password=guest;
that you already have. I think you have added some lines from someone else's startup script? I think you are linking to/from folders that don't even exist.

Note, you have a share called c:\mvpMC I use the default C:\Program Files\Devnz\GBPVR\Dongle directory Windows shared as MVPMC, and put all my dongle files and config files there to keep everything in one place. I don't have a c:\mvpmc share.
Khurram
Offline

Member

Posts: 112
Threads: 19
Joined: May 2008
#5
2008-09-22, 12:02 PM
natewin Wrote:I have installed vlc as a NT service instead. You don't do anything on the MVP except for adding the --vlc VLC.SERVER.IP option to your mvpmc line (more later)

Can you please post your command line used to install vlc as an nt service? I am having trouble using vlc this way. Thanks.
Khurram
Offline

Member

Posts: 112
Threads: 19
Joined: May 2008
#6
2008-09-25, 11:40 PM
I have finally found the correct command line to use vlc as a service for both http (at port 8081) and telnet (at its default port of 4212):
Quote:vlc.exe -I ntservice --ntservice-install --ntservice-extraintf=http,Telnet --ntservice-option=--http-host=0.0.0.0:8081
Zato
Offline

Member

Posts: 188
Threads: 38
Joined: May 2006
#7
2008-10-20, 06:16 PM
Thanks for posting this Khurram. Can you play DivX files through VLC? I'm interested in setting it up, but is there a step by step guide somewhere? Tongue
Dedicated HTPC: MSI K7N420 Pro, AMD 2200+, 1.5GB RAM, PVR150, 550Pro, ATI 9800XT, 300GB Maxtor HD, Diamond XTreme DDL Sound, MVP over wireless bridge, GBPVR 1.2.13
Khurram
Offline

Member

Posts: 112
Threads: 19
Joined: May 2008
#8
2008-10-27, 11:42 AM
Zato Wrote:Can you play DivX files through VLC? I'm interested in setting it up, but is there a step by step guide somewhere?

VLC can play a lot of different formats. Their website states
Quote:VLC media player is a highly portable multimedia player for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols
So it can play DivX at least on the PC. If you want to do watch it through MediaMVP, then I dont have any experience with that. VLC has extensive transcoding options, so you can play around with the options to see what would work correctly and then create a service including those options also.
Khurram
Offline

Member

Posts: 112
Threads: 19
Joined: May 2008
#9
2008-10-29, 02:51 AM
Zato Wrote:Can you play DivX files through VLC? I'm interested in setting it up, but is there a step by step guide somewhere?
Take a look at http://www.rawsontetley.org/ref_mvpmcvlc.html. It might be useful.
adm1jtg
Offline

Junior Member

Posts: 22
Threads: 9
Joined: Oct 2008
#10
2009-01-08, 04:58 PM
I am also looking to use a vlc implementation for streaming non-mpg files. In my case DVD (vob) and possibly RM files. Please let me know if you got the basic VLC streaming working and if you did exactly what steps to follow.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Config not loading Khurram 21 8,992 2008-10-27, 11:33 AM
Last Post: Khurram
  mvpmc config examples ggee 11 8,203 2008-05-01, 06:26 AM
Last Post: pz1
  dongle.bin.config options docs? paperchaser 5 3,269 2008-01-03, 05:50 PM
Last Post: mvallevand
  Name of dongle.bin.config? forzaKGB 9 4,654 2007-12-13, 11:28 PM
Last Post: mvallevand
  Trying to mount share with dongle.bin.config Rory 8 3,695 2007-11-08, 10:18 PM
Last Post: mvallevand
  dongle.bin.config - where from? onestar 1 1,766 2007-11-04, 03:35 AM
Last Post: mvallevand
  "new" mvp does not see dongle.bin.config fhmanas 10 5,276 2007-11-03, 02:43 PM
Last Post: fhmanas
  mvpmc config filename steveum 14 5,910 2007-10-20, 05:51 AM
Last Post: mvallevand
  Syntax of Commandline Options in dongle.bin.config jksmurf 27 8,558 2007-05-23, 11:26 PM
Last Post: jksmurf

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode