MyTrailers (2 Viewers)

sleepycol

Portal Pro
June 2, 2006
540
39
Home Country
United Kingdom United Kingdom
!!!!!! I got it working. I was calling g_Player.PlayVideoStream() instead of just g_Player.Play(). I was looking through the OnlineVideos source code when I figured it out. There are a few more fixes I need to make, and there is a slight discoloration in the clips which I think is because those are primarily flv streams; however, I think I have it almost back to its former glory.

-LRFalk01

Actually I have it working with the VLC plugin enabled for http connections. I do not view this as a problem. Any thoughts?


--- I am working on getting some of the mundane functionality working, and I am having a bit of a problem with the movie rating. The code that was in the original MyTrailers plugin does not work. My question to someone that used to use this plugin: did the rating aspect of it ever work?

Hi, Please do not use an external player like Mplayer or VLC. I would much much prefer the internal player. Just get people to install an FLV codec or provide a free one. I have no problems playing flv files with the internal player. I think its messy when people have to start using external players for media files. Just my opinion.

Yes, I'm pretty sure the rating used to work.

Keep up the good work!!

Cheers,
Colin
 

digitalfm

Portal Pro
February 4, 2008
114
18
-LRFalk01

Actually I have it working with the VLC plugin enabled for http connections. I do not view this as a problem. Any thoughts?

Hi, Please do not use an external player like Mplayer or VLC. I would much much prefer the internal player. Just get people to install an FLV codec or provide a free one. I have no problems playing flv files with the internal player. I think its messy when people have to start using external players for media files. Just my opinion.

Yes, I'm pretty sure the rating used to work.

Keep up the good work!!

Cheers,
Colin

I agree, if you could get this working with the internal player it would be much cleaner.

Great work by the way, can't wait to test it.
 

Major_Mess

Portal Pro
June 18, 2006
85
4
57
If going the Directshow route I think you will also need an FLV Splitter??

In Zoomplayer I use the Gabest FLV Splitter and ffdshow's flv codec for playback. Care needs taking with ffdshow when installing and making sure only the desired codec are selected in it's config.

In reality if all of the "odd" codecs could be enabled via a single external player it may be easier for users than manually installing various codecs and having to fiddle with merit values etc. The directshow route may also find new users going for codec packs which can cause havoc with merit values, and are a nightmare to repair.
 

LRFalk01

Portal Pro
August 27, 2007
257
92
39
Home Country
United States of America United States of America
I think the problem is coming from me using an http stream rather than an mms one. The original MyTrailers used mms streams which Yahoo! no longer uses for their trailers/clips. When I feed MP this http stream, it does not play. When I enable the VLC plugin to play the http streams, it plays. If someone is able to tell me why this is true, I would be happy to try to get it working with the internal player. When I enable VLC to play only the http streams in the VLC config, does not VLC only play the http streams and the internal player still plays everything else?

Thanks,
LRFalk01
 

Vattenmelon

Portal Pro
June 1, 2007
159
22
Home Country
Norway Norway
Have you tried the mplayerplugin? A somewhat nice feature with it is that you can add the .mplayer extension to a mediafile and mplayer will be used to play the file. E.g. http://test/test.flv --> http://test/test.flv.mplayer and mplayer will be used to play the file. This is how the onlinevideoplugin uses mplayer to play flv files. Another way to play flv files is to use the external flvplayer that comes with onlinevideos, but if i remember correct, the author of onlinevideos encourages use of mplayer instead of the flv player.

Unforunately, i don't think the mplayerplugin works correctly with rc2. The author says he will fix it when MP 1 has been released. In my opinion the best way would be to be able to play it through directshow and without external player, however, I have good experince with using mplayer in onlinevideos.
 

LRFalk01

Portal Pro
August 27, 2007
257
92
39
Home Country
United States of America United States of America
Both MPlayer and VLC nativity play this link:

http://playlist.yahoo.com/makeplayl...ightlau&sdm=&pt=&tcode=&audio=0&sdm=web&pt=rd

I'll see if when I enable the MPlayer external player, it also plays the media.

If the rating feature was working in the old version of MyTrailers, I do not think it has been working for a long time. I have just got this working. A lot of the code for it was already there, but it had some logic errors, and the control for this in the XML was not even there.
 

LRFalk01

Portal Pro
August 27, 2007
257
92
39
Home Country
United States of America United States of America
Okay, it is probably time to have some people try this out. I think I have attached the dll and the two skins for the base gui of MP. In order for my current rendition of MyTrailers to work, you must have the external VLC player plugin installed:

MEDIAPORTAL - free MediaCenter HTPC Software - VideoLAN External Player

For the above plugin take note of the additional installation step:

1) Make sure you installed the latest version of VLC from VideoLAN.
2) Copy 'libvlc.dll' from 'VLC' to the MP root folder (Usually C:program FilesTeam MediaPortalMediaPortal)
3) Install the MPI
4) Enable the VideoLan plugin in the MP configuration
5) Configure the streams and extensions it should play

Once you have installed the external player plugin for VLC, you will have to exit the MP config and get back in. (At least I did.) For step 5 of the install of this config, I only enagled 'http' streams.

To get my current MyTrailers to work, you have to be on a version of MP that does not have MyTrailers as a default plugin (1.0RC2). You put the attached dll in %MP_homeDir%\MediaPortal\plugins\Windows\

Once you have put MyTrailers.dll in the proper place, you have to open the MP config and enable it. There is still a MyTrailers config, but do not mess with it because it does nothing right now.

That is all that is needed to get it to work. Some of the files it streams have some discoloration. This can be fixed by changing VLC's default video output module as outlined below:

In VLC go to Setting - Preferences - Video - Output Modules - DirectX. (Make sure the Advanced Options box is checked.) Uncheck the 'Use Hardware YUV -> RGB Conversions' box.


------------------- I've removed the attachment see further down in the post for it
 

Vattenmelon

Portal Pro
June 1, 2007
159
22
Home Country
Norway Norway
Sorry, didn't work to good. Wasn't able to see any movies..Belive I did the installation steps you described in your post. View attachment 23427 View attachment 23428

Hmm.. I see other gets it to work, so it is obvious that it is my problem..Seems like I can't get the videolan plugin to get startet, at last the config options to use it for http:// streams isn't saved. It is unchecked everytime i open the config.
 

Pretoriano

Retired Team Member
  • Premium Supporter
  • October 1, 2007
    526
    133
    Roma, Italia
    Home Country
    Romania Romania
    My Trailers it's back again

    Hi LRFalk01 first i wanna thank you for your work,My Trailers is alive again thanks to you and it's working well(is working better that the previous one IMHO),is grabbing all the stuff(link,cover,everything) and you can watch the trailer either in fullscreen or window without any problem....Thanks again:D

    And BTW this plugin it's a "must have" :D
     

    LRFalk01

    Portal Pro
    August 27, 2007
    257
    92
    39
    Home Country
    United States of America United States of America
    Please do not use the attachment in my previous post . . . I had a lot of StreamWriting going on for testing. Please use the one attached here . . .I am deeply sorry for my hasty release.
     

    Users who are viewing this thread

    Top Bottom