OMX client failed
Posted: 07 May 2014 02:39
Hi,
I am running VLC built from scratch to play videos, works perfectly fine with software decoding, and gpu output on most devices, but failed miserably on Galaxy S4, with OMX.
There is no error message, logcat shows:
Then VLC gets stuck there.
OpenMax IL is notoriously unstable, and it's really device dependent. How do I manually turn off iomx in configure.sh?
I checked there are 3 flags, --enable-omxil, --enable-omxil-vout, --enable-raspery-pi-omixl. Neither are turned on, however, why vlc is still trying to use OMX?
Kind of weirld. Please help.
Thanks,
wminghao
ps. The log message
I am running VLC built from scratch to play videos, works perfectly fine with software decoding, and gpu output on most devices, but failed miserably on Galaxy S4, with OMX.
There is no error message, logcat shows:
Code: Select all
looking for decoder module module matching "mediacodec,iomx,all"
Using client-side OMX mux.
OpenMax IL is notoriously unstable, and it's really device dependent. How do I manually turn off iomx in configure.sh?
I checked there are 3 flags, --enable-omxil, --enable-omxil-vout, --enable-raspery-pi-omixl. Neither are turned on, however, why vlc is still trying to use OMX?
Kind of weirld. Please help.
Thanks,
wminghao
ps. The log message
Code: Select all
D/VLC (11526): core stream: AStreamReadStream: 32768 pos=32768 tk=0 start=0 offset=32768 end=48072
D/VLC (11526): core stream: AStreamRefillStream: used=16024 toread=16024
D/VLC (11526): core stream: AStreamRefillStream: used=16024 toread=16024
D/VLC (11526): core stream: AStreamReadStream: 32768 pos=65536 tk=0 start=0 offset=65536 end=80120
D/VLC (11526): core stream: AStreamRefillStream: used=16024 toread=16024
D/VLC (11526): core stream: AStreamRefillStream: used=16024 toread=16024
D/VLC (11526): core stream: AStreamReadStream: 32768 pos=98304 tk=0 start=0 offset=98304 end=112168
D/VLC (11526): core stream: AStreamRefillStream: used=16024 toread=16024
D/VLC (11526): core stream: AStreamRefillStream: used=16024 toread=16024
D/VLC (11526): core stream: AStreamReadStream: 32768 pos=131072 tk=0 start=0 offset=131072 end=144216
D/VLC (11526): core stream: AStreamRefillStream: used=16024 toread=16024
D/VLC (11526): core stream: AStreamRefillStream: used=16024 toread=16024
D/VLC (11526): core input: selecting program id=0
D/VLC (11526): avformat demux: adding es: video codec = h264 (28)
D/VLC (11526): avformat demux: adding es: audio codec = mp4a (86018)
D/VLC (11526): avformat demux: AVFormat supported stream
D/VLC (11526): avformat demux: - format = flv (FLV (Flash Video))
D/VLC (11526): avformat demux: - start time = 0
D/VLC (11526): avformat demux: - duration = 0
D/VLC (11526): core demux: using demux module "avformat"
D/VLC (11526): core decoder: looking for decoder module matching "mediacodec,iomx,all": 34 candidates
D/AbsListView(11526): unregisterIRListener() is called
I/OMXClient(11526): Using client-side OMX mux.
I/SurfaceFlinger( 205): id=1616 Removed moading (4/6)
I/SurfaceFlinger( 205): id=1616 Removed moading (-2/6)