-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Hello! I'm having some trouble & wanted to share my efforts thus far and see if you had any insights.
Correct way to build lib on Windows?
I couldn't find a CMakeLists.txt for the lib itself -- it looks like there used to be one but things got moved around. I was able to build the lib by building the play & stress examples which build libglvideo as a dependency, but wasn't sure if that was a workaround or the intended way.
Crashes when trying to play videos
I get crashes on launch with both the play and stress examples. I noticed that AP4_FileByteStream::Create() was failing, and it looked like an issue with the path being relative, so I got passed it by just using a hardcoded absolute path for now.
With the absolute path, I'm seeing that the AP4_File m_movie doesn't seem to have any valid data, i.e. m_Movie, m_FileType, and m_MetaData are all null pointers. Here's a screenshot:
One thing that was curious is the included example videos don't actually play for me in VLC, and I don't get video thumbnails in Windows Explorer. I have some other sample content from here that both plays in VLC and has thumbnails, and is in an mov container rather than avi. I gave that a shot, but it didn't seem to make a difference. I do have the hap DirectShow codecs installed, but I don't think that should matter.
Curious if you've got any ideas about what's up! Thanks!
