| View previous topic :: View next topic |
| Author |
Message |
Benny-D
Joined: 29 Feb 2008 Posts: 865
|
Posted: Tue Apr 14, 2009 2:46 pm Post subject: Real Player requires additional components to play video |
|
|
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 |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 3254 Location: Simi Valley, CA
|
Posted: Tue Apr 14, 2009 9:33 pm Post subject: |
|
|
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 |
|
 |
Benny-D
Joined: 29 Feb 2008 Posts: 865
|
Posted: Wed Apr 15, 2009 1:10 am Post subject: |
|
|
| [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 |
|
 |
Krogdor
Joined: 18 Apr 2008 Posts: 1390 Location: The Interwebs
|
Posted: Wed Apr 15, 2009 2:05 am Post subject: |
|
|
| Most likely you have more codecs installed on your laptop than on your computer. |
|
| Back to top |
|
 |
Laszlo
Joined: 14 Feb 2005 Posts: 4710 Location: Boulder, CO
|
Posted: Wed Apr 15, 2009 2:29 am Post subject: |
|
|
| 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 |
|
 |
Krogdor
Joined: 18 Apr 2008 Posts: 1390 Location: The Interwebs
|
Posted: Wed Apr 15, 2009 2:51 am Post subject: |
|
|
| 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 |
|
 |
Sean
Joined: 12 Feb 2007 Posts: 2462
|
Posted: Wed Apr 15, 2009 7:40 am Post subject: |
|
|
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 |
|
 |
Laszlo
Joined: 14 Feb 2005 Posts: 4710 Location: Boulder, CO
|
Posted: Wed Apr 15, 2009 3:18 pm Post subject: |
|
|
| Sean: Your script just shows me a blank window. What else do I have to do? |
|
| Back to top |
|
 |
BoBoł Guest
|
Posted: Wed Apr 15, 2009 4:15 pm Post subject: |
|
|
| 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
|
Posted: Wed Apr 15, 2009 11:25 pm Post subject: |
|
|
| 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 |
|
 |
Krogdor
Joined: 18 Apr 2008 Posts: 1390 Location: The Interwebs
|
Posted: Wed Apr 15, 2009 11:35 pm Post subject: |
|
|
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 |
|
 |
Sean
Joined: 12 Feb 2007 Posts: 2462
|
Posted: Wed Apr 15, 2009 11:53 pm Post subject: |
|
|
| 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 |
|
 |
Krogdor
Joined: 18 Apr 2008 Posts: 1390 Location: The Interwebs
|
Posted: Wed Apr 15, 2009 11:59 pm Post subject: |
|
|
Aha. It works!
Your knowledge of everything Windows truly amazes me sometimes, Sean.. |
|
| Back to top |
|
 |
Laszlo
Joined: 14 Feb 2005 Posts: 4710 Location: Boulder, CO
|
Posted: Thu Apr 16, 2009 3:02 am Post subject: |
|
|
| 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 |
|
 |
Benny-D
Joined: 29 Feb 2008 Posts: 865
|
Posted: Thu Apr 16, 2009 4:38 am Post subject: |
|
|
| 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 |
|
 |
|