wms don't support chinese character filename
Posted: Fri Apr 16, 2010 5:03 am
I installed wms version 0.73 & 0.73.4, but if my media filename is in chinese characters, the play list can not display any media in my sony bravia tv.
Forum of program "Wild media server (UPnP, DLNA, HTTP)
https://www.wildmediaserver.com/forum/
For example, filename ?onc wrote:I installed wms version 0.73 & 0.73.4, but if my media filename is in chinese characters, the play list can not display any media in my sony bravia tv.
if the media file name in english letter, everything is ok. but as if the media file name isEugene wrote:For example, filename ?onc wrote:I installed wms version 0.73 & 0.73.4, but if my media filename is in chinese characters, the play list can not display any media in my sony bravia tv.
Test transcoding works (on right click mouse) ?onc wrote:if the media file name in english letter, everything is ok. but as if the media file name isEugene wrote:For example, filename ?onc wrote:I installed wms version 0.73 & 0.73.4, but if my media filename is in chinese characters, the play list can not display any media in my sony bravia tv.
我的电影.mp4
or
我的图片.jpg
the wms can display those file name in itself program box, but the TV can not find any media.
test trancoding can work. the file name in wmsmpeg's -i option is correct too. but the console output of wmsmpeg has a different input.Eugene wrote: Test transcoding works (on right click mouse) ?
Code: Select all
"C:\Program Files\Wild Media Server\wmsmpeg.exe" -i "C:\Documents and Settings\Administrator\My Documents\My Videos\我的电影.mp4" -f dvd -vcodec mpeg2video -b 3000000 -aspect 16:9 -copyts -pix_fmt yuv420p -padleft 90 -padright 90 -padtop 0 -padbottom 0 -padcolor 303030 -s 540x406 -threads 2 -acodec ac3 -ab 448000 -ar 48000 -ac 1 -map 0:0 -map 0:1 "C:\Documents and Settings\Administrator\Local Settings\Application Data\Wild Media Server\WMS\Temp\Test_4d4b6af0a94a18a7d38c81d017218047.mpg" -v -1 -loglevel quiet
FFmpeg version SVN-r22696, Copyright (c) 2000-2010 the FFmpeg developers
built on Apr 3 2010 15:45:28 with gcc 4.4.0
libavutil 50.13. 0 / 50.13. 0
libavcodec 52.61. 0 / 52.61. 0
libavformat 52.57. 1 / 52.57. 1
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (30000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Documents and Settings\Administrator\My Documents\My Videos\鎴戠殑鐢靛奖.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf52.38.0
Duration: 00:03:24.83, start: 0.000000, bitrate: 271 kb/s
Stream #0.0(und): Video: h264, yuv420p, 320x240, 229 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
Stream #0.1(und): Audio: aac, 22050 Hz, mono, s16, 38 kb/s
Output #0, dvd, to 'C:\Documents and Settings\Administrator\Local Settings\Application Data\Wild Media Server\WMS\Temp\Test_f2e0171cfb55d90ab6226eeda2ce336a.mpg':
(und): Video: mpeg2video, yuv420p, 720x406 [PAR 255:254 DAR 45900:25781], q=2-31, 3000 kb/s, 90k tbn, 29.97 tbc
(und): Audio: ac3, 48000 Hz, mono, s16, 448 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 52 fps= 0 q=2.0 size= 432kB time=1.66 bitrate=2126.8kbits/s dup=0
frame= 98 fps= 96 q=2.0 size= 1002kB time=3.20 bitrate=2565.1kbits/s dup=0
frame= 152 fps=100 q=2.0 size= 1866kB time=4.99 bitrate=3062.2kbits/s dup=0
frame= 203 fps=101 q=2.0 size= 2722kB time=6.72 bitrate=3318.2kbits/s dup=0
frame= 251 fps=100 q=2.0 size= 3494kB time=8.34 bitrate=3431.3kbits/s dup=0
Code: Select all
ffmpeg -i "C:\Documents and Settings\Administrator\My Documents\My Videos\我的电影.mp4" -f dvd -vcodec mpeg2video -b 3000000 -aspect 16:9 -copyts -pix_fmt yuv420p -padleft 90 -padright 90 -padtop 0 -padbottom 0 -padcolor 303030 -s 540x406 -threads 2 -acodec ac3 -ab 448000 -ar 48000 -ac 1 -map 0:0 -map 0:1 "C:\Documents and Settings\Administrator\Local Settings\Application Data\Wild Media Server\WMS\Temp\Test_4d4b6af0a94a18a7d38c81d017218047.mpg" -v -1
FFmpeg version SVN-r22492-snapshot, Copyright (c) 2000-2010 the FFmpeg developers
built on Mar 13 2010 10:00:11 with gcc 4.4.1
libavutil 50.11. 0 / 50.11. 0
libavcodec 52.58. 0 / 52.58. 0
libavformat 52.55. 0 / 52.55. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.17. 0 / 1.17. 0
libswscale 0.10. 0 / 0.10. 0
libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (30000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Documents and Settings\Administrator\My Documents\My Videos\我的电影.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf52.38.0
Duration: 00:03:24.83, start: 0.000000, bitrate: 271 kb/s
Stream #0.0(und): Video: h264, yuv420p, 320x240, 229 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
Stream #0.1(und): Audio: aac, 22050 Hz, mono, s16, 38 kb/s
Output #0, dvd, to 'C:\Documents and Settings\Administrator\Local Settings\Application Data\Wild Media Server\WMS\Temp\Test_4d4b6af0a94a18a7d38c81d017218047.mpg
':
Metadata:
encoder : Lavf52.55.0
Stream #0.0(und): Video: mpeg2video, yuv420p, 720x406 [PAR 255:254 DAR 45900:25781], q=2-31, 3000 kb/s, 90k tbn, 29.97 tbc
Stream #0.1(und): Audio: ac3, 48000 Hz, mono, s16, 448 kb/s
May be TV has problems with mono sound.onc wrote:test trancoding can work. the file name in wmsmpeg's -i option is correct too. but the console output of wmsmpeg has a different input.Eugene wrote: Test transcoding works (on right click mouse) ?
the wmsmpeg's output message is below:
Code: Select all
"C:\Program Files\Wild Media Server\wmsmpeg.exe" -i "C:\Documents and Settings\Administrator\My Documents\My Videos\我的电影.mp4" -f dvd -vcodec mpeg2video -b 3000000 -aspect 16:9 -copyts -pix_fmt yuv420p -padleft 90 -padright 90 -padtop 0 -padbottom 0 -padcolor 303030 -s 540x406 -threads 2 -acodec ac3 -ab 448000 -ar 48000 -ac 1 -map 0:0 -map 0:1 "C:\Documents and Settings\Administrator\Local Settings\Application Data\Wild Media Server\WMS\Temp\Test_4d4b6af0a94a18a7d38c81d017218047.mpg" -v -1 -loglevel quiet FFmpeg version SVN-r22696, Copyright (c) 2000-2010 the FFmpeg developers built on Apr 3 2010 15:45:28 with gcc 4.4.0 libavutil 50.13. 0 / 50.13. 0 libavcodec 52.61. 0 / 52.61. 0 libavformat 52.57. 1 / 52.57. 1 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0.10. 0 / 0.10. 0 libpostproc 51. 2. 0 / 51. 2. 0 Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (30000/1001) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Documents and Settings\Administrator\My Documents\My Videos\鎴戠殑鐢靛奖.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf52.38.0 Duration: 00:03:24.83, start: 0.000000, bitrate: 271 kb/s Stream #0.0(und): Video: h264, yuv420p, 320x240, 229 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc Stream #0.1(und): Audio: aac, 22050 Hz, mono, s16, 38 kb/s Output #0, dvd, to 'C:\Documents and Settings\Administrator\Local Settings\Application Data\Wild Media Server\WMS\Temp\Test_f2e0171cfb55d90ab6226eeda2ce336a.mpg': (und): Video: mpeg2video, yuv420p, 720x406 [PAR 255:254 DAR 45900:25781], q=2-31, 3000 kb/s, 90k tbn, 29.97 tbc (und): Audio: ac3, 48000 Hz, mono, s16, 448 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding frame= 52 fps= 0 q=2.0 size= 432kB time=1.66 bitrate=2126.8kbits/s dup=0 frame= 98 fps= 96 q=2.0 size= 1002kB time=3.20 bitrate=2565.1kbits/s dup=0 frame= 152 fps=100 q=2.0 size= 1866kB time=4.99 bitrate=3062.2kbits/s dup=0 frame= 203 fps=101 q=2.0 size= 2722kB time=6.72 bitrate=3318.2kbits/s dup=0 frame= 251 fps=100 q=2.0 size= 3494kB time=8.34 bitrate=3431.3kbits/s dup=0
I use ffmpeg to test the same file, console output
ffmpeg itself is correct.Code: Select all
ffmpeg -i "C:\Documents and Settings\Administrator\My Documents\My Videos\我的电影.mp4" -f dvd -vcodec mpeg2video -b 3000000 -aspect 16:9 -copyts -pix_fmt yuv420p -padleft 90 -padright 90 -padtop 0 -padbottom 0 -padcolor 303030 -s 540x406 -threads 2 -acodec ac3 -ab 448000 -ar 48000 -ac 1 -map 0:0 -map 0:1 "C:\Documents and Settings\Administrator\Local Settings\Application Data\Wild Media Server\WMS\Temp\Test_4d4b6af0a94a18a7d38c81d017218047.mpg" -v -1 FFmpeg version SVN-r22492-snapshot, Copyright (c) 2000-2010 the FFmpeg developers built on Mar 13 2010 10:00:11 with gcc 4.4.1 libavutil 50.11. 0 / 50.11. 0 libavcodec 52.58. 0 / 52.58. 0 libavformat 52.55. 0 / 52.55. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter 1.17. 0 / 1.17. 0 libswscale 0.10. 0 / 0.10. 0 libpostproc 51. 2. 0 / 51. 2. 0 Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (30000/1001) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Documents and Settings\Administrator\My Documents\My Videos\我的电影.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf52.38.0 Duration: 00:03:24.83, start: 0.000000, bitrate: 271 kb/s Stream #0.0(und): Video: h264, yuv420p, 320x240, 229 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc Stream #0.1(und): Audio: aac, 22050 Hz, mono, s16, 38 kb/s Output #0, dvd, to 'C:\Documents and Settings\Administrator\Local Settings\Application Data\Wild Media Server\WMS\Temp\Test_4d4b6af0a94a18a7d38c81d017218047.mpg ': Metadata: encoder : Lavf52.55.0 Stream #0.0(und): Video: mpeg2video, yuv420p, 720x406 [PAR 255:254 DAR 45900:25781], q=2-31, 3000 kb/s, 90k tbn, 29.97 tbc Stream #0.1(und): Audio: ac3, 48000 Hz, mono, s16, 448 kb/s
but rename the same file in english, it work no problem. i think wms may be not operate chinese charaters in filename very well.Eugene wrote: May be TV has problems with mono sound.