This project has moved and is read-only. For the latest updates, please go here.

I've added some features

May 19, 2014 at 1:43 AM
https://github.com/arantius/drax/compare/0c8c69858c29b6f46f9f0717b7f666cdbb3eff5c...2f516b4fe0bf5449069397a891f6e13f19e7757d

Open dialog filters both .m4v and .mp4 by default, drag-and-drop from explorer works to open files, save window placement.

If you'd like to merge them in, just let me know the best way to provide the code.
Coordinator
May 19, 2014 at 2:32 PM
Pretty cool!

Do you mind if you integrate it directly to the Codeplex repository?
May 19, 2014 at 2:34 PM
Not at all. Give me commit access and I'll do so. Or merge it in yourself. Copying to github was just the easiest way for me to hack on the code and then share the diffs.
Coordinator
May 19, 2014 at 8:12 PM
Thank you very much. You should have commit access now.
May 25, 2014 at 1:02 AM
I started over with a clean set of source to make sure my changes work. It was tough the first time so I recorded exactly what I did to get that to work, this time. I don't know if this is "right" but it's what I did to get things to work (in Visual Studio 2013). I haven't committed any of the project or solution changes involved. I don't know if this is necessary because of bit rot, or because of differing VS versions, or because I have mostly no idea what I'm doing. But anyway:

  1. Visit https://drax.codeplex.com/SourceControl/latest and click "connect" to get the path to check out.
  2. Make a lib directory as a sibling to src.
  3. Visit https://code.google.com/p/mp4v2/downloads/list and download mp4v2-2.0.0.tar.bz2; extract it to lib and rename mp4v2-2.0.0 to just mp4v2 .
  4. Copy lib/mp4v2/vstudio9.0/libmp4v2/libmp4v2.vcproj to .vcxproj (if your visual studio is new enough to want that?).
  5. Outside of Visual Studio, edit src/drax.sln to point to libmp4v2.vcproj (not vcxproj).
  6. Visit https://code.google.com/p/mp4v2/source/checkout to get the check out path for mp4v2.
  7. Check it out to lib/mp4v2-svn .
  8. Copy lib/mp4v2-svn/libplatform/platform_win32_impl.h to lib/mp4v2/libplatform .
  9. Copy lib/mp4v2-svn/libplatform/platform_win32.cpp to lib/mp4v2/libplatform/ .
    10 Copy lib/mp4v2-svn/vstudio9.0/libmp4v2/Version.rc to lib/mp4v2/vstudio9.0/libmp4v2 .
  10. Open drax.sln in visual studio.
  11. Open the libmp4v2 project's properties; Edit the C/C++ "Additional Include Directories" to add "$(SolutionDir)..\lib\mp4v2\include" and "$(SolutionDir)..\lib\mp4v2".
  12. Open the drax project's properties; Edit the VC++ "Additional Include Directories" to add "$(WindowsSDK_IncludePath)".
  13. Open the drax project's properties; Edit the Linker "Additional Library Directories" to add "$(SolutionDir)..\lib\mp4v2\bin\Windows-$(Platform)\$(Configuration)\".
  14. Hit F7 to build.
  15. Copy lib/mp4v2/bin/Windows-Win32/Debug/libmp4v2.dll to bin/Debug to be able to run the executable you just built.

And I have published the changes to:

https://drax.codeplex.com/SourceControl/latest#branches/arantius/

You can check that they work as expected and merge them to trunk from there. One of the other things that doesn't seem to work in VS2013 is the "setup" project, which looks like the installer. So I haven't tried that.
Coordinator
Jul 3, 2014 at 3:56 PM
Thank you. I will soon modify the setup project and merge your changes to the trunk.