arcticfox1919 / vlc-flutter

Flutter plugin for vlc player
MIT License
21 stars 7 forks source link

Local files not working #2

Closed abdelaziz-mahdy closed 2 years ago

abdelaziz-mahdy commented 2 years ago

playing local files only outputs this code and never play the file

D/VLC     (12344): [aa4c32e0/612f6572] libvlc libvlc: VLC media player - 3.0.12.1 Vetinari
D/VLC     (12344): [aa4c32e0/0] libvlc libvlc: Copyright © 1996-2020 the VideoLAN team
D/VLC     (12344): [aa4c32e0/342e3010] libvlc libvlc: revision 3.0.12.1-29-ge05b3c01e8
D/VLC     (12344): [aa4c32e0/0] libvlc libvlc: configured with ../configure  '--host=i686-linux-android' '--build=x86_64-unknown-linux' '--with-contrib=/builds/videolan/vlc-android/vlc/contrib/i686-linux-android' '--prefix=/builds/videolan/vlc-android/vlc/build-android-i686-linux-android/install/' '--with-pic' '--disable-nls' '--enable-live555' '--enable-realrtsp' '--enable-avformat' '--enable-swscale' '--enable-avcodec' '--enable-opus' '--enable-opensles' '--enable-matroska' '--enable-taglib' '--enable-dvbpsi' '--disable-vlc' '--disable-shared' '--disable-update-check' '--disable-vlm' '--disable-dbus' '--enable-lua' '--disable-vcd' '--disable-v4l2' '--enable-dvdread' '--enable-dvdnav' '--enable-bluray' '--disable-linsys' '--disable-decklink' '--disable-libva' '--disable-dv1394' '--enable-mod' '--disable-sid' '--disable-gme' '--disable-tremor' '--disable-mad' '--enable-mpg123' '--disable-dca' '--disable-sdl-image' '--enable-zvbi' '--disable-fluidsynth' '--enable-fluidlite' '--disable-jack' '--disable-pulse' '--disable-alsa' '-
D/VLC     (12344): [aa4c32e0/b4eeda10] libvlc libvlc: plug-ins loaded: 373 modules
D/VLC     (12344): [f3e2e090/aa248470] libvlc logger: looking for logger module matching "any": 4 candidates
D/VLC     (12344): [f3e2e090/f] libvlc logger: using logger module "android_logger"
D/VLC     (12344): [aa4c32e0/3038] libvlc libvlc: translation test: code is "C"
D/VLC     (12344): [f3e2f9f0/3038] libvlc keystore: looking for keystore module matching "memory": 3 candidates
D/VLC     (12344): [f3e2f9f0/3038] libvlc keystore: using keystore module "memory"
D/VLC     (12344): [aa4c32e0/3038] libvlc libvlc: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU 
D/VLC     (12344): [f3dac5c0/3038] libvlc generic: creating audio output
D/VLC     (12344): [eda83ec0/3038] libvlc audio output: looking for audio output module matching "android_audiotrack": 4 candidates
D/VLC     (12344): [eda83ec0/3038] libvlc audio output: using audio output module "android_audiotrack"
D/VLC     (12344): [f3dac5c0/3038] libvlc generic: keeping audio output

even though uri plays links perfectly

abdelaziz-mahdy commented 2 years ago

example for my path /storage/emulated/0/Download/Anime_here/Hakuouki OVA 2021 ep 3 480.mp4

abdelaziz-mahdy commented 2 years ago

also i did try a path with no spaces DIDNT WORK also i did try no path at all same output

so i guess the output is the vlc controller being created (in that case why is the play function with path not working?)

abdelaziz-mahdy commented 2 years ago

Created pull request with the fix