Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Mobile
User Name
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Firefox OS, Sailfish OS, Maemo, MeeGo, Ubuntu Mobile, WebOS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site:


  Search this Thread
Old 09-05-2018, 03:28 PM   #1
Mohammed BEY
Registered: Feb 2017
Location: Lorient
Distribution: Ubuntu
Posts: 34

Rep: Reputation: Disabled
No Java virtual machine has been registered Error

I successfully cross-compiled FFmpeg for aarch64 ARM architecture run on Android. I enabled "mediacodec" option to leverage the Hardware decoders available on my board (Snapdragon 810).
When I run FFmpeg on the board, using the following command line:
./ffmpeg -vcodec hevc_mediacodec -i jellyfish-3-mbps-hd-hevc.mkv -f null out.null

I got this error:
[amediaformat @ 0x7f9c65e100] No Java virtual machine has been registered
[hevc_mediacodec @ 0x7f9c685b00] Failed to create media format
Stream mapping:
Stream #0:0 -> #0:0 (hevc (hevc_mediacodec) -> wrapped_avframe (native))
Error while opening decoder for input stream #0:0 : Generic error in an external library

I read in many posts on the internet that Android OS doesn't run on JVM but instead it uses DVM (Dalvik Virtual Machine).
Is there a solution for that issue?

Any little help is welcome.
Thank you in advance.
Best regards


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unrecognized option: -java Could not create the Java virtual machine. marwa88 Linux - Software 5 11-30-2015 05:02 PM
Java Virtual Machine nodnarb Linux - Software 1 07-19-2004 05:41 PM
Java Virtual machine ServalSoft Linux - Software 1 02-13-2004 09:27 PM
Java Virtual Machine zexter Linux - Software 1 11-30-2003 05:28 PM
Java Virtual Machine Odd_Bloke Linux - Software 4 08-24-2003 11:47 PM > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 10:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration