Results 1 to 1 of 1
  1. #1

    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 availble 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 in 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
    Last edited by Mohammed BEY; 11-28-2018 at 12:06 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts