## QMedia | ## What's new

# What's new in QMedia

Versions: 1.6.2 | 1.6.1 | 1.6 | 1.5.5 | 1.5.4 | 1.5.3 | 1.5.2 | 1.5.1 | 1.5 | 1.2.6 | 1.2.5 | 1.2.4 | 1.2.3 | 1.2.2 | 1.2.1 | 1.2 | 1.1.2 | 1.1.1 | 1.1

### 1.6.2

Changes

- Compatibility with 4Dv13.
- Fixed potential error result when adding video samples with modern codecs.
- Fixed potential crash on quit after sound level or frequency metering has been activated for some movie.

### 1.6.1

Changes

- Fixed compatibility issues with open/save dialogs on Mac OS X 10.7.x (Lion).

### 1.6

Compatibility with 4D Server 64 bit

QMedia now runs under 4D Remote connected to 4D Server 64 bit running on Windows.

Note that QMedia cannot offer any of its functionality on the server side (in stored methods) when running under 4D Server 64 bit, simply because QuickTime is not available for 64 bit Windows.

Also note that there is a new plug-in included in the package (0QLM.bundle) that must be installed alongside QMedia, so make sure you read and follow the updated installation instructions.

### 1.5.5

Enhancements:

- Even though QMedia does not currently support Unicode text due to backwards compatibility with 4D 2004.x, it is now possible to pass Unicode text to the QM_AddTextSample and QM_AddChapterList commands. To do this, first pass the text through the U_EncodedTextSample project method (included in the demo database), and then pass the encoded text to the commands.

Fixed bugs:

- Worked around a structure alignment issue introduced by 4Dv12.2 that prevented the plug-in from functioning in client/server mode.

### 1.5.4

Enhancements:

- New command that returns audio sample information: QM_GetAudioSampleInfo.
- New command that returns audio channel layout information: QM_GetAudioChannelLayout.

Fixed bugs:

- Minor licensing fixes.

### 1.5.3

Enhancements:

- Improved compatibility with databases running as system services.

Fixed bugs:

- Fixed a potential crash on quit with built applications on Windows.
- Fixed loading of QTMLGlue.dll with built server applications on Windows.

### 1.5.2

Fixed bugs:

- Fixed issues that prevented the plug-in from functioning properly when used with 4D Server running as a service on Windows.
- Fixed crash in the progress dialog when exporting or flattening a movie on Mac OS X.

### 1.5.1

Fixed bugs:

- Fixed crashing bug in the progress dialog when flattening or exporting a movie.
- Increased the stack space of the processes in the demo database in order to avoid stack overflow crash when playing back movies encoded with certain codecs.

### 1.5

Enhancements:

- QMedia is now packaged as a cross-platform, bundled plug-in, supporting 4D versions 2004.x and 11.3 or later.
- QMedia is a Universal Binary, i.e. it runs natively on both PPC and Intel-based Macs when used with 4D v11.x.
- Added a set of new commands that allow audio level metering on movies (volume and frequency levels).
- Implemented a workaround for a problem in QuickTime versions later than 7.3, where the short pathname was returned instead of the long one.
- Due to 4D's new threading model in v11.x QuickTime VR movies now play correctly on Mac OS X. Under 4D v2004.x QMedia implements a workaround that achieves the same result.

Fixed bugs:

- Potential crash during startup in 4D 2004.x on Mac OS X. Fixed.
- Potential crash during startup of 4D Server 2004.x on Windows if there was a TRACE command or a breakpoint in the "On Server Startup" method that would trigger the 4D Debugger window. Fixed.
- Due to Mac OS 9 backwards compatibility, long filenames returned by the plug-in could be truncated on Mac OS X. Fixed.
- Pathnames containing accented characters would not be interpreted correctly on Mac OS X. Fixed.
- Re-opening the currently open database could lead to a crash. Fixed.

### 1.2.6

Fixed bugs:

- 4D 2003.2 changed the way it draws plug-in areas and this caused update problems in the movie plug-in area. Fixed.
- Identified and corrected a potential issue where the developer license would not be copied to the compiled structure when building compiled or standalone applications with 4D 2003.x.
- Restored compatibility with Win NT/SP6a.
- Long path names are now supported on Win NT.
- It was possible to crash on 4D Server when a client was logging out if at that time the licenses dialog was open. Fixed.

Known issues:

- The QTVR problem is still there (see "Known issues" below). 4D egnineers are still aware of the issue, but no fix has been released as of 4D 2003.2.

### 1.2.5

Fixed bugs:

- When inserting a track segment with QM_InsertTrackSegment using a reference instead of copying the media samples, QMedia could fail to set the media timescale of the destination track correctly. This affected mostly audio tracks, where the destination track would produce noise or fail to play at all. Fixed.
- Recording sound from DV cameras on MacOS X could fail with error -200 (not enough hardware). Fixed.
- It was not possible to open movies that had their movie atom stored in the resource fork instead of the data fork. Fixed.
- Fixed a bug where the plug-in could crash after switching to another data file with OPEN DATAFILE or CREATE DATAFILE. MacOS X only.
- Under rare circumstances the plug-in could fail to load expansion licenses on Windows. Fixed.

Known issues:

- The QTVR problem is still there (see "Known issues" below). 4D egnineers are still aware of the issue, but no fix has been released as of 4D 2003.1.

