MyTrailers (1 Viewer)

JayDox

Portal Member
August 6, 2007
26
0
Home Country
Germany Germany
armandp
Do you access the filters of QT Lite directly from your plugin? And what do you use it for? Just for splitting the mov container?
I'm asking because on my XP testing environment local play-back of mov files works even without QT lite installed. In this case the internal MP videoplayer uses ffdshow audio filters, coreavc for the h.264 decoding and haali mediasplitter for the container format.
 

mortstar

MP Donator
  • Premium Supporter
  • January 30, 2008
    415
    41
    Home Country
    England England
    @armandp
    Do you access the filters of QT Lite directly from your plugin? And what do you use it for? Just for splitting the mov container?
    I'm asking because on my XP testing environment local play-back of mov files works even without QT lite installed. In this case the internal MP videoplayer uses ffdshow audio filters, coreavc for the h.264 decoding and haali mediasplitter for the container format.

    He doesn't set anything, it is all about how your DirectShow filters are setup. It's all about codec merits and directshow graphs.

    @armandp - This is probably me being selfish, but I think you should work on the plugin before trying to resolve individual codec requirements. Codecs are a real pain (as I'm sure the main dev's would tell you) and finding the right solution for one may not work for another.

    Those that have working .mov streaming can post up their graphedit screenshots to see if it helps out those who cannot get it working, though what I suggest to everybody is uninstall codec packs! They are more harm than good. A perfectly good codec (and cleaner) setup can be achieved with about 4 programs.

    EDIT: The latest version 0.7, worked fine last night. Using 'indigo' skin there was some pretty obvious GUI problems (posters appearing over layout options etc.) Streaming of 720p content seemed smoother, though that may just be my connection as I don't know if you've implemented a 'buffer' yet.
     

    armandp

    Retired Team Member
  • Premium Supporter
  • April 6, 2008
    990
    620
    Zoetermeer
    Home Country
    Netherlands Netherlands
    @armandp
    Do you access the filters of QT Lite directly from your plugin? And what do you use it for? Just for splitting the mov container?
    I'm asking because on my XP testing environment local play-back of mov files works even without QT lite installed. In this case the internal MP videoplayer uses ffdshow audio filters, coreavc for the h.264 decoding and haali mediasplitter for the container format.

    He doesn't set anything, it is all about how your DirectShow filters are setup. It's all about codec merits and directshow graphs.

    Correct. I just call PlayStream/Play() from MP nothing fancy.. if the merits are correct it plays.. simple as that. The graph JayDox is getting is one of many working combinations but it seems Haali Media Splitter is always involved.
    I have reproduced the unplayable situation on my laptop to better understand the codec problem. Currently trying to "fix" it ;)

    @armandp - This is probably me being selfish, but I think you should work on the plugin before trying to resolve individual codec requirements. Codecs are a real pain (as I'm sure the main dev's would tell you) and finding the right solution for one may not work for another.

    Yeah my focus is primary on finishing the plugin without the codec concerns expect molre updates to come.

    EDIT: The latest version 0.7, worked fine last night. Using 'indigo' skin there was some pretty obvious GUI problems (posters appearing over layout options etc.)

    The skin issue is probably because i based the skin on BlueTwo Wide. Haven't spend to much time on skinning yet. The layout button is currently the only button I put in the skin and the rest are imported existing skin files. So you probably can fix it by redefining this button position for the Indigo skin.

    Streaming of 720p content seemed smoother, though that may just be my connection as I don't know if you've implemented a 'buffer' yet.

    I guess it's your connection then ;) I did not implement a buffer yet.. have you tried pausing the the trailer a couple of seconds to see if you can play 1080p smoothly ? I'm currently implementing persistent trailer/category data and download/save & play trailers and ofcource more gui/usability improvements.
     

    JayDox

    Portal Member
    August 6, 2007
    26
    0
    Home Country
    Germany Germany
    @armandp
    Do you access the filters of QT Lite directly from your plugin? And what do you use it for? Just for splitting the mov container?
    I'm asking because on my XP testing environment local play-back of mov files works even without QT lite installed. In this case the internal MP videoplayer uses ffdshow audio filters, coreavc for the h.264 decoding and haali mediasplitter for the container format.

    He doesn't set anything, it is all about how your DirectShow filters are setup. It's all about codec merits and directshow graphs.

    I just asked because in the first post regarding Movie Trailers armandp wrote that QT Lite has to be installed. Since on my htpc Movie Trailers works without any problems, it's a very clean system with no codecpacks at all, I shouldn't care about this, but I want to help to figure out why some guys have play-back problems with Movie Trailers.

    You're certainly right that it's all about codec merits and directshow graphs, but why is it possible to successfully play local mov files in the internal MP videoplayer while Movie Trailers just shows a black screen? If it's really all about the setup of merits and graphs this should work, but it doesn't.
     

    armandp

    Retired Team Member
  • Premium Supporter
  • April 6, 2008
    990
    620
    Zoetermeer
    Home Country
    Netherlands Netherlands
    I think because local and streaming somehow compose a different graph.. why i don't know (yet)..

    btw i use this as an alternative to graphedit: Opensource GraphEdit project - Page 7 - Doom9's Forum
    I really helps in troubleshooting your codec problems ones you get used to it ;)

    I think i have a solution.. i will post screenshots and the steps i took to enable playback..
     

    JayDox

    Portal Member
    August 6, 2007
    26
    0
    Home Country
    Germany Germany

    armandp

    Retired Team Member
  • Premium Supporter
  • April 6, 2008
    990
    620
    Zoetermeer
    Home Country
    Netherlands Netherlands
    The following worked for me so i hope this will work for Sleepycol also ;)

    Ok in my case it seems like it can't find a proper H.264/AVC1 codec. Registering the MPC - Video Decoder should solve that like I thought earlier. After trying this on my laptop it still didn't work.. So I checked the graph with graphstudio (graphedit) (Remote URL -> http://movies.apple.com/movies/lionsgate/the_spirit/thespirit-tlr2_h320.mov). The mov is split into AAC and AVC1 by Haali. AAC was picked up by the Monogram AAC decoder.
    But for AVC1 it still couldn't locate a proper codec. After adding the MPC VIdeo Decoder manually to the graph and opening it properties i found that the codec didn't have H.264/AVC1 enabled by default.. so i enabled it and after this i could play all streams.

    The steps I took are below:

    1. Download and install the latest version of Haali Media Splitter (here).
    2. Download and register the MPC Video Decoder filter (download and register instructions (see #2 in referred post).
    3. Download GraphStudio
    4. Start graphstudio.exe (don't render a graph we only need to alter the properties of a codec)
      step1.jpg
    5. Go to Graph -> Insert Filter
    6. Select MPC - Video decoder and click Insert
      step2.jpg

      step3.jpg
    7. Right-Click on the MPC - Video decoder square and select Properties
    8. Click the Codecs tab
      step4.jpg
    9. Check H264 / AVC
      step5.jpg
    10. Click OK/Apply
    11. Close GraphStudio
    12. Start MediaPortal and try to play a trailer ( or run GraphEdit again and Render URL with reference to a .mov file)

     

    digitalfm

    Portal Pro
    February 4, 2008
    114
    18
    Great, thanks very much, I'll try this tonight.

    Excuse me if this is a silly question but I use COREAVC for my x264 decoder. Does this change mean my x264 movies will be decoded by the MPC decoder instead?
     

    armandp

    Retired Team Member
  • Premium Supporter
  • April 6, 2008
    990
    620
    Zoetermeer
    Home Country
    Netherlands Netherlands
    Great, thanks very much, I'll try this tonight.

    Excuse me if this is a silly question but I use COREAVC for my x264 decoder. Does this change mean my x264 movies will be decoded by the MPC decoder instead?

    Could be but I don't know for sure... but only for players that rely on the directshow merits... For MediaPortal and MPC it won't be a problem as they pick the codecs as you specify. After the change you should render some .mkv files using graphstudio to see if that would be the case.
     

    Users who are viewing this thread

    Top Bottom