Re: [Qt-jambi-interest] QTJambi in MacOS

2009-02-05 Thread Dennis Kehrig
Hello,

 QPixmap: It is not safe to use pixmaps outside the GUI thread

I experienced this, too.

 On OS-X you need to launch with -XstartOnFirstThread.

What, exactly - Java oder Eclipse? Because I got the same problem
without using Eclipse at all (compiled on Windows, then run on Mac OS
X). Java on Windows does not accept this option, is this a Mac-only thing?

Greetings,

Dennis
___
Qt-jambi-interest mailing list
Qt-jambi-interest@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest


Re: [Qt-jambi-interest] MP3 support gone in 4.4.2?

2009-01-12 Thread Dennis Kehrig
Hi Eskil,

thank you for taking the time to deal with my problem.

 This sounds very strange, and we have not been able to reproduce it
 locally. All the codecs for supported file types are located on your
 system (Phonon plugs into the framework called DirectShow to play back
 media) and should not change for different versions of Qt Jambi.

I just dug a little deeper.

I noticed that not only MP3 files do no longer work with Jambi  4.4.0,
but also WAV files (quite possibly all formats except Ogg, which you
probably handle on your own). availableMimeTypes() claims to have
support for the usual formats, though. When I open an MP3 or WAV file
with the Media Player example from 4.4.3, it does not even show the
duration of the song, only the file name.

Turns out that when I start my application from within Eclipse, a
temporary folder named
QtJambi_Dennis_x86_4.4.0_01_msvc2005-20080608-0905 is created (or
QtJambi_Dennis_x86_4.4.3_01_msvc2005-20080925-1845, respectively).
By replacing plugins\phonon_backend\phonon_ds94.dll in the 4.3 folder
with the one from the 4.0 folder, I get my MP3 and WAV support back.

So something changed in phonon_ds94.dll since Qt 4.4.0 that is
incompatible with at least my configuration.

 Some questions:
 1. Does this happen with some specific MP3-files that we could test?

Nope, all Ogg files I tested work, but none of the MP3 or WAV files I
tested (4.4.0 plays them all, though).

 2. Are you doing all your tests on the same machine?

Yes. However, I checked which files are accessed using Filemon and made
sure that no temporary folders remained from different versions.

...and now I tested on my other computer as well. It's basically the
same configuration, though, and the qtjambi.exe version behaves exactly
as below...

 3. Do MP3-files still work if you run your application against Qt Jambi
 4.4.0 now?

Yes. Same thing with running qtjambi.exe, I can even run version 4.4.0
and version 4.4.3 in parallel, the former playing MP3s, the latter not.

 4. Have you tried running the application from a console to see if there
 is any output at all from the application?

I start my application from within Eclipse and use the console, I
suppose it would capture any output.

 5. In your own application, could you call the errorString() method on
 your media object to see if it returns anything?

I did that, but the error string is empty, unfortunately.

BTW, are there any plans on adding meta data support for MP3 files? All
Jambi versions I tried seem to support Ogg meta data only. Or maybe that
is what changed in 4.4.2?

Again, thank you for your time!

Greetings,

Dennis
___
Qt-jambi-interest mailing list
Qt-jambi-interest@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest