Closed LightGather closed 8 months ago
Hey, I am seeing the same problem on Samsung Galaxy A54. I am using Unity 2023.2.10f, building IL2CPP scripting backend. Here is what i am getting in console
Can these errors be reproduced using a new project and just the AVPro Movie Capture demo scenes? Have you tried different codecs? Have you tried different capture types, e.g. capture from screen? Could you disable the audio capture please
Hey, I tried different codecs, didn't work. I have disabled audio capture. Still didn't work. I tried capture from screen, still didn't work.
I tested it on iOS device and it worked perfectly!
I tried to build just AVPro Movie Capture demo scene, and the only difference I see is that Stride and Slice height are 0 in my project, and Stride is 1920 and Slice height is 1080 in demo project. What can cause that difference? I also see that LightGather has the same problem.
AVProMovieCapture: š¬ļø (VideoRecorder.cpp:640) VideoRecorder::createVideoCodec - Stride: 0
AVProMovieCapture: š¬ļø (VideoRecorder.cpp:641) VideoRecorder::createVideoCodec - Slice height: 0
Fixed. Seemed to be something specific to Samsung hardware but I can't rule out other hardware having the same issue.
Thank you for resolving it quickly. What was the cause? If I know the cause of this problem, I might be able to guess whether this problem occurs on other devices as well.
The latest version of AVPro Movie Capture has been released. Please let us know if this has not fixed your issue.
I think this problem is solved in the demo project you provided. (Tested on Tab A9+)
However, when I built my app including the 5.2.2 ultra version and updated the app, The error "VideoRecorder::setupCapture - failed to set up" occurred. Interesting fact: I completely deleted the app and reinstalled the built apk, and it worked without problem.
1) Considering this, if there is an app cache of version 5.2.1, could there be a problem with 5.2.2? And if it is true that the cache is causing the problem, is there a way to remove the cache at runtime or not use it, other than removing the cache directly by the user?
2) And when the "VideoRecorder::setupCapture - failed to set up" issue occurs, I think the CaptureBase::StartCapture() function should return false, but there are cases where it returns true when the above error occurs. In this case, wouldn't it be correct to return false?
It works for me. But keep in mind in Unity 2023 there are some specifics.
Keep in mind that in Android Platform -> Player Settings -> Application Entry Point, the Activity option must be the one selected. When it is set to Game Activity, Stride and Slice height are 0. I am testing it on Unity 2023.2.10f.
This option is cached. So when I change it in player settings, I must delete the previously installed application on the phone and install the new version. Otherwise it runs with the old setting.
I tested it with your Demo files and I got the same results. When the Application Entry Point is set to Activity everything works, When it is set to Game Activity - doesn't work.
Can you take a look at this? And if this is the case, and my statement is valid, perhaps update the Android Platform notes page.
@LightGather not sure why it failed to work in the first instance for you, there's nothing our side that should've prevented it from being able to set up the capture.
In response to your second point, setupCapture runs on the graphics thread and is completely asynchronous with the call to StartCapture so there is no way to know if it has succeeded or failed when we return from StartCapture. We are looking to improve the API around this but are reluctant to introduce anything that would break the existing interface.
@vmirchev we've only just stumbled on to this ourselves, upgrading projects to 2023.2 keep the old Application Entry Point setting so it's gone unnoticed so far.
Continuing to update the Capture-related API and make it stable will be of great help to Unity developers like me. Plug-ins like AVProVideo and AVProMovieCapture are a great help in developing various apps with Unity, and I think your team is a great help to this industry. I also want to help develop this plugin through issue reporting. I'll be waiting for the new version.
@vmirchev I've added an issue for using Movie Capture with GameActivity enabled, see #375
@MorrisRH I said above that there was a problem with the app's caching,I found the problem to be a little more specific. If a problem occurs where the stride becomes 0 at a certain resolution when calling the CreateRecorderVideo API, the problem repeats at that resolution. Even if you restart the app and call the CreateRecorderVideo API at the same resolution, the same problem seems to occur. For example, if the stride is set to 0 in the CreateRecorderVideo API due to any issue at 1920X1080, this problem will repeat until the app's data is completely deleted. However, if the resolution is different, whether 1920X1000 or 1080X1920, then the stride does not become 0. You wrote "Added caching of the video codec's format when creating a video recorder in order to reduce CPU overhead for subsequent calls with matching parameters" in the 5.2.1 release notes, and this seems to be a related issue. Is there any way to use uncached codes'format when creating a video recorder?
@LightGather Are you still getting a stride of 0? If so then please provide as much information as possible as this should never be the case. The format cache is invalidated with each AVPro Movie Capture release so it should not be persisting the 0 stride issue in version 5.2.2 unless the device you're running on is still reporting 0 (in which case the original issue has not been resolved).
024-03-18 19:53:05.648 23019-23457/com.test.android E/ACodec: [OMX.qcom.video.encoder.avc] failed to set input port definition parameters.
2024-03-18 19:53:05.648 23019-23457/com.test.android E/ACodec: [OMX.qcom.video.encoder.avc] configureCodec returning error -12
2024-03-18 19:53:05.648 23019-23457/com.test.android E/ACodec: signalError(omxError 0x80001001, internalError -12)
2024-03-18 19:53:05.648 23019-23455/com.test.android E/MediaCodec: Codec reported err 0xfffffff4/NO_MEMORY, actionCode 0, while in state 3/CONFIGURING
2024-03-18 19:53:05.648 23019-23455/com.test.android D/MediaCodec: flushMediametrics
2024-03-18 19:53:05.653 23019-23067/com.test.android W/MediaCodec: configure() failed to reclaimResource
2024-03-18 19:53:05.653 23019-23455/com.test.android E/MediaCodec: Codec reported err 0xffffec77/-5001 (Unknown error 5001), actionCode 0, while in state 0/UNINITIALIZED
2024-03-18 19:53:05.655 23019-23067/com.test.android E/AVProMovieCapture: āļø Manager.GetVideoCodecImageCapabilities - Failed to configure media codec, error: Error 0xfffffff4
2024-03-18 19:53:05.655 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:633) VideoRecorder::createVideoCodec - Media format:
2024-03-18 19:53:05.655 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:634) VideoRecorder::createVideoCodec - MIME type: video/avc
2024-03-18 19:53:05.655 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:635) VideoRecorder::createVideoCodec - Width: 1920
2024-03-18 19:53:05.655 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:636) VideoRecorder::createVideoCodec - Height: 1080
2024-03-18 19:53:05.655 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:637) VideoRecorder::createVideoCodec - Frame rate: 30.000000
2024-03-18 19:53:05.655 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:638) VideoRecorder::createVideoCodec - Bitrate: 10000000
2024-03-18 19:53:05.655 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:639) VideoRecorder::createVideoCodec - I-Frame interval: 1.000000
2024-03-18 19:53:05.655 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:640) VideoRecorder::createVideoCodec - Stride: 0
2024-03-18 19:53:05.655 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:641) VideoRecorder::createVideoCodec - Slice height: 0
2024-03-18 19:53:05.655 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:642) VideoRecorder::createVideoCodec - Colour range: Limited
2024-03-18 19:53:05.655 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:643) VideoRecorder::createVideoCodec - Profile: 8
2024-03-18 19:53:05.655 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:644) VideoRecorder::createVideoCodec - Level: 800
2024-03-18 19:53:05.656 23019-23067/com.test.android I/ACodec: [] Now uninitialized
2024-03-18 19:53:05.656 23019-23467/com.test.android I/ACodec: [] onAllocateComponent
2024-03-18 19:53:05.658 23019-23467/com.test.android I/OMXClient: IOmx service obtained
2024-03-18 19:53:05.669 23019-23467/com.test.android E/ACodec: Unable to instantiate codec 'OMX.qcom.video.encoder.avc' with err 0xfffffff4.
2024-03-18 19:53:05.670 23019-23467/com.test.android E/ACodec: signalError(omxError 0xfffffff4, internalError -12)
2024-03-18 19:53:05.670 23019-23466/com.test.android E/MediaCodec: Codec reported err 0xfffffff4/NO_MEMORY, actionCode 0, while in state 1/INITIALIZING
2024-03-18 19:53:05.673 23019-23067/com.test.android D/MediaCodec: flushMediametrics
2024-03-18 19:53:05.673 23019-23067/com.test.android I/AVProMovieCapture: ā (VideoRecorder.cpp:649) VideoRecorder::createVideoCodec - failed to create video codec
2024-03-18 19:53:05.675 23019-23067/com.test.android D/MPEG4Writer: reset()
2024-03-18 19:53:05.675 23019-23067/com.test.android D/MPEG4Writer: release()
2024-03-18 19:53:05.678 23019-23067/com.test.android E/Unity: [AVProMovieCapture] Failed to create recorder
RenderHeads.Media.AVProMovieCapture.CaptureBase:PrepareCapture()
RenderHeads.Media.AVProMovieCapture.CaptureBase:StartCapture()
<Capturing>d__46:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
....
2024-03-18 19:54:42.142 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (PluginInterface.cpp:71) AVPMC_CreateRecorderVideo - 5.2.3-full
2024-03-18 19:54:42.142 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:53) IVideoRecorder::newVideoRecorder - android api level is 33
2024-03-18 19:54:42.142 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:60) IVideoRecorder::newVideoRecorder - creating video recorder for API 28
2024-03-18 19:54:42.142 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:1248) VideoRecorder::createMuxer - creating file at: /storage/emulated/0/Android/data/com.test.android/files/temp.mp4
2024-03-18 19:54:42.142 23019-23067/com.test.android D/MPEG4Writer: PreAllocation disabled. fallocate : Operation not supported on transport endpoint, 95
2024-03-18 19:54:42.143 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:633) VideoRecorder::createVideoCodec - Media format:
2024-03-18 19:54:42.143 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:634) VideoRecorder::createVideoCodec - MIME type: video/avc
2024-03-18 19:54:42.143 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:635) VideoRecorder::createVideoCodec - Width: 1920
2024-03-18 19:54:42.143 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:636) VideoRecorder::createVideoCodec - Height: 1080
2024-03-18 19:54:42.143 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:637) VideoRecorder::createVideoCodec - Frame rate: 30.000000
2024-03-18 19:54:42.143 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:638) VideoRecorder::createVideoCodec - Bitrate: 10000000
2024-03-18 19:54:42.143 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:639) VideoRecorder::createVideoCodec - I-Frame interval: 1.000000
2024-03-18 19:54:42.143 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:640) VideoRecorder::createVideoCodec - Stride: 0
2024-03-18 19:54:42.143 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:641) VideoRecorder::createVideoCodec - Slice height: 0
2024-03-18 19:54:42.143 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:642) VideoRecorder::createVideoCodec - Colour range: Limited
2024-03-18 19:54:42.143 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:643) VideoRecorder::createVideoCodec - Profile: 8
2024-03-18 19:54:42.143 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:644) VideoRecorder::createVideoCodec - Level: 800
2024-03-18 19:54:42.145 23019-23067/com.test.android I/ACodec: [] Now uninitialized
2024-03-18 19:54:42.146 23019-23932/com.test.android I/ACodec: [] onAllocateComponent
2024-03-18 19:54:42.151 23019-23932/com.test.android I/OMXClient: IOmx service obtained
2024-03-18 19:54:42.156 23019-23932/com.test.android I/ACodec: [OMX.qcom.video.encoder.avc] Now Loaded
2024-03-18 19:54:42.157 23019-23067/com.test.android D/MediaCodec: shapeMediaFormat: deltas(1): AMessage(what = 0x00000000) = {
int32_t android._encoding-quality-level = 0
}
2024-03-18 19:54:42.158 23019-23931/com.test.android D/MediaCodec: flushMediametrics
2024-03-18 19:54:42.158 23019-23932/com.test.android I/ACodec: app-pid(23019)
2024-03-18 19:54:42.159 23019-23932/com.test.android W/OMXUtils: do not know color format 0x7fa30c04 = 2141391876
2024-03-18 19:54:42.159 23019-23932/com.test.android W/OMXUtils: do not know color format 0x7fa30c00 = 2141391872
2024-03-18 19:54:42.160 23019-23932/com.test.android W/OMXUtils: do not know color format 0x7f000789 = 2130708361
2024-03-18 19:54:42.160 23019-23932/com.test.android I/ACodec: [OMX.qcom.video.encoder.avc] using color format 0x15 in place of 0x7f420888
2024-03-18 19:54:42.163 23019-23932/com.test.android I/ACodec: setupAVCEncoderParameters with [profile: High] [level: Level4]
2024-03-18 19:54:42.163 23019-23932/com.test.android I/ACodec: reconfigEncoder4OtherApps
2024-03-18 19:54:42.163 23019-23932/com.test.android I/ACodec: Enable Perceptual Video Coding
2024-03-18 19:54:42.163 23019-23932/com.test.android I/ACodec: Success set IPB VideoMinQP(2/2/2) VideoMaxQP(50/50/50)
2024-03-18 19:54:42.165 23019-23932/com.test.android I/ACodec: [OMX.qcom.video.encoder.avc] cannot encode HDR static metadata. Ignoring.
2024-03-18 19:54:42.165 23019-23932/com.test.android I/ACodec: setupVideoEncoder succeeded
2024-03-18 19:54:42.165 23019-23932/com.test.android I/ACodec: [OMX.qcom.video.encoder.avc] configure, AMessage : AMessage(what = 'conf', target = 33) = {
string mime = "video/avc"
int32_t width = 1920
int32_t height = 1080
float frame-rate = 30.000000
int32_t bitrate = 10000000
int32_t color-format = 2135033992
int32_t profile = 8
int32_t level = 2048
int32_t complexity = 100
int32_t color-range = 2
int32_t color-standard = 1
int32_t color-transfer = 3
float i-frame-interval = 1.000000
int32_t stride = 0
int32_t slice-height = 0
int32_t android._encoding-quality-level = 0
int32_t flags = 1
int32_t encoder = 1
}
2024-03-18 19:54:42.165 23019-23932/com.test.android W/OMXUtils: cannot describe color format 0x15 = 21 with stride=0 and sliceHeight=0
2024-03-18 19:54:42.178 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorderAPI28.cpp:229) VideoRecorderAPI28::createVideoCodecPostConfigure - codec name is: OMX.qcom.video.encoder.avc
2024-03-18 19:54:42.178 23019-23931/com.test.android I/MediaCodec: MediaCodec will operate in async mode
2024-03-18 19:54:42.178 23019-23067/com.test.android D/MediaCodec: keep callback message for reclaim
2024-03-18 19:54:42.178 23019-23932/com.test.android I/ACodec: [OMX.qcom.video.encoder.avc] Now Loaded->Idle
2024-03-18 19:54:42.214 23019-23932/com.test.android I/ACodec: [OMX.qcom.video.encoder.avc] Now Idle->Executing
2024-03-18 19:54:42.214 23019-23932/com.test.android I/ACodec: [OMX.qcom.video.encoder.avc] Now Executing
2024-03-18 19:54:42.217 23019-23931/com.test.android I/MediaCodec: setCodecState state(0), called in 6
2024-03-18 19:54:42.218 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:759) VideoRecorder::createVideoCodec - plane 0 row stride: 0
2024-03-18 19:54:42.218 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:760) VideoRecorder::createVideoCodec - plane 1 row stride: 0
2024-03-18 19:54:42.218 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:761) VideoRecorder::createVideoCodec - slice height: 0
2024-03-18 19:54:42.218 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:762) VideoRecorder::createVideoCodec - pixel format: YUV8_420
2024-03-18 19:54:42.218 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (PluginState.cpp:67) PluginState::RegisterRecorder - Registered handle 50704
2024-03-18 19:54:42.218 23019-23067/com.test.android I/AVProMovieCapture: š¬ļø (PluginInterface.cpp:211) AVPMC_CreateRecorderVideo: newRecorderHandle = 50704
2024-03-18 19:54:42.219 23019-23109/com.test.android I/AVProMovieCapture: ā (VideoRecorder.cpp:1731) VideoRecorder::setupCapture - failed to setup the video capture
2024-03-18 19:54:43.218 23019-23931/com.test.android I/MediaCodec: setCodecState state(0), called in 6
2024-03-18 19:54:51.634 23019-23067/com.test.android I/Unity: [AVProMovieCapture] Stopping capture 50704
RenderHeads.Media.AVProMovieCapture.CaptureBase:StopCapture(Boolean, Boolean, Boolean)
<Capturing>d__46:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
2024-03-18 19:54:51.636 23019-23067/com.test.android I/Unity: _pendingFileWrite = null;
RenderHeads.Media.AVProMovieCapture.CaptureBase:StopCapture(Boolean, Boolean, Boolean)
<Capturing>d__46:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
2024-03-18 19:54:51.638 23019-23943/com.test.android I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:852) VideoRecorder::videoCaptureThread - got input buffer of size: 4718592
2024-03-18 19:54:52.280 23019-23372/com.test.android I/MediaCodec: setCodecState state(0), called in 6
2024-03-18 19:54:52.359 23019-23333/com.test.android I/MediaCodec: setCodecState state(0), called in 6
As I attached to the log above, the stride initially becomes 0 due to lack of memory. In this case, Capturebase's StartCapture function returns false, so processing is possible in my interfacing part. However, once the stride becomes 0, even when there is no memory shortage, as shown in the lower part of the log, the stride becomes 0. In this case, as mentioned above, even if you turn the app on and off, the stride continues to be 0. It's only at that resolution that the problem occurred. If you change the resolution very slightly (2 pixels), the stride returns normally.
The reason I am certain that it is a caching issue with the video format is because there was no problem when tested with version 5.2.0. Likewise, even if StartCapture returned false once because the memory was large, it worked normally the next time there was no shortage of memory.
After a little more testing: If I delete the "videoformatcache.dat" file from the Application Data folder before calling CreateRecorderVideo, the problem of stride being 0 repeatedly at the same resolution does not occur. (At least the problem does not repeat again when I restart the app.) Before clearing this cache file, the problem repeated even if I restarted the app.
Unfortunately the cache is persisting those values however a stride of 0 should cause things to fail much sooner and never be written into the cache in the first place. I'm currently trying to reproduce here without much success. We'll be looking to get a release out later this week with a fix.
A fix for this will be in version 5.2.4.
AVPro Movie Capture version 5.2.4 has been released. Please let us know if it has not fixed your issue.
The problem does not reproduce in version 5.2.4. I think it's resolved.
Unity Version
2021.3.28f1
AVPro Movie Capture Version
5.2.1-Ultra Edition
Which platform(s) are you using?
Android
Which OS version(s) are you using?
Android 13
Which rendering API(s) are you using?
OpenGLES
Hardware
Samsung Galaxy tab A9+
Which capture component are you using?
Capture From Texture
Capture mode
Realtime
Which output mode are you using?
Video file
Video codecs
H264
Audio source
None
Audio codecs
AAC
Any other component configuration
No response
The issue
When I started capture in Textcapture Demo and clicked stop capture, a crash occurred on a specific device (Galaxy tab A9+). And it seems to be a problem that only appears in gles, not Vulkan. Another issue is that offline capture is very slow on this device compared to other devices with similar computing power. And both online and offline, a crash occurs when stop capture. It does not occur on most other Android devices, and appears to only occur on that device, so it may be a problem dependent on the chipset or API used. Anyway, I have users of devices using that chipset, so I need to resolve this issue. I attached the log, so please see if there is a way to solve this problem or work around it.
### Log output
```shell 2024-02-29 19:42:20.929 29470-29504/com.rhtest.avpmurp W/Unity: [AVProMovieCapture] Capturing audio from Unity without an UnityAudioCapture assigned so we had to create one manually (very slow). Consider adding a UnityAudioCapture component to your scene and assigned it to this MovieCapture component. UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) UnityEngine.Logger:Log (UnityEngine.LogType,object) UnityEngine.Debug:LogWarning (object) RenderHeads.Media.AVProMovieCapture.CaptureBase:FindOrCreateUnityAudioCapture (bool) (at C:/Projects/avpmurp/Assets/Plugins/RenderHeads/AVProMovieCapture/Runtime/Scripts/Internal/CaptureBase.cs:2029) RenderHeads.Media.AVProMovieCapture.CaptureBase:PrepareCapture () (at C:/Projects/avpmurp/Assets/Plugins/RenderHeads/AVProMovieCapture/Runtime/Scripts/Internal/CaptureBase.cs:2366) RenderHeads.Media.AVProMovieCapture.CaptureFromTexture:PrepareCapture () (at C:/P 2024-02-29 19:42:20.937 29470-29504/com.rhtest.avpmurp I/Unity: [AVProMovieCapture] Start File Capture: 1024x1024 @ F2fps [RGBA32] vcodec:'H264' audio source:'Unity' 48000hz 2 channels acodec:'AAC' to file: '/storage/emulated/0/Android/data/com.rhtest.avpmurp/files/Captures/TextureCapture_2024-02-29_19-42-20_1024x1024.mp4' UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) UnityEngine.Logger:Log (UnityEngine.LogType,object) UnityEngine.Debug:Log (object) RenderHeads.Media.AVProMovieCapture.CaptureBase:PrepareCapture () (at C:/Projects/avpmurp/Assets/Plugins/RenderHeads/AVProMovieCapture/Runtime/Scripts/Internal/CaptureBase.cs:2458) RenderHeads.Media.AVProMovieCapture.CaptureFromTexture:PrepareCapture () (at C:/Projects/avpmurp/Assets/Plugins/RenderHeads/AVProMovieCapture/Runtime/Scripts/Components/CaptureFromTexture.cs:327) RenderHeads.Media.AVProMovieCapture.CaptureBase:StartCapture () (at C:/ 2024-02-29 19:42:20.938 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (PluginInterface.cpp:71) AVPMC_CreateRecorderVideo - 5.2.1-full 2024-02-29 19:42:20.938 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:53) IVideoRecorder::newVideoRecorder - android api level is 33 2024-02-29 19:42:20.938 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:60) IVideoRecorder::newVideoRecorder - creating video recorder for API 28 2024-02-29 19:42:20.939 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:1248) VideoRecorder::createMuxer - creating file at: /storage/emulated/0/Android/data/com.rhtest.avpmurp/files/Captures/TextureCapture_2024-02-29_19-42-20_1024x1024.mp4 2024-02-29 19:42:20.939 29470-29504/com.rhtest.avpmurp D/MPEG4Writer: PreAllocation enabled 2024-02-29 19:42:20.940 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø Manager.GetFormatAdjustmentForEncode - media codec name: c2.qti.avc.encoder 2024-02-29 19:42:20.942 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø Manager.GetFormatAdjustmentForEncode - supported bitrates: [1-60,000,000] 2024-02-29 19:42:20.943 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø Manager.GetFormatAdjustmentForEncode - supported widths: [128-1,920] 2024-02-29 19:42:20.945 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø Manager.GetFormatAdjustmentForEncode - supported heights: [128-1,920] 2024-02-29 19:42:20.946 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø Manager.GetFormatAdjustmentForEncode - width alignment: 2 2024-02-29 19:42:20.947 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø Manager.GetFormatAdjustmentForEncode - height alignment: 2 2024-02-29 19:42:20.949 29470-29782/com.rhtest.avpmurp I/CCodec: state->set(ALLOCATING) 2024-02-29 19:42:20.949 29470-29783/com.rhtest.avpmurp I/CCodec: allocate(c2.qti.avc.encoder) 2024-02-29 19:42:20.952 29470-29783/com.rhtest.avpmurp I/Codec2Client: Available Codec2 services: "default" "default0" "software" 2024-02-29 19:42:20.954 29470-29783/com.rhtest.avpmurp I/CCodec: setting up 'default' as default (vendor) store 2024-02-29 19:42:20.960 29470-29783/com.rhtest.avpmurp I/CCodec: Created component [c2.qti.avc.encoder] 2024-02-29 19:42:20.960 29470-29783/com.rhtest.avpmurp I/CCodec: [c2.qti.avc.encoder] state->set(ALLOCATED) 2024-02-29 19:42:20.960 29470-29783/com.rhtest.avpmurp D/CCodecConfig: read media type: video/avc 2024-02-29 19:42:20.961 29470-29783/com.rhtest.avpmurp D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2024-02-29 19:42:20.966 29470-29783/com.rhtest.avpmurp D/ReflectedParamUpdater: ignored struct field coding.gop.values 2024-02-29 19:42:20.968 29470-29783/com.rhtest.avpmurp D/ReflectedParamUpdater: extent() != 1 for single value type: vendor.qti-ext-enc-info-metadata-cvp.reserved 2024-02-29 19:42:20.969 29470-29783/com.rhtest.avpmurp D/CCodecConfig: ignoring local param raw.color (0xc2001809) as it is already supported 2024-02-29 19:42:20.970 29470-29783/com.rhtest.avpmurp I/CCodecConfig: query failed after returning 23 values (BAD_INDEX) 2024-02-29 19:42:20.970 29470-29783/com.rhtest.avpmurp D/CCodecConfig: c2 config diff is Dict { c2::u32 algo.bitrate-mode.value = 3 c2::u32 algo.complexity.value = 0 c2::i32 algo.priority.value = -1 c2::float algo.rate.value = 30 c2::u32 algo.secure-mode.value = 0 c2::i32 coded.average-qp.value = 0 c2::u32 coded.bitrate.value = 20000000 c2::float coded.frame-rate.value = 30 c2::u32 coded.pl.level = 0 c2::u32 coded.pl.profile = 20484 c2::u32 coded.vui.color.matrix = 255 c2::u32 coded.vui.color.primaries = 0 c2::u32 coded.vui.color.range = 0 c2::u32 coded.vui.color.transfer = 255 c2::u32 coding.intra-refresh.mode = 0 c2::float coding.intra-refresh.period = 0 c2::u32 coding.request-sync-frame.value = 0 c2::i64 coding.sync-frame-interval.value = 1000000 Buffer coding.temporal-layering = { 00000000: 10 00 00 00 07 20 01 52 00 00 00 00 00 00 00 00 ..... .R........ } c2::u32 default.color.matrix = 0 c2::u32 default.color.primaries = 0 c2::u32 default.color.range = 0 c2::u32 default.color.transfer = 0 c2::u32 input.delay.value = 2024-02-29 19:42:20.970 29470-29783/com.rhtest.avpmurp W/ColorUtils: expected specified color aspects (0:0:255:255) 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/CodecSeeding: Seed: codec c2.qti.avc.encoder, mediatype video/avc, overrideable 1 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/CodecProperties: setTuningValue(vq-target-bpp,0) 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/CodecProperties: setTuningValue(vq-target-bpp-1080p,1.90) 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/CodecProperties: setTuningValue(vq-target-bpp-720p,2.25) 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/CodecProperties: setTuningValue(vq-target-bpp-540p,2.65) 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/CodecProperties: setTuningValue(vq-target-bpp-480p,3.00) 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/CodecProperties: setTuningValue(vq-target-bpp-320x240,0) 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/CodecProperties: setTuningValue(vq-target-qpmax,-1) 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/CodecProperties: setTuningValue(vq-target-qpmax-1080p,45) 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/CodecProperties: setTuningValue(vq-target-qpmax-720p,43) 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/CodecProperties: setTuningValue(vq-target-qpmax-540p,42) 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/CodecProperties: setTuningValue(vq-target-qpmax-480p,38) 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/CodecProperties: setTuningValue(vq-bitrate-phaseout,1.75) 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/CodecProperties: setTuningValue(vq-boost-missing-qp,0.20) 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/CodecProperties: setFeatureValue(can-swap-width-height,1) 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/CodecProperties: setFeatureValue(intra-refresh,0) 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/CodecProperties: setFeatureValue(_vq_eligible.device,1) 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/CodecProperties: setFeatureValue(_quality.target,1) 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/CodecSeeding: Seed: codec c2.qti.avc.encoder, mediatype video/avc, overrideable 0 2024-02-29 19:42:20.976 29470-29504/com.rhtest.avpmurp D/MediaCodec: shapeMediaFormat: deltas(1): AMessage(what = 0x00000000) = { int32_t android._encoding-quality-level = 0 } 2024-02-29 19:42:20.976 29470-29782/com.rhtest.avpmurp D/MediaCodec: flushMediametrics 2024-02-29 19:42:20.977 29470-29783/com.rhtest.avpmurp D/CCodec: [c2.qti.avc.encoder] buffers are bound to CCodec for this session 2024-02-29 19:42:20.977 29470-29783/com.rhtest.avpmurp I/CCodec: appPid(29470) width(1024) height(1024) 2024-02-29 19:42:20.977 29470-29783/com.rhtest.avpmurp I/CCodec: Set content adaptive mode (0) 2024-02-29 19:42:20.977 29470-29783/com.rhtest.avpmurp W/CCodec: can't get ro.hardware.chipname 2024-02-29 19:42:20.977 29470-29783/com.rhtest.avpmurp I/CCodec: setup(holi) : (20000014) 2024-02-29 19:42:20.977 29470-29783/com.rhtest.avpmurp D/CCodecConfig: no c2 equivalents for color-format 2024-02-29 19:42:20.977 29470-29783/com.rhtest.avpmurp D/CCodecConfig: no c2 equivalents for flags 2024-02-29 19:42:20.977 29470-29783/com.rhtest.avpmurp D/CCodecConfig: no c2 equivalents for encoder 2024-02-29 19:42:20.978 29470-29783/com.rhtest.avpmurp D/CCodecConfig: c2 config diff is c2::u32 coded.bitrate.value = 5000000 c2::u32 raw.pixel-format.value = 842094169 c2::u32 raw.size.height = 1024 c2::u32 raw.size.width = 1024 c2::u32 vendor.qti-ext-enc-content-adaptive-mode.value = 0 2024-02-29 19:42:20.978 29470-29783/com.rhtest.avpmurp W/ColorUtils: expected specified color aspects (0:0:255:255) 2024-02-29 19:42:20.979 29470-29783/com.rhtest.avpmurp W/Codec2Client: query -- param skipped: index = 3254781982. 2024-02-29 19:42:20.979 29470-29783/com.rhtest.avpmurp D/CCodec: Setting encoder options for disabling wrapping 2024-02-29 19:42:20.982 29470-29783/com.rhtest.avpmurp D/BufferPoolAccessor2.0: Destruction - bufferpool2 0xd2536858 cached: 0/0M, 0/0% in use; allocs: 1, 0% recycled; transfers: 0, 0% unfetched 2024-02-29 19:42:20.982 29470-29783/com.rhtest.avpmurp D/CCodec: encoding statistics level = 0 2024-02-29 19:42:20.982 29470-29783/com.rhtest.avpmurp D/CCodec: setup formats input: AMessage(what = 0x00000000) = { int32_t android._color-format = 842094169 Rect crop(0, 0, 1023, 1023) int32_t color-standard = 130816 int32_t color-range = 0 int32_t color-transfer = 65791 int32_t video-qp-average = 0 int32_t width = 1024 int32_t feature-secure-playback = 0 int32_t frame-rate = 30 int32_t height = 1024 int32_t intra-refresh-period = 0 string mime = "video/raw" int32_t prepend-sps-pps-to-idr-frames = 0 int32_t priority = 1 Buffer hdr-static-info = { 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000010: 00 00 00 00 00 00 00 00 00 ......... } int32_t android._dataspace = 12648448 int64_t android._C2MemoryUsage = 65536 int32_t color-format = 2135033992 int32_t bytebuffer-wrapping-disable = 1 int32_t stride = 1024 int32_t slice-height = 1024 } 2024-02-29 19:42:20.982 29470-29783/com.rhtest.avpmurp D/CCodec: setup formats output: AMessage(what = 0x00000000) = { int32_t bitrate = 5000000 int32_t bitrate-mode = 1 Rect crop(0, 0, 1023, 1023) int32_t width = 1024 int32_t color-standard = 130816 int32_t color-range = 0 int32_t color-transfer = 65791 int32_t feature-secure-playback = 0 int32_t frame-rate = 30 int32_t height = 1024 int32_t intra-refresh-period = 0 int32_t max-bitrate = 5000000 string mime = "video/avc" int32_t prepend-sps-pps-to-idr-frames = 0 int32_t priority = 1 int32_t profile = 8 int32_t video-qp-average = 0 int32_t vendor.qti-ext-enc-content-adaptive-mode.value = 0 } 2024-02-29 19:42:20.983 29470-29783/com.rhtest.avpmurp I/CCodecConfig: query failed after returning 24 values (BAD_INDEX) 2024-02-29 19:42:20.984 29470-29782/com.rhtest.avpmurp I/CCodec: [c2.qti.avc.encoder] state->set(STARTING) 2024-02-29 19:42:20.990 29470-29783/com.rhtest.avpmurp W/Codec2Client: query -- param skipped: index = 1342179345. 2024-02-29 19:42:20.990 29470-29783/com.rhtest.avpmurp W/Codec2Client: query -- param skipped: index = 2415921170. 2024-02-29 19:42:20.990 29470-29783/com.rhtest.avpmurp W/Codec2Client: query -- param skipped: index = 1610614798. 2024-02-29 19:42:20.990 29470-29783/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.qti.avc.encoder#78] Query input allocators returned 0 params => BAD_INDEX (6) 2024-02-29 19:42:20.990 29470-29783/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.qti.avc.encoder#78] Using basic input block pool with poolID 1 => got 1 - OK (0) 2024-02-29 19:42:20.991 29470-29783/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.qti.avc.encoder#78] Query output allocators returned 0 params => BAD_INDEX (6) 2024-02-29 19:42:20.991 29470-29783/com.rhtest.avpmurp I/CCodecBufferChannel: [c2.qti.avc.encoder#78] Created output block pool with allocatorID 16 => poolID 21 - OK 2024-02-29 19:42:20.992 29470-29783/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.qti.avc.encoder#78] Configured output block pool ids 21 => OK 2024-02-29 19:42:20.992 29470-29783/com.rhtest.avpmurp I/CCodec: [c2.qti.avc.encoder] state->set(RUNNING) 2024-02-29 19:42:20.997 29470-29783/com.rhtest.avpmurp D/CCodecBuffers: [c2.qti.avc.encoder#78:2D-BB-Input] updating image-data 2024-02-29 19:42:20.997 29470-29783/com.rhtest.avpmurp D/CCodecBuffers: [c2.qti.avc.encoder#78:2D-BB-Input] updating stride = 1024, width: 1024, height: 1024 2024-02-29 19:42:20.997 29470-29783/com.rhtest.avpmurp D/CCodecBuffers: [c2.qti.avc.encoder#78:2D-BB-Input] updating vstride = 1024 2024-02-29 19:42:21.013 29470-29783/com.rhtest.avpmurp I/CCodecBufferChannel: [c2.qti.avc.encoder#78] 4 initial input buffers available 2024-02-29 19:42:21.015 29470-29782/com.rhtest.avpmurp I/MediaCodec: setCodecState state(0), called in 6 2024-02-29 19:42:21.019 29470-29783/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.qti.avc.encoder#78] flushed work; ignored. 2024-02-29 19:42:21.021 29470-29782/com.rhtest.avpmurp I/CCodec: [c2.qti.avc.encoder] state->set(STOPPING) 2024-02-29 19:42:21.021 29470-29782/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.qti.avc.encoder#78] MediaCodec discarded an unknown buffer 2024-02-29 19:42:21.021 29470-29782/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.qti.avc.encoder#78] MediaCodec discarded an unknown buffer 2024-02-29 19:42:21.021 29470-29782/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.qti.avc.encoder#78] MediaCodec discarded an unknown buffer 2024-02-29 19:42:21.021 29470-29782/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.qti.avc.encoder#78] MediaCodec discarded an unknown buffer 2024-02-29 19:42:21.027 29470-29783/com.rhtest.avpmurp I/CCodec: [c2.qti.avc.encoder] state->set(ALLOCATED) 2024-02-29 19:42:21.027 29470-29782/com.rhtest.avpmurp I/CCodec: [c2.qti.avc.encoder] state->set(RELEASING) 2024-02-29 19:42:21.027 29470-29792/com.rhtest.avpmurp I/CCodec: [c2.qti.avc.encoder] release(1) 2024-02-29 19:42:21.028 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø Manager.GetVideoCodecImageCapabilities - Colour format is YUV8_420 2024-02-29 19:42:21.028 29470-29792/com.rhtest.avpmurp I/CCodec: [c2.qti.avc.encoder] state->set(RELEASED) 2024-02-29 19:42:21.028 29470-29782/com.rhtest.avpmurp I/MediaCodec: Codec shutdown complete 2024-02-29 19:42:21.028 29470-29792/com.rhtest.avpmurp I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2024-02-29 19:42:21.029 29470-29782/com.rhtest.avpmurp D/MediaCodec: flushMediametrics 2024-02-29 19:42:21.029 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:633) VideoRecorder::createVideoCodec - Media format: 2024-02-29 19:42:21.029 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:634) VideoRecorder::createVideoCodec - MIME type: video/avc 2024-02-29 19:42:21.029 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:635) VideoRecorder::createVideoCodec - Width: 1024 2024-02-29 19:42:21.029 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:636) VideoRecorder::createVideoCodec - Height: 1024 2024-02-29 19:42:21.029 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:637) VideoRecorder::createVideoCodec - Frame rate: 30.000000 2024-02-29 19:42:21.029 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:638) VideoRecorder::createVideoCodec - Bitrate: 5000000 2024-02-29 19:42:21.029 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:639) VideoRecorder::createVideoCodec - I-Frame interval: 1.000000 2024-02-29 19:42:21.029 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:640) VideoRecorder::createVideoCodec - Stride: 0 2024-02-29 19:42:21.029 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:641) VideoRecorder::createVideoCodec - Slice height: 0 2024-02-29 19:42:21.029 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:642) VideoRecorder::createVideoCodec - Colour range: Limited 2024-02-29 19:42:21.029 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:643) VideoRecorder::createVideoCodec - Profile: 8 2024-02-29 19:42:21.029 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:644) VideoRecorder::createVideoCodec - Level: 400 2024-02-29 19:42:21.029 29470-29782/com.rhtest.avpmurp D/MediaCodec: flushMediametrics 2024-02-29 19:42:21.030 29470-29793/com.rhtest.avpmurp I/CCodec: state->set(ALLOCATING) 2024-02-29 19:42:21.030 29470-29794/com.rhtest.avpmurp I/CCodec: allocate(c2.qti.avc.encoder) 2024-02-29 19:42:21.032 29470-29794/com.rhtest.avpmurp I/CCodec: setting up 'default' as default (vendor) store 2024-02-29 19:42:21.035 29470-29794/com.rhtest.avpmurp I/CCodec: Created component [c2.qti.avc.encoder] 2024-02-29 19:42:21.035 29470-29794/com.rhtest.avpmurp I/CCodec: [c2.qti.avc.encoder] state->set(ALLOCATED) 2024-02-29 19:42:21.035 29470-29794/com.rhtest.avpmurp D/CCodecConfig: read media type: video/avc 2024-02-29 19:42:21.037 29470-29794/com.rhtest.avpmurp D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2024-02-29 19:42:21.045 29470-29794/com.rhtest.avpmurp D/ReflectedParamUpdater: ignored struct field coding.gop.values 2024-02-29 19:42:21.046 29470-29794/com.rhtest.avpmurp D/ReflectedParamUpdater: extent() != 1 for single value type: vendor.qti-ext-enc-info-metadata-cvp.reserved 2024-02-29 19:42:21.048 29470-29794/com.rhtest.avpmurp D/CCodecConfig: ignoring local param raw.color (0xc2001809) as it is already supported 2024-02-29 19:42:21.048 29470-29794/com.rhtest.avpmurp I/CCodecConfig: query failed after returning 23 values (BAD_INDEX) 2024-02-29 19:42:21.049 29470-29794/com.rhtest.avpmurp D/CCodecConfig: c2 config diff is Dict { c2::u32 algo.bitrate-mode.value = 3 c2::u32 algo.complexity.value = 0 c2::i32 algo.priority.value = -1 c2::float algo.rate.value = 30 c2::u32 algo.secure-mode.value = 0 c2::i32 coded.average-qp.value = 0 c2::u32 coded.bitrate.value = 20000000 c2::float coded.frame-rate.value = 30 c2::u32 coded.pl.level = 0 c2::u32 coded.pl.profile = 20484 c2::u32 coded.vui.color.matrix = 255 c2::u32 coded.vui.color.primaries = 0 c2::u32 coded.vui.color.range = 0 c2::u32 coded.vui.color.transfer = 255 c2::u32 coding.intra-refresh.mode = 0 c2::float coding.intra-refresh.period = 0 c2::u32 coding.request-sync-frame.value = 0 c2::i64 coding.sync-frame-interval.value = 1000000 Buffer coding.temporal-layering = { 00000000: 10 00 00 00 07 20 01 52 00 00 00 00 00 00 00 00 ..... .R........ } c2::u32 default.color.matrix = 0 c2::u32 default.color.primaries = 0 c2::u32 default.color.range = 0 c2::u32 default.color.transfer = 0 c2::u32 input.delay.value = 2024-02-29 19:42:21.049 29470-29794/com.rhtest.avpmurp W/ColorUtils: expected specified color aspects (0:0:255:255) 2024-02-29 19:42:21.050 29470-29504/com.rhtest.avpmurp D/MediaCodec: shapeMediaFormat: deltas(1): AMessage(what = 0x00000000) = { int32_t android._encoding-quality-level = 0 } 2024-02-29 19:42:21.050 29470-29793/com.rhtest.avpmurp D/MediaCodec: flushMediametrics 2024-02-29 19:42:21.050 29470-29794/com.rhtest.avpmurp D/CCodec: [c2.qti.avc.encoder] buffers are bound to CCodec for this session 2024-02-29 19:42:21.050 29470-29794/com.rhtest.avpmurp I/CCodec: appPid(29470) width(1024) height(1024) 2024-02-29 19:42:21.050 29470-29794/com.rhtest.avpmurp I/CCodec: Set content adaptive mode (0) 2024-02-29 19:42:21.051 29470-29794/com.rhtest.avpmurp D/CCodecConfig: no c2 equivalents for color-format 2024-02-29 19:42:21.051 29470-29794/com.rhtest.avpmurp D/CCodecConfig: no c2 equivalents for color-standard 2024-02-29 19:42:21.051 29470-29794/com.rhtest.avpmurp D/CCodecConfig: no c2 equivalents for stride 2024-02-29 19:42:21.051 29470-29794/com.rhtest.avpmurp D/CCodecConfig: no c2 equivalents for slice-height 2024-02-29 19:42:21.051 29470-29794/com.rhtest.avpmurp D/CCodecConfig: no c2 equivalents for flags 2024-02-29 19:42:21.051 29470-29794/com.rhtest.avpmurp D/CCodecConfig: no c2 equivalents for encoder 2024-02-29 19:42:21.051 29470-29794/com.rhtest.avpmurp D/CCodecConfig: c2 config diff is c2::u32 algo.complexity.value = 100 c2::u32 coded.bitrate.value = 5000000 c2::u32 coded.pl.level = 20490 c2::u32 coded.vui.color.matrix = 1 c2::u32 coded.vui.color.primaries = 1 c2::u32 coded.vui.color.range = 2 c2::u32 coded.vui.color.transfer = 3 c2::u32 raw.color.matrix = 1 c2::u32 raw.color.primaries = 1 c2::u32 raw.color.range = 2 c2::u32 raw.color.transfer = 3 c2::u32 raw.pixel-format.value = 842094169 c2::u32 raw.size.height = 1024 c2::u32 raw.size.width = 1024 c2::u32 vendor.qti-ext-enc-content-adaptive-mode.value = 0 2024-02-29 19:42:21.052 29470-29794/com.rhtest.avpmurp W/Codec2Client: query -- param skipped: index = 3254781982. 2024-02-29 19:42:21.052 29470-29794/com.rhtest.avpmurp D/CCodec: Setting encoder options for disabling wrapping 2024-02-29 19:42:21.053 29470-29794/com.rhtest.avpmurp D/BufferPoolAccessor2.0: Destruction - bufferpool2 0xd2536858 cached: 0/0M, 0/0% in use; allocs: 1, 0% recycled; transfers: 0, 0% unfetched 2024-02-29 19:42:21.053 29470-29794/com.rhtest.avpmurp D/CCodec: encoding statistics level = 0 2024-02-29 19:42:21.053 29470-29794/com.rhtest.avpmurp D/CCodec: setup formats input: AMessage(what = 0x00000000) = { int32_t android._color-format = 842094169 Rect crop(0, 0, 1023, 1023) int32_t color-standard = 1 int32_t color-range = 2 int32_t color-transfer = 3 int32_t video-qp-average = 0 int32_t width = 1024 int32_t feature-secure-playback = 0 int32_t frame-rate = 30 int32_t height = 1024 int32_t intra-refresh-period = 0 string mime = "video/raw" int32_t prepend-sps-pps-to-idr-frames = 0 int32_t priority = 1 Buffer hdr-static-info = { 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000010: 00 00 00 00 00 00 00 00 00 ......... } int32_t android._dataspace = 260 int64_t android._C2MemoryUsage = 65536 int32_t color-format = 2135033992 int32_t bytebuffer-wrapping-disable = 1 int32_t stride = 1024 int32_t slice-height = 1024 } 2024-02-29 19:42:21.053 29470-29794/com.rhtest.avpmurp D/CCodec: setup formats output: AMessage(what = 0x00000000) = { int32_t bitrate = 5000000 int32_t bitrate-mode = 1 Rect crop(0, 0, 1023, 1023) int32_t width = 1024 int32_t color-standard = 1 int32_t color-range = 2 int32_t color-transfer = 3 int32_t feature-secure-playback = 0 int32_t frame-rate = 30 int32_t height = 1024 int32_t intra-refresh-period = 0 int32_t max-bitrate = 5000000 string mime = "video/avc" int32_t prepend-sps-pps-to-idr-frames = 0 int32_t priority = 1 int32_t profile = 8 int32_t video-qp-average = 0 int32_t vendor.qti-ext-enc-content-adaptive-mode.value = 0 int32_t level = 1024 } 2024-02-29 19:42:21.053 29470-29794/com.rhtest.avpmurp I/CCodecConfig: query failed after returning 24 values (BAD_INDEX) 2024-02-29 19:42:21.055 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorderAPI28.cpp:229) VideoRecorderAPI28::createVideoCodecPostConfigure - codec name is: c2.qti.avc.encoder 2024-02-29 19:42:21.055 29470-29793/com.rhtest.avpmurp I/MediaCodec: MediaCodec will operate in async mode 2024-02-29 19:42:21.055 29470-29504/com.rhtest.avpmurp D/MediaCodec: keep callback message for reclaim 2024-02-29 19:42:21.055 29470-29793/com.rhtest.avpmurp I/CCodec: [c2.qti.avc.encoder] state->set(STARTING) 2024-02-29 19:42:21.059 29470-29794/com.rhtest.avpmurp W/Codec2Client: query -- param skipped: index = 1342179345. 2024-02-29 19:42:21.059 29470-29794/com.rhtest.avpmurp W/Codec2Client: query -- param skipped: index = 2415921170. 2024-02-29 19:42:21.059 29470-29794/com.rhtest.avpmurp W/Codec2Client: query -- param skipped: index = 1610614798. 2024-02-29 19:42:21.059 29470-29794/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.qti.avc.encoder#235] Query input allocators returned 0 params => BAD_INDEX (6) 2024-02-29 19:42:21.059 29470-29794/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.qti.avc.encoder#235] Using basic input block pool with poolID 1 => got 1 - OK (0) 2024-02-29 19:42:21.059 29470-29794/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.qti.avc.encoder#235] Query output allocators returned 0 params => BAD_INDEX (6) 2024-02-29 19:42:21.060 29470-29794/com.rhtest.avpmurp I/CCodecBufferChannel: [c2.qti.avc.encoder#235] Created output block pool with allocatorID 16 => poolID 22 - OK 2024-02-29 19:42:21.060 29470-29794/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.qti.avc.encoder#235] Configured output block pool ids 22 => OK 2024-02-29 19:42:21.060 29470-29794/com.rhtest.avpmurp I/CCodec: [c2.qti.avc.encoder] state->set(RUNNING) 2024-02-29 19:42:21.065 29470-29794/com.rhtest.avpmurp D/CCodecBuffers: [c2.qti.avc.encoder#235:2D-BB-Input] updating image-data 2024-02-29 19:42:21.065 29470-29794/com.rhtest.avpmurp D/CCodecBuffers: [c2.qti.avc.encoder#235:2D-BB-Input] updating stride = 1024, width: 1024, height: 1024 2024-02-29 19:42:21.065 29470-29794/com.rhtest.avpmurp D/CCodecBuffers: [c2.qti.avc.encoder#235:2D-BB-Input] updating vstride = 1024 2024-02-29 19:42:21.080 29470-29794/com.rhtest.avpmurp I/CCodecBufferChannel: [c2.qti.avc.encoder#235] 4 initial input buffers available 2024-02-29 19:42:21.081 29470-29793/com.rhtest.avpmurp I/MediaCodec: setCodecState state(0), called in 6 2024-02-29 19:42:21.081 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:759) VideoRecorder::createVideoCodec - plane 0 row stride: 0 2024-02-29 19:42:21.081 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:760) VideoRecorder::createVideoCodec - plane 1 row stride: 0 2024-02-29 19:42:21.082 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:761) VideoRecorder::createVideoCodec - slice height: 0 2024-02-29 19:42:21.082 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:762) VideoRecorder::createVideoCodec - pixel format: YUV8_420 2024-02-29 19:42:21.083 29470-29799/com.rhtest.avpmurp I/CCodec: state->set(ALLOCATING) 2024-02-29 19:42:21.083 29470-29799/com.rhtest.avpmurp I/CCodec: allocate(c2.android.aac.encoder) 2024-02-29 19:42:21.084 29470-29799/com.rhtest.avpmurp I/CCodec: setting up 'default' as default (vendor) store 2024-02-29 19:42:21.085 29470-29794/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.qti.avc.encoder#235] flushed work; ignored. 2024-02-29 19:42:21.089 29470-29799/com.rhtest.avpmurp I/CCodec: Created component [c2.android.aac.encoder] 2024-02-29 19:42:21.089 29470-29799/com.rhtest.avpmurp I/CCodec: [c2.android.aac.encoder] state->set(ALLOCATED) 2024-02-29 19:42:21.090 29470-29799/com.rhtest.avpmurp D/CCodecConfig: read media type: audio/mp4a-latm 2024-02-29 19:42:21.091 29470-29799/com.rhtest.avpmurp D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2024-02-29 19:42:21.092 29470-29799/com.rhtest.avpmurp D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2024-02-29 19:42:21.092 29470-29799/com.rhtest.avpmurp D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2024-02-29 19:42:21.092 29470-29799/com.rhtest.avpmurp D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2024-02-29 19:42:21.092 29470-29799/com.rhtest.avpmurp D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2024-02-29 19:42:21.092 29470-29799/com.rhtest.avpmurp D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2024-02-29 19:42:21.092 29470-29799/com.rhtest.avpmurp D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2024-02-29 19:42:21.093 29470-29799/com.rhtest.avpmurp I/CCodecConfig: query failed after returning 9 values (BAD_INDEX) 2024-02-29 19:42:21.094 29470-29799/com.rhtest.avpmurp D/CCodecConfig: c2 config diff is Dict { c2::u32 coded.bitrate.value = 64000 c2::u32 coded.pl.level = 0 c2::u32 coded.pl.profile = 8192 c2::u32 coding.aac-sbr-mode.value = 3 c2::u32 input.buffers.max-size.value = 2048 c2::u32 input.delay.value = 0 string input.media-type.value = "audio/raw" string output.media-type.value = "audio/mp4a-latm" c2::u32 raw.channel-count.value = 1 c2::u32 raw.sample-rate.value = 44100 } 2024-02-29 19:42:21.094 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:1064) VideoRecorder::createAudioCodec - Media format: 2024-02-29 19:42:21.094 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:1065) VideoRecorder::createAudioCodec - MIME type: audio/mp4a-latm 2024-02-29 19:42:21.094 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:1066) VideoRecorder::createAudioCodec - Channels: 2 2024-02-29 19:42:21.094 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:1067) VideoRecorder::createAudioCodec - Sample rate: 48000 2024-02-29 19:42:21.094 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:1068) VideoRecorder::createAudioCodec - Bitrate: 128000 2024-02-29 19:42:21.094 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:1069) VideoRecorder::createAudioCodec - Max input size: 65536 2024-02-29 19:42:21.094 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:1070) VideoRecorder::createAudioCodec - PCM encoding: PCMEncoding16Bit 2024-02-29 19:42:21.094 29470-29504/com.rhtest.avpmurp D/CodecSeeding: Seed: codec c2.android.aac.encoder, mediatype audio/mp4a-latm, overrideable 1 2024-02-29 19:42:21.094 29470-29504/com.rhtest.avpmurp D/CodecProperties: setFeatureValue(_vq_eligible.device,1) 2024-02-29 19:42:21.094 29470-29504/com.rhtest.avpmurp D/CodecProperties: setFeatureValue(_quality.target,1) 2024-02-29 19:42:21.094 29470-29504/com.rhtest.avpmurp D/CodecSeeding: Seed: codec c2.android.aac.encoder, mediatype audio/mp4a-latm, overrideable 0 2024-02-29 19:42:21.094 29470-29504/com.rhtest.avpmurp D/MediaCodec: shapeMediaFormat: deltas(0): AMessage(what = 0x00000000) = { } 2024-02-29 19:42:21.094 29470-29799/com.rhtest.avpmurp D/MediaCodec: flushMediametrics 2024-02-29 19:42:21.094 29470-29799/com.rhtest.avpmurp D/CCodec: [c2.android.aac.encoder] buffers are bound to CCodec for this session 2024-02-29 19:42:21.094 29470-29799/com.rhtest.avpmurp I/CCodec: appPid(29470) width(0) height(0) 2024-02-29 19:42:21.094 29470-29799/com.rhtest.avpmurp D/CCodecConfig: no c2 equivalents for flags 2024-02-29 19:42:21.094 29470-29799/com.rhtest.avpmurp D/CCodecConfig: no c2 equivalents for encoder 2024-02-29 19:42:21.095 29470-29799/com.rhtest.avpmurp D/CCodecConfig: c2 config diff is c2::u32 coded.bitrate.value = 128000 c2::u32 input.buffers.max-size.value = 4096 c2::u32 raw.channel-count.value = 2 c2::u32 raw.sample-rate.value = 48000 2024-02-29 19:42:21.095 29470-29799/com.rhtest.avpmurp W/Codec2Client: query -- param skipped: index = 1107298332. 2024-02-29 19:42:21.095 29470-29799/com.rhtest.avpmurp D/CCodec: Setting encoder options for disabling wrapping 2024-02-29 19:42:21.095 29470-29799/com.rhtest.avpmurp D/CCodec: encoding statistics level = 0 2024-02-29 19:42:21.095 29470-29799/com.rhtest.avpmurp D/CCodec: setup formats input: AMessage(what = 0x00000000) = { int32_t sample-rate = 48000 int32_t channel-count = 2 int32_t max-input-size = 65536 string mime = "audio/raw" int32_t android._config-pcm-encoding = 2 int32_t bytebuffer-wrapping-disable = 1 } 2024-02-29 19:42:21.095 29470-29799/com.rhtest.avpmurp D/CCodec: setup formats output: AMessage(what = 0x00000000) = { int32_t sample-rate = 48000 int32_t bitrate = 128000 int32_t channel-count = 2 int32_t level = 0 int32_t max-bitrate = 128000 string mime = "audio/mp4a-latm" int32_t profile = 2 } 2024-02-29 19:42:21.095 29470-29799/com.rhtest.avpmurp I/CCodecConfig: query failed after returning 9 values (BAD_INDEX) 2024-02-29 19:42:21.097 29470-29799/com.rhtest.avpmurp I/MediaCodec: MediaCodec will operate in async mode 2024-02-29 19:42:21.097 29470-29504/com.rhtest.avpmurp D/MediaCodec: keep callback message for reclaim 2024-02-29 19:42:21.097 29470-29799/com.rhtest.avpmurp I/CCodec: [c2.android.aac.encoder] state->set(STARTING) 2024-02-29 19:42:21.098 29470-29799/com.rhtest.avpmurp W/Codec2Client: query -- param skipped: index = 1342179345. 2024-02-29 19:42:21.098 29470-29799/com.rhtest.avpmurp W/Codec2Client: query -- param skipped: index = 2415921170. 2024-02-29 19:42:21.098 29470-29799/com.rhtest.avpmurp W/Codec2Client: query -- param skipped: index = 3254792206. 2024-02-29 19:42:21.098 29470-29799/com.rhtest.avpmurp W/Codec2Client: query -- param skipped: index = 3254792194. 2024-02-29 19:42:21.098 29470-29799/com.rhtest.avpmurp D/C2Store: Using ION 2024-02-29 19:42:21.099 29470-29799/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.android.aac.encoder#966] Created input block pool with allocatorID 16 => poolID 19 - OK (0) 2024-02-29 19:42:21.100 29470-29799/com.rhtest.avpmurp I/CCodecBufferChannel: [c2.android.aac.encoder#966] Created output block pool with allocatorID 16 => poolID 24 - OK 2024-02-29 19:42:21.100 29470-29799/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.android.aac.encoder#966] Configured output block pool ids 24 => OK 2024-02-29 19:42:21.101 29470-29799/com.rhtest.avpmurp I/CCodec: [c2.android.aac.encoder] state->set(RUNNING) 2024-02-29 19:42:21.101 29470-29799/com.rhtest.avpmurp I/CCodecBufferChannel: [c2.android.aac.encoder#966] 4 initial input buffers available 2024-02-29 19:42:21.102 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (PluginState.cpp:67) PluginState::RegisterRecorder - Registered handle 33152 2024-02-29 19:42:21.102 29470-29504/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (PluginInterface.cpp:211) AVPMC_CreateRecorderVideo: newRecorderHandle = 33152 2024-02-29 19:42:21.104 29470-29548/com.rhtest.avpmurp I/AVProMovieCapture: ā (VideoRecorder.cpp:1731) VideoRecorder::setupCapture - failed to setup the video capture 2024-02-29 19:42:21.155 29470-29686/com.rhtest.avpmurp W/Choreographer: Frame time is 0.034522 ms in the future! Check that graphics HAL is generating vsync timestamps using the correct timebase. 2024-02-29 19:42:21.788 29470-29552/com.rhtest.avpmurp W/Unity: [AVProMovieCapture] Audio buffer has overflowed which may cause sync issues. Disable this component if not recording Unity audio. (1). UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) UnityEngine.Logger:Log (UnityEngine.LogType,object) UnityEngine.Debug:LogWarning (object) RenderHeads.Media.AVProMovieCapture.CaptureAudioFromAudioListener:OnAudioFilterRead (single[],int) (at C:/Projects/avpmurp/Assets/Plugins/RenderHeads/AVProMovieCapture/Runtime/Scripts/Components/CaptureAudioFromAudioListener.cs:157) 2024-02-29 19:42:21.798 29470-29552/com.rhtest.avpmurp W/Unity: [AVProMovieCapture] Audio buffer has overflowed which may cause sync issues. Disable this component if not recording Unity audio. (2). UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) UnityEngine.Logger:Log (UnityEngine.LogType,object) UnityEngine.Debug:LogWarning (object) RenderHeads.Media.AVProMovieCapture.CaptureAudioFromAudioListener:OnAudioFilterRead (single[],int) (at C:/Projects/avpmurp/Assets/Plugins/RenderHeads/AVProMovieCapture/Runtime/Scripts/Components/CaptureAudioFromAudioListener.cs:157) 2024-02-29 19:42:21.811 29470-29552/com.rhtest.avpmurp W/Unity: [AVProMovieCapture] Audio buffer has overflowed which may cause sync issues. Disable this component if not recording Unity audio. (3). UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) UnityEngine.Logger:Log (UnityEngine.LogType,object) UnityEngine.Debug:LogWarning (object) RenderHeads.Media.AVProMovieCapture.CaptureAudioFromAudioListener:OnAudioFilterRead (single[],int) (at C:/Projects/avpmurp/Assets/Plugins/RenderHeads/AVProMovieCapture/Runtime/Scripts/Components/CaptureAudioFromAudioListener.cs:157) 2024-02-29 19:42:21.818 29470-29552/com.rhtest.avpmurp W/Unity: [AVProMovieCapture] Audio buffer has overflowed which may cause sync issues. Disable this component if not recording Unity audio. (4). UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) UnityEngine.Logger:Log (UnityEngine.LogType,object) UnityEngine.Debug:LogWarning (object) RenderHeads.Media.AVProMovieCapture.CaptureAudioFromAudioListener:OnAudioFilterRead (single[],int) (at C:/Projects/avpmurp/Assets/Plugins/RenderHeads/AVProMovieCapture/Runtime/Scripts/Components/CaptureAudioFromAudioListener.cs:157) 2024-02-29 19:42:21.831 29470-29552/com.rhtest.avpmurp W/Unity: [AVProMovieCapture] Audio buffer has overflowed which may cause sync issues. Disable this component if not recording Unity audio. (5). UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) UnityEngine.Logger:Log (UnityEngine.LogType,object) UnityEngine.Debug:LogWarning (object) RenderHeads.Media.AVProMovieCapture.CaptureAudioFromAudioListener:OnAudioFilterRead (single[],int) (at C:/Projects/avpmurp/Assets/Plugins/RenderHeads/AVProMovieCapture/Runtime/Scripts/Components/CaptureAudioFromAudioListener.cs:157) 2024-02-29 19:42:21.844 29470-29552/com.rhtest.avpmurp W/Unity: [AVProMovieCapture] Audio buffer has overflowed which may cause sync issues. Disable this component if not recording Unity audio. (6). UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) UnityEngine.Logger:Log (UnityEngine.LogType,object) UnityEngine.Debug:LogWarning (object) RenderHeads.Media.AVProMovieCapture.CaptureAudioFromAudioListener:OnAudioFilterRead (single[],int) (at C:/Projects/avpmurp/Assets/Plugins/RenderHeads/AVProMovieCapture/Runtime/Scripts/Components/CaptureAudioFromAudioListener.cs:157) 2024-02-29 19:42:21.851 29470-29552/com.rhtest.avpmurp W/Unity: [AVProMovieCapture] Audio buffer has overflowed which may cause sync issues. Disable this component if not recording Unity audio. (7). UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) UnityEngine.Logger:Log (UnityEngine.LogType,object) UnityEngine.Debug:LogWarning (object) RenderHeads.Media.AVProMovieCapture.CaptureAudioFromAudioListener:OnAudioFilterRead (single[],int) (at C:/Projects/avpmurp/Assets/Plugins/RenderHeads/AVProMovieCapture/Runtime/Scripts/Components/CaptureAudioFromAudioListener.cs:157) 2024-02-29 19:42:21.864 29470-29552/com.rhtest.avpmurp W/Unity: [AVProMovieCapture] Audio buffer has overflowed which may cause sync issues. Disable this component if not recording Unity audio. (8). UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) UnityEngine.Logger:Log (UnityEngine.LogType,object) UnityEngine.Debug:LogWarning (object) RenderHeads.Media.AVProMovieCapture.CaptureAudioFromAudioListener:OnAudioFilterRead (single[],int) (at C:/Projects/avpmurp/Assets/Plugins/RenderHeads/AVProMovieCapture/Runtime/Scripts/Components/CaptureAudioFromAudioListener.cs:157) 2024-02-29 19:42:21.874 29470-29552/com.rhtest.avpmurp W/Unity: [AVProMovieCapture] Audio buffer has overflowed which may cause sync issues. Disable this component if not recording Unity audio. Silencing this warning now. UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) UnityEngine.Logger:Log (UnityEngine.LogType,object) UnityEngine.Debug:LogWarning (object) RenderHeads.Media.AVProMovieCapture.CaptureAudioFromAudioListener:OnAudioFilterRead (single[],int) (at C:/Projects/avpmurp/Assets/Plugins/RenderHeads/AVProMovieCapture/Runtime/Scripts/Components/CaptureAudioFromAudioListener.cs:157) 2024-02-29 19:42:22.082 29470-29793/com.rhtest.avpmurp I/MediaCodec: setCodecState state(0), called in 6 2024-02-29 19:42:24.250 29470-29784/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.qti.avc.encoder#235] DEBUG: elapsed: n=8 [in=0 pipeline=0 out=4] 2024-02-29 19:42:24.250 29470-29784/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.android.aac.encoder#966] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0] 2024-02-29 19:42:25.982 29470-29786/com.rhtest.avpmurp D/BufferPoolAccessor2.0: evictor expired: 1, evicted: 0 2024-02-29 19:42:26.982 29470-29786/com.rhtest.avpmurp D/BufferPoolAccessor2.0: bufferpool2 0xe3c54a18 : 5(327680 size) total buffers - 4(262144 size) used buffers - 0/5 (recycle/alloc) - 0/0 (fetch/transfer) 2024-02-29 19:42:26.982 29470-29786/com.rhtest.avpmurp D/BufferPoolAccessor2.0: evictor expired: 2, evicted: 1 2024-02-29 19:42:29.377 29470-29470/com.rhtest.avpmurp I/ViewRootImpl@ec36334[UnityPlayerActivity]: ViewPostIme pointer 0 2024-02-29 19:42:29.458 29470-29470/com.rhtest.avpmurp I/ViewRootImpl@ec36334[UnityPlayerActivity]: ViewPostIme pointer 1 2024-02-29 19:42:29.473 29470-29504/com.rhtest.avpmurp I/Unity: [AVProMovieCapture] Stopping capture 33152 UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) UnityEngine.Logger:Log (UnityEngine.LogType,object) UnityEngine.Debug:Log (object) RenderHeads.Media.AVProMovieCapture.CaptureBase:StopCapture (bool,bool,bool) (at C:/Projects/avpmurp/Assets/Plugins/RenderHeads/AVProMovieCapture/Runtime/Scripts/Internal/CaptureBase.cs:2838) RenderHeads.Media.AVProMovieCapture.CaptureGUI:StopCapture () (at C:/Projects/avpmurp/Assets/Plugins/RenderHeads/AVProMovieCapture/Runtime/Scripts/Components/CaptureGUI.cs:825) RenderHeads.Media.AVProMovieCapture.CaptureGUI:DrawPauseResumeButtons () (at C:/Projects/avpmurp/Assets/Plugins/RenderHeads/AVProMovieCapture/Runtime/Scripts/Components/CaptureGUI.cs:791) RenderHeads.Media.AVProMovieCapture.CaptureGUI:GUI_RecordingStatus () (at C:/Projects/avpmurp/Assets/Plugins/ 2024-02-29 19:42:29.475 29470-29802/com.rhtest.avpmurp I/AVProMovieCapture: š¬ļø (VideoRecorder.cpp:852) VideoRecorder::videoCaptureThread - got input buffer of size: 1572864 2024-02-29 19:42:29.477 29470-29804/com.rhtest.avpmurp D/MPEG4Writer: fpathconf _PC_FILESIZEBITS:64 2024-02-29 19:42:29.477 29470-29804/com.rhtest.avpmurp D/MPEG4Writer: File size limit set to 4503599627370495 bytes implicitly 2024-02-29 19:42:29.478 29470-29804/com.rhtest.avpmurp D/MPEG4Writer: MP4WtrCtrlHlpLooper Started 2024-02-29 19:42:29.479 29470-29793/com.rhtest.avpmurp I/MediaCodec: setCodecState state(1), called in 6 2024-02-29 19:42:29.480 29470-29845/com.rhtest.avpmurp V/MediaWriter: Track event err/info msg:101, trackId:2, type:1000,val:0 2024-02-29 19:42:29.480 29470-29845/com.rhtest.avpmurp I/MPEG4Writer: Received total/0-length (0/0) buffers and encoded 0 frames. - Audio 2024-02-29 19:42:29.480 29470-29845/com.rhtest.avpmurp I/MPEG4Writer: Audio track drift time: 0 us 2024-02-29 19:42:29.480 29470-29804/com.rhtest.avpmurp D/MPEG4Writer: reset() 2024-02-29 19:42:29.480 29470-29804/com.rhtest.avpmurp D/MPEG4Writer: Video track stopping. Stop source 2024-02-29 19:42:29.480 29470-29804/com.rhtest.avpmurp D/MPEG4Writer: Video track source stopping 2024-02-29 19:42:29.480 29470-29804/com.rhtest.avpmurp D/MPEG4Writer: Video track source stopped 2024-02-29 19:42:29.480 29470-29844/com.rhtest.avpmurp V/MediaWriter: Track event err/info msg:101, trackId:1, type:1000,val:0 2024-02-29 19:42:29.480 29470-29844/com.rhtest.avpmurp I/MPEG4Writer: Received total/0-length (0/1) buffers and encoded 0 frames. - Video 2024-02-29 19:42:29.480 29470-29804/com.rhtest.avpmurp D/MPEG4Writer: Video track stopped. Status:0. Stop source 2024-02-29 19:42:29.480 29470-29804/com.rhtest.avpmurp D/MPEG4Writer: Audio track stopping. Stop source 2024-02-29 19:42:29.480 29470-29804/com.rhtest.avpmurp D/MPEG4Writer: Audio track source stopping 2024-02-29 19:42:29.480 29470-29804/com.rhtest.avpmurp D/MPEG4Writer: Audio track source stopped 2024-02-29 19:42:29.480 29470-29804/com.rhtest.avpmurp D/MPEG4Writer: Audio track stopped. Status:0. Stop source 2024-02-29 19:42:29.480 29470-29804/com.rhtest.avpmurp I/MPEG4Writer: Duration from tracks range is [0, 0] us 2024-02-29 19:42:29.480 29470-29842/com.rhtest.avpmurp D/MPEG4Writer: 0 chunks are written in the last batch 2024-02-29 19:42:29.480 29470-29804/com.rhtest.avpmurp D/MPEG4Writer: WriterThread stopped. Status:0 2024-02-29 19:42:29.481 29470-29804/com.rhtest.avpmurp I/MPEG4Writer: Adjust the moov start time from -1 us -> -1 us 2024-02-29 19:42:29.482 29470-29804/com.rhtest.avpmurp I/MPEG4Writer: The mp4 file will not be streamable. 2024-02-29 19:42:29.482 29470-29804/com.rhtest.avpmurp I/MPEG4Writer: MOOV atom was written to the file 2024-02-29 19:42:29.482 29470-29804/com.rhtest.avpmurp D/MPEG4Writer: release() 2024-02-29 19:42:29.482 29470-29804/com.rhtest.avpmurp D/MPEG4Writer: ftruncate mPreAllocateFileEndOffset:0 mOffset:850 mMdatEndOffset:40 diff:-850 2024-02-29 19:42:29.482 29470-29804/com.rhtest.avpmurp D/MPEG4Writer: MP4WtrCtrlHlpLooper stopped 2024-02-29 19:42:29.482 29470-29804/com.rhtest.avpmurp I/MPEG4Writer: Top 5 write durations(microseconds): #1:5 #2:7 #3:10 #4:29 #5:46 2024-02-29 19:42:29.482 29470-29804/com.rhtest.avpmurp D/MPEG4Writer: reset() 2024-02-29 19:42:29.482 29470-29804/com.rhtest.avpmurp D/MPEG4Writer: Video track stopping. Stop source 2024-02-29 19:42:29.482 29470-29804/com.rhtest.avpmurp E/MPEG4Writer: Stop() called but track is not started or stopped 2024-02-29 19:42:29.482 29470-29804/com.rhtest.avpmurp D/MPEG4Writer: Audio track stopping. Stop source 2024-02-29 19:42:29.482 29470-29804/com.rhtest.avpmurp E/MPEG4Writer: Stop() called but track is not started or stopped 2024-02-29 19:42:29.537 29470-29846/com.rhtest.avpmurp I/Unity: [AVProMovieCapture] File processing complete UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) UnityEngine.Logger:Log (UnityEngine.LogType,object) UnityEngine.Debug:Log (object) RenderHeads.Media.AVProMovieCapture.MP4FileProcessing:Process (System.IO.Stream,System.IO.Stream) (at C:/Projects/avpmurp/Assets/Plugins/RenderHeads/AVProMovieCapture/Runtime/Scripts/Internal/Mp4FileProcessing.cs:349) RenderHeads.Media.AVProMovieCapture.MP4FileProcessing:ProcessFile (string,string,RenderHeads.Media.AVProMovieCapture.MP4FileProcessing/Options) (at C:/Projects/avpmurp/Assets/Plugins/RenderHeads/AVProMovieCapture/Runtime/Scripts/Internal/Mp4FileProcessing.cs:245) RenderHeads.Media.AVProMovieCapture.MP4FileProcessing:ProcessFile (string,bool,RenderHeads.Media.AVProMovieCapture.MP4FileProcessing/Options) (at C:/Projects/avpmurp/Assets/Plugins/R 2024-02-29 19:42:29.549 29470-29793/com.rhtest.avpmurp I/CCodec: [c2.qti.avc.encoder] state->set(RELEASING) 2024-02-29 19:42:29.549 29470-29793/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.qti.avc.encoder#235] MediaCodec discarded an unknown buffer 2024-02-29 19:42:29.549 29470-29848/com.rhtest.avpmurp I/CCodec: [c2.qti.avc.encoder] release(1) 2024-02-29 19:42:29.550 29470-29793/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.qti.avc.encoder#235] MediaCodec discarded an unknown buffer 2024-02-29 19:42:29.550 29470-29793/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.qti.avc.encoder#235] MediaCodec discarded an unknown buffer 2024-02-29 19:42:29.555 29470-29848/com.rhtest.avpmurp I/CCodec: [c2.qti.avc.encoder] state->set(RELEASED) 2024-02-29 19:42:29.555 29470-29793/com.rhtest.avpmurp I/MediaCodec: Codec shutdown complete 2024-02-29 19:42:29.555 29470-29848/com.rhtest.avpmurp I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2024-02-29 19:42:29.555 29470-29504/com.rhtest.avpmurp D/MediaCodec: flushMediametrics 2024-02-29 19:42:29.556 29470-29799/com.rhtest.avpmurp I/CCodec: [c2.android.aac.encoder] state->set(RELEASING) 2024-02-29 19:42:29.556 29470-29799/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.android.aac.encoder#966] MediaCodec discarded an unknown buffer 2024-02-29 19:42:29.556 29470-29849/com.rhtest.avpmurp I/CCodec: [c2.android.aac.encoder] release(1) 2024-02-29 19:42:29.556 29470-29799/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.android.aac.encoder#966] MediaCodec discarded an unknown buffer 2024-02-29 19:42:29.556 29470-29799/com.rhtest.avpmurp D/CCodecBufferChannel: [c2.android.aac.encoder#966] MediaCodec discarded an unknown buffer 2024-02-29 19:42:29.557 29470-29849/com.rhtest.avpmurp I/CCodec: [c2.android.aac.encoder] state->set(RELEASED) 2024-02-29 19:42:29.557 29470-29849/com.rhtest.avpmurp I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2024-02-29 19:42:29.558 29470-29799/com.rhtest.avpmurp D/BufferPoolAccessor2.0: Destruction - bufferpool2 0xe3c54a18 cached: 0/0M, 0/0% in use; allocs: 5, 0% recycled; transfers: 0, 0% unfetched 2024-02-29 19:42:29.558 29470-29799/com.rhtest.avpmurp I/MediaCodec: Codec shutdown complete 2024-02-29 19:42:29.558 29470-29504/com.rhtest.avpmurp D/MediaCodec: flushMediametrics 2024-02-29 19:42:29.559 29470-29504/com.rhtest.avpmurp E/libc++abi: terminating due to uncaught exception of type std::__ndk1::system_error: thread::join failed: Invalid argument 2024-02-29 19:42:29.562 29470-29504/com.rhtest.avpmurp E/CRASH: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 2024-02-29 19:42:29.562 29470-29504/com.rhtest.avpmurp E/CRASH: Version '2021.3.28f1 (232e59c3f087)', Build type 'Development', Scripting Backend 'mono', CPU 'armeabi-v7a' 2024-02-29 19:42:29.562 29470-29504/com.rhtest.avpmurp E/CRASH: Build fingerprint: 'samsung/gta9pkx/gta9p:13/TP1A.220624.014/X216NKOS1AWL1:user/release-keys' 2024-02-29 19:42:29.562 29470-29504/com.rhtest.avpmurp E/CRASH: Revision: '0' 2024-02-29 19:42:29.562 29470-29504/com.rhtest.avpmurp E/CRASH: ABI: 'arm' 2024-02-29 19:42:29.562 29470-29504/com.rhtest.avpmurp E/CRASH: Timestamp: 2024-02-29 19:42:29+0900 2024-02-29 19:42:29.562 29470-29504/com.rhtest.avpmurp E/CRASH: pid: 29470, tid: 29504, name: UnityMain >>> com.rhtest.avpmurp <<< 2024-02-29 19:42:29.562 29470-29504/com.rhtest.avpmurp E/CRASH: uid: 10266 2024-02-29 19:42:29.562 29470-29504/com.rhtest.avpmurp E/CRASH: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- 2024-02-29 19:42:29.562 29470-29504/com.rhtest.avpmurp E/CRASH: r0 00000000 r1 00007340 r2 00000006 r3 c1ce6190 2024-02-29 19:42:29.562 29470-29504/com.rhtest.avpmurp E/CRASH: r4 c1ce61a0 r5 c1ce6188 r6 0000731e r7 0000016b 2024-02-29 19:42:29.563 29470-29504/com.rhtest.avpmurp E/CRASH: r8 00000000 r9 ffffffff r10 c1ce6190 r11 c1ce625c 2024-02-29 19:42:29.563 29470-29504/com.rhtest.avpmurp E/CRASH: ip 00007340 sp c1ce6170 lr f08e47db pc f08e47ee 2024-02-29 19:42:29.563 29470-29504/com.rhtest.avpmurp E/CRASH: backtrace: 2024-02-29 19:42:29.563 29470-29504/com.rhtest.avpmurp E/CRASH: #00 pc 000627ee /apex/com.android.runtime/lib/bionic/libc.so (prop_area::map_fd_ro(int)+118) (BuildId: 5d48bc9cc6ae3c32f2caa2c9135cceb3) 2024-02-29 19:42:29.563 29470-29504/com.rhtest.avpmurp E/CRASH: managed backtrace: 2024-02-29 19:42:29.563 29470-29504/com.rhtest.avpmurp E/CRASH: #00 (wrapper managed-to-native) RenderHeads.Media.AVProMovieCapture.NativePlugin:FreeRecorder (int) 2024-02-29 19:42:29.563 29470-29504/com.rhtest.avpmurp E/CRASH: #01 RenderHeads.Media.AVProMovieCapture.FileWritingHandler:Dispose ()