Showing posts with label PACROM. Show all posts
Showing posts with label PACROM. Show all posts

Thursday, 14 July 2016

Problems with Video recording on PACROM MM.



Greetings Developers,

I would really appreciate some help. By God's grace, in the T-Mobile S4 development thread http://forum.xda-developers.com/gala...om-mm-t3400111 , I have put together several Marshmallow Roms, namely PAC Rom and AOKP MM, that have the same problem. The camera works to take pictures, but cannot record video. It "appears" to be recording in the built in camera app, but does not actually save the recording. If I use another app, such as OpenCamera, it stops the recording as soon as I try to start. I am relatively new to development, and any help would be greatly appreciated, as well as fully recognized and credited.

Below is the logcat errors/fails when using the CM camera app, and the OpenCamer app. I just really want to get this fixed for the people who are using the roms. I hate to sell them short because I've made some sort of error.

In my inexperienced opinion, this appears to be an audio problem. I have compared the mediarecorder.cpp and similar files between CM13 and my roms, and they are identical. I was wondering if it might be vendor blobs, so I borrowed them from Beanstalk (where the camera video recorder function works), but that did not work either.

I am pretty sure that it is not the app, because using any video recording app fails to actually record the video.


Code:


Here are the fails from the logcat. I am only focusing on the errors, stops, or fails.

Using the built in Camera app:

07-12 06:43:32.459  244  3766 I MediaCodecSource: encoder (audio) stopped
07-12 06:43:32.459  244  652 I MediaCodecSource: puller (audio) stopping
07-12 06:43:32.461  244  3847 E OMXNodeInstance: setConfig(1d:google.vorbis.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
07-12 06:43:32.461  244  3847 I ACodec  : codec does not support config priority (err -2147483648)
07-12 06:43:32.462  244  3847 I MediaCodec: MediaCodec will operate in async mode
07-12 06:43:32.467  244  3846 I NuPlayerDecoder: [OMX.google.vorbis.decoder] resubmitting CSD
07-12 06:43:32.468  244  3846 I NuPlayerDecoder: [OMX.google.vorbis.decoder] resubmitting CSD
07-12 06:43:32.469  244  3775 D ALSAStreamOps: setParameters(): keyRouting with device 0x0
07-12 06:43:32.469  244  3775 E ALSAStreamOps: must not change mDevices to 0
07-12 06:43:32.470  244  3775 D AudioStreamInALSA: standby
07-12 06:43:32.470  244  3775 D AudioStreamInALSA: standby
07-12 06:43:32.470  244  3775 D ALSADevice: standby: handle 0xb216c1c0 h 0x0
07-12 06:43:32.472  244  3848 W SoftVorbis: vorbis_dsp_synthesis returned -135
07-12 06:43:32.473  244  3848 W SoftVorbis: vorbis_dsp_synthesis returned -135
07-12 06:43:32.500  3612  3612 E MediaRecorder: stop failed: -1007
07-12 06:43:32.502  3612  3612 E CAM_VideoModule: java.lang.RuntimeException: stop failed.
07-12 06:43:33.984  244  3647 W AMessage: failed to post message as target looper for handler 0 is gone.

Using the OpenCamera App for comparison:

07-12 06:50:28.951  244  4439 E ACDB-LOADER: Error: ACDB EC_REF_RX returned = -8
07-12 06:50:28.976  244  4436 E SoftAVCEnc: Error in extractGraphicBuffer
07-12 06:50:28.976  244  4435 E ACodec  : [OMX.google.h264.encoder] ERROR(0x80001001)
07-12 06:50:28.976  244  4435 E ACodec  : signalError(omxError 0x80001001, internalError -2147483648)
07-12 06:50:28.976  244  4435 E ACodec  : [OMX.google.h264.encoder] ERROR(0x80001001)
07-12 06:50:28.976  244  4435 E ACodec  : signalError(omxError 0x80001001, internalError -2147483648)
07-12 06:50:28.977  244  4434 E MediaCodec: Codec reported err 0x80001001, actionCode 0, while in state 6
07-12 06:50:28.977  244  4439 D ALSADevice: setHardwareParams: buffer_size 16384, period_size 4096, period_cnt 4
07-12 06:50:28.977  244  4431 E MediaCodecSource: Encoder (video) reported error : 0x80001001
07-12 06:50:29.124  4180  4180 E MediaRecorder: stop failed: -1007

So, the errors or fails that are the same are these:
ACDB-LOADER: Error: ACDB EC_REF_RX returned = -8
MediaRecorder: stop failed: -1007

These are both audio errors. It appears that the audio is creating an error, so the video will not save. Unless someone out there knows better (be sure to correct me, I'm still learning). So I will be looking at MediaRecorder and ACDB-LOADER and audio problems.


Once again, any assistance would be greatly appreciated! Thanks!



Tuesday, 5 July 2016

[ROM][UNOFFICIAL][Marshmallow 6.0][h811] PAC-ROM MM, ROM for the LG G4 (T-Mobile)






PAC Homepage Vendor Repositories ROM Source Device and Kernel Repositories Gerrit Review Jenkins Buildsystem Jenkins Builds and Stats Crowdin Translations Changelogs JIRA Bugs and Issues Reporting Wiki - Tutorials and Info Discussion and Support Forum Downloads Become a Maintainer PAC-ROM Stats Team and Contributors Google Plus Google Plus Community Twitter Facebook


PAC-ROM is built with our own tweaks and options, including picks and features from the best ROMs out there!

Why choose among ROMs, when you have All-in-One !!













* By flashing this, you automatically void your warranty! *

* If your phone breaks, blows up or runs away from you, do not cry to us! *

* Do not ask for ETAs!! *

* Download the ROM and GApps *

* Reboot to recovery *

* Wipe data/factory reset *

* Flash the ROM and then GApps *

* Reboot your phone *

* Enjoy *

* Download the latest version *

* Reboot to recovery *

* Flash the ROM *

* Wipe both dalvik cache and cache *

* Reboot your phone *

* Enjoy the latest version of PAC-ROM *

* Submit a bug report *

* Submit a patch *

* None for now *

* PAC-ROM Downloads (BasketBuild) *
* PAC-ROM Downloads (AndroidFileHost) *

* GApps *

* PAC-ROM Team *

* Cyanogen Team *

* AOKP Team *

* DirtyUnicorns *

* SlimRoms *

* Vanir *

* Omnirom *

* Special thanks to all our Build Bot Providers (see Contributors list for all names) *

* PAC Graphix Team - Graphics, logos and images (see Contributors list for all names) *

* And of course, thank you for your love and support! *



Support us with these banners:





Help with server costs



XDA:DevDB Information
PAC-ROM, ROM for the T-Mobile LG G4

Contributors
superfes, superfes
Source Code: https://github.com/PAC-ROM

ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Unlocked bootloader & TWRP
Based On: CyanogenMod

Version Information
Status: Alpha

Created 2016-07-05
Last Updated 2016-07-05



Thursday, 30 June 2016

[ROM][OFFICIAL][Marshmallow 6.0][GEEHRC] PAC-ROM MM






PAC Homepage Vendor Repositories ROM Source Device and Kernel Repositories Gerrit Review Jenkins Buildsystem Jenkins Builds and Stats Crowdin Translations Changelogs JIRA Bugs and Issues Reporting Wiki - Tutorials and Info Discussion and Support Forum Downloads Become a Maintainer PAC-ROM Stats Team and Contributors Google Plus Google Plus Community Twitter Facebook


PAC-ROM is built with our own tweaks and options, including picks and features from the best ROMs out there!

Why choose among ROMs, when you have All-in-One !!













* By flashing this, you automatically void your warranty! *

* If your phone breaks, blows up or runs away from you, do not cry to us! *

* Do not ask for ETAs!! *

* Download the ROM and GApps *

* Reboot to recovery *

* Wipe data/factory reset *

* Flash the ROM and then GApps *

* Reboot your phone *

* Enjoy *

* Download the latest version *

* Reboot to recovery *

* Flash the ROM *

* Wipe both dalvik cache and cache *

* Reboot your phone *

* Enjoy the latest version of PAC-ROM *

* Submit a bug report *

* Submit a patch *

* None for now *

* PAC-ROM Downloads *

* GApps *

* PAC-ROM Team *

* Cyanogen Team *

* AOKP Team *

* DirtyUnicorns *

* SlimRoms *

* Vanir *

* Omnirom *

* Special thanks to all our Build Bot Providers (see Contributors list for all names) *

* PAC Graphix Team - Graphics, logos and images (see Contributors list for all names) *

* And of course, thank you for your love and support! *



Support us with these banners:





Help with server costs



XDA:DevDB Information
[ROM][OFFICIAL][Marshmallow 6.0][GEEHRC] PAC-ROM MM, ROM for the LG Optimus G

Contributors
dadi11
Source Code: https://github.com/PAC-ROM

ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
Based On: PAC-ROM

Version Information
Status: Alpha

Created 2016-06-30
Last Updated 2016-06-30