HDDVD_E_INVALIDOPERATION when switching tracks

In the HDiSim, I'm getting an error most of the time I switch to play another title. The error is thrown when a new title is called like so:

Player.playlist.titles["title1"].chapters[0].top();

This only happens if a title is currently playing. Do I need to stop a title before starting a new one





Answer this question

HDDVD_E_INVALIDOPERATION when switching tracks

  • stswordman

    Sorry, Titles. I'm working with some audio engineers so the term "track" is hard to break out of.


  • DanBaumbach

    I tried that too. Not sure what is going on but I am getting extremely inconsistent behavior in the HDiSim. I open the same project multiple times - once time it plays video, another time throws error and another time it plays audio but no video!




  • StriderIRL

    I just swapped in a 10 second blank video for all the videos. I still get the same result: random INVALIDOPERATION errors thrown when switching tracks.




  • Inferno986

    Video playback is not HDiSim's strongest point, unfortunately. Do you have a supported graphics card, etc. (from the readme)

    Have you tried using low-quality video as a placeholder



  • Obal Orrestad

    Are you switching titles, or tracks iHDSim doesnt support multiple tracks on video or audio.

  • EWGoforth

    The readme I have just indicates that you should have a current gen video card with 256mb RAM. I have the new Toshiba Laptop with a GeForce 7600 256MB, so that should fit the bill.

    I stripped out a bunch of timer managed code and most of my javascript. Now the video plays smoothly. I'm going to back and slowly add all my script, checking video playback along the way to see what might be causing the issue.




  • Enix591

    You don't need to stop titles before switching, no. Try something like:

    Player.playlist.titles["title1"].jump("00:00:00:00", false);



  • HDDVD_E_INVALIDOPERATION when switching tracks