MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Get Support » General Support


General Support Post problems you have when using MediaPortal, or pre installation questions in here.

Reply
 
Thread Tools Display Modes
Old 2007-01-08, 14:07   #1 (permalink)
Portal Member
 
Join Date: Jan 2006
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts


Default Using VLC with mediaportal

Hi all!

I'm using MediaPortal Version 0.2.2.0 but I have issues with mp4 subtitles. For this reason, and many others, I'd like to use VLC to play certain files. Since most of the files are fine, I messed around the "My Programs" plugin, but lauching VLC thorugh that doesn't work: on the screen I still see the browsed directory, I can hear the audio of the file being played and the remote does not control either MP or VLC. So I came up with a hacked solution by calling a bat file which shuts down MP and starts VLC:

Code:
taskkill /F /IM Mediaportal.exe
"C:\Program Files\VideoLAN\VLC\VLC.exe" "%~f1"
taskkill /F /IM explorer.exe
explorer.exe
I have to restart explorer because killing MP makes the task bar disappear.

Is there a more "elegant" solution? Do you know why the VLC video is hidden behind MP?
quake74 is offline   Reply With Quote
Old 2007-01-08, 15:23   #2 (permalink)
Portal Member
 
aggi's Avatar
 
Join Date: Jan 2006
Location: Berlin
Age: 40
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

Quote:
Do you know why the VLC video is hidden behind MP?
mp setup- general - mp alway on top???
__________________
tschau aggi

my corner: http://www.aggis.de/barebone.htm
aggi is offline   Reply With Quote
Old 2007-01-09, 08:46   #3 (permalink)
Portal Member
 
Join Date: Jan 2006
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by aggi View Post
Quote:
Do you know why the VLC video is hidden behind MP?
mp setup- general - mp alway on top???

Wrong answer! It does it with or without "always on top". Thanks for playing!
quake74 is offline   Reply With Quote
Old 2007-01-09, 20:28   #4 (permalink)
Portal Member
 
wewe's Avatar
 
Join Date: Aug 2005
Location: Herxheim
Age: 47
Posts: 359
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

exclusive directx!

thanks+regards
WeWe

(more elegant solution: use the inbuild funtion "external player" of MP)
__________________
Hard: ASUS K8M-VX, Sempron 3100+, MSI NX6200AX-TD256, Spinpoint SP2004C, WinTV PVR 150, MCE Remote + Keyboard / Soft: Win XP MCE, MP 0.2.1.0
wewe is offline   Reply With Quote
Old 2007-01-10, 01:43   #5 (permalink)
Portal Member
 
Join Date: Dec 2006
Location: Houston, TX
Posts: 90
Thanks: 1
Thanked 2 Times in 2 Posts

Country:


Default

Here is what I do... I don't use built in MP video player because I need to use different players for different file types (and MP only allows one external player to be set up), so I use a small VB script. The script is called MoviePlayer.vbs, and that is the "program" I set up as an external player in MP. The contents of the script is as follows:

Set oArgs = WScript.Arguments
sFilePath = oArgs(0)
Set oShell = CreateObject("WScript.Shell")

iRC = oShell.Run("""" & sFilePath & """")

Wscript.Quit iRC

This will take the file name of the movie file and launch it. The beauty of this is two-fold. First, when you use a regular batch file, it opens up a Command prompt window. This does not happen with this script, so your external player gains focus directly.

Second, it does not launch the external player directly, it launches the movie file, so you have to use file associations in Windows. I have Zoom Player associated with AVI files in windows, and QuickTime player associated with M4V files (iTunes downloads).

So all I do in MP is click on the movie, the script launches the associated movie in the right player. Zoom Player launches directly into full-screen, so you don't even notice it's there. QuickTime launches in a window, but I have mapped a key to my remote that switches it to full-screen with a key press.

Btw, I don't take credit for writing that script, I found it using Google, I've just modified it for my needs.
samundsen is online now   Reply With Quote
Old 2007-01-18, 15:56   #6 (permalink)
Portal Member
 
Join Date: Jan 2006
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by wewe View Post
exclusive directx!

thanks+regards
WeWe

(more elegant solution: use the inbuild funtion "external player" of MP)
Sorry for not following up, but neither the "exclusive directx" nor the "external player" option solved the problem for me, I already tried. I am converting to mkv whenever possible to solve the issue. (It's just a remux, not a re-compression so it's fairly speedy.)

Thnx to samundsen for the alternative solution!
quake74 is offline   Reply With Quote
Reply

Bookmarks

Tags
vlc

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
System requirements for HDTV with MediaPortal Tech Geek Hardware Selection Help 62 2007-08-08 08:20
MediaPortal GET YOU GOING GUIDE aal Tips and Tricks 19 2007-06-22 19:39
A perfect HTPC with MP & PVR Scheduler & faster XP STSC Tips and Tricks 16 2007-01-30 23:40
PVR Scheduler: cant make it work ethanx Codecs, External Players 1 2006-03-20 00:42
Compile problems Anonymous General Development (no feature request here!) 1 2004-04-28 22:49


All times are GMT +1. The time now is 07:06.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden