FTP: Can't play any video which file name contain Chinese characters
Hello,
I can't play any video which file name contain Chinese characters, the mobile VLC app in AppStore also can't play it.
MobileVLCKit version:3.4.1b9
FTP environment: I set my ftp server via QuickFTP on my Mac. AppStore URL: https://apps.apple.com/cn/app/quickftp-server/id1451646819?mt=12
Example: You can change any video on your FTP Server file name to Chinese. for example, change file name to "彩虹.MP4"
please fix it, thanks.
2022-09-24 19:10:10.987058+0200 VLC for iOS[99812:2065580] [DBG] Copyright © 1996-2022 the VideoLAN team
2022-09-24 19:10:10.987110+0200 VLC for iOS[99812:2065580] [DBG] revision 3.0.18-rc-73-g1ccc570506
2022-09-24 19:10:10.987164+0200 VLC for iOS[99812:2065580] [DBG] configured with /Users/videolanci/builds/iHxegY-y/0/videolan/VLCKit/libvlc/vlc/configure '--prefix=/Users/videolanci/builds/iHxegY-y/0/videolan/VLCKit/libvlc/vlc/install-iPhoneOS/arm64' '--host=aarch64-apple-darwin' '--with-contrib=/Users/videolanci/builds/iHxegY-y/0/videolan/VLCKit/libvlc/vlc/contrib/iPhoneOS-aarch64-apple-darwin-aarch64' '--enable-static' '--enable-dvbpsi' '--enable-avcodec' '--disable-macosx' '--disable-macosx-qtkit' '--disable-macosx-avfoundation' '--disable-shared' '--enable-opus' '--disable-faad' '--disable-lua' '--disable-a52' '--enable-fribidi' '--disable-qt' '--disable-skins2' '--disable-vcd' '--disable-vlc' '--disable-vlm' '--disable-nls' '--disable-sse' '--disable-notify' '--enable-live555' '--enable-realrtsp' '--enable-swscale' '--disable-projectm' '--enable-libass' '--enable-libxml2' '--disable-goom' '--disable-dvdread' '--disable-dvdnav' '--disable-bluray' '--disable-linsys' '--disable-libva' '--disable-gme' '--disable-tremor' '--enable-vorbis' '--disable-fluidsynth' '--disable-jack' '--disable-pulse' '--disable-mtp' '--enable-ogg' '--enable-speex' '--enable-theora' '--enable-flac' '--disable-screen' '--enable-freetype' '--enable-taglib' '--enable-smb2' '--disable-mmx' '--disable-sparkle' '--disable-addonmanagermodules' '--disable-mad' 'host_alias=aarch64-apple-darwin' 'CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'CFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk -mios-version-min=8.4 -arch arm64 -g -DNDEBUG' 'LDFLAGS=-arch arm64 -Wl,-ios_version_min,8.4' 'CPPFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk -mios-version-min=8.4 -arch arm64 -g' 'CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++' 'CXXFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk -mios-version-min=8.4 -arch arm64 -g' 'OBJC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'OBJCFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk -mios-version-min=8.4 -arch arm64 -g' 'CCAS=gas-preprocessor.pl /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'PKG_CONFIG_PATH='
2022-09-24 19:10:10.995635+0200 VLC for iOS[99812:2065580] [DBG] Creating an input for '/Users/fkuehne/Desktop/Samples/彩虹.mp3'
2022-09-24 19:10:10.995974+0200 VLC for iOS[99812:2065580] [DBG] reusing audio output
2022-09-24 19:10:10.996042+0200 VLC for iOS[99812:2065580] [DBG] keeping audio output
2022-09-24 19:10:10.996212+0200 VLC for iOS[99812:2066913] [DBG] using timeshift granularity of 50 MiB
2022-09-24 19:10:10.996306+0200 VLC for iOS[99812:2066913] [DBG] using default timeshift path
2022-09-24 19:10:10.996407+0200 VLC for iOS[99812:2066913] [DBG] `ftp://localhost:2121/%2FUsers%2Ffkuehne%2FDesktop%2FSamples%2F%E5%BD%A9%E8%99%B9.mp3' gives access `ftp' demux `any' path `localhost:2121/%2FUsers%2Ffkuehne%2FDesktop%2FSamples%2F%E5%BD%A9%E8%99%B9.mp3'
2022-09-24 19:10:10.996495+0200 VLC for iOS[99812:2066913] [DBG] creating demux: access='ftp' demux='any' location='localhost:2121/%2FUsers%2Ffkuehne%2FDesktop%2FSamples%2F%E5%BD%A9%E8%99%B9.mp3' file='(null)'
2022-09-24 19:10:10.996553+0200 VLC for iOS[99812:2066913] [DBG] looking for access_demux module matching "ftp": 12 candidates
2022-09-24 19:10:10.996606+0200 VLC for iOS[99812:2066913] [DBG] no access_demux modules matched
2022-09-24 19:10:10.996664+0200 VLC for iOS[99812:2066913] [DBG] creating access: ftp://localhost:2121/%2FUsers%2Ffkuehne%2FDesktop%2FSamples%2F%E5%BD%A9%E8%99%B9.mp3
2022-09-24 19:10:10.996720+0200 VLC for iOS[99812:2066913] [DBG] looking for access module matching "ftp": 66 candidates
2022-09-24 19:10:10.996781+0200 VLC for iOS[99812:2066913] [DBG] resolving localhost ...
2022-09-24 19:10:10.997598+0200 VLC for iOS[99812:2066913] [DBG] connecting to localhost port 2121 ...
2022-09-24 19:10:11.002806+0200 VLC for iOS[99812:2066913] [DBG] received response: "220 uFTP server (version 1.0.1) ready."
2022-09-24 19:10:11.002878+0200 VLC for iOS[99812:2066913] [DBG] connection accepted (220)
2022-09-24 19:10:11.002927+0200 VLC for iOS[99812:2066913] [DBG] sending request: "FEAT" (6 bytes)
2022-09-24 19:10:11.004644+0200 VLC for iOS[99812:2066913] [DBG] received response: "211-Features supported"
2022-09-24 19:10:11.005006+0200 VLC for iOS[99812:2066913] [DBG] looking for keystore module matching "any": 6 candidates
2022-09-24 19:10:11.005062+0200 VLC for iOS[99812:2066913] [DBG] no keystore modules matched
2022-09-24 19:10:11.005107+0200 VLC for iOS[99812:2066913] [DBG] sending request: "USER anonymous" (16 bytes)
2022-09-24 19:10:11.007710+0200 VLC for iOS[99812:2066913] [DBG] received response: "230 User anonymous logged in."
2022-09-24 19:10:11.007756+0200 VLC for iOS[99812:2066913] [DBG] user accepted
2022-09-24 19:10:11.007789+0200 VLC for iOS[99812:2066913] [DBG] sending request: "EPSV ALL" (10 bytes)
2022-09-24 19:10:11.010020+0200 VLC for iOS[99812:2066913] [DBG] received response: "229 Entering Extended Passive Mode (|||4232|)"
2022-09-24 19:10:11.010093+0200 VLC for iOS[99812:2066913] [DBG] sending request: "TYPE I" (8 bytes)
2022-09-24 19:10:11.012135+0200 VLC for iOS[99812:2066913] [DBG] received response: "200 Type set to I."
2022-09-24 19:10:11.012193+0200 VLC for iOS[99812:2066913] [DBG] sending request: "SIZE /Users/fkuehne/Desktop/Samples/彩虹.mp3" (48 bytes)
2022-09-24 19:10:11.014362+0200 VLC for iOS[99812:2066913] [DBG] received response: "550 /Users/fkuehne/Desktop/Samples/彩虹.mp3 file too large for SIZE."
2022-09-24 19:10:11.014448+0200 VLC for iOS[99812:2066913] [DBG] sending request: "CWD /Users/fkuehne/Desktop/Samples/彩虹.mp3" (47 bytes)
2022-09-24 19:10:11.016492+0200 VLC for iOS[99812:2066913] [DBG] received response: "550 CWD failed."
2022-09-24 19:10:11.016558+0200 VLC for iOS[99812:2066913] [ERR] file or directory does not exist
2022-09-24 19:10:11.016625+0200 VLC for iOS[99812:2066913] [DBG] resolving localhost ...
2022-09-24 19:10:11.017308+0200 VLC for iOS[99812:2066913] [DBG] connecting to localhost port 2121 ...
2022-09-24 19:10:11.021274+0200 VLC for iOS[99812:2066913] [DBG] received response: "220 uFTP server (version 1.0.1) ready."
2022-09-24 19:10:11.021328+0200 VLC for iOS[99812:2066913] [DBG] connection accepted (220)
2022-09-24 19:10:11.021364+0200 VLC for iOS[99812:2066913] [DBG] sending request: "FEAT" (6 bytes)
2022-09-24 19:10:11.022748+0200 VLC for iOS[99812:2066913] [DBG] received response: "211-Features supported"
2022-09-24 19:10:11.022939+0200 VLC for iOS[99812:2066913] [DBG] looking for keystore module matching "any": 6 candidates
2022-09-24 19:10:11.022975+0200 VLC for iOS[99812:2066913] [DBG] no keystore modules matched
2022-09-24 19:10:11.023006+0200 VLC for iOS[99812:2066913] [DBG] sending request: "USER anonymous" (16 bytes)
2022-09-24 19:10:11.024485+0200 VLC for iOS[99812:2066913] [DBG] received response: "230 User anonymous logged in."
2022-09-24 19:10:11.024521+0200 VLC for iOS[99812:2066913] [DBG] user accepted
2022-09-24 19:10:11.024549+0200 VLC for iOS[99812:2066913] [DBG] sending request: "EPSV ALL" (10 bytes)
2022-09-24 19:10:11.026335+0200 VLC for iOS[99812:2066913] [DBG] received response: "229 Entering Extended Passive Mode (|||24712|)"
2022-09-24 19:10:11.026390+0200 VLC for iOS[99812:2066913] [DBG] sending request: "TYPE I" (8 bytes)
2022-09-24 19:10:11.028209+0200 VLC for iOS[99812:2066913] [DBG] received response: "200 Type set to I."
2022-09-24 19:10:11.028292+0200 VLC for iOS[99812:2066913] [DBG] sending request: "SIZE /Users/fkuehne/Desktop/Samples/彩虹.mp3" (48 bytes)
2022-09-24 19:10:11.032364+0200 VLC for iOS[99812:2066913] [DBG] received response: "550 /Users/fkuehne/Desktop/Samples/彩虹.mp3 file too large for SIZE."
2022-09-24 19:10:11.032417+0200 VLC for iOS[99812:2066913] [DBG] sending request: "CWD /Users/fkuehne/Desktop/Samples/彩虹.mp3" (47 bytes)
2022-09-24 19:10:11.034967+0200 VLC for iOS[99812:2066913] [DBG] received response: "550 CWD failed."
2022-09-24 19:10:11.035025+0200 VLC for iOS[99812:2066913] [ERR] file or directory does not exist
2022-09-24 19:10:11.035084+0200 VLC for iOS[99812:2066913] [DBG] resolving localhost ...
2022-09-24 19:10:11.035531+0200 VLC for iOS[99812:2066913] [DBG] connecting to localhost port 2121 ...
2022-09-24 19:10:11.036918+0200 VLC for iOS[99812:2066913] [DBG] received response: "220 uFTP server (version 1.0.1) ready."
2022-09-24 19:10:11.036976+0200 VLC for iOS[99812:2066913] [DBG] connection accepted (220)
2022-09-24 19:10:11.037022+0200 VLC for iOS[99812:2066913] [DBG] sending request: "FEAT" (6 bytes)
2022-09-24 19:10:11.058587+0200 VLC for iOS[99812:2066913] [DBG] received response: "211-Features supported"
2022-09-24 19:10:11.059051+0200 VLC for iOS[99812:2066913] [DBG] looking for keystore module matching "any": 6 candidates
2022-09-24 19:10:11.059096+0200 VLC for iOS[99812:2066913] [DBG] no keystore modules matched
2022-09-24 19:10:11.059127+0200 VLC for iOS[99812:2066913] [DBG] sending request: "USER anonymous" (16 bytes)
2022-09-24 19:10:11.060543+0200 VLC for iOS[99812:2066913] [DBG] received response: "230 User anonymous logged in."
2022-09-24 19:10:11.060589+0200 VLC for iOS[99812:2066913] [DBG] user accepted
2022-09-24 19:10:11.060622+0200 VLC for iOS[99812:2066913] [DBG] sending request: "EPSV ALL" (10 bytes)
2022-09-24 19:10:11.062300+0200 VLC for iOS[99812:2066913] [DBG] received response: "229 Entering Extended Passive Mode (|||63624|)"
2022-09-24 19:10:11.062355+0200 VLC for iOS[99812:2066913] [DBG] sending request: "TYPE I" (8 bytes)
2022-09-24 19:10:11.063851+0200 VLC for iOS[99812:2066913] [DBG] received response: "200 Type set to I."
2022-09-24 19:10:11.063894+0200 VLC for iOS[99812:2066913] [DBG] sending request: "SIZE /Users/fkuehne/Desktop/Samples/彩虹.mp3" (48 bytes)
2022-09-24 19:10:11.078785+0200 VLC for iOS[99812:2066913] [DBG] received response: "550 /Users/fkuehne/Desktop/Samples/彩虹.mp3 file too large for SIZE."
2022-09-24 19:10:11.079028+0200 VLC for iOS[99812:2066913] [DBG] sending request: "CWD /Users/fkuehne/Desktop/Samples/彩虹.mp3" (47 bytes)
2022-09-24 19:10:11.080381+0200 VLC for iOS[99812:2066913] [DBG] received response: "550 CWD failed."
2022-09-24 19:10:11.080483+0200 VLC for iOS[99812:2066913] [ERR] file or directory does not exist
So according to VLC, the file does not exist, while when listing the directory with libvlc, it is correctly listed.
Edited by Felix Paul Kühne