My PodCasts (1 Viewer)

moiristo

Portal Pro
November 17, 2006
342
27
Enschede
Home Country
Netherlands Netherlands
I found out that almost every stream I play in MP 0.2.2 gets played by audioplayer, even if the http stream is in wmv or avi format. Is this a bug in MP (something like an incorrect SupportsFile implementation of the videoplayer)?
 

fcsobel

Portal Pro
December 4, 2005
127
6
Moiristo, Your approach sounds interestring. I did not know there was a VLC plugin. I put the latest source code out in the zip file if you want to pull it down. The projects have been cleaned up and reorganziaed with lots of changes related to Torrents but some on the PodCasts side as well.

http://projects.c3o.com/MediaPortal/plugins.zip

Note: I changed from g_player.Play() to PlayAudioStream() for audio files. Play() did not work well for me under 0.2.2.0.
 

keith2045

Portal Pro
February 16, 2006
264
2
Missouri
Home Country
United States of America United States of America
I'm not sure if this is the plugin or just a problem with 2.2.0, but i'm no longer able to stream h.264 files (.mov). I get a green circle in the middle of the screen that doesnt go away. I can hear it, but get no video.
 

moiristo

Portal Pro
November 17, 2006
342
27
Enschede
Home Country
Netherlands Netherlands
I'm not sure if this is the plugin or just a problem with 2.2.0, but i'm no longer able to stream h.264 files (.mov). I get a green circle in the middle of the screen that doesnt go away. I can hear it, but get no video.

If you check the MediaPortal log, you will probably see that AudioPlayer is trying to play the stream you request. I'm really starting to think that this is a bug in MP 0.2.2. It could have something to do with the fact that g_player.PlayAudioStream() is being called, but I'm pretty certain that it did the same when using g_player.Play(). Anyway, the AudioPlayer causes the plugin to stay in 'load-state'. This is why I now play all http streams with the VLC plugin (although it isn't perfect either, see my next post :)).
 

moiristo

Portal Pro
November 17, 2006
342
27
Enschede
Home Country
Netherlands Netherlands
Moiristo, Your approach sounds interestring. I did not know there was a VLC plugin. I put the latest source code out in the zip file if you want to pull it down. The projects have been cleaned up and reorganziaed with lots of changes related to Torrents but some on the PodCasts side as well.

http://projects.c3o.com/MediaPortal/plugins.zip

Note: I changed from g_player.Play() to PlayAudioStream() for audio files. Play() did not work well for me under 0.2.2.0.

Thanks, I'll look into it when I'm behind my own computer again... The only thing I changed was that I removed all the file extension checks and just call g_player.Play(). After testing, I found the following problems:

1) Playing video files that could be handled by the internal videoplayer are handled by the internal audioplayer, causing the plugin to stay in a loading state. As I said, I think this is a bug in MP. You could set the VLC plugin to always load http streams, but when listening audio only, it (unnecessarily) goes to fullscreen. Besides, it causes trouble with other plugins like the last.fm plugin.

2) With the vlc buffer set to 1200, I still get lags in the video (mostly at the start). I think this is why iTunes first downloads the file before playing it. Maybe this plugin should do something similar. Anyway, I'll try some higher buffering values tomorrow :)
 

moiristo

Portal Pro
November 17, 2006
342
27
Enschede
Home Country
Netherlands Netherlands
I was just thinking, what would it do if you first call g_player.PlayVideoStream(), and when that fails, you call g_player.Play() or g_player.PlayAudioStream()?

Edit: I read this thread with Michel. I know understand that it is intentionally being played by AudioPlayer. I guess it broke down in v0.2.2 :(
 

Peter Pan

Portal Pro
April 22, 2004
119
3
Kiel
Home Country
Germany Germany
MediaPortal Version: MP 0.2.2, SVN 12541, TVEngine 3 SVN 12537
MediaPortal Skin: BlueTwo
Windows Version: WindowsXP SP2
CPU Type: Pentium 4 2.8GHz
HDD: Segate 160GB
Memory: 512 MB
Motherboard: Barebone Hermes 651
Motherboard Chipset: MSI 651
Motherboard Bios: Newest
Video Card: Geforce FX 5200
Video Card Driver: 8.1.9.8
Sound Card: On Board Realtek ALC650
Sound Card AC3:
Sound Card Driver:
1. TV Card: Cinergy 12000 DVB-T
1. TV Card Type: DVB-T
1. TV Card Driver: 4.8.0.16 (BDA)
MPEG2 Video Codec: Cyberlink PDVD6
MPEG2 Audio Codec: Cyberlink PDVD6


Hi all,

The current version of 'My podcast' did not work here.

If I open the configuration I get an exception. (See logfiles)
 

Users who are viewing this thread

Top Bottom