### 1.2.4

New features:

- Added the QM_SetMaxGrabberOutputSize and QM_GetMaxGrabberOutputSize commands that control the maximum file size of the grabbed movie.

Fixed bugs:

- QM_Play(areaRef;0) would not stop a playing movie. Fixed.
- QM_GetSelection would always return error 1. Fixed.
- On MacOSX the qm_GoToTimeEvent can be triggered by QuickTime outside of a valid 4D context. This could cause "no stack memory" 4D errors. The callback method is now called only when the qm_GoToTimeEvent event is triggered in the context of the correct 4D process.
- On MacOS X QMedia would fail to resolve a pathname if the name of the disk contained a slash character ("/"). Fixed.
- In a rare case licenses installed when running under 4D Server would not be saved. Fixed.
- Under certain circumstances QMedia could cause long delays during application startup. Fixed.

Known issues:

- The QTVR problem is still there (see "Known issues" below). 4D egnineers are still aware of the issue, but no fix has been released as of 6.8.3.

### 1.2.3

Fixed bugs:

- When running under 4D Server on MacOS X an error dialog reporting "no stack memory" would pop up continuously. Fixed.
- Under certain circumstances it was possible to loose installed licenses when running under 4D Server on Windows. Fixed.
- Under certain circumstances the file selection dialog would not accept mouse clicks when running the PPC version of the plug-in on MacOS 9. Fixed.

Known issues:

- The QTVR problem is still there (see "Known issues" below). 4D egnineers are still aware of the issue, but no fix has been released as of 6.8.3.

### 1.2.2

Fixed bugs:

- There were errors in the documentation for the QM_TestMovieFile command. The command docs have been updated to correct these errors.
- The QM_SetMovieAnnotation command was not working properly. Fixed. Mac/Win.
- When using the classic PPC version of the plug-in with 4D 6.8.x under Mac OS 8/9, there were problems with movie display in the plug-in area. Fixed. Mac only.
- When calling a plug-in command on Windows without QT installed, QMedia might crash due to a bad check for QuickTime's presence. Fixed. Win only.
- The product name returned by the QM_GetVersion command now shows whether the plugin is Carbon-based or not. For example, the Carbon version of the plug-in will return "[plug-in name] [version] Carbon", and the corresponding PPC version will return "[plug-in name] [version] PPC". Mac only.
- On some localized systems (Russian, Japanese) 4D would present a syntax error dialog during plug-in initialization and the plug-in would fail to display the license registration dialogs. Fixed. Mac/Win.
- If 4D Client attempted to call a plug-in command when no license seats were available on the server, the plug-in would block program execution instead of faling back into demo mode. This is now fixed; the plug-in will run in demo mode as expected. Mac/Win.

Known issues:

- The QTVR problem is still there (see "Known issues" below). 4D egnineers are still aware of the issue, but no fix has been released as of 6.8.3.

### 1.2.1

Fixed bugs:

- Fixed a potential crash during startup when running with 4D 6.7.x.
- Fixed a bug that could cause long delays during startup when running with 4D Client on Windows.
- Fixed a problem where the "Escape" menu would become unresponsive when running with 4D Server 6.8.x on Windows.

Known issues:

- After much investigation we have identified the cause of the QTVR problem (see "Known issues" below). The problem is not in QMedia or QuickTime, but in 4D. The egnineers at 4D are aware of the issue, and hopefully there will be a fix in a future update of 4D 6.8.x.

### 1.2

New features:

- Carbon version runs natively on MacOSX
- New license control system
- Revamped import/export dialogs using Navigation Services on MacOSX/MacOS

Fixed bugs:

- Fixed a random crash in the sequence grabber under MacOS 9.x.

Known issues:

- There is currently a problem playing QuickTime VR movies under MacOS X. QuickTime complains that memory is low and displays a broken movie icon. This does not seem to be a QMedia issue (we have reproduced the problem outside QMedia). It seems to be some obscure anomaly or incompatibility between QuickTime and 4D. We will keep investigating this issue; as soon as we come up with a workaround or fix, we will release an update.

### 1.1.2

New features:

- Added support for the qm_AddPinMode and qm_SubPinMode transfer modes to QM_SetTrackGraphicsMode. This feature is useful in watermarking still images using QMedia's movie editing.

Fixed bugs:

- Fixed a potential memory leak in QM_GetMoviePict and QM_GetPosterPict
- Fixed a problem where QM_GetVersion would report the wrong platform under certain circumstances
- Eliminated ghost clipping regions in movie and movie controller display
- Fixed a movie display problem on Windows

### 1.1.1

Internal fixes only.

### 1.1

New features:

- advanced properties dialog for codeless area setup
- support for QuickTime's sequence grabber
- support for URL-based media files
- new parameters for the QM_ConvertMovieToFile and QM_InsertTrackSegment commands
- new area event issued when the movie is resized (useful in controlling streaming movies that change their size dynamically)
- revamped demo database with
  - a comprehensive grabbing example for audio and video
  - Media Theater, a fancy-looking custom media player featuring local and URL movie playback
  - Auditorium, a fancy-looking audio player that creates playlists from audio media files and folders including mp3, sound and music files, as well as plain soundtracks of standard movies.

Fixed bugs:

- Several bug fixes and minor changes