Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

ZomeonE

playing vob in directshow

This topic is 5818 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I''m having some problems playing a couple of trailers in .vob format (MPEG2 + AC3). When i play them in GraphEdit the filtergraph is created and the vob-file is played without any problems, but when I try to play it with the Getting Started "How to play a file" code in the SDK help files I get an error at pGraph->RenderFile(L"C:\\file.vob", NULL"); --------------------------------------------------------------- ASSERT Failed: g_cFGObjects == 0 At line 5829 of e:\dx8_2\multimedia\dshow\filters\core\filgraph\filgraph\filgraph.cpp Continue? (Cancel to debug) --------------------------------------------------------------- --------------------------------------------------------------- ASSERT Failed Executable: vob_play.exe Pid 504 Tid 590. Module quartz.dll, 138 objects left active! At line 341 of e:\dx8_2\multimedia\published\dxmdev\dshowdev\base\dllentry.cpp Continue? (Cancel to debug) --------------------------------------------------------------- Please help me solve this, cause I feel as if I''ve tried everything!

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
check the returned value from the renderfile call and compare it to the "Direct show errors" that are listed in your DX SDK documentation. This will tell you more precisely what''s happening.

Share this post


Link to post
Share on other sites
VOBs are for DVDs, so maybe it will only let you play it off of the DVD. I would reccomend another format if you are not using a DVD, VOBs are huge! and you probably need a DVD license + lots of legal crap

Share this post


Link to post
Share on other sites
The vobs I use are only trailers widely available or vobs created by me, so no problem there. I need the quality, because I will be developing programs for HTPC''s (Home Theaters).

Since it is working with a graph built and run in graphedit, I don''t think that the vobs are the problem.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!