LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.

Notices


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

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


Hello,
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
 
  


Reply



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 04:02 PM
Java Virtual Machine nodnarb Linux - Software 1 07-19-2004 04:41 PM
Java Virtual machine ServalSoft Linux - Software 1 02-13-2004 08:27 PM
Java Virtual Machine zexter Linux - Software 1 11-30-2003 04:28 PM
Java Virtual Machine Odd_Bloke Linux - Software 4 08-24-2003 10:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 05:19 AM.

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