Author Topic: MovieBox 2.61  (Read 34621 times)

0 Members and 1 Guest are viewing this topic.

Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2399
  • Gender: Male
    • www.zapsolution.com
MovieBox 2.61
« on: February 16, 2008, 11:38:29 AM »
MovieBox is the PowerBASIC translation of my C# zMoviePlayer.

This version uses the DirectX ActiveMovie.inc from José Roca.


Note: You must download and install the CCCP codec attached to this post before running MovieBox (and un-install first any other codecs before installing the CCCP codec)


MovieBox playing a 1920 x 800 MKV HD movie in composited mode on Windows 7:





To play a movie, just use drag & drop from the Explorer onto the MovieBox, or click on the play button to open the file dialog selector.

MovieBox adjust its size to the real size of the video being played, however you can drag the borders to resize the window as you want.

If you encounter a problem while playing a movie, most of the time this is because you are not using the good codec.
There are plainty of Codec packages on the Internet, thus you should be able to find the right one on a dedicated web site.


See below the attached MovieBox2.zip from 08-09-2011

History:
Date       Version
01-31-10 2.61 - Use TextRenderingHintAntiAlias with font when running in DWM mode + new codec pack.
06-05-09 2.60 - Added SnapShot feature (JPEG, BMP, TIFF).
02-07-09 2.50 - Added FLV support.
08-13-08 2.50 - Reworked to work with the latest Skin Engine and the brand new PB9 compiler (with source code and CCCP codec).
04-19-08 2.00 - HD movie detection has been improved, and true video size shown on status bar.
04-12-08 2.00 - Release of version 2.00, with new GUI and support for HD MKV format (matroska).
02-25-08 1.04 - Quick launch by dragging movie icon onto MovieBox desktop short cut.
02-24-08 1.03 - Added "full screen" mode button.
02-18-08 1.02 - XP version has been reworked for better integration of the "Active Movie Window" inside MovieBox.
02-16-08 1.01 - Version compatible XP
02-15-08 1.00 - Initial version for VISTA


Version 2.60+ is using the PB9 compiler it is provided with:

- Complete PB9 source code using low level DirectX API
- Dedicated include file to work with the PB9 compiler.
- Embedded CCCP codec that must be installed first.
- Latest Skin Engine with additional backgrounds.


About the MovieBox status:

This is a "participative project" (french definition: "projet participatif"), it means you can contribute with new themes, code enhancements, documentations, feedback. And all contributions must be posted there for the benefit of the members of this forum.

Things that you are not allowed to do:
Change the name of the project, change the logo without prior agreement, alter a theme without prior agreement, produce any derivated SkinEngine from this project.
And of course do not change or alter the copyright.

 8) ...
« Last Edit: August 09, 2011, 09:33:32 AM by Patrice Terrier »
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Offline Kent Sarikaya

  • Sr. Member
  • ****
  • Posts: 368
Re: MovieBox
« Reply #1 on: February 17, 2008, 03:14:34 AM »
I just saw this today Patrice, good luck with it. There are so many video codecs out there, I am sure it can keep you busy for some time to come. Good luck!

Offline José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 3126
  • Gender: Male
    • José Roca Software
Re: MovieBox
« Reply #2 on: February 17, 2008, 02:04:11 PM »
 
I'm interested. Although I haven't expertise in graphics programming, I can help if you have problems with the wrappers or need additional wrappers.

Offline Petr Schreiber

  • Sr. Member
  • ****
  • Posts: 411
Re: MovieBox 1.01
« Reply #3 on: February 18, 2008, 04:05:06 PM »
Hi Patrice,

thanks for new version, works perfectly!

I have one idea - would it be possible make a switch for fullscreen mode too ( no GUI, just video )?


Bye,
Petr
AMD Sempron 3400+ | 1GB RAM @ 533MHz | GeForce 6200 / GeForce 9500GT | 32bit Windows XP SP3

psch.thinbasic.com

Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2399
  • Gender: Male
    • www.zapsolution.com
Re: MovieBox 1.01
« Reply #4 on: February 18, 2008, 05:37:00 PM »
--Petr

Quote
would it be possible make a switch for fullscreen mode too ( no GUI, just video )?

Yes, it is on my list (see zMoviePlayer).

But so far I am figthing with the difference between XP and VISTA to produce a code that would run fine on both versions, XP is such a real pain compared to VISTA.

...
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2399
  • Gender: Male
    • www.zapsolution.com
MovieBox (version 1.02 has been released)
« Reply #5 on: February 18, 2008, 06:51:49 PM »
Version 1.02

- XP version has been reworked for better integration of the "Active Movie Window" inside of the MovieBox.

...
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Offline Kent Sarikaya

  • Sr. Member
  • ****
  • Posts: 368
