Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: mpd error malformed utf-8 characters, possibly incorrectly encoded
#14
(05-13-2022, 04:41 PM)TheOldPresbyope Wrote: @chaos333 

I couldn't resist. Rather than spending time studying the WAV metadata mechanism, I turned to my Linux laptop and transcoded the WAV file to FLAC using ffmpeg

Code:
ffmpeg -i '06 但愿人长久.wav' -c:a flac '06 但愿人长久.flac'

Almost instantaneously, I had a FLAC file. Interestingly, just like MPD, ffmpeg chose the ?? entries to populate the FLAC metadata. 

I used metaflac to remove those entries and create new entries from the command line. Here's what mediainfo reports for my edited file

Code:
pi@m8pi3a:/mnt/SDCARD/newchaos $ mediainfo '06 但愿人长久.flac'
General
Complete name                            : 06 但愿人长久.flac
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
File size                                : 23.9 MiB
Duration                                 : 4 min 15 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 785 kb/s
Album                                    : 和谐之声 为祖国祝福 长城独唱音乐会
Track name                               : 但愿人长久
Track name/Position                      : 6
Performer                                : 谭晶
Writing application                      : Lavf58.29.100

The artist, track name, and album name for this track all appear as they should in Chinese characters in moOde's various panels (see attached screenshot of the Playback panel).

Bottom line: I don't believe there's a problem related to Chinese characters encoded in UTF-8.

Regards,
Kent

 hi kent,
perfect.
that shows all characters instead of the ??? issue.

so can  you advice what is the cause or how to avoid it permantly? i might have more than 1000 sound tracks or 200+albums that has the same problem...


and malformed UTF-8 character issue happen when i have ??? issue and now is return to normal after i try tim's sgueestion to clear the cathe while i did failed after twices but when i load another music source using SMB and turn the previous soucre off, the problem disapperrs and i use back the previous source---it never happen again. so maybe tim is correct but i dit not know why the cache is not cleared enough..
Reply


Messages In This Thread
RE: mpd error malformed utf-8 characters, possibly incorrectly encoded - by chaos333 - 05-14-2022, 02:14 PM

Forum Jump: