Bug 197252 - phonon cannot process mp3/flac files with chinese characters
Summary: phonon cannot process mp3/flac files with chinese characters
Status: RESOLVED DUPLICATE of bug 172242
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-20 12:43 UTC by Hillman Dai
Modified: 2009-12-16 22:53 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
A sample mp3 file with chinese big-5 characters as file name and tag information (412.50 KB, audio/mpeg)
2009-06-24 16:15 UTC, Hillman Dai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hillman Dai 2009-06-20 12:43:41 UTC
Version:            (using KDE 4.2.4)
OS:                Linux
Installed from:    SuSE RPMs

When I try to play the files with file names and tags containing Chinese characters under Amarok 2.1.1, the files don't play. They just stop. After I use debug mode of amarok to check for the error, it shows that the playing stops when goes to the phonon-backend process. The files with English characters aren't affected.

Both phonon-backend-xine and phonon-backend-gstreamer have the same problem. I have no other solutions but to downgrade back to Amarok 1.4.
Comment 1 Martin Sandsmark 2009-06-20 12:57:54 UTC
do you have some example files, or just example filenames/tags?
Comment 2 Pavel Zheltobryukhov 2009-06-21 17:46:02 UTC
Сonfirm it for Cyrillic characters in filepath too.
Comment 3 Pavel Zheltobryukhov 2009-06-21 17:50:31 UTC
I'm not sure that my case is the same bug, but Amarok doesn't play files, if filepath contain 'spaces'. If I replace ' ' with '_', the file playback well.
But problem with cyrillic names without spaces still persist.
Comment 4 Hillman Dai 2009-06-21 19:57:45 UTC
(In reply to comment #1)
> do you have some example files, or just example filenames/tags?

It is in Chinese Big-5 characters. Do you want me to post it here?
Comment 5 Hillman Dai 2009-06-21 19:59:45 UTC
(In reply to comment #3)
> I'm not sure that my case is the same bug, but Amarok doesn't play files, if
> filepath contain 'spaces'. If I replace ' ' with '_', the file playback well.
> But problem with cyrillic names without spaces still persist.

hmm...does it means phonon-backend can only play files in English Characters now?
Comment 6 Pavel Zheltobryukhov 2009-06-21 20:36:12 UTC
Phonon Gstreamer backend. Look at bug #189898
Comment 7 Martin Sandsmark 2009-06-21 20:48:21 UTC
so, anyone not using gstreamer as their backend? if not, I'm going to mark this as a duplicate of 197252.
Comment 8 Pavel Zheltobryukhov 2009-06-21 20:58:51 UTC
I use a gstreamer backend, because with xine backend amarok 2.1.1 doesn't playback any files: nor with or without spaces, with Latin or with Cyrillic symbols.
Comment 9 Martin Sandsmark 2009-06-24 02:10:18 UTC
> It is in Chinese Big-5 characters. Do you want me to post it here?

Ah, yes.
Comment 10 Hillman Dai 2009-06-24 16:15:27 UTC
Created attachment 34785 [details]
A sample mp3 file with chinese big-5 characters as file name and tag information
Comment 11 Dario Andres 2009-06-24 20:30:44 UTC
Should this be merged with bug 189898 (encoding issues with Phonon Gstreamer backend) ?
Comment 12 Martin Sandsmark 2009-06-24 20:41:07 UTC
(In reply to comment #11)
> Should this be merged with bug 189898 (encoding issues with Phonon Gstreamer
> backend) ?

Nope, it was just Pavel confusing me. The original report mentions both Xine and GStreamer (but I'm still unable to reproduce here locally).
Comment 13 Hillman Dai 2009-10-23 06:15:30 UTC
I use the debug of Amarok to check for any error message and received the following one:

Phonon failed to play this URL. Error:  "12??11??49??: input_file: File not found: >file:///home3/music/%E6%9E%97%E4%B8%80%E5%B3%B0%E8%88%87%E5%B0%8F%E5%A8%9F/%E5%B1%B1%E8%B0%B7%E8%A3%A1%E7%9A%84%E9%9F%B3%E6%A8%82/01%20-%20%E5%B0%8F%E5%A8%9F%20-%20%E5%85%A9%E5%80%8B%E4%BA%BA%E7%9A%84%E5%A4%A2%E5%9B%88.flac

The original file name is: 01 - 小娟 - 兩個人的夢囈.flac
Comment 14 Hillman Dai 2009-10-23 06:21:02 UTC
Even if I try with a file in Big5 characters without spaces, it still cannot play the file.

amarok:   [EngineController] [WARNING!] Phonon failed to play this URL. Error:  "12??18??45??: input_file: File not found: >file:///home3/music/01_%E5%A6%82%E8%A9%A9%E8%88%AC%E5%AF%A7%E9%9D%9C%E9%8B%BC%E7%90%B4%E7%9F%AD%E7%89%88.flac<

The original file name is: 01_如詩般寧靜鋼琴短版.flac
Comment 15 Marcos Dione 2009-11-19 11:23:29 UTC
can you test again? there have been some changes lately in the backends about
strange chars in filepaths.
Comment 16 Hillman Dai 2009-11-24 12:28:14 UTC
Which version do you refer to? I have installed phonon-4.3.1-3.3 from OpenSuSE 11.2. It doesn't work either.
Comment 17 Marcos Dione 2009-12-01 12:29:18 UTC
Sorry, I meant svn. the patch will be included in KDE SC 4.4, so maybe we should wait until it's available to you.
Comment 18 Jonathan Thomas 2009-12-16 22:53:16 UTC

*** This bug has been marked as a duplicate of bug 172242 ***