Skip to content

Samples not working on Android (black screen) #303

@giuppe

Description

@giuppe

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions