[Android Q&A, Help & Troubleshooting] cb56:
Unfortunately nothing of this has solved my problem.

Looking into the log I found this error:

Create new media retriever from pid 22485

~OggExtractor ++

~MyVorbisExtractor ++

~MyVorbisExtractor --

~OggExtractor --

/storage/emulated/0/Documents/File87.jpg file has sound but that sound & shot version is over then this codec

Wrong SEF_info

art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: java_array == null

art/runtime/check_jni.cc:65] in call to ReleasePrimitiveArray

art/runtime/check_jni.cc:65] from int[] com.sec.android.secvision.sef.SEFJNI.listSEFDataTypes(java.lang.String)

art/runtime/check_jni.cc:65] "MediaScannerService" prio=5 tid=12 Runnable

art/runtime/check_jni.cc:65] | group="main" sCount=0 dsCount=0 obj=0x32c07380 self=0xaefe4800

art/runtime/check_jni.cc:65] | sysTid=22508 nice=11 cgrp=apps/bg_non_interactive sched=0/0 handle=0xaef53200

art/runtime/check_jni.cc:65] | state=R schedstat=( 6173172692 503075028 3320 ) utm=277 stm=340 core=3 HZ=100

art/runtime/check_jni.cc:65] | stack=0xa0e2a000-0xa0e2c000 stackSize=1036KB

art/runtime/check_jni.cc:65] | held mutexes= "mutator lock"(shared held)

art/runtime/check_jni.cc:65] native: #00 pc 00004640 /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23)

art/runtime/check_jni.cc:65] native: #01 pc 00002e8d /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8)

art/runtime/check_jni.cc:65] native: #02 pc 002475a1 /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*, art::mirror::ArtMethod*)+68)

art/runtime/check_jni.cc:65] native: #03 pc 0022c39b /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+146)

art/runtime/check_jni.cc:65] native: #04 pc 000b11e3 /system/lib/libart.so (art::JniAbort(char const*, char const*)+582)

art/runtime/check_jni.cc:65] native: #05 pc 000b191d /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+60)

art/runtime/check_jni.cc:65] native: #06 pc 001c0aa3 /system/lib/libart.so (art::JNI::ReleaseIntArrayElements(_JNIEnv*, _jintArray*, int*, int)+626)

art/runtime/check_jni.cc:65] native: #07 pc 000046f4 /system/lib/libSEF.so (Java_com_sec_android_secvision_sef_SEFJNI_listSEFDataTypes+380)

art/runtime/check_jni.cc:65] native: #08 pc 00000c95 /system/framework/arm/boot.oat (Java_com_sec_android_secvision_sef_SEFJNI_listSEFDataTypes__Ljava_lang_String_2+100)

art/runtime/check_jni.cc:65] at com.sec.android.secvision.sef.SEFJNI.listSEFDataTypes(Native method)

art/runtime/check_jni.cc:65] at com.sec.android.secvision.sef.SEF.listSEFDataTypes(SEF.java:692)

art/runtime/check_jni.cc:65] at android.media.MediaScanner$MyMediaScannerClient.endFile(MediaScanner.java:1291)

art/runtime/check_jni.cc:65] at android.media.MediaScanner$MyMediaScannerClient.doScanFile(MediaScanner.java:794)

art/runtime/check_jni.cc:65] at android.media.MediaScanner$MyMediaScannerClient.scanFile(MediaScanner.java:757)

art/runtime/check_jni.cc:65] at android.media.MediaScanner.processDirectory(Native method)

art/runtime/check_jni.cc:65] at android.media.MediaScanner.scanDirectories(MediaScanner.java:1999)

art/runtime/check_jni.cc:65] at com.android.providers.media.MediaScannerService.scan(MediaScannerService.java:155)

art/runtime/check_jni.cc:65] at com.android.providers.media.MediaScannerService.access$400(MediaScannerService.java:52)

art/runtime/check_jni.cc:65] at com.android.providers.media.MediaScannerService$ServiceHandler.handleMessage(MediaScannerService.java:451)

art/runtime/check_jni.cc:65] at android.os.Handler.dispatchMessage(Handler.java:102)

art/runtime/check_jni.cc:65] at android.os.Looper.loop(Looper.java:145)

art/runtime/check_jni.cc:65] at com.android.providers.media.MediaScannerService.run(MediaScannerService.java:341)

art/runtime/check_jni.cc:65] at java.lang.Thread.run(Thread.java:818)

art/runtime/check_jni.cc:65]

art/runtime/runtime.cc:286] Runtime aborting...

art/runtime/runtime.cc:286] Aborting thread:

art/runtime/runtime.cc:286] "MediaScannerService" prio=4 tid=12 Native

I deleted the file and I finally fixed the error "android.process.media has stopped".

So I advise you to check your files...and do not try to extract sounds from a jpeg! :)

cb56