Re: MovieBox 1.02
« Reply #6 on: February 18, 2008, 09:58:38 PM »
Patrice you did it! It is working perfectly so far. I am happy the Fullscreen option that Petr mentioned will be coming in the future.

Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2399
  • Gender: Male
    • www.zapsolution.com
MovieBox (version 1.03)
« Reply #7 on: February 24, 2008, 03:12:22 PM »
MovieBox has been updated to version 1.03.

Added a new button to switch the display to full screen mode.

Latest zip file attached to the first post of this thread.

...
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2399
  • Gender: Male
    • www.zapsolution.com
MovieBox (Version 1.04)
« Reply #8 on: February 25, 2008, 12:35:33 PM »
MovieBox has been updated to version 1.04

New features:
  • Support for dragging the movie onto the quick launch icon (short cut) like in BassBox.
  • Now you can restore from maximized using double click on caption bar.

Latest zip file attached to the first post of this thread.

...
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Offline Kent Sarikaya

  • Sr. Member
  • ****
  • Posts: 368
Re: MovieBox 1.04
« Reply #9 on: February 26, 2008, 02:01:34 AM »
Thanks Patrice works very nicely. Many of the players for watching video don't respond to the play and pause button on my keyboard but your player responds very nicely :)  Thanks.

Offline José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 3126
  • Gender: Male
    • José Roca Software
Re: MovieBox 1.04
« Reply #10 on: February 26, 2008, 04:22:41 PM »
 
Hi Patrice,

Attached to this post you will find wrapper functions for the IMediaSeeking interface and my translation of the uuids.h include file.

The IMediaSeeking interface contains methods for seeking to a position within a stream, and for setting the playback rate. The Filter Graph Manager exposes this interface, and so do individual filters or pins. Applications should query the Filter Graph Manager for the interface.

The Filter Graph Manager distributes any IMediaSeeking call to each of the renderer filters in the graph. The renderer filters send the call upstream to the source filters. This sequence of events ensures that all streams remain synchronized. If any of the distributed calls returns an error, the Filter Graph Manager returns the first error value it received, even if some of the distributed calls succeed. An exception is E_NOTIMPL: the Filter Graph Manager does not return E_NOTIMPL unless it was returned by all of the distributed calls.

An application can seek the graph while the graph is in any state (running, paused or stopped). If the graph is running, the Filter Graph Manager pauses the graph before it issues the seek command. Then it runs the graph again. All seeking operations are independent of the current playback rate. Seeking operations cause any pending media data to be flushed from the graph.

For all IMediaSeeking parameters that specify time, the unit of time depends on the current time format. To set the time format, call the IMediaSeeking::SetTimeFormat method. Time formats are globally unique identifiers (GUIDs) defined in uuids.h.

Time Format GUIDs

The following globally unique identifiers (GUIDs) define different time formats.

Code: [Select]
GUID                 Description
----------------------- --------------------------------------
TIME_FORMAT_NONE No format.
TIME_FORMAT_FRAME Video frames.
TIME_FORMAT_SAMPLE Samples in the stream.
TIME_FORMAT_FIELD Interlaced video fields.
TIME_FORMAT_BYTE Byte offset within the stream.
TIME_FORMAT_MEDIA_TIME Reference time (100-nanosecond units).
« Last Edit: February 26, 2008, 07:06:07 PM by José Roca »

Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2399
  • Gender: Male
    • www.zapsolution.com
Re: MovieBox 1.04
« Reply #11 on: February 26, 2008, 06:51:37 PM »
--José

What is "ksuuids.inc", i don't have it.

What do you think would be the best $TIME_FORMAT _xxx to use, to be compatible with IMediaPosiion put_CurrentPosition?
$TIME_FORMAT_MEDIA_TIME ?

...
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Offline José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 3126
  • Gender: Male
    • José Roca Software
Re: MovieBox 1.04
« Reply #12 on: February 26, 2008, 07:10:59 PM »
 
I have uploaded ksuuids.inc and a new uuids.inc.

I'm sorry but can't help you about the time format. I never have used the IMediaSeeking interface.

Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2399
  • Gender: Male
    • www.zapsolution.com
Re: MovieBox 1.04
« Reply #13 on: February 26, 2008, 08:51:25 PM »
Quote
I'm sorry but can't help you about the time format. I never have used the IMediaSeeking interface.

No problem, i have been able to make it works, and dixit MSDN:
$TIME_FORMAT_MEDIA_TIME is the default value.

...
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2399
  • Gender: Male
    • www.zapsolution.com
MovieBox (The MCI version)
« Reply #14 on: February 29, 2008, 12:02:36 PM »
Attached to this post you will find the complete source code of the MovieBox MCI version.

It is based on my MMengine.dll (source code is also provided).

I drop MCI myself in the year 2000 in favor of the low level API, but my MMengine coud be useful for trivial tasks.

...
« Last Edit: February 29, 2008, 04:00:41 PM by Patrice Terrier »
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com