http://bugs.winehq.org/show_bug.cgi?id=14563
Summary: picasa can't play mp3 files during slideshows Product: Wine Version: CVS/GIT Platform: Other URL: http://picasa.com OS/Version: other Status: NEW Keywords: download Severity: normal Priority: P2 Component: winmm&mci AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
To reproduce: 1) install and run picasa for windows 2.7 2) Tools / Options / Slideshow 3) check "Play MP3 tracks during slideshow" 4) under "Select folder of mp3 tracks", browse to where you have mp3's, then click ok. 5) Select some image, play it as a slideshow.
There won't be any music. On the console, you see
fixme:mci:MCI_LoadMciDriver Couldn't load driver for type L"MPEGVIDEO". If you don't have a windows installation accessible from Wine, you perhaps forgot to create a [mci] section in system.ini
You can reproduce this with the attached tiny C program; to run it, find a .mp3 file (say, foo.mp3), and run wine a.exe play foo.mp3 from 0
http://bugs.winehq.org/show_bug.cgi?id=14563
--- Comment #1 from Dan Kegel dank@kegel.com 2008-07-18 23:46:46 --- Created an attachment (id=14916) --> (http://bugs.winehq.org/attachment.cgi?id=14916) Test app. Compile with "i586-mingw32msvc-gcc mcitest.c -lwinmm"
http://bugs.winehq.org/show_bug.cgi?id=14563
Maarten Lankhorst m.b.lankhorst@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |m.b.lankhorst@gmail.com
--- Comment #2 from Maarten Lankhorst m.b.lankhorst@gmail.com 2008-07-21 15:44:19 --- There is some code to parse mp3 files in dlls/quartz/mpegsplit.c
Of course this is way too overkill, all you have to do is create a mci driver that somehow plugs into winemp3, and directly pipe the data, that should be advanced enough to do the trick, unless seeking needs to be done, but I don't think it does.
http://bugs.winehq.org/show_bug.cgi?id=14563
--- Comment #3 from Dan Kegel dank@kegel.com 2008-07-21 15:51:25 --- mci supports a seek command string http://msdn.microsoft.com/en-us/library/ms713245(VS.85).aspx so seeking seems like it might be needed by some apps, if not by picasa.
http://bugs.winehq.org/show_bug.cgi?id=14563
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thestig@google.com
http://bugs.winehq.org/show_bug.cgi?id=14563
--- Comment #4 from Lei Zhang thestig@google.com 2008-08-19 20:02:30 --- The test app doesn't seem to work for me on Windows, that is, it doesn't play the mp3
http://bugs.winehq.org/show_bug.cgi?id=14563
--- Comment #5 from Lei Zhang thestig@google.com 2008-08-19 20:50:44 --- The sound works if I drop native mciqtz32.dll in c:\windows\system32 and change system.ini to be:
[mci] MPEGVideo=mciqtz32.dll MPEGVideo2=mciqtz32.dll
http://bugs.winehq.org/show_bug.cgi?id=14563
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #6 from Austin English austinenglish@gmail.com 2009-01-20 02:39:33 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=14563
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.1.1
--- Comment #7 from Lei Zhang thestig@google.com 2009-01-26 15:01:21 --- Don't think it ever worked, setting version to bug report date.
http://bugs.winehq.org/show_bug.cgi?id=14563
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hoehle@users.sourceforge.ne | |t
--- Comment #8 from Jörg Höhle hoehle@users.sourceforge.net 2009-11-30 11:57:59 --- Dan, The focus of this bug is unclear to me. What is it? - native mciqtz is able to play .mp3, Wine's is not? Lei, are you sure a native MS-W plays .mp3 OOTB? Or were some extensions installed? - Picasa install is broken, it should install e.g. QT as it contains a .mp3 player; then Wine would play the .mp3. - Wine should include a .dll so that it can play .mp3 via the MCI, at least on systems compiled with libmp3 or similar.
Remember, to experiment with the MCI, use my interactive MCI shell at bug #20232, comment #10.
http://bugs.winehq.org/show_bug.cgi?id=14563
--- Comment #9 from Dan Kegel dank@kegel.com 2009-11-30 12:01:38 --- Seems well-defined to me. On most systems, the attached test program plays .mp3 files ok, IIRC. It ought to on Wine as well. That said, I haven't looked at this bug in a long time; I've been focused on general wine stability.
http://bugs.winehq.org/show_bug.cgi?id=14563
--- Comment #10 from Jörg Höhle hoehle@users.sourceforge.net 2009-12-18 10:08:44 --- Dan, could you please post a +mci,+mciqtz trace? I'd like to know which MCI commands get used. I've done some testing with the MCI command shell using MPEG inside a .wav as well as .mpg audio files, with and without some native dll, with waveaudio (mciwave.dll) and mpegvideo (mciqtz.dll) and the results are not pretty: Sound is chopped and awfully distorted. Overrun errors from Alsa. Very different "quality" depending on how the sample is played (qtz or waveaudio or xine/totem) etc. Both mciqtz (or what's behind it) and codecs need work.
http://bugs.winehq.org/show_bug.cgi?id=14563
--- Comment #11 from Dan Kegel dank@kegel.com 2009-12-18 11:39:56 --- Created an attachment (id=25256) --> (http://bugs.winehq.org/attachment.cgi?id=25256) +mci,+mciqtz of picasa 3.6 trying to do a slideshow with music
Here y'go. This is with the latest picasa. (It's a free download, doesn't take long to get and do this.)
http://bugs.winehq.org/show_bug.cgi?id=14563
butraxz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |butraxz@gmail.com
--- Comment #12 from butraxz@gmail.com 2012-05-18 05:32:59 CDT --- This bug has not been updated for three years. Is this still an issue i current (1.5.4) or newer wine ? You may also close this as abandoned if you feel that that this is issue is no longer relevant to you.
http://bugs.winehq.org/show_bug.cgi?id=14563
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #13 from Bruno Jesus 00cpxxx@gmail.com 2012-06-09 12:52:59 CDT --- The mp3 is still not played using the test program like: wine a.exe play foo.mp3 from 0
https://bugs.winehq.org/show_bug.cgi?id=14563
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om
--- Comment #14 from Sagawa sagawa.aki+winebugs@gmail.com --- Created attachment 51016 --> https://bugs.winehq.org/attachment.cgi?id=51016 proposed patch
Could you try this patch? With the patch, picasa can play mp3 files when starting sildeshows on my PC. Please note that you need to make winegstreamer disabled in winecfg or WINEDLLOVERRIDES as a workaround for bug 30557.
https://bugs.winehq.org/show_bug.cgi?id=14563
--- Comment #15 from Bruno Jesus 00cpxxx@gmail.com --- The patch does not apply in today's git for me:
dlls/mciqtz32/mciqtz.c: In function ‘MCIQTZ_drvOpen’: dlls/mciqtz32/mciqtz.c:88:8: error: ‘WINE_MCIQTZ’ has no member named ‘stop_event’ dlls/mciqtz32/mciqtz.c: In function ‘MCIQTZ_drvClose’: dlls/mciqtz32/mciqtz.c:114:24: error: ‘WINE_MCIQTZ’ has no member named ‘stop_event’ dlls/mciqtz32/mciqtz.c: In function ‘MCIQTZ_mciNotify’: dlls/mciqtz32/mciqtz.c:150:29: error: ‘WINE_MCIQTZ’ has no member named ‘notify_devid’ dlls/mciqtz32/mciqtz.c:151:49: error: ‘WINE_MCIQTZ’ has no member named ‘callback’ dlls/mciqtz32/mciqtz.c: In function ‘MCIQTZ_notifyThread’: dlls/mciqtz32/mciqtz.c:335:22: error: ‘WINE_MCIQTZ’ has no member named ‘stop_event’ ...
https://bugs.winehq.org/show_bug.cgi?id=14563
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #51016|0 |1 is obsolete| |
--- Comment #16 from Sagawa sagawa.aki+winebugs@gmail.com --- Created attachment 51023 --> https://bugs.winehq.org/attachment.cgi?id=51023 proposed patch (try 2)
Oops, could you try again with this patch? I forgot to include the header update. Thanks in advance.
https://bugs.winehq.org/show_bug.cgi?id=14563
--- Comment #17 from Bruno Jesus 00cpxxx@gmail.com --- I no longer think I'm qualified to test this bug, I tested it using the test app from comment 1 in wine with and without your patch and it does not work. However I just tested in windows and it does not play the mp3 too. So my tests are invalid.
https://bugs.winehq.org/show_bug.cgi?id=14563
--- Comment #18 from Sagawa sagawa.aki+winebugs@gmail.com --- (In reply to Bruno Jesus from comment #17)
I no longer think I'm qualified to test this bug, I tested it using the test app from comment 1 in wine with and without your patch and it does not work.
Hi Bruno, thanks for testing. I think the test app is no longer valid to reproduce the issue. Could you please retest with picasa as in comment 1? My understanding as follows:
- In wine 1.1.1 (Jul 2008), there wasn't MPEGVideo MCI driver, mciqtz32.dll. That meant picasa and the test app couldn't load the driver at all.
- In March 2009, mciqtz32.dll was implemented by Christian Costa. Attachment 25256 in comment 11 showed picasa loaded the driver. However, mp3 files were still not played due to parse errors in quartz.
- Recently, above parse errors were fixed. Though, mp3 files aren't played due to mciqtz and winegstreamer issues. I investigated mciqtz part and submitted proposed patch.
Or, should I file another bug for the latest one?
https://bugs.winehq.org/show_bug.cgi?id=14563
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #19 from Bruno Jesus 00cpxxx@gmail.com --- Hi, Sagawa. I can confirm that your patch fixes the issue in Picasa.
https://bugs.winehq.org/show_bug.cgi?id=14563
--- Comment #20 from Sagawa sagawa.aki+winebugs@gmail.com --- Thanks. I sent the patch with tests, https://source.winehq.org/patches/data/110011 .
https://bugs.winehq.org/show_bug.cgi?id=14563
--- Comment #21 from Sagawa sagawa.aki+winebugs@gmail.com --- My patch was committed: http://source.winehq.org/git/wine.git/commit/0221688cdde04f347580bd3376b5b1a...
https://bugs.winehq.org/show_bug.cgi?id=14563
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |0221688cdde04f347580bd3376b | |5b1a2fae6573a Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #22 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Sagawa from comment #21)
My patch was committed: http://source.winehq.org/git/wine.git/commit/ 0221688cdde04f347580bd3376b5b1a2fae6573a
Thank you very much =)
https://bugs.winehq.org/show_bug.cgi?id=14563
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.39.