AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Real Player requires additional components to play video
Goto page 1, 2  Next
 
Reply to topic    AutoHotkey Community Forum Index -> General Chat
View previous topic :: View next topic  
Author Message
Benny-D



Joined: 29 Feb 2008
Posts: 865

PostPosted: Tue Apr 14, 2009 2:46 pm    Post subject: Real Player requires additional components to play video Reply with quote

I have one MPEG file on my computer that I definitely remember I was able to play on my laptop before it was broken. Now I want t play it on my desktop with "Real Player" (not sure which version, I think it's "Real Player 11", but it's the same as I had on the laptop). Firstly, I get this message:

Real Player needs to download new software to play this clip

when I click on "Okay" I get this:

Real Player requires additional components to play this presentation. Please wait while a software update is located.

And, in a moment, this:

There is no software update available from Real Player to support this content.
Content Type: MPG

How can I solve this problem? I don't want to change the format of the file - I've already tried and noticed that the quality wasn't as good as what I saw on the laptop (by the way, the file is a piece of my home-made video uploaded onto the computer from a digital video camera recorder). Perhaps, I need to download some additional utility or so, I don't know...

And also, why does it say "Content Type: MPG" instead of "Content Type: MPEG" in the last message?
Back to top
View user's profile Send private message
[VxE]



Joined: 07 Oct 2006
Posts: 3254
Location: Simi Valley, CA

PostPosted: Tue Apr 14, 2009 9:33 pm    Post subject: Reply with quote

I had to lol @ this thread. Real Player is among the worst choices for a media player for a variety of reasons.

I use VLC, which is an open source media player (GNU GPL too).
_________________
Ternary (a ? b : c) guide     TSV Table Manipulation Library
Post code inside [code][/code] tags!
Back to top
View user's profile Send private message
Benny-D



Joined: 29 Feb 2008
Posts: 865

PostPosted: Wed Apr 15, 2009 1:10 am    Post subject: Reply with quote

[VxE] wrote:
I had to lol @ this thread. Real Player is among the worst choices for a media player for a variety of reasons.

I use VLC

Sure. I can use other player to play my video, but my point here is why I could use Real Player on my laptop, but can't do the same thing on my desktop - the same video clip and the same version of Real Player! The problem seems to lay not in Real Player, but in my computer.
Back to top
View user's profile Send private message
Krogdor



Joined: 18 Apr 2008
Posts: 1390
Location: The Interwebs

PostPosted: Wed Apr 15, 2009 2:05 am    Post subject: Reply with quote

Most likely you have more codecs installed on your laptop than on your computer.
Back to top
View user's profile Send private message AIM Address
Laszlo



Joined: 14 Feb 2005
Posts: 4710
Location: Boulder, CO

PostPosted: Wed Apr 15, 2009 2:29 am    Post subject: Reply with quote

After I installed DivX, RealPlayer started to play more video, like MPEG-4, with .mpg extension, but also .avi files. It finds codecs of other programs.
Back to top
View user's profile Send private message
Krogdor



Joined: 18 Apr 2008
Posts: 1390
Location: The Interwebs

PostPosted: Wed Apr 15, 2009 2:51 am    Post subject: Reply with quote

Laszlo wrote:
It finds codecs of other programs.


Most video players do. Well, I don't know about one's like VLC that come prepackaged with most codecs anyway, but generally they do. Windows Media Player does as well.
Back to top
View user's profile Send private message AIM Address
Sean



Joined: 12 Feb 2007
Posts: 2462

PostPosted: Wed Apr 15, 2009 7:40 am    Post subject: Reply with quote

Those are called DirectShow Filters, based on COM. You can use them even inside AHK.
Code:
sFile:=   A_WinDir "\clock.avi"

Gui, +LastFound
Gui, Show, w600 h600 Center, Player

COM_Init()
pctl :=   COM_CreateObject(CLSID_FilgraphManager:="{E436EBB3-524F-11CE-9F53-0020AF0BA770}", IID_IMediaControl:="{56A868B1-0AD4-11CE-B03A-0020AF0BA770}")
pwin :=   COM_QueryInterface(pctl, IID_IVideoWindow:="{56A868B4-0AD4-11CE-B03A-0020AF0BA770}")
COM_Invoke(pctl, "RenderFile", sFile)
COM_Invoke(pwin, "Owner", WinExist())
COM_Invoke(pwin, "WindowStyle", 0x44000000)
COM_Invoke(pwin, "SetWindowPosition", 0, 0, 600, 600)
COM_Invoke(pwin, "Visible", -1)
COM_Invoke(pctl, "Run")
Return

GuiClose:
COM_Invoke(pwin, "Visible", 0)
COM_Invoke(pwin, "Owner", 0)
Gui, Destroy
COM_Release(pwin)
COM_Release(pctl)
COM_Term()
ExitApp
Back to top
View user's profile Send private message
Laszlo



Joined: 14 Feb 2005
Posts: 4710
Location: Boulder, CO

PostPosted: Wed Apr 15, 2009 3:18 pm    Post subject: Reply with quote

Sean: Your script just shows me a blank window. What else do I have to do?
Back to top
View user's profile Send private message
BoBoł
Guest





PostPosted: Wed Apr 15, 2009 4:15 pm    Post subject: Reply with quote

Quote:
Sean: Your script just shows me a blank window.
4 the records. Works fine for me XP/SP2/AHK 1.0.47.x
Back to top
Sean



Joined: 12 Feb 2007
Posts: 2462

PostPosted: Wed Apr 15, 2009 11:25 pm    Post subject: Reply with quote

Laszlo wrote:
Sean: Your script just shows me a blank window. What else do I have to do?
Without any error message being popped up? Which OS? I tested it in XPSP3. What happens with this?
Code:
#Persistent

sFile := A_WinDir "\clock.avi"
COM_Init()
pctl := COM_CreateObject(CLSID_FilgraphManager:="{E436EBB3-524F-11CE-9F53-0020AF0BA770}", IID_IMediaControl:="{56A868B1-0AD4-11CE-B03A-0020AF0BA770}")
COM_Invoke(pctl, "RenderFile", sFile)
COM_Invoke(pctl, "Run")
Back to top
View user's profile Send private message
Krogdor



Joined: 18 Apr 2008
Posts: 1390
Location: The Interwebs

PostPosted: Wed Apr 15, 2009 11:35 pm    Post subject: Reply with quote

I'm not surprised it doesn't work for me, since I'm on Windows 7, but both of the scripts give me the error:

Code:
---------------------------
COM Error Notification
---------------------------
Function Name:   "RenderFile"
ERROR:      (0x80040216)
PROG:   
DESC:   
HELP:   ,0

ERROR2:   Member not found.

   (0x80020003)

Will Continue?
---------------------------
Yes   No   
---------------------------


Just figured I'd let you know.
Back to top
View user's profile Send private message AIM Address
Sean



Joined: 12 Feb 2007
Posts: 2462

PostPosted: Wed Apr 15, 2009 11:53 pm    Post subject: Reply with quote

Krogdor wrote:
Just figured I'd let you know.
Looks like the clock.avi file is missing in A_WinDir in your system. Change sFile to a real multimedia file in your machine.
Back to top
View user's profile Send private message
Krogdor



Joined: 18 Apr 2008
Posts: 1390
Location: The Interwebs

PostPosted: Wed Apr 15, 2009 11:59 pm    Post subject: Reply with quote

Aha. It works!

Your knowledge of everything Windows truly amazes me sometimes, Sean..
Back to top
View user's profile Send private message AIM Address
Laszlo



Joined: 14 Feb 2005
Posts: 4710
Location: Boulder, CO

PostPosted: Thu Apr 16, 2009 3:02 am    Post subject: Reply with quote

Sean wrote:
Looks like the clock.avi file is missing in A_WinDir in your system.
That's it. In Vista the clock.avi file is missing, too. I did not get any error message, though.
Back to top
View user's profile Send private message
Benny-D



Joined: 29 Feb 2008
Posts: 865

PostPosted: Thu Apr 16, 2009 4:38 am    Post subject: Reply with quote

Sean wrote:
Those are called DirectShow Filters, based on COM. You can use them even inside AHK.

Sean, is this script supposed to work as a kind of replacement for a codec? Will it work for any player? What's the main function of your script?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> General Chat All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group