Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Samples not working on Android (black screen) #303

Open
giuppe opened this issue Nov 6, 2024 · 0 comments
Open

Samples not working on Android (black screen) #303

giuppe opened this issue Nov 6, 2024 · 0 comments

Comments

@giuppe
Copy link

giuppe commented Nov 6, 2024

Steps to reproduce:

  • build the Flixel/OpenFL/Lime samples with lime test android

hxcodec version: latest git, main branch

Results:

Flixel sample (shows: black rectangle with magenta bars on the side):

11-06 23:05:08.520  5747  5905 E VLC     : [000000776414ad20/1711] libvlc stream: cannot open file //assets/video.mp4 (No such file or directory)
11-06 23:05:08.520  5747  5905 E VLC     : [0000007814103670/1711] libvlc input: Your input can't be opened
11-06 23:05:08.520  5747  5905 E VLC     : [0000007814103670/1711] libvlc input: VLC is unable to open the MRL 'file:////assets/video.mp4'. Check the log for details.

OpenFL sample (shows: full magenta screen):

11-06 23:12:25.940  7240  7420 E VLC     : [0000007764149120/1cfc] libvlc stream: cannot open file /assets/video.mp4 (No such file or directory)
11-06 23:12:25.940  7240  7420 E VLC     : [00000078140e02f0/1cfc] libvlc input: Your input can't be opened
11-06 23:12:25.940  7240  7420 E VLC     : [00000078140e02f0/1cfc] libvlc input: VLC is unable to open the MRL 'file:///assets/video.mp4'. Check the log for details.

OpenFL (with -debug):

11-06 23:27:48.997 10500 10553 D HXCODEC : VLC media player - 3.0.18 Vetinari
11-06 23:27:48.997 10500 10553 D HXCODEC : Copyright © 1996-2022 the VideoLAN team
11-06 23:27:48.997 10500 10553 D HXCODEC : revision 3.0.18-72-g6bbe285c0b
11-06 23:27:48.997 10500 10553 D HXCODEC : configured with ../configure  '--host=aarch64-linux-android' '--build=x86_64-unknown-linux' '--with-contrib=/builds/videolan/vlc-android/vlc/contrib/aarch64-linux-android' '--prefix=/builds/videolan/vlc-android/vlc/build-android-aarch64-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' '--enable-gme' '--disable-tremor' '--disable-mad' '--enable-mpg123' '--disable-dca' '--disable-sdl-image' '--enable-zvbi' '--disable-fluidsynth' '--enable-fluidlite' '--disable-jack' '--disable-pulse' '--disable-alsa' '--disable-samplerate'
11-06 23:27:48.998 10500 10553 D HXCODEC : creating audio output
11-06 23:27:48.998 10500 10553 D HXCODEC : looking for audio output module matching "any": 4 candidates
11-06 23:27:48.999 10500 10553 D HXCODEC : using audio output module "android_audiotrack"
11-06 23:27:48.999 10500 10553 D HXCODEC : keeping audio output
11-06 23:27:48.999 10500 10553 D HXCODEC : Creating an input for 'video.mp4'
11-06 23:27:49.000 10500 10648 D HXCODEC : using timeshift granularity of 50 MiB
11-06 23:27:49.000 10500 10648 D HXCODEC : using default timeshift path
11-06 23:27:49.001 10500 10648 D HXCODEC : `file:///assets/video.mp4' gives access `file' demux `any' path `/assets/video.mp4'
11-06 23:27:49.001 10500 10648 D HXCODEC : creating demux: access='file' demux='any' location='/assets/video.mp4' file='/assets/video.mp4'
11-06 23:27:49.001 10500 10648 D HXCODEC : looking for access_demux module matching "file": 7 candidates
11-06 23:27:49.001 10500 10648 D HXCODEC : no access_demux modules matched
11-06 23:27:49.001 10500 10648 D HXCODEC : creating access: file:///assets/video.mp4
11-06 23:27:49.001 10500 10648 D HXCODEC :  (path: /assets/video.mp4)
11-06 23:27:49.001 10500 10648 D HXCODEC : looking for access module matching "file": 25 candidates
11-06 23:27:49.001 10500 10648 E HXCODEC : cannot open file /assets/video.mp4 (No such file or directory)
11-06 23:27:49.001 10500 10648 D HXCODEC : no access modules matched
11-06 23:27:49.001 10500 10648 E HXCODEC : Your input can't be opened
11-06 23:27:49.001 10500 10648 E HXCODEC : VLC is unable to open the MRL 'file:///assets/video.mp4'. Check the log for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant