2025-04-13 18:03:07.437 16423-16621 ProfileInstaller app.grapheneos.camera.dev D Installing profile for app.grapheneos.camera.dev 2025-04-13 18:03:09.865 16423-16626 SurfaceViewImpl app.grapheneos.camera.dev D PreviewView.SurfaceViewImplementation.getBitmap() succeeded 2025-04-13 18:03:09.922 16423-16423 ScreenFlashWrapper app.grapheneos.camera.dev W completePendingScreenFlashClear: none pending! 2025-04-13 18:03:09.922 16423-16423 ImageCapture app.grapheneos.camera.dev D clearPipeline 2025-04-13 18:03:09.922 16423-16423 DeferrableSurface app.grapheneos.camera.dev D surface closed, useCount=1 closed=true androidx.camera.core.impl.ImmediateSurface@5072995 2025-04-13 18:03:09.923 16423-16423 DeferrableSurface app.grapheneos.camera.dev D surface closed, useCount=2 closed=true androidx.camera.core.SurfaceRequest$2@443177 2025-04-13 18:03:09.923 16423-16423 DeferrableSurface app.grapheneos.camera.dev D surface closed, useCount=0 closed=true androidx.camera.core.processing.SurfaceEdge$SettableSurface@d19c69b 2025-04-13 18:03:09.923 16423-16423 DeferrableSurface app.grapheneos.camera.dev D Surface terminated[total_surfaces=2, used_surfaces=2](androidx.camera.core.processing.SurfaceEdge$SettableSurface@d19c69b} 2025-04-13 18:03:09.923 16423-16423 DeferrableSurface app.grapheneos.camera.dev D use count-1, useCount=1 closed=true androidx.camera.core.SurfaceRequest$2@443177 2025-04-13 18:03:09.923 16423-16423 ScreenFlashWrapper app.grapheneos.camera.dev W completePendingScreenFlashClear: none pending! 2025-04-13 18:03:09.924 16423-16472 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Use cases [androidx.camera.core.ImageCapture-60c5b62e-41df-4db3-a2b2-b6f7181af7126665763, androidx.camera.core.Preview-6fb9180d-3e37-4ac5-b19a-165f373bca5c182413088] now DETACHED for camera 2025-04-13 18:03:09.925 16423-16472 UseCaseAttachState app.grapheneos.camera.dev D All use case: [] for camera: 0 2025-04-13 18:03:09.925 16423-16472 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Resetting Capture Session 2025-04-13 18:03:09.926 16423-16472 SyncCaptureSessionImpl app.grapheneos.camera.dev D [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@c4af355] Session call close() 2025-04-13 18:03:09.927 16423-16472 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Releasing session in state OPENED 2025-04-13 18:03:09.927 16423-16472 Camera2CameraControlImp app.grapheneos.camera.dev D setActive: isActive = false 2025-04-13 18:03:09.927 16423-16472 UseCaseAttachState app.grapheneos.camera.dev D Active and attached use case: [] for camera: 0 2025-04-13 18:03:09.928 16423-16423 DeviceQuirks app.grapheneos.camera.dev D video DeviceQuirks = 2025-04-13 18:03:09.930 16423-16472 UseCaseAttachState app.grapheneos.camera.dev D Active and attached use case: [] for camera: 0 2025-04-13 18:03:09.932 16423-16472 VideoUsageControl app.grapheneos.camera.dev D resetDirectly: mVideoUsage reset! 2025-04-13 18:03:09.932 16423-16472 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Closing camera. 2025-04-13 18:03:09.933 16423-16472 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Transitioning camera internal state: OPENED --> CLOSING 2025-04-13 18:03:09.935 16423-16472 CameraStateRegistry app.grapheneos.camera.dev D Recalculating open cameras: Camera State ------------------------------------------------------------------- Camera@8145109[id=0] CLOSING Camera@af56e1a[id=1] UNKNOWN ------------------------------------------------------------------- Open count: 1 (Max allowed: 1) 2025-04-13 18:03:09.938 16423-16472 CameraStateMachine app.grapheneos.camera.dev D New public camera state CameraState{type=CLOSING, error=null} from CLOSING and null 2025-04-13 18:03:09.938 16423-16472 CameraStateMachine app.grapheneos.camera.dev D Publishing new public camera state CameraState{type=CLOSING, error=null} 2025-04-13 18:03:09.938 16423-16472 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Resetting Capture Session 2025-04-13 18:03:09.938 16423-16472 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Skipping Capture Session state check due to current camera state: CLOSING and previous session status: false 2025-04-13 18:03:09.938 16423-16472 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Releasing session in state CLOSING 2025-04-13 18:03:09.939 16423-16472 SyncCaptureSessionImpl app.grapheneos.camera.dev D [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@c4af355] Session call super.close() 2025-04-13 18:03:09.940 16423-16472 UseCaseAttachState app.grapheneos.camera.dev D Active and attached use case: [] for camera: 0 2025-04-13 18:03:09.941 16423-16472 CaptureSession app.grapheneos.camera.dev D onSessionFinished() 2025-04-13 18:03:09.941 16423-16472 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} closing camera 2025-04-13 18:03:09.954 16423-16423 Recorder app.grapheneos.camera.dev D mRequiredFreeStorageBytes = 50 MB 2025-04-13 18:03:09.959 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.960 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.960 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.960 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.961 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.961 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.962 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.962 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.966 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.967 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.967 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.968 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.968 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.968 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.968 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.968 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.985 16423-16423 GOCam app.grapheneos.camera.dev I tr: 0 2025-04-13 18:03:09.993 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.993 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.993 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.994 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.994 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.994 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.994 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.994 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:09.995 16423-16423 QualitySelector app.grapheneos.camera.dev D supportedQualities = [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}, ConstantQuality{value=6, name=FHD, typicalSizes=[1920x1080]}, ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}, ConstantQuality{value=4, name=SD, typicalSizes=[720x480, 640x480]}] 2025-04-13 18:03:09.995 16423-16423 QualitySelector app.grapheneos.camera.dev D Select quality by fallbackStrategy = RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0} 2025-04-13 18:03:09.995 16423-16423 VideoCapture app.grapheneos.camera.dev D Found selectedQualities [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}] by QualitySelector{preferredQualities=[ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}], fallbackStrategy=RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0}} 2025-04-13 18:03:09.997 16423-16423 VideoCapture app.grapheneos.camera.dev D Set custom ordered resolutions = [3840x2160] 2025-04-13 18:03:10.005 16423-16423 DynamicRangeResolver app.grapheneos.camera.dev D Resolved dynamic range for use case androidx.camera.core.Preview-ba1fda89-b3a2-4d54-987e-4c230caf24e0 to no compatible HDR dynamic ranges. DynamicRange@584e0c4{encoding=UNSPECIFIED, bitDepth=0} -> DynamicRange@9dc3fd7{encoding=SDR, bitDepth=8} 2025-04-13 18:03:10.008 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.009 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.009 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.009 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.009 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.009 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.009 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.009 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.009 16423-16423 QualitySelector app.grapheneos.camera.dev D supportedQualities = [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}, ConstantQuality{value=6, name=FHD, typicalSizes=[1920x1080]}, ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}, ConstantQuality{value=4, name=SD, typicalSizes=[720x480, 640x480]}] 2025-04-13 18:03:10.009 16423-16423 QualitySelector app.grapheneos.camera.dev D Select quality by fallbackStrategy = RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0} 2025-04-13 18:03:10.009 16423-16423 VideoCapture app.grapheneos.camera.dev D Found selectedQualities [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}] by QualitySelector{preferredQualities=[ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}], fallbackStrategy=RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0}} 2025-04-13 18:03:10.011 16423-16423 VideoCapture app.grapheneos.camera.dev D Set custom ordered resolutions = [3840x2160] 2025-04-13 18:03:10.016 16423-16423 ResolutionsMerger app.grapheneos.camera.dev D The closer aspect ratio to the sensor size (4624x3472) is 4/3. 2025-04-13 18:03:10.031 16423-16423 ResolutionsMerger app.grapheneos.camera.dev D Parent resolutions: [4000x3000, 3840x2160] 2025-04-13 18:03:10.041 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.041 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.041 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.041 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.043 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.043 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.044 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.045 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.045 16423-16423 QualitySelector app.grapheneos.camera.dev D supportedQualities = [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}, ConstantQuality{value=6, name=FHD, typicalSizes=[1920x1080]}, ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}, ConstantQuality{value=4, name=SD, typicalSizes=[720x480, 640x480]}] 2025-04-13 18:03:10.045 16423-16423 QualitySelector app.grapheneos.camera.dev D Select quality by fallbackStrategy = RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0} 2025-04-13 18:03:10.045 16423-16423 VideoCapture app.grapheneos.camera.dev D Found selectedQualities [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}] by QualitySelector{preferredQualities=[ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}], fallbackStrategy=RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0}} 2025-04-13 18:03:10.047 16423-16423 VideoCapture app.grapheneos.camera.dev D Set custom ordered resolutions = [3840x2160] 2025-04-13 18:03:10.051 16423-16423 DynamicRangeResolver app.grapheneos.camera.dev D Resolved dynamic range for use case androidx.camera.core.Preview-ba1fda89-b3a2-4d54-987e-4c230caf24e0 to no compatible HDR dynamic ranges. DynamicRange@584e0c4{encoding=UNSPECIFIED, bitDepth=0} -> DynamicRange@9dc3fd7{encoding=SDR, bitDepth=8} 2025-04-13 18:03:10.055 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.055 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.055 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.056 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.056 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.056 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.056 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.056 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.056 16423-16423 QualitySelector app.grapheneos.camera.dev D supportedQualities = [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}, ConstantQuality{value=6, name=FHD, typicalSizes=[1920x1080]}, ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}, ConstantQuality{value=4, name=SD, typicalSizes=[720x480, 640x480]}] 2025-04-13 18:03:10.056 16423-16423 QualitySelector app.grapheneos.camera.dev D Select quality by fallbackStrategy = RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0} 2025-04-13 18:03:10.056 16423-16423 VideoCapture app.grapheneos.camera.dev D Found selectedQualities [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}] by QualitySelector{preferredQualities=[ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}], fallbackStrategy=RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0}} 2025-04-13 18:03:10.057 16423-16423 VideoCapture app.grapheneos.camera.dev D Set custom ordered resolutions = [3840x2160] 2025-04-13 18:03:10.059 16423-16423 ResolutionsMerger app.grapheneos.camera.dev D The closer aspect ratio to the sensor size (4624x3472) is 4/3. 2025-04-13 18:03:10.067 16423-16423 ResolutionsMerger app.grapheneos.camera.dev D Parent resolutions: [4000x3000, 3840x2160] 2025-04-13 18:03:10.068 16423-16423 CameraQuirks app.grapheneos.camera.dev D camera2 CameraQuirks = 2025-04-13 18:03:10.073 16423-16423 ResolutionsMerger app.grapheneos.camera.dev D Parent resolutions: [4000x3000, 3840x2160] 2025-04-13 18:03:10.076 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.076 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.076 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.076 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.079 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.080 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.081 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.083 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.084 16423-16484 DeferrableSurface app.grapheneos.camera.dev D use count-1, useCount=0 closed=true androidx.camera.core.SurfaceRequest$2@443177 2025-04-13 18:03:10.084 16423-16484 DeferrableSurface app.grapheneos.camera.dev D Surface no longer in use[total_surfaces=2, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@443177} 2025-04-13 18:03:10.084 16423-16484 DeferrableSurface app.grapheneos.camera.dev D Surface terminated[total_surfaces=1, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@443177} 2025-04-13 18:03:10.084 16423-16484 DeferrableSurface app.grapheneos.camera.dev D use count-1, useCount=0 closed=true androidx.camera.core.impl.ImmediateSurface@5072995 2025-04-13 18:03:10.084 16423-16423 QualitySelector app.grapheneos.camera.dev D supportedQualities = [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}, ConstantQuality{value=6, name=FHD, typicalSizes=[1920x1080]}, ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}, ConstantQuality{value=4, name=SD, typicalSizes=[720x480, 640x480]}] 2025-04-13 18:03:10.084 16423-16484 DeferrableSurface app.grapheneos.camera.dev D Surface no longer in use[total_surfaces=1, used_surfaces=0](androidx.camera.core.impl.ImmediateSurface@5072995} 2025-04-13 18:03:10.084 16423-16484 DeferrableSurface app.grapheneos.camera.dev D Surface terminated[total_surfaces=0, used_surfaces=0](androidx.camera.core.impl.ImmediateSurface@5072995} 2025-04-13 18:03:10.084 16423-16423 QualitySelector app.grapheneos.camera.dev D Select quality by fallbackStrategy = RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0} 2025-04-13 18:03:10.084 16423-16484 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} CameraDevice.onClosed() 2025-04-13 18:03:10.084 16423-16423 VideoCapture app.grapheneos.camera.dev D Found selectedQualities [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}] by QualitySelector{preferredQualities=[ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}], fallbackStrategy=RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0}} 2025-04-13 18:03:10.085 16423-16484 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Transitioning camera internal state: CLOSING --> INITIALIZED 2025-04-13 18:03:10.085 16423-16484 CameraStateRegistry app.grapheneos.camera.dev D Recalculating open cameras: Camera State ------------------------------------------------------------------- Camera@8145109[id=0] CLOSED Camera@af56e1a[id=1] UNKNOWN ------------------------------------------------------------------- Open count: 0 (Max allowed: 1) 2025-04-13 18:03:10.085 16423-16484 CameraStateMachine app.grapheneos.camera.dev D New public camera state CameraState{type=CLOSED, error=null} from CLOSED and null 2025-04-13 18:03:10.085 16423-16484 CameraStateMachine app.grapheneos.camera.dev D Publishing new public camera state CameraState{type=CLOSED, error=null} 2025-04-13 18:03:10.085 16423-16484 SyncCaptureSessionImpl app.grapheneos.camera.dev D [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@c4af355] onClosed() 2025-04-13 18:03:10.086 16423-16423 VideoCapture app.grapheneos.camera.dev D Set custom ordered resolutions = [3840x2160] 2025-04-13 18:03:10.088 16423-16423 DeferrableSurface app.grapheneos.camera.dev D Surface created[total_surfaces=1, used_surfaces=0](androidx.camera.core.processing.SurfaceEdge$SettableSurface@da6be18} 2025-04-13 18:03:10.195 16423-16636 OpenGlRenderer app.grapheneos.camera.dev D EGLContext created, client version 2 2025-04-13 18:03:10.202 16423-16636 GLUtils app.grapheneos.camera.dev D Shader program for input format UNKNOWN created: androidx.camera.core.processing.util.GLUtils$SamplerShaderProgram@6ca7e56 2025-04-13 18:03:10.202 16423-16636 GLUtils app.grapheneos.camera.dev D Shader program for input format DEFAULT created: androidx.camera.core.processing.util.GLUtils$SamplerShaderProgram@b55a3c4 2025-04-13 18:03:10.203 16423-16636 GLUtils app.grapheneos.camera.dev D Shader program for input format YUV created: androidx.camera.core.processing.util.GLUtils$SamplerShaderProgram@88829e2 2025-04-13 18:03:10.203 16423-16636 OpenGlRenderer app.grapheneos.camera.dev D Using program for input format UNKNOWN: androidx.camera.core.processing.util.GLUtils$SamplerShaderProgram@6ca7e56 2025-04-13 18:03:10.204 16423-16423 DeferrableSurface app.grapheneos.camera.dev D Surface created[total_surfaces=2, used_surfaces=0](androidx.camera.core.processing.SurfaceEdge$SettableSurface@1eb3830} 2025-04-13 18:03:10.205 16423-16423 DeferrableSurface app.grapheneos.camera.dev D Surface created[total_surfaces=3, used_surfaces=0](androidx.camera.core.processing.SurfaceEdge$SettableSurface@b83022e} 2025-04-13 18:03:10.206 16423-16423 DeferrableSurface app.grapheneos.camera.dev D Surface created[total_surfaces=4, used_surfaces=0](androidx.camera.core.SurfaceRequest$2@b47a65} 2025-04-13 18:03:10.208 16423-16423 DeferrableSurface app.grapheneos.camera.dev D New surface in use[total_surfaces=4, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@b47a65} 2025-04-13 18:03:10.208 16423-16423 DeferrableSurface app.grapheneos.camera.dev D use count+1, useCount=1 androidx.camera.core.SurfaceRequest$2@b47a65 2025-04-13 18:03:10.209 16423-16636 OpenGlRenderer app.grapheneos.camera.dev D Using program for input format DEFAULT: androidx.camera.core.processing.util.GLUtils$SamplerShaderProgram@b55a3c4 2025-04-13 18:03:10.209 16423-16423 VideoCapture app.grapheneos.camera.dev D onSuggestedStreamSpecUpdated: StreamSpec{resolution=2160x3840, dynamicRange=DynamicRange@88e3d7e{encoding=SDR, bitDepth=8}, expectedFrameRateRange=[0, 0], implementationOptions=androidx.camera.camera2.impl.Camera2ImplConfig@d4a2219, zslDisabled=false} 2025-04-13 18:03:10.209 16423-16423 VideoCapture app.grapheneos.camera.dev W suggested resolution 2160x3840 is not in custom ordered resolutions [3840x2160] 2025-04-13 18:03:10.210 16423-16423 DeferrableSurface app.grapheneos.camera.dev D Surface created[total_surfaces=5, used_surfaces=1](androidx.camera.core.processing.SurfaceEdge$SettableSurface@74a52de} 2025-04-13 18:03:10.210 16423-16423 DeferrableSurface app.grapheneos.camera.dev D Surface created[total_surfaces=6, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@6a4beea} 2025-04-13 18:03:10.211 16423-16423 DeferrableSurface app.grapheneos.camera.dev D New surface in use[total_surfaces=6, used_surfaces=2](androidx.camera.core.SurfaceRequest$2@6a4beea} 2025-04-13 18:03:10.211 16423-16423 DeferrableSurface app.grapheneos.camera.dev D use count+1, useCount=1 androidx.camera.core.SurfaceRequest$2@6a4beea 2025-04-13 18:03:10.212 16423-16423 DeferrableSurface app.grapheneos.camera.dev D use count+1, useCount=2 androidx.camera.core.SurfaceRequest$2@6a4beea 2025-04-13 18:03:10.213 16423-16423 VideoCapture app.grapheneos.camera.dev D VideoCapture#onStateAttached: cameraID = virtual-0-25ad14ae-7e43-441e-aa59-34873eec1834 2025-04-13 18:03:10.213 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.213 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.213 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.213 16423-16472 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Use case androidx.camera.core.streamsharing.StreamSharing-f2897ac4-0591-4809-8296-d710d8a16608263589632 ACTIVE 2025-04-13 18:03:10.213 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.214 16423-16472 UseCaseAttachState app.grapheneos.camera.dev D Active and attached use case: [] for camera: 0 2025-04-13 18:03:10.214 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.214 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.214 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.214 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.214 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D Using supported quality of ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]} for size 2160x3840 2025-04-13 18:03:10.214 16423-16472 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Use case androidx.camera.core.streamsharing.StreamSharing-f2897ac4-0591-4809-8296-d710d8a16608263589632 ACTIVE 2025-04-13 18:03:10.214 16423-16472 UseCaseAttachState app.grapheneos.camera.dev D Active and attached use case: [] for camera: 0 2025-04-13 18:03:10.214 16423-16423 VideoConfigUtil app.grapheneos.camera.dev D MediaSpec video mime matches EncoderProfiles. Using EncoderProfiles to derive VIDEO settings [mime type: video/avc] 2025-04-13 18:03:10.215 16423-16423 VidEncVdPrflRslvr app.grapheneos.camera.dev D Resolved frame rate 30fps [Video profile frame rate: 60fps, Expected operating range: ] 2025-04-13 18:03:10.215 16423-16423 VidEncVdPrflRslvr app.grapheneos.camera.dev D Resolved VIDEO frame rate: 30fps 2025-04-13 18:03:10.215 16423-16423 VidEncVdPrflRslvr app.grapheneos.camera.dev D Using resolved VIDEO bitrate from EncoderProfiles 2025-04-13 18:03:10.215 16423-16423 VideoConfigUtil app.grapheneos.camera.dev D Base Bitrate(72000000bps) * Bit Depth Ratio (8 / 8) * Frame Rate Ratio(30 / 60) * Width Ratio(2160 / 3840) * Height Ratio(3840 / 2160) = 36000000 2025-04-13 18:03:10.215 16423-16423 VideoConfigUtil app.grapheneos.camera.dev W Unsupported mime type video/avc or profile level -1. Data space is unspecified. 2025-04-13 18:03:10.218 16423-16423 MediaCodecList app.grapheneos.camera.dev D codecHandlesFormat: no format, so no extra checks 2025-04-13 18:03:10.219 16423-16423 MediaCodecList app.grapheneos.camera.dev D codecHandlesFormat: no format, so no extra checks 2025-04-13 18:03:10.222 16423-16644 CCodec app.grapheneos.camera.dev D allocate(c2.exynos.h264.encoder) 2025-04-13 18:03:10.225 16423-16644 Codec2Client app.grapheneos.camera.dev I Available Codec2 services: "default" "default1" "software" 2025-04-13 18:03:10.226 16423-16644 CCodec app.grapheneos.camera.dev I setting up 'default' as default (vendor) store 2025-04-13 18:03:10.258 16423-16644 CCodec app.grapheneos.camera.dev I Created component [c2.exynos.h264.encoder] 2025-04-13 18:03:10.259 16423-16644 CCodecConfig app.grapheneos.camera.dev D read media type: video/avc 2025-04-13 18:03:10.261 16423-16644 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: output.subscribed-indices.values 2025-04-13 18:03:10.261 16423-16644 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: input.buffers.allocator-ids.values 2025-04-13 18:03:10.261 16423-16644 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: output.buffers.allocator-ids.values 2025-04-13 18:03:10.261 16423-16644 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: output.buffers.pool-ids.values 2025-04-13 18:03:10.263 16423-16644 ReflectedParamUpdater app.grapheneos.camera.dev D ignored struct field coding.qp.values 2025-04-13 18:03:10.265 16423-16644 ReflectedParamUpdater app.grapheneos.camera.dev D ignored struct field coding.gop.values 2025-04-13 18:03:10.268 16423-16644 CCodecConfig app.grapheneos.camera.dev D ignoring local param raw.color (0xc2001809) as it is already supported 2025-04-13 18:03:10.272 16423-16644 CCodecConfig app.grapheneos.camera.dev I query failed after returning 21 values (BAD_INDEX) 2025-04-13 18:03:10.273 16423-16644 CCodecConfig app.grapheneos.camera.dev D c2 config diff is Dict { c2::u32 algo.bitrate-mode.value = 3 c2::u32 algo.encoding-quality-level.value = 0 c2::i32 algo.priority.value = 0 c2::float algo.rate.value = 0 c2::i32 coded.average-qp.value = 0 c2::u32 coded.bitrate-mode.value = 1 c2::u32 coded.bitrate.value = 64000 c2::float coded.frame-rate.value = 15 c2::u32 coded.hdr-format.value = 0 c2::u32 coded.picture-type.value = 0 c2::u32 coded.pl.level = 20480 c2::u32 coded.pl.profile = 20484 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 input.delay.value = 0 string input.media-type.value = "video/raw" c2::u32 output.buffers.prepend-header.value = 0 string output.media-type.value = "video/avc" c2::u32 raw.color.matrix = 0 c2::u32 raw.color.primaries = 0 2025-04-13 18:03:10.285 16423-16423 VideoCapabilities app.grapheneos.camera.dev W Unsupported mime video/apv 2025-04-13 18:03:10.285 16423-16423 VideoCapabilities app.grapheneos.camera.dev W Unsupported mime video/apv 2025-04-13 18:03:10.292 16423-16423 VideoCapture app.grapheneos.camera.dev D camera timebase = REALTIME, processing timebase = REALTIME 2025-04-13 18:03:10.292 16423-16423 DeferrableSurface app.grapheneos.camera.dev D Surface created[total_surfaces=7, used_surfaces=2](androidx.camera.core.processing.SurfaceEdge$SettableSurface@4565424} 2025-04-13 18:03:10.294 16423-16423 DeferrableSurface app.grapheneos.camera.dev D Surface created[total_surfaces=8, used_surfaces=2](androidx.camera.core.SurfaceRequest$2@4b68e90} 2025-04-13 18:03:10.296 16423-16423 DeferrableSurface app.grapheneos.camera.dev D New surface in use[total_surfaces=8, used_surfaces=3](androidx.camera.core.SurfaceRequest$2@4b68e90} 2025-04-13 18:03:10.296 16423-16423 DeferrableSurface app.grapheneos.camera.dev D use count+1, useCount=1 androidx.camera.core.SurfaceRequest$2@4b68e90 2025-04-13 18:03:10.296 16423-16423 Recorder app.grapheneos.camera.dev D Surface is requested in state: CONFIGURING, Current surface: 0 2025-04-13 18:03:10.298 16423-16653 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.298 16423-16653 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.298 16423-16653 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.299 16423-16653 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.299 16423-16484 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Use cases [androidx.camera.core.streamsharing.StreamSharing-f2897ac4-0591-4809-8296-d710d8a16608263589632] now ATTACHED 2025-04-13 18:03:10.299 16423-16484 Camera2CameraControlImp app.grapheneos.camera.dev D setActive: isActive = true 2025-04-13 18:03:10.300 16423-16484 UseCaseAttachState app.grapheneos.camera.dev D All use case: [androidx.camera.core.streamsharing.StreamSharing-f2897ac4-0591-4809-8296-d710d8a16608263589632] for camera: 0 2025-04-13 18:03:10.300 16423-16653 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.300 16423-16484 UseCaseAttachState app.grapheneos.camera.dev D Active and attached use case: [androidx.camera.core.streamsharing.StreamSharing-f2897ac4-0591-4809-8296-d710d8a16608263589632] for camera: 0 2025-04-13 18:03:10.301 16423-16653 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.301 16423-16484 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Resetting Capture Session 2025-04-13 18:03:10.301 16423-16653 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.301 16423-16484 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Skipping Capture Session state check due to current camera state: INITIALIZED and previous session status: false 2025-04-13 18:03:10.302 16423-16484 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Releasing session in state INITIALIZED 2025-04-13 18:03:10.302 16423-16484 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Attempting to force open the camera. 2025-04-13 18:03:10.306 16423-16653 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.306 16423-16484 CameraStateRegistry app.grapheneos.camera.dev D tryOpenCamera(Camera@8145109[id=0]) [Available Cameras: 1, Already Open: false (Previous state: CLOSED)] --> SUCCESS 2025-04-13 18:03:10.306 16423-16484 CameraStateRegistry app.grapheneos.camera.dev D Recalculating open cameras: Camera State ------------------------------------------------------------------- Camera@8145109[id=0] OPENING Camera@af56e1a[id=1] UNKNOWN ------------------------------------------------------------------- Open count: 1 (Max allowed: 1) 2025-04-13 18:03:10.307 16423-16484 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Opening camera. 2025-04-13 18:03:10.307 16423-16484 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Transitioning camera internal state: INITIALIZED --> OPENING 2025-04-13 18:03:10.307 16423-16653 Recorder app.grapheneos.camera.dev D Using supported quality of ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]} for surface size 2160x3840 2025-04-13 18:03:10.307 16423-16484 CameraStateMachine app.grapheneos.camera.dev D New public camera state CameraState{type=OPENING, error=null} from OPENING and null 2025-04-13 18:03:10.307 16423-16484 CameraStateMachine app.grapheneos.camera.dev D Publishing new public camera state CameraState{type=OPENING, error=null} 2025-04-13 18:03:10.307 16423-16653 Recorder app.grapheneos.camera.dev D Try to safely release video encoder: null 2025-04-13 18:03:10.307 16423-16484 UseCaseAttachState app.grapheneos.camera.dev D All use case: [androidx.camera.core.streamsharing.StreamSharing-f2897ac4-0591-4809-8296-d710d8a16608263589632] for camera: 0 2025-04-13 18:03:10.307 16423-16653 Recorder app.grapheneos.camera.dev D Video source has transitioned to state: ACTIVE_NON_STREAMING 2025-04-13 18:03:10.308 16423-16653 VideoEncoderSession app.grapheneos.camera.dev D Create VideoEncoderSession: VideoEncoderSession@217381187 for androidx.camera.core.SurfaceRequest@36c1553 2025-04-13 18:03:10.309 16423-16653 VideoConfigUtil app.grapheneos.camera.dev D MediaSpec video mime matches EncoderProfiles. Using EncoderProfiles to derive VIDEO settings [mime type: video/avc] 2025-04-13 18:03:10.309 16423-16653 VidEncVdPrflRslvr app.grapheneos.camera.dev D Resolved frame rate 30fps [Video profile frame rate: 60fps, Expected operating range: ] 2025-04-13 18:03:10.309 16423-16653 VidEncVdPrflRslvr app.grapheneos.camera.dev D Resolved VIDEO frame rate: 30fps 2025-04-13 18:03:10.309 16423-16653 VidEncVdPrflRslvr app.grapheneos.camera.dev D Using resolved VIDEO bitrate from EncoderProfiles 2025-04-13 18:03:10.310 16423-16653 VideoConfigUtil app.grapheneos.camera.dev D Base Bitrate(72000000bps) * Bit Depth Ratio (8 / 8) * Frame Rate Ratio(30 / 60) * Width Ratio(2160 / 3840) * Height Ratio(3840 / 2160) = 36000000 2025-04-13 18:03:10.311 16423-16653 VideoConfigUtil app.grapheneos.camera.dev W Unsupported mime type video/avc or profile level -1. Data space is unspecified. 2025-04-13 18:03:10.313 16423-16653 MediaCodecList app.grapheneos.camera.dev D codecHandlesFormat: no format, so no extra checks 2025-04-13 18:03:10.314 16423-16653 MediaCodecList app.grapheneos.camera.dev D codecHandlesFormat: no format, so no extra checks 2025-04-13 18:03:10.318 16423-16670 CCodec app.grapheneos.camera.dev D allocate(c2.exynos.h264.encoder) 2025-04-13 18:03:10.320 16423-16423 TAG app.grapheneos.camera.dev I Setting progress from setExposureConfig 2025-04-13 18:03:10.322 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.322 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.322 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.322 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.322 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.322 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.322 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.322 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.323 16423-16423 QualitySelector app.grapheneos.camera.dev D supportedQualities = [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}, ConstantQuality{value=6, name=FHD, typicalSizes=[1920x1080]}, ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}, ConstantQuality{value=4, name=SD, typicalSizes=[720x480, 640x480]}] 2025-04-13 18:03:10.323 16423-16423 QualitySelector app.grapheneos.camera.dev D Select quality by fallbackStrategy = RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0} 2025-04-13 18:03:10.323 16423-16423 VideoCapture app.grapheneos.camera.dev D Found selectedQualities [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}] by QualitySelector{preferredQualities=[ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}], fallbackStrategy=RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0}} 2025-04-13 18:03:10.324 16423-16423 VideoCapture app.grapheneos.camera.dev D Set custom ordered resolutions = [3840x2160] 2025-04-13 18:03:10.324 16423-16423 GOCam app.grapheneos.camera.dev I tr: 1 2025-04-13 18:03:10.327 16423-16484 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Use case androidx.camera.core.streamsharing.StreamSharing-f2897ac4-0591-4809-8296-d710d8a16608263589632 ACTIVE 2025-04-13 18:03:10.328 16423-16484 UseCaseAttachState app.grapheneos.camera.dev D Active and attached use case: [androidx.camera.core.streamsharing.StreamSharing-f2897ac4-0591-4809-8296-d710d8a16608263589632] for camera: 0 2025-04-13 18:03:10.329 16423-16484 UseCaseAttachState app.grapheneos.camera.dev D Active and attached use case: [androidx.camera.core.streamsharing.StreamSharing-f2897ac4-0591-4809-8296-d710d8a16608263589632] for camera: 0 2025-04-13 18:03:10.330 16423-16670 CCodec app.grapheneos.camera.dev I setting up 'default' as default (vendor) store 2025-04-13 18:03:10.332 16423-16472 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} CameraDevice.onOpened() 2025-04-13 18:03:10.334 16423-16472 Camera2CameraImpl app.grapheneos.camera.dev D {Camera@8145109[id=0]} Transitioning camera internal state: OPENING --> OPENED 2025-04-13 18:03:10.334 16423-16670 neos.camera.dev app.grapheneos.camera.dev W AIBinder_linkToDeath is being called with a non-null cookie and no onUnlink callback set. This might not be intended. AIBinder_DeathRecipient_setOnUnlinked should be called first. 2025-04-13 18:03:10.334 16423-16670 CCodec app.grapheneos.camera.dev I Created component [c2.exynos.h264.encoder] 2025-04-13 18:03:10.334 16423-16472 CameraStateRegistry app.grapheneos.camera.dev D Recalculating open cameras: Camera State ------------------------------------------------------------------- Camera@8145109[id=0] OPEN Camera@af56e1a[id=1] UNKNOWN ------------------------------------------------------------------- Open count: 1 (Max allowed: 1) 2025-04-13 18:03:10.334 16423-16472 CameraStateMachine app.grapheneos.camera.dev D New public camera state CameraState{type=OPEN, error=null} from OPEN and null 2025-04-13 18:03:10.334 16423-16670 CCodecConfig app.grapheneos.camera.dev D read media type: video/avc 2025-04-13 18:03:10.335 16423-16472 UseCaseAttachState app.grapheneos.camera.dev D All use case: [androidx.camera.core.streamsharing.StreamSharing-f2897ac4-0591-4809-8296-d710d8a16608263589632] for camera: 0 2025-04-13 18:03:10.336 16423-16472 SyncCaptureSessionBase app.grapheneos.camera.dev D [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@1eb22dd] getSurface done with results: [Surface(name=android.graphics.SurfaceTexture@50e7bc7 mNativeObject=-5476376631979775184)/@0x46d0d63] 2025-04-13 18:03:10.336 16423-16472 CaptureSession app.grapheneos.camera.dev D Opening capture session. 2025-04-13 18:03:10.336 16423-16472 Camera2Cap...estBuilder app.grapheneos.camera.dev D template type = 3 2025-04-13 18:03:10.337 16423-16472 SyncCaptureSessionImpl app.grapheneos.camera.dev D [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@1eb22dd] start openCaptureSession 2025-04-13 18:03:10.337 16423-16472 DeferrableSurface app.grapheneos.camera.dev D New surface in use[total_surfaces=8, used_surfaces=4](androidx.camera.core.processing.SurfaceEdge$SettableSurface@da6be18} 2025-04-13 18:03:10.337 16423-16472 DeferrableSurface app.grapheneos.camera.dev D use count+1, useCount=1 androidx.camera.core.processing.SurfaceEdge$SettableSurface@da6be18 2025-04-13 18:03:10.338 16423-16423 SurfaceViewImpl app.grapheneos.camera.dev D Safe to release surface. 2025-04-13 18:03:10.338 16423-16423 StreamStateObserver app.grapheneos.camera.dev D Update Preview stream state to IDLE 2025-04-13 18:03:10.338 16423-16423 PreviewView app.grapheneos.camera.dev D Surface requested by Preview. 2025-04-13 18:03:10.339 16423-16423 SurfaceViewImpl app.grapheneos.camera.dev D Surface destroyed. 2025-04-13 18:03:10.339 16423-16423 SurfaceViewImpl app.grapheneos.camera.dev D Surface closed androidx.camera.core.SurfaceRequest@1c66776 2025-04-13 18:03:10.340 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: output.subscribed-indices.values 2025-04-13 18:03:10.340 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: input.buffers.allocator-ids.values 2025-04-13 18:03:10.340 16423-16423 VideoCapture app.grapheneos.camera.dev D Stream info update: old: StreamInfo{id=0, streamState=INACTIVE, inProgressTransformationInfo=null} new: StreamInfo{id=0, streamState=INACTIVE, inProgressTransformationInfo=null} 2025-04-13 18:03:10.340 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: output.buffers.allocator-ids.values 2025-04-13 18:03:10.341 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: output.buffers.pool-ids.values 2025-04-13 18:03:10.348 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D ignored struct field coding.qp.values 2025-04-13 18:03:10.353 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D ignored struct field coding.gop.values 2025-04-13 18:03:10.365 16423-16423 SurfaceViewImpl app.grapheneos.camera.dev D Surface created. 2025-04-13 18:03:10.365 16423-16423 SurfaceViewImpl app.grapheneos.camera.dev D Surface changed. Size: 1080x1920 2025-04-13 18:03:10.366 16423-16670 CCodecConfig app.grapheneos.camera.dev D ignoring local param raw.color (0xc2001809) as it is already supported 2025-04-13 18:03:10.367 16423-16670 CCodecConfig app.grapheneos.camera.dev I query failed after returning 21 values (BAD_INDEX) 2025-04-13 18:03:10.367 16423-16670 CCodecConfig app.grapheneos.camera.dev D c2 config diff is Dict { c2::u32 algo.bitrate-mode.value = 3 c2::u32 algo.encoding-quality-level.value = 0 c2::i32 algo.priority.value = 0 c2::float algo.rate.value = 0 c2::i32 coded.average-qp.value = 0 c2::u32 coded.bitrate-mode.value = 1 c2::u32 coded.bitrate.value = 64000 c2::float coded.frame-rate.value = 15 c2::u32 coded.hdr-format.value = 0 c2::u32 coded.picture-type.value = 0 c2::u32 coded.pl.level = 20480 c2::u32 coded.pl.profile = 20484 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 input.delay.value = 0 string input.media-type.value = "video/raw" c2::u32 output.buffers.prepend-header.value = 0 string output.media-type.value = "video/avc" c2::u32 raw.color.matrix = 0 c2::u32 raw.color.primaries = 0 2025-04-13 18:03:10.369 16423-16423 PreviewView app.grapheneos.camera.dev D Preview transformation info updated. TransformationInfo{getCropRect=Rect(0, 0 - 1080, 1920), getRotationDegrees=0, getTargetRotation=0, hasCameraTransform=false, getSensorToBufferTransform=Matrix{[0.0, -0.4152249, 1260.8304][0.4152249, 0.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false} 2025-04-13 18:03:10.369 16423-16423 PreviewTransform app.grapheneos.camera.dev D Transformation info set: TransformationInfo{getCropRect=Rect(0, 0 - 1080, 1920), getRotationDegrees=0, getTargetRotation=0, hasCameraTransform=false, getSensorToBufferTransform=Matrix{[0.0, -0.4152249, 1260.8304][0.4152249, 0.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false} 1080x1920 false 2025-04-13 18:03:10.370 16423-16423 SurfaceViewImpl app.grapheneos.camera.dev D Surface set on Preview. 2025-04-13 18:03:10.374 16423-16653 VideoEncoder app.grapheneos.camera.dev D mInputTimebase = REALTIME 2025-04-13 18:03:10.375 16423-16653 VideoEncoder app.grapheneos.camera.dev D mMediaFormat = {color-format=2130708361, i-frame-interval=1, mime=video/avc, width=2160, bitrate=36000000, frame-rate=30, height=3840} 2025-04-13 18:03:10.379 16423-16670 CCodec app.grapheneos.camera.dev D allocate(c2.exynos.h264.encoder) 2025-04-13 18:03:10.381 16423-16670 CCodec app.grapheneos.camera.dev I setting up 'default' as default (vendor) store 2025-04-13 18:03:10.382 16423-16423 StreamStateObserver app.grapheneos.camera.dev D Update Preview stream state to IDLE 2025-04-13 18:03:10.382 16423-16423 DeferrableSurface app.grapheneos.camera.dev D New surface in use[total_surfaces=8, used_surfaces=5](androidx.camera.core.processing.SurfaceEdge$SettableSurface@b83022e} 2025-04-13 18:03:10.382 16423-16423 DeferrableSurface app.grapheneos.camera.dev D use count+1, useCount=1 androidx.camera.core.processing.SurfaceEdge$SettableSurface@b83022e 2025-04-13 18:03:10.385 16423-16670 neos.camera.dev app.grapheneos.camera.dev W AIBinder_linkToDeath is being called with a non-null cookie and no onUnlink callback set. This might not be intended. AIBinder_DeathRecipient_setOnUnlinked should be called first. 2025-04-13 18:03:10.385 16423-16670 CCodec app.grapheneos.camera.dev I Created component [c2.exynos.h264.encoder] 2025-04-13 18:03:10.385 16423-16670 CCodecConfig app.grapheneos.camera.dev D read media type: video/avc 2025-04-13 18:03:10.387 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: output.subscribed-indices.values 2025-04-13 18:03:10.387 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: input.buffers.allocator-ids.values 2025-04-13 18:03:10.387 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: output.buffers.allocator-ids.values 2025-04-13 18:03:10.387 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: output.buffers.pool-ids.values 2025-04-13 18:03:10.389 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D ignored struct field coding.qp.values 2025-04-13 18:03:10.391 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D ignored struct field coding.gop.values 2025-04-13 18:03:10.393 16423-16670 CCodecConfig app.grapheneos.camera.dev D ignoring local param raw.color (0xc2001809) as it is already supported 2025-04-13 18:03:10.393 16423-16670 CCodecConfig app.grapheneos.camera.dev I query failed after returning 21 values (BAD_INDEX) 2025-04-13 18:03:10.393 16423-16670 CCodecConfig app.grapheneos.camera.dev D c2 config diff is Dict { c2::u32 algo.bitrate-mode.value = 3 c2::u32 algo.encoding-quality-level.value = 0 c2::i32 algo.priority.value = 0 c2::float algo.rate.value = 0 c2::i32 coded.average-qp.value = 0 c2::u32 coded.bitrate-mode.value = 1 c2::u32 coded.bitrate.value = 64000 c2::float coded.frame-rate.value = 15 c2::u32 coded.hdr-format.value = 0 c2::u32 coded.picture-type.value = 0 c2::u32 coded.pl.level = 20480 c2::u32 coded.pl.profile = 20484 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 input.delay.value = 0 string input.media-type.value = "video/raw" c2::u32 output.buffers.prepend-header.value = 0 string output.media-type.value = "video/avc" c2::u32 raw.color.matrix = 0 c2::u32 raw.color.primaries = 0 2025-04-13 18:03:10.395 16423-16666 MediaCodec app.grapheneos.camera.dev I MediaCodec will operate in async mode 2025-04-13 18:03:10.399 16423-16472 SyncCaptureSessionImpl app.grapheneos.camera.dev D [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@1eb22dd] Session onConfigured() 2025-04-13 18:03:10.399 16423-16472 CaptureSession app.grapheneos.camera.dev D Attempting to send capture request onConfigured 2025-04-13 18:03:10.399 16423-16472 CaptureSession app.grapheneos.camera.dev D Issuing request for session. 2025-04-13 18:03:10.399 16423-16472 Camera2Cap...estBuilder app.grapheneos.camera.dev D createCaptureRequest 2025-04-13 18:03:10.403 16423-16472 CaptureSession app.grapheneos.camera.dev D CameraCaptureSession.onConfigured() mState=OPENED 2025-04-13 18:03:10.405 16423-16472 CaptureSession app.grapheneos.camera.dev D CameraCaptureSession.onReady() OPENED 2025-04-13 18:03:10.422 16423-16653 CodecSeeding app.grapheneos.camera.dev D Seed: codec c2.exynos.h264.encoder, mediatype video/avc, overrideable 1 2025-04-13 18:03:10.422 16423-16653 CodecProperties app.grapheneos.camera.dev D setTuningValue(vq-target-bpp,0) 2025-04-13 18:03:10.422 16423-16653 CodecProperties app.grapheneos.camera.dev D setTuningValue(vq-target-bpp-1080p,1.90) 2025-04-13 18:03:10.423 16423-16653 CodecProperties app.grapheneos.camera.dev D setTuningValue(vq-target-bpp-720p,2.25) 2025-04-13 18:03:10.423 16423-16653 CodecProperties app.grapheneos.camera.dev D setTuningValue(vq-target-bpp-540p,2.65) 2025-04-13 18:03:10.423 16423-16653 CodecProperties app.grapheneos.camera.dev D setTuningValue(vq-target-bpp-480p,3.00) 2025-04-13 18:03:10.423 16423-16653 CodecProperties app.grapheneos.camera.dev D setTuningValue(vq-target-bpp-320x240,0) 2025-04-13 18:03:10.423 16423-16653 CodecProperties app.grapheneos.camera.dev D setTuningValue(vq-target-qpmax,-1) 2025-04-13 18:03:10.423 16423-16653 CodecProperties app.grapheneos.camera.dev D setTuningValue(vq-target-qpmax-1080p,45) 2025-04-13 18:03:10.423 16423-16653 CodecProperties app.grapheneos.camera.dev D setTuningValue(vq-target-qpmax-720p,43) 2025-04-13 18:03:10.423 16423-16653 CodecProperties app.grapheneos.camera.dev D setTuningValue(vq-target-qpmax-540p,42) 2025-04-13 18:03:10.423 16423-16653 CodecProperties app.grapheneos.camera.dev D setTuningValue(vq-target-qpmax-480p,38) 2025-04-13 18:03:10.423 16423-16653 CodecProperties app.grapheneos.camera.dev D setTuningValue(vq-bitrate-phaseout,1.75) 2025-04-13 18:03:10.423 16423-16653 CodecProperties app.grapheneos.camera.dev D setTuningValue(vq-boost-missing-qp,0.20) 2025-04-13 18:03:10.423 16423-16653 CodecProperties app.grapheneos.camera.dev D setFeatureValue(can-swap-width-height,1) 2025-04-13 18:03:10.423 16423-16653 CodecProperties app.grapheneos.camera.dev D setFeatureValue(encoding-statistics,0) 2025-04-13 18:03:10.423 16423-16653 CodecProperties app.grapheneos.camera.dev D setFeatureValue(qp-bounds,0) 2025-04-13 18:03:10.423 16423-16653 CodecProperties app.grapheneos.camera.dev D setFeatureValue(vq-minimum-quality,0) 2025-04-13 18:03:10.423 16423-16653 CodecProperties app.grapheneos.camera.dev D setFeatureValue(_vq_eligible.device,1) 2025-04-13 18:03:10.423 16423-16653 CodecProperties app.grapheneos.camera.dev D setFeatureValue(_quality.target,1) 2025-04-13 18:03:10.423 16423-16653 CodecSeeding app.grapheneos.camera.dev D Seed: codec c2.exynos.h264.encoder, mediatype video/avc, overrideable 0 2025-04-13 18:03:10.423 16423-16653 VQApply app.grapheneos.camera.dev D minquality: 2160x3840 outside of shaping range 2025-04-13 18:03:10.423 16423-16653 MediaCodec app.grapheneos.camera.dev D shapeMediaFormat: deltas(1): AMessage(what = 0x00000000) = { int32_t android._encoding-quality-level = 0 } 2025-04-13 18:03:10.423 16423-16670 CCodec app.grapheneos.camera.dev D [c2.exynos.h264.encoder] buffers are bound to CCodec for this session 2025-04-13 18:03:10.423 16423-16670 CCodecConfig app.grapheneos.camera.dev D no c2 equivalents for color-format 2025-04-13 18:03:10.423 16423-16670 CCodecConfig app.grapheneos.camera.dev D no c2 equivalents for flags 2025-04-13 18:03:10.423 16423-16670 CCodecConfig app.grapheneos.camera.dev D no c2 equivalents for encoder 2025-04-13 18:03:10.425 16423-16670 CCodecConfig app.grapheneos.camera.dev D c2 config diff is c2::u32 coded.bitrate.value = 36000000 c2::float coded.frame-rate.value = 30 c2::u32 raw.size.height = 3840 c2::u32 raw.size.width = 2160 2025-04-13 18:03:10.425 16423-16670 CCodec app.grapheneos.camera.dev D encoding statistics level = 0 2025-04-13 18:03:10.425 16423-16670 CCodec app.grapheneos.camera.dev D setup formats input: AMessage(what = 0x00000000) = { int32_t android._color-format = 2130708361 int32_t android._dataspace = 0 int32_t bitrate-mode = 1 int32_t frame-rate = 30 int32_t height = 3840 int32_t intra-refresh-period = 0 string mime = "video/raw" int32_t prepend-sps-pps-to-idr-frames = 0 int32_t priority = 0 int32_t video-qp-average = 0 int32_t width = 2160 Rect crop(0, 0, 2159, 3839) int64_t android._C2MemoryUsage = 1125899906908160 int32_t color-format = 2130708361 } 2025-04-13 18:03:10.425 16423-16670 CCodec app.grapheneos.camera.dev D setup formats output: AMessage(what = 0x00000000) = { int32_t bitrate = 36000000 int32_t bitrate-mode = 1 Rect crop(0, 0, 2159, 3839) int32_t width = 2160 int32_t color-standard = 0 int32_t color-range = 0 int32_t color-transfer = 0 int32_t frame-rate = 30 int32_t height = 3840 int32_t intra-refresh-period = 0 int32_t level = 1 int32_t max-bitrate = 36000000 string mime = "video/avc" int32_t prepend-sps-pps-to-idr-frames = 0 int32_t priority = 0 int32_t profile = 8 int32_t video-qp-average = 0 } 2025-04-13 18:03:10.425 16423-16670 CCodecConfig app.grapheneos.camera.dev I query failed after returning 22 values (BAD_INDEX) 2025-04-13 18:03:10.425 16423-16670 CCodecConfig app.grapheneos.camera.dev D c2 config diff is c2::u32 coded.pl.level = 20495 2025-04-13 18:03:10.426 16423-16653 CCodec app.grapheneos.camera.dev D aidl based PersistentSurface created 2025-04-13 18:03:10.426 16423-16670 CCodec app.grapheneos.camera.dev D input format changed to AMessage(what = 0x00000000) = { int32_t android._color-format = 2130708361 int32_t android._dataspace = 281411584 int32_t bitrate-mode = 1 int32_t frame-rate = 30 int32_t height = 3840 int32_t intra-refresh-period = 0 string mime = "video/raw" int32_t prepend-sps-pps-to-idr-frames = 0 int32_t priority = 0 int32_t video-qp-average = 0 int32_t width = 2160 Rect crop(0, 0, 2159, 3839) int64_t android._C2MemoryUsage = 1125899906908160 int32_t color-format = 2130708361 int32_t color-range = 2 int32_t color-standard = 6 int32_t color-transfer = 3 } 2025-04-13 18:03:10.427 16423-16670 GraphicBufferSource app.grapheneos.camera.dev D setting dataspace: 0x10c60000, acquired=0 2025-04-13 18:03:10.427 16423-16670 CCodec app.grapheneos.camera.dev D ISConfig not changed 2025-04-13 18:03:10.427 16423-16653 VideoEncoder app.grapheneos.camera.dev D Transitioning encoder internal state: null --> CONFIGURED 2025-04-13 18:03:10.427 16423-16653 VideoEncoderSession app.grapheneos.camera.dev D provide surface: Surface(name=null mNativeObject=-5476376631979766464)/@0xfa06db2 2025-04-13 18:03:10.428 16423-16653 Recorder app.grapheneos.camera.dev D VideoEncoder is created. androidx.camera.video.internal.encoder.EncoderImpl@d4a2880 2025-04-13 18:03:10.428 16423-16653 Recorder app.grapheneos.camera.dev D Transitioning streamId: 0 --> 262172082 2025-04-13 18:03:10.428 16423-16423 VideoCapture app.grapheneos.camera.dev D Stream info update: old: StreamInfo{id=0, streamState=INACTIVE, inProgressTransformationInfo=null} new: StreamInfo{id=262172082, streamState=INACTIVE, inProgressTransformationInfo=null} 2025-04-13 18:03:10.428 16423-16653 Recorder app.grapheneos.camera.dev D Transitioning Recorder internal state: CONFIGURING --> IDLING 2025-04-13 18:03:10.500 16423-16484 VideoCapture app.grapheneos.camera.dev D cameraCaptureResult timestampNs = 419981634258154, current system uptimeMs = 207401577, current system realtimeMs = 419981715 2025-04-13 18:03:10.501 16423-16484 StreamStateObserver app.grapheneos.camera.dev D Update Preview stream state to STREAMING 2025-04-13 18:03:10.502 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.502 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.502 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.502 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.503 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.503 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.503 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.503 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.505 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.505 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.505 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.505 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.505 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.506 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.506 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.498 16423-16423 app.graphe...camera.dev app.grapheneos.camera.dev W type=1400 audit(0.0:100317): avc: denied { getattr } for comm=43616D657261582D474C2054687265 name="/" dev="dmabuf" ino=1 scontext=u:r:untrusted_app:s0:c99,c257,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=filesystem permissive=0 app=app.grapheneos.camera.dev 2025-04-13 18:03:10.506 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:10.566 16423-16423 app.graphe...camera.dev app.grapheneos.camera.dev W type=1400 audit(0.0:100318): avc: denied { getattr } for comm=43616D657261582D474C2054687265 name="/" dev="dmabuf" ino=1 scontext=u:r:untrusted_app:s0:c99,c257,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=filesystem permissive=0 app=app.grapheneos.camera.dev 2025-04-13 18:03:10.598 16423-16423 app.graphe...camera.dev app.grapheneos.camera.dev W type=1400 audit(0.0:100319): avc: denied { getattr } for comm=43616D657261582D474C2054687265 name="/" dev="dmabuf" ino=1 scontext=u:r:untrusted_app:s0:c99,c257,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=filesystem permissive=0 app=app.grapheneos.camera.dev 2025-04-13 18:03:11.595 16423-16428 neos.camera.dev app.grapheneos.camera.dev W Cleared Reference was only reachable from finalizer (only reported once) 2025-04-13 18:03:11.673 16423-16430 System app.grapheneos.camera.dev W A resource failed to call close. 2025-04-13 18:03:11.676 16423-16430 System app.grapheneos.camera.dev W A resource failed to call close. 2025-04-13 18:03:11.684 16423-16430 System app.grapheneos.camera.dev W A resource failed to call close. 2025-04-13 18:03:12.446 16423-16423 TAG app.grapheneos.camera.dev I startRecording 2025-04-13 18:03:12.893 16423-16423 AudioSystem app.grapheneos.camera.dev D onNewService: media.audio_policy service obtained 0xb4000076e28c2700 2025-04-13 18:03:12.894 16423-16423 AudioSystem app.grapheneos.camera.dev D getService: checking for service media.audio_policy: 0xb4000076e28c2700 2025-04-13 18:03:13.414 16423-16423 Recorder app.grapheneos.camera.dev D Transitioning Recorder internal state: IDLING --> PENDING_RECORDING 2025-04-13 18:03:13.415 16423-16765 Recorder app.grapheneos.camera.dev D Transitioning Recorder internal state: PENDING_RECORDING --> RECORDING 2025-04-13 18:03:13.416 16423-16765 Recorder app.grapheneos.camera.dev D availableBytes = 8388608 TB 2025-04-13 18:03:13.417 16423-16765 Recorder app.grapheneos.camera.dev D Sending VideoRecordEvent Start 2025-04-13 18:03:13.417 16423-16423 VideoCapture app.grapheneos.camera.dev D Stream info update: old: StreamInfo{id=262172082, streamState=INACTIVE, inProgressTransformationInfo=null} new: StreamInfo{id=262172082, streamState=ACTIVE, inProgressTransformationInfo=null} 2025-04-13 18:03:13.418 16423-16653 VideoEncoder app.grapheneos.camera.dev D Start on 57:36:44.493 2025-04-13 18:03:13.418 16423-16653 MediaCodec app.grapheneos.camera.dev D keep callback message for reclaim 2025-04-13 18:03:13.418 16423-16423 DeferrableSurface app.grapheneos.camera.dev D use count+1, useCount=2 androidx.camera.core.SurfaceRequest$2@4b68e90 2025-04-13 18:03:13.418 16423-16484 VideoUsageControl app.grapheneos.camera.dev D incrementUsage: mVideoUsage = 1 2025-04-13 18:03:13.428 16423-16423 DeferrableSurface app.grapheneos.camera.dev D New surface in use[total_surfaces=8, used_surfaces=6](androidx.camera.core.processing.SurfaceEdge$SettableSurface@1eb3830} 2025-04-13 18:03:13.428 16423-16423 DeferrableSurface app.grapheneos.camera.dev D use count+1, useCount=1 androidx.camera.core.processing.SurfaceEdge$SettableSurface@1eb3830 2025-04-13 18:03:13.429 16423-16472 VideoCapture app.grapheneos.camera.dev D cameraCaptureResult timestampNs = 419984546764207, current system uptimeMs = 207404505, current system realtimeMs = 419984643 2025-04-13 18:03:13.433 16423-16765 Recorder app.grapheneos.camera.dev D Video source has transitioned to state: ACTIVE_STREAMING 2025-04-13 18:03:13.465 16423-16670 GraphicBufferSource app.grapheneos.camera.dev D got buffer with new dataSpace 0x10c60000 2025-04-13 18:03:13.465 16423-16670 C2NodeImpl app.grapheneos.camera.dev D dataspace changed to 0x10c60000 pixel format: 0x1 2025-04-13 18:03:13.467 16423-16670 CCodecBufferChannel app.grapheneos.camera.dev D [c2.exynos.h264.encoder#143] Created input block pool with allocatorID 17 => poolID 17 - OK (0) 2025-04-13 18:03:13.468 16423-16670 C2Store app.grapheneos.camera.dev D debug.c2.use_dmabufheaps set, forcing DMABUF Heaps 2025-04-13 18:03:13.468 16423-16670 C2Store app.grapheneos.camera.dev D Using DMABUF Heaps 2025-04-13 18:03:13.485 16423-16670 CCodecBufferChannel app.grapheneos.camera.dev I [c2.exynos.h264.encoder#143] Created output block pool with allocatorID 16 => poolID 1538 - OK 2025-04-13 18:03:13.485 16423-16670 CCodecBufferChannel app.grapheneos.camera.dev D [c2.exynos.h264.encoder#143] Configured output block pool ids 1538 => OK 2025-04-13 18:03:13.488 16423-16653 VideoEncoder app.grapheneos.camera.dev D Transitioning encoder internal state: CONFIGURED --> STARTED 2025-04-13 18:03:13.537 16423-16765 VideoEncoder app.grapheneos.camera.dev D Drop buffer by codec config. 2025-04-13 18:03:13.537 16423-16765 VideoTimebaseConverter app.grapheneos.camera.dev D Detect input timebase = REALTIME 2025-04-13 18:03:13.537 16423-16765 VideoTimebaseConverter app.grapheneos.camera.dev D mUptimeToRealtimeOffsetUs = 212580137924 2025-04-13 18:03:13.537 16423-16765 VideoEncoder app.grapheneos.camera.dev D Drop buffer by not in start-stop range. 2025-04-13 18:03:13.546 16423-16653 VideoEncoder app.grapheneos.camera.dev D Drop buffer by not in start-stop range. 2025-04-13 18:03:13.555 16423-16765 VideoEncoder app.grapheneos.camera.dev D Drop buffer by not in start-stop range. 2025-04-13 18:03:13.567 16423-16653 VideoEncoder app.grapheneos.camera.dev D Drop buffer by not a key frame. 2025-04-13 18:03:13.571 16423-16666 CCodec app.grapheneos.camera.dev D ISConfig not changed 2025-04-13 18:03:13.582 16423-16765 VideoEncoder app.grapheneos.camera.dev D Drop buffer by not a key frame. 2025-04-13 18:03:13.583 16423-16666 CCodec app.grapheneos.camera.dev D ISConfig not changed 2025-04-13 18:03:13.608 16423-16653 VideoEncoder app.grapheneos.camera.dev D data timestampUs = 207404576225, data timebase = REALTIME, current system uptimeMs = 207404684, current system realtimeMs = 419984822 2025-04-13 18:03:13.609 16423-16653 Recorder app.grapheneos.camera.dev D Received video keyframe. Starting muxer... 2025-04-13 18:03:13.615 16423-16653 MPEG4Writer app.grapheneos.camera.dev D PreAllocation enabled 2025-04-13 18:03:13.616 16423-16653 Recorder app.grapheneos.camera.dev D Update stream transformation info: TransformationInfo{getCropRect=Rect(0, 0 - 2160, 3840), getRotationDegrees=270, getTargetRotation=-1, hasCameraTransform=false, getSensorToBufferTransform=Matrix{[0.0, -0.8304498, 2521.661][0.8304498, 0.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false} 2025-04-13 18:03:13.616 16423-16423 VideoCapture app.grapheneos.camera.dev D Stream info update: old: StreamInfo{id=262172082, streamState=ACTIVE, inProgressTransformationInfo=null} new: StreamInfo{id=262172082, streamState=ACTIVE, inProgressTransformationInfo=TransformationInfo{getCropRect=Rect(0, 0 - 2160, 3840), getRotationDegrees=270, getTargetRotation=-1, hasCameraTransform=false, getSensorToBufferTransform=Matrix{[0.0, -0.8304498, 2521.661][0.8304498, 0.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false}} 2025-04-13 18:03:13.618 16423-16653 MPEG4Writer app.grapheneos.camera.dev D fpathconf _PC_FILESIZEBITS:64 2025-04-13 18:03:13.618 16423-16653 MPEG4Writer app.grapheneos.camera.dev D File size limit set to 4503599627370495 bytes implicitly 2025-04-13 18:03:13.618 16423-16653 MPEG4Writer app.grapheneos.camera.dev D MP4WtrCtrlHlpLooper Started 2025-04-13 18:03:13.618 16423-16653 MPEG4Writer app.grapheneos.camera.dev I limits: 4503599627370495/0 bytes/us, bit rate: -1 bps and the estimated moov size 3192 bytes 2025-04-13 18:03:13.619 16423-16653 Recorder app.grapheneos.camera.dev D First video time: 207404576225 (57:36:44.576) 2025-04-13 18:03:13.620 16423-16772 MPEG4Writer app.grapheneos.camera.dev I setStartTimestampUs: 207404576225 2025-04-13 18:03:13.620 16423-16772 MPEG4Writer app.grapheneos.camera.dev I Earliest track starting time: 207404576225 2025-04-13 18:03:13.620 16423-16653 Recorder app.grapheneos.camera.dev D Sending VideoRecordEvent Status 2025-04-13 18:03:13.930 16423-16423 Recorder app.grapheneos.camera.dev D Transitioning Recorder internal state: RECORDING --> STOPPING 2025-04-13 18:03:13.932 16423-16765 VideoEncoder app.grapheneos.camera.dev D Transitioning encoder internal state: STARTED --> STOPPING 2025-04-13 18:03:13.932 16423-16765 VideoEncoder app.grapheneos.camera.dev D Stop on 57:36:45.007 2025-04-13 18:03:14.061 16423-16653 VideoEncoder app.grapheneos.camera.dev D Drop buffer by not in start-stop range. 2025-04-13 18:03:14.062 16423-16653 VideoEncoder app.grapheneos.camera.dev D signalCodecStop 2025-04-13 18:03:14.063 16423-16653 VideoEncoder app.grapheneos.camera.dev D stopMediaCodec 2025-04-13 18:03:14.065 16423-16636 GraphicBufferSource app.grapheneos.camera.dev W onFrameAvailable: EOS is sent, ignoring frame 2025-04-13 18:03:14.067 16423-16653 VideoEncoder app.grapheneos.camera.dev D Transitioning encoder internal state: STOPPING --> CONFIGURED 2025-04-13 18:03:14.067 16423-16765 Recorder app.grapheneos.camera.dev D Encodings end successfully. 2025-04-13 18:03:14.067 16423-16765 MPEG4Writer app.grapheneos.camera.dev D reset() 2025-04-13 18:03:14.067 16423-16772 MediaWriter app.grapheneos.camera.dev V Track event err/info msg:101, trackId:1, type:1000,val:-1011 2025-04-13 18:03:14.067 16423-16765 MPEG4Writer app.grapheneos.camera.dev D Video track stopping. Stop source 2025-04-13 18:03:14.067 16423-16765 MPEG4Writer app.grapheneos.camera.dev D Video track source stopping 2025-04-13 18:03:14.067 16423-16765 MPEG4Writer app.grapheneos.camera.dev D Video track source stopped 2025-04-13 18:03:14.068 16423-16772 MPEG4Writer app.grapheneos.camera.dev I Received total/0-length (13/0) buffers and encoded 13 frames. - Video 2025-04-13 18:03:14.069 16423-16765 MPEG4Writer app.grapheneos.camera.dev D Video track stopped. Status:0. Stop source 2025-04-13 18:03:14.069 16423-16770 MPEG4Writer app.grapheneos.camera.dev D 0 chunks are written in the last batch 2025-04-13 18:03:14.069 16423-16765 MPEG4Writer app.grapheneos.camera.dev D WriterThread stopped. Status:0 2025-04-13 18:03:14.069 16423-16765 MPEG4Writer app.grapheneos.camera.dev I Adjust the moov start time from 207404576225 us -> 207404576225 us 2025-04-13 18:03:14.070 16423-16765 MPEG4Writer app.grapheneos.camera.dev I MOOV atom was written to the file 2025-04-13 18:03:14.070 16423-16765 MPEG4Writer app.grapheneos.camera.dev D release() 2025-04-13 18:03:14.070 16423-16765 MPEG4Writer app.grapheneos.camera.dev D ftruncate mPreAllocateFileEndOffset:2017709 mOffset:833 mMdatEndOffset:2016221 diff:1488 2025-04-13 18:03:14.102 16423-16765 MPEG4Writer app.grapheneos.camera.dev D final fsync() takes 31 ms, file size 2016221 2025-04-13 18:03:14.103 16423-16765 MPEG4Writer app.grapheneos.camera.dev D MP4WtrCtrlHlpLooper stopped 2025-04-13 18:03:14.103 16423-16765 MPEG4Writer app.grapheneos.camera.dev D Top 5 write durations(microseconds): #1:172 #2:173 #3:248 #4:281 #5:2038 2025-04-13 18:03:14.103 16423-16765 MPEG4Writer app.grapheneos.camera.dev D reset() 2025-04-13 18:03:14.103 16423-16765 MPEG4Writer app.grapheneos.camera.dev D Video track stopping. Stop source 2025-04-13 18:03:14.103 16423-16765 MPEG4Writer app.grapheneos.camera.dev E Stop() called but track is not started or stopped 2025-04-13 18:03:14.105 16423-16765 Recorder app.grapheneos.camera.dev D Sending VideoRecordEvent Finalize 2025-04-13 18:03:14.108 16423-16765 Recorder app.grapheneos.camera.dev D Update stream transformation info: null 2025-04-13 18:03:14.109 16423-16765 Recorder app.grapheneos.camera.dev D Transitioning Recorder internal state: STOPPING --> IDLING 2025-04-13 18:03:14.109 16423-16636 GraphicBufferSource app.grapheneos.camera.dev W onFrameAvailable: EOS is sent, ignoring frame 2025-04-13 18:03:14.110 16423-16484 VideoUsageControl app.grapheneos.camera.dev D decrementUsage: mVideoUsage = 0 2025-04-13 18:03:14.124 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:14.124 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:14.124 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:14.125 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:14.125 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:14.125 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:14.126 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:14.126 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:14.126 16423-16423 QualitySelector app.grapheneos.camera.dev D supportedQualities = [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}, ConstantQuality{value=6, name=FHD, typicalSizes=[1920x1080]}, ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}, ConstantQuality{value=4, name=SD, typicalSizes=[720x480, 640x480]}] 2025-04-13 18:03:14.126 16423-16423 QualitySelector app.grapheneos.camera.dev D Select quality by fallbackStrategy = RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0} 2025-04-13 18:03:14.126 16423-16423 VideoCapture app.grapheneos.camera.dev D Found selectedQualities [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}] by QualitySelector{preferredQualities=[ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}], fallbackStrategy=RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0}} 2025-04-13 18:03:14.128 16423-16423 VideoCapture app.grapheneos.camera.dev D Set custom ordered resolutions = [3840x2160] 2025-04-13 18:03:14.129 16423-16423 GOCam app.grapheneos.camera.dev I tr: 0 2025-04-13 18:03:14.134 16423-16636 GraphicBufferSource app.grapheneos.camera.dev W onFrameAvailable: EOS is sent, ignoring frame 2025-04-13 18:03:14.178 16423-16636 GraphicBufferSource app.grapheneos.camera.dev W onFrameAvailable: EOS is sent, ignoring frame 2025-04-13 18:03:14.203 16423-16636 GraphicBufferSource app.grapheneos.camera.dev W onFrameAvailable: EOS is sent, ignoring frame 2025-04-13 18:03:14.218 16423-16423 BitmapDrawable app.grapheneos.camera.dev W BitmapDrawable created with null Bitmap 2025-04-13 18:03:14.220 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:14.221 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:14.221 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:14.221 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:14.221 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:14.221 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:14.222 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:14.222 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:14.222 16423-16423 QualitySelector app.grapheneos.camera.dev D supportedQualities = [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}, ConstantQuality{value=6, name=FHD, typicalSizes=[1920x1080]}, ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}, ConstantQuality{value=4, name=SD, typicalSizes=[720x480, 640x480]}] 2025-04-13 18:03:14.222 16423-16423 QualitySelector app.grapheneos.camera.dev D Select quality by fallbackStrategy = RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0} 2025-04-13 18:03:14.222 16423-16423 VideoCapture app.grapheneos.camera.dev D Found selectedQualities [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}] by QualitySelector{preferredQualities=[ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}], fallbackStrategy=RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0}} 2025-04-13 18:03:14.223 16423-16423 VideoCapture app.grapheneos.camera.dev D Set custom ordered resolutions = [3840x2160] 2025-04-13 18:03:14.224 16423-16423 GOCam app.grapheneos.camera.dev I tr: 1 2025-04-13 18:03:14.225 16423-16423 VideoCapture app.grapheneos.camera.dev D Stream info update: old: StreamInfo{id=262172082, streamState=ACTIVE, inProgressTransformationInfo=TransformationInfo{getCropRect=Rect(0, 0 - 2160, 3840), getRotationDegrees=270, getTargetRotation=-1, hasCameraTransform=false, getSensorToBufferTransform=Matrix{[0.0, -0.8304498, 2521.661][0.8304498, 0.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false}} new: StreamInfo{id=262172082, streamState=INACTIVE, inProgressTransformationInfo=null} 2025-04-13 18:03:14.226 16423-16423 DeferrableSurface app.grapheneos.camera.dev D surface closed, useCount=1 closed=true androidx.camera.core.processing.SurfaceEdge$SettableSurface@1eb3830 2025-04-13 18:03:14.227 16423-16636 DeferrableSurface app.grapheneos.camera.dev D use count-1, useCount=0 closed=true androidx.camera.core.processing.SurfaceEdge$SettableSurface@1eb3830 2025-04-13 18:03:14.227 16423-16636 DeferrableSurface app.grapheneos.camera.dev D Surface no longer in use[total_surfaces=8, used_surfaces=5](androidx.camera.core.processing.SurfaceEdge$SettableSurface@1eb3830} 2025-04-13 18:03:14.227 16423-16636 DeferrableSurface app.grapheneos.camera.dev D Surface terminated[total_surfaces=7, used_surfaces=5](androidx.camera.core.processing.SurfaceEdge$SettableSurface@1eb3830} 2025-04-13 18:03:14.228 16423-16636 DeferrableSurface app.grapheneos.camera.dev D use count-1, useCount=1 closed=false androidx.camera.core.SurfaceRequest$2@4b68e90 2025-04-13 18:03:14.230 16423-16636 GraphicBufferSource app.grapheneos.camera.dev W released unpopulated slots: [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63] 2025-04-13 18:03:14.237 16423-16484 VideoCapture app.grapheneos.camera.dev D cameraCaptureResult timestampNs = 419985350214138, current system uptimeMs = 207405313, current system realtimeMs = 419985451 2025-04-13 18:03:14.241 16423-16765 Recorder app.grapheneos.camera.dev D Video source has transitioned to state: ACTIVE_NON_STREAMING 2025-04-13 18:03:14.243 16423-16666 CCodecBufferChannel app.grapheneos.camera.dev D [c2.exynos.h264.encoder#143] MediaCodec discarded an unknown buffer 2025-04-13 18:03:14.289 16423-16670 AidlBufferPool app.grapheneos.camera.dev D Destruction - bufferpool2 0xb4000076b28aee38 cached: 0/0M, 0/0% in use; allocs: 0, 0% recycled; transfers: 0, 0% unfetched 2025-04-13 18:03:14.292 16423-16670 CCodec app.grapheneos.camera.dev D allocate(c2.exynos.h264.encoder) 2025-04-13 18:03:14.295 16423-16670 CCodec app.grapheneos.camera.dev I setting up 'default' as default (vendor) store 2025-04-13 18:03:14.311 16423-16670 neos.camera.dev app.grapheneos.camera.dev W AIBinder_linkToDeath is being called with a non-null cookie and no onUnlink callback set. This might not be intended. AIBinder_DeathRecipient_setOnUnlinked should be called first. 2025-04-13 18:03:14.311 16423-16670 CCodec app.grapheneos.camera.dev I Created component [c2.exynos.h264.encoder] 2025-04-13 18:03:14.312 16423-16670 CCodecConfig app.grapheneos.camera.dev D read media type: video/avc 2025-04-13 18:03:14.320 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: output.subscribed-indices.values 2025-04-13 18:03:14.322 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: input.buffers.allocator-ids.values 2025-04-13 18:03:14.322 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: output.buffers.allocator-ids.values 2025-04-13 18:03:14.322 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: output.buffers.pool-ids.values 2025-04-13 18:03:14.333 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D ignored struct field coding.qp.values 2025-04-13 18:03:14.338 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D ignored struct field coding.gop.values 2025-04-13 18:03:14.344 16423-16670 CCodecConfig app.grapheneos.camera.dev D ignoring local param raw.color (0xc2001809) as it is already supported 2025-04-13 18:03:14.347 16423-16670 CCodecConfig app.grapheneos.camera.dev I query failed after returning 21 values (BAD_INDEX) 2025-04-13 18:03:14.347 16423-16670 CCodecConfig app.grapheneos.camera.dev D c2 config diff is Dict { c2::u32 algo.bitrate-mode.value = 3 c2::u32 algo.encoding-quality-level.value = 0 c2::i32 algo.priority.value = 0 c2::float algo.rate.value = 0 c2::i32 coded.average-qp.value = 0 c2::u32 coded.bitrate-mode.value = 1 c2::u32 coded.bitrate.value = 64000 c2::float coded.frame-rate.value = 15 c2::u32 coded.hdr-format.value = 0 c2::u32 coded.picture-type.value = 0 c2::u32 coded.pl.level = 20480 c2::u32 coded.pl.profile = 20484 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 input.delay.value = 0 string input.media-type.value = "video/raw" c2::u32 output.buffers.prepend-header.value = 0 string output.media-type.value = "video/avc" c2::u32 raw.color.matrix = 0 c2::u32 raw.color.primaries = 0 2025-04-13 18:03:14.349 16423-16666 MediaCodec app.grapheneos.camera.dev I MediaCodec will operate in async mode 2025-04-13 18:03:14.349 16423-16765 VQApply app.grapheneos.camera.dev D minquality: 2160x3840 outside of shaping range 2025-04-13 18:03:14.349 16423-16765 MediaCodec app.grapheneos.camera.dev D shapeMediaFormat: deltas(1): AMessage(what = 0x00000000) = { int32_t android._encoding-quality-level = 0 } 2025-04-13 18:03:14.351 16423-16670 CCodec app.grapheneos.camera.dev D [c2.exynos.h264.encoder] buffers are bound to CCodec for this session 2025-04-13 18:03:14.351 16423-16670 CCodecConfig app.grapheneos.camera.dev D no c2 equivalents for color-format 2025-04-13 18:03:14.351 16423-16670 CCodecConfig app.grapheneos.camera.dev D no c2 equivalents for flags 2025-04-13 18:03:14.351 16423-16670 CCodecConfig app.grapheneos.camera.dev D no c2 equivalents for encoder 2025-04-13 18:03:14.352 16423-16670 CCodecConfig app.grapheneos.camera.dev D c2 config diff is c2::u32 coded.bitrate.value = 36000000 c2::float coded.frame-rate.value = 30 c2::u32 raw.size.height = 3840 c2::u32 raw.size.width = 2160 2025-04-13 18:03:14.353 16423-16670 CCodec app.grapheneos.camera.dev D encoding statistics level = 0 2025-04-13 18:03:14.353 16423-16670 CCodec app.grapheneos.camera.dev D setup formats input: AMessage(what = 0x00000000) = { int32_t android._color-format = 2130708361 int32_t android._dataspace = 0 int32_t bitrate-mode = 1 int32_t frame-rate = 30 int32_t height = 3840 int32_t intra-refresh-period = 0 string mime = "video/raw" int32_t prepend-sps-pps-to-idr-frames = 0 int32_t priority = 0 int32_t video-qp-average = 0 int32_t width = 2160 Rect crop(0, 0, 2159, 3839) int64_t android._C2MemoryUsage = 1125899906908160 int32_t color-format = 2130708361 } 2025-04-13 18:03:14.353 16423-16670 CCodec app.grapheneos.camera.dev D setup formats output: AMessage(what = 0x00000000) = { int32_t bitrate = 36000000 int32_t bitrate-mode = 1 Rect crop(0, 0, 2159, 3839) int32_t width = 2160 int32_t color-standard = 0 int32_t color-range = 0 int32_t color-transfer = 0 int32_t frame-rate = 30 int32_t height = 3840 int32_t intra-refresh-period = 0 int32_t level = 1 int32_t max-bitrate = 36000000 string mime = "video/avc" int32_t prepend-sps-pps-to-idr-frames = 0 int32_t priority = 0 int32_t profile = 8 int32_t video-qp-average = 0 } 2025-04-13 18:03:14.353 16423-16670 CCodecConfig app.grapheneos.camera.dev I query failed after returning 22 values (BAD_INDEX) 2025-04-13 18:03:14.353 16423-16670 CCodecConfig app.grapheneos.camera.dev D c2 config diff is c2::u32 coded.pl.level = 20495 2025-04-13 18:03:14.354 16423-16670 CCodec app.grapheneos.camera.dev D input format changed to AMessage(what = 0x00000000) = { int32_t android._color-format = 2130708361 int32_t android._dataspace = 281411584 int32_t bitrate-mode = 1 int32_t frame-rate = 30 int32_t height = 3840 int32_t intra-refresh-period = 0 string mime = "video/raw" int32_t prepend-sps-pps-to-idr-frames = 0 int32_t priority = 0 int32_t video-qp-average = 0 int32_t width = 2160 Rect crop(0, 0, 2159, 3839) int64_t android._C2MemoryUsage = 1125899906908160 int32_t color-format = 2130708361 int32_t color-range = 2 int32_t color-standard = 6 int32_t color-transfer = 3 } 2025-04-13 18:03:14.354 16423-16670 GraphicBufferSource app.grapheneos.camera.dev D setting dataspace: 0x10c60000, acquired=0 2025-04-13 18:03:14.354 16423-16670 CCodec app.grapheneos.camera.dev D ISConfig not changed 2025-04-13 18:03:14.918 16423-16423 TAG app.grapheneos.camera.dev I startRecording 2025-04-13 18:03:15.488 16423-16423 Recorder app.grapheneos.camera.dev D Transitioning Recorder internal state: IDLING --> PENDING_RECORDING 2025-04-13 18:03:15.489 16423-16653 Recorder app.grapheneos.camera.dev D Transitioning Recorder internal state: PENDING_RECORDING --> RECORDING 2025-04-13 18:03:15.490 16423-16653 Recorder app.grapheneos.camera.dev D availableBytes = 8388608 TB 2025-04-13 18:03:15.490 16423-16653 Recorder app.grapheneos.camera.dev D Sending VideoRecordEvent Start 2025-04-13 18:03:15.491 16423-16423 VideoCapture app.grapheneos.camera.dev D Stream info update: old: StreamInfo{id=262172082, streamState=INACTIVE, inProgressTransformationInfo=null} new: StreamInfo{id=262172082, streamState=ACTIVE, inProgressTransformationInfo=null} 2025-04-13 18:03:15.491 16423-16653 VideoEncoder app.grapheneos.camera.dev D Start on 57:36:46.567 2025-04-13 18:03:15.492 16423-16653 MediaCodec app.grapheneos.camera.dev D keep callback message for reclaim 2025-04-13 18:03:15.492 16423-16423 DeferrableSurface app.grapheneos.camera.dev D Surface created[total_surfaces=8, used_surfaces=5](androidx.camera.core.processing.SurfaceEdge$SettableSurface@70dbd82} 2025-04-13 18:03:15.494 16423-16423 DeferrableSurface app.grapheneos.camera.dev D use count+1, useCount=2 androidx.camera.core.SurfaceRequest$2@4b68e90 2025-04-13 18:03:15.494 16423-16472 VideoUsageControl app.grapheneos.camera.dev D incrementUsage: mVideoUsage = 1 2025-04-13 18:03:15.498 16423-16423 DeferrableSurface app.grapheneos.camera.dev D New surface in use[total_surfaces=8, used_surfaces=6](androidx.camera.core.processing.SurfaceEdge$SettableSurface@70dbd82} 2025-04-13 18:03:15.498 16423-16423 DeferrableSurface app.grapheneos.camera.dev D use count+1, useCount=1 androidx.camera.core.processing.SurfaceEdge$SettableSurface@70dbd82 2025-04-13 18:03:15.511 16423-16484 VideoCapture app.grapheneos.camera.dev D cameraCaptureResult timestampNs = 419986622343239, current system uptimeMs = 207406587, current system realtimeMs = 419986725 2025-04-13 18:03:15.512 16423-16670 CCodecBufferChannel app.grapheneos.camera.dev D [c2.exynos.h264.encoder#961] Created input block pool with allocatorID 17 => poolID 18 - OK (0) 2025-04-13 18:03:15.514 16423-16670 CCodecBufferChannel app.grapheneos.camera.dev I [c2.exynos.h264.encoder#961] Created output block pool with allocatorID 16 => poolID 1539 - OK 2025-04-13 18:03:15.514 16423-16670 CCodecBufferChannel app.grapheneos.camera.dev D [c2.exynos.h264.encoder#961] Configured output block pool ids 1539 => OK 2025-04-13 18:03:15.515 16423-16765 Recorder app.grapheneos.camera.dev D Video source has transitioned to state: ACTIVE_STREAMING 2025-04-13 18:03:15.518 16423-16653 VideoEncoder app.grapheneos.camera.dev D Transitioning encoder internal state: CONFIGURED --> STARTED 2025-04-13 18:03:15.579 16423-16636 GraphicBufferSource app.grapheneos.camera.dev D got buffer with new dataSpace 0x10c60000 2025-04-13 18:03:15.579 16423-16636 C2NodeImpl app.grapheneos.camera.dev D dataspace changed to 0x10c60000 pixel format: 0x1 2025-04-13 18:03:15.644 16423-16670 CCodecConfig app.grapheneos.camera.dev D c2 config diff is Buffer coded.init-data.value = { 00000000: 00 00 00 01 67 64 00 33 ac b4 01 0e 03 c3 4d 42 ....gd.3......MB 00000010: 41 82 41 e2 85 54 00 00 00 01 68 ee 0d 8b A.A..T....h... 2025-04-13 18:03:15.650 16423-16765 VideoEncoder app.grapheneos.camera.dev D Drop buffer by codec config. 2025-04-13 18:03:15.654 16423-16765 VideoTimebaseConverter app.grapheneos.camera.dev D Detect input timebase = REALTIME 2025-04-13 18:03:15.655 16423-16765 VideoTimebaseConverter app.grapheneos.camera.dev D mUptimeToRealtimeOffsetUs = 212580137923 2025-04-13 18:03:15.655 16423-16765 VideoEncoder app.grapheneos.camera.dev D Drop buffer by not in start-stop range. 2025-04-13 18:03:15.658 16423-16653 VideoEncoder app.grapheneos.camera.dev D Drop buffer by not in start-stop range. 2025-04-13 18:03:15.672 16423-16765 VideoEncoder app.grapheneos.camera.dev D Drop buffer by not a key frame. 2025-04-13 18:03:15.672 16423-16666 CCodec app.grapheneos.camera.dev D ISConfig not changed 2025-04-13 18:03:15.687 16423-16653 VideoEncoder app.grapheneos.camera.dev D Drop buffer by not a key frame. 2025-04-13 18:03:15.687 16423-16666 CCodec app.grapheneos.camera.dev D ISConfig not changed 2025-04-13 18:03:15.696 16423-16765 VideoEncoder app.grapheneos.camera.dev D data timestampUs = 207406651452, data timebase = REALTIME, current system uptimeMs = 207406773, current system realtimeMs = 419986910 2025-04-13 18:03:15.697 16423-16765 Recorder app.grapheneos.camera.dev D Received video keyframe. Starting muxer... 2025-04-13 18:03:15.698 16423-16765 MPEG4Writer app.grapheneos.camera.dev D PreAllocation enabled 2025-04-13 18:03:15.698 16423-16765 Recorder app.grapheneos.camera.dev D Update stream transformation info: TransformationInfo{getCropRect=Rect(0, 0 - 2160, 3840), getRotationDegrees=0, getTargetRotation=-1, hasCameraTransform=false, getSensorToBufferTransform=Matrix{[0.0, -0.8304498, 2521.661][0.8304498, 0.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false} 2025-04-13 18:03:15.698 16423-16423 VideoCapture app.grapheneos.camera.dev D Stream info update: old: StreamInfo{id=262172082, streamState=ACTIVE, inProgressTransformationInfo=null} new: StreamInfo{id=262172082, streamState=ACTIVE, inProgressTransformationInfo=TransformationInfo{getCropRect=Rect(0, 0 - 2160, 3840), getRotationDegrees=0, getTargetRotation=-1, hasCameraTransform=false, getSensorToBufferTransform=Matrix{[0.0, -0.8304498, 2521.661][0.8304498, 0.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false}} 2025-04-13 18:03:15.699 16423-16765 MPEG4Writer app.grapheneos.camera.dev D fpathconf _PC_FILESIZEBITS:64 2025-04-13 18:03:15.699 16423-16765 MPEG4Writer app.grapheneos.camera.dev D File size limit set to 4503599627370495 bytes implicitly 2025-04-13 18:03:15.699 16423-16765 MPEG4Writer app.grapheneos.camera.dev D MP4WtrCtrlHlpLooper Started 2025-04-13 18:03:15.699 16423-16765 MPEG4Writer app.grapheneos.camera.dev I limits: 4503599627370495/0 bytes/us, bit rate: -1 bps and the estimated moov size 3192 bytes 2025-04-13 18:03:15.700 16423-16765 Recorder app.grapheneos.camera.dev D First video time: 207406651452 (57:36:46.651) 2025-04-13 18:03:15.700 16423-16799 MPEG4Writer app.grapheneos.camera.dev I setStartTimestampUs: 207406651452 2025-04-13 18:03:15.700 16423-16799 MPEG4Writer app.grapheneos.camera.dev I Earliest track starting time: 207406651452 2025-04-13 18:03:15.701 16423-16765 Recorder app.grapheneos.camera.dev D Sending VideoRecordEvent Status 2025-04-13 18:03:15.729 16423-16653 Recorder app.grapheneos.camera.dev D Sending VideoRecordEvent Status 2025-04-13 18:03:16.080 16423-16423 Recorder app.grapheneos.camera.dev D Transitioning Recorder internal state: RECORDING --> STOPPING 2025-04-13 18:03:16.081 16423-16653 VideoEncoder app.grapheneos.camera.dev D Transitioning encoder internal state: STARTED --> STOPPING 2025-04-13 18:03:16.081 16423-16653 VideoEncoder app.grapheneos.camera.dev D Stop on 57:36:47.156 2025-04-13 18:03:16.237 16423-16765 VideoEncoder app.grapheneos.camera.dev D Drop buffer by not in start-stop range. 2025-04-13 18:03:16.237 16423-16765 VideoEncoder app.grapheneos.camera.dev D signalCodecStop 2025-04-13 18:03:16.238 16423-16765 VideoEncoder app.grapheneos.camera.dev D stopMediaCodec 2025-04-13 18:03:16.240 16423-16636 GraphicBufferSource app.grapheneos.camera.dev W onFrameAvailable: EOS is sent, ignoring frame 2025-04-13 18:03:16.255 16423-16670 PipelineWatcher app.grapheneos.camera.dev D onWorkDone: frameIndex not found (21); ignored 2025-04-13 18:03:16.256 16423-16765 VideoEncoder app.grapheneos.camera.dev D Transitioning encoder internal state: STOPPING --> CONFIGURED 2025-04-13 18:03:16.257 16423-16653 Recorder app.grapheneos.camera.dev D Encodings end successfully. 2025-04-13 18:03:16.257 16423-16653 MPEG4Writer app.grapheneos.camera.dev D reset() 2025-04-13 18:03:16.257 16423-16653 MPEG4Writer app.grapheneos.camera.dev D Video track stopping. Stop source 2025-04-13 18:03:16.257 16423-16799 MediaWriter app.grapheneos.camera.dev V Track event err/info msg:101, trackId:1, type:1000,val:-1011 2025-04-13 18:03:16.257 16423-16653 MPEG4Writer app.grapheneos.camera.dev D Video track source stopping 2025-04-13 18:03:16.257 16423-16653 MPEG4Writer app.grapheneos.camera.dev D Video track source stopped 2025-04-13 18:03:16.257 16423-16799 MPEG4Writer app.grapheneos.camera.dev I Received total/0-length (16/0) buffers and encoded 16 frames. - Video 2025-04-13 18:03:16.257 16423-16653 MPEG4Writer app.grapheneos.camera.dev D Video track stopped. Status:0. Stop source 2025-04-13 18:03:16.257 16423-16797 MPEG4Writer app.grapheneos.camera.dev D 0 chunks are written in the last batch 2025-04-13 18:03:16.257 16423-16653 MPEG4Writer app.grapheneos.camera.dev D WriterThread stopped. Status:0 2025-04-13 18:03:16.257 16423-16653 MPEG4Writer app.grapheneos.camera.dev I Adjust the moov start time from 207406651452 us -> 207406651452 us 2025-04-13 18:03:16.257 16423-16653 MPEG4Writer app.grapheneos.camera.dev I MOOV atom was written to the file 2025-04-13 18:03:16.257 16423-16653 MPEG4Writer app.grapheneos.camera.dev D release() 2025-04-13 18:03:16.257 16423-16653 MPEG4Writer app.grapheneos.camera.dev D ftruncate mPreAllocateFileEndOffset:2607591 mOffset:876 mMdatEndOffset:2606079 diff:1512 2025-04-13 18:03:16.270 16423-16636 GraphicBufferSource app.grapheneos.camera.dev W onFrameAvailable: EOS is sent, ignoring frame 2025-04-13 18:03:16.270 16423-16653 MPEG4Writer app.grapheneos.camera.dev D final fsync() takes 12 ms, file size 2606079 2025-04-13 18:03:16.271 16423-16653 MPEG4Writer app.grapheneos.camera.dev D MP4WtrCtrlHlpLooper stopped 2025-04-13 18:03:16.271 16423-16653 MPEG4Writer app.grapheneos.camera.dev D Top 5 write durations(microseconds): #1:221 #2:232 #3:244 #4:273 #5:563 2025-04-13 18:03:16.271 16423-16653 MPEG4Writer app.grapheneos.camera.dev D reset() 2025-04-13 18:03:16.271 16423-16653 MPEG4Writer app.grapheneos.camera.dev D Video track stopping. Stop source 2025-04-13 18:03:16.271 16423-16653 MPEG4Writer app.grapheneos.camera.dev E Stop() called but track is not started or stopped 2025-04-13 18:03:16.271 16423-16653 Recorder app.grapheneos.camera.dev D Sending VideoRecordEvent Finalize 2025-04-13 18:03:16.272 16423-16653 Recorder app.grapheneos.camera.dev D Update stream transformation info: null 2025-04-13 18:03:16.272 16423-16653 Recorder app.grapheneos.camera.dev D Transitioning Recorder internal state: STOPPING --> IDLING 2025-04-13 18:03:16.272 16423-16484 VideoUsageControl app.grapheneos.camera.dev D decrementUsage: mVideoUsage = 0 2025-04-13 18:03:16.276 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:16.276 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:16.276 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:16.276 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:16.277 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:16.277 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:16.277 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:16.278 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:16.278 16423-16423 QualitySelector app.grapheneos.camera.dev D supportedQualities = [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}, ConstantQuality{value=6, name=FHD, typicalSizes=[1920x1080]}, ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}, ConstantQuality{value=4, name=SD, typicalSizes=[720x480, 640x480]}] 2025-04-13 18:03:16.278 16423-16423 QualitySelector app.grapheneos.camera.dev D Select quality by fallbackStrategy = RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0} 2025-04-13 18:03:16.278 16423-16423 VideoCapture app.grapheneos.camera.dev D Found selectedQualities [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}] by QualitySelector{preferredQualities=[ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}], fallbackStrategy=RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0}} 2025-04-13 18:03:16.281 16423-16423 VideoCapture app.grapheneos.camera.dev D Set custom ordered resolutions = [3840x2160] 2025-04-13 18:03:16.281 16423-16423 GOCam app.grapheneos.camera.dev I tr: 0 2025-04-13 18:03:16.309 16423-16636 GraphicBufferSource app.grapheneos.camera.dev W onFrameAvailable: EOS is sent, ignoring frame 2025-04-13 18:03:16.340 16423-16636 GraphicBufferSource app.grapheneos.camera.dev W onFrameAvailable: EOS is sent, ignoring frame 2025-04-13 18:03:16.358 16423-16423 BitmapDrawable app.grapheneos.camera.dev W BitmapDrawable created with null Bitmap 2025-04-13 18:03:16.360 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:16.360 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:16.360 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:16.360 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:16.360 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:16.361 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:16.361 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:16.361 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:16.361 16423-16423 QualitySelector app.grapheneos.camera.dev D supportedQualities = [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}, ConstantQuality{value=6, name=FHD, typicalSizes=[1920x1080]}, ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}, ConstantQuality{value=4, name=SD, typicalSizes=[720x480, 640x480]}] 2025-04-13 18:03:16.361 16423-16423 QualitySelector app.grapheneos.camera.dev D Select quality by fallbackStrategy = RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0} 2025-04-13 18:03:16.361 16423-16423 VideoCapture app.grapheneos.camera.dev D Found selectedQualities [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}] by QualitySelector{preferredQualities=[ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}], fallbackStrategy=RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0}} 2025-04-13 18:03:16.363 16423-16423 VideoCapture app.grapheneos.camera.dev D Set custom ordered resolutions = [3840x2160] 2025-04-13 18:03:16.363 16423-16423 GOCam app.grapheneos.camera.dev I tr: 1 2025-04-13 18:03:16.364 16423-16423 VideoCapture app.grapheneos.camera.dev D Stream info update: old: StreamInfo{id=262172082, streamState=ACTIVE, inProgressTransformationInfo=TransformationInfo{getCropRect=Rect(0, 0 - 2160, 3840), getRotationDegrees=0, getTargetRotation=-1, hasCameraTransform=false, getSensorToBufferTransform=Matrix{[0.0, -0.8304498, 2521.661][0.8304498, 0.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false}} new: StreamInfo{id=262172082, streamState=INACTIVE, inProgressTransformationInfo=null} 2025-04-13 18:03:16.365 16423-16423 DeferrableSurface app.grapheneos.camera.dev D surface closed, useCount=1 closed=true androidx.camera.core.processing.SurfaceEdge$SettableSurface@70dbd82 2025-04-13 18:03:16.366 16423-16636 DeferrableSurface app.grapheneos.camera.dev D use count-1, useCount=0 closed=true androidx.camera.core.processing.SurfaceEdge$SettableSurface@70dbd82 2025-04-13 18:03:16.366 16423-16636 DeferrableSurface app.grapheneos.camera.dev D Surface no longer in use[total_surfaces=8, used_surfaces=5](androidx.camera.core.processing.SurfaceEdge$SettableSurface@70dbd82} 2025-04-13 18:03:16.366 16423-16636 DeferrableSurface app.grapheneos.camera.dev D Surface terminated[total_surfaces=7, used_surfaces=5](androidx.camera.core.processing.SurfaceEdge$SettableSurface@70dbd82} 2025-04-13 18:03:16.367 16423-16636 DeferrableSurface app.grapheneos.camera.dev D use count-1, useCount=1 closed=false androidx.camera.core.SurfaceRequest$2@4b68e90 2025-04-13 18:03:16.369 16423-16636 GraphicBufferSource app.grapheneos.camera.dev W released unpopulated slots: [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63] 2025-04-13 18:03:16.378 16423-16472 VideoCapture app.grapheneos.camera.dev D cameraCaptureResult timestampNs = 419987492747354, current system uptimeMs = 207407454, current system realtimeMs = 419987592 2025-04-13 18:03:16.380 16423-16653 Recorder app.grapheneos.camera.dev D Video source has transitioned to state: ACTIVE_NON_STREAMING 2025-04-13 18:03:16.400 16423-16670 AidlBufferPool app.grapheneos.camera.dev D Destruction - bufferpool2 0xb4000076b28b2a58 cached: 0/0M, 0/0% in use; allocs: 0, 0% recycled; transfers: 0, 0% unfetched 2025-04-13 18:03:16.404 16423-16670 CCodec app.grapheneos.camera.dev D allocate(c2.exynos.h264.encoder) 2025-04-13 18:03:16.406 16423-16670 CCodec app.grapheneos.camera.dev I setting up 'default' as default (vendor) store 2025-04-13 18:03:16.414 16423-16670 neos.camera.dev app.grapheneos.camera.dev W AIBinder_linkToDeath is being called with a non-null cookie and no onUnlink callback set. This might not be intended. AIBinder_DeathRecipient_setOnUnlinked should be called first. 2025-04-13 18:03:16.414 16423-16670 CCodec app.grapheneos.camera.dev I Created component [c2.exynos.h264.encoder] 2025-04-13 18:03:16.414 16423-16670 CCodecConfig app.grapheneos.camera.dev D read media type: video/avc 2025-04-13 18:03:16.416 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: output.subscribed-indices.values 2025-04-13 18:03:16.416 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: input.buffers.allocator-ids.values 2025-04-13 18:03:16.416 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: output.buffers.allocator-ids.values 2025-04-13 18:03:16.416 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: output.buffers.pool-ids.values 2025-04-13 18:03:16.424 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D ignored struct field coding.qp.values 2025-04-13 18:03:16.430 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D ignored struct field coding.gop.values 2025-04-13 18:03:16.434 16423-16670 CCodecConfig app.grapheneos.camera.dev D ignoring local param raw.color (0xc2001809) as it is already supported 2025-04-13 18:03:16.435 16423-16670 CCodecConfig app.grapheneos.camera.dev I query failed after returning 21 values (BAD_INDEX) 2025-04-13 18:03:16.436 16423-16670 CCodecConfig app.grapheneos.camera.dev D c2 config diff is Dict { c2::u32 algo.bitrate-mode.value = 3 c2::u32 algo.encoding-quality-level.value = 0 c2::i32 algo.priority.value = 0 c2::float algo.rate.value = 0 c2::i32 coded.average-qp.value = 0 c2::u32 coded.bitrate-mode.value = 1 c2::u32 coded.bitrate.value = 64000 c2::float coded.frame-rate.value = 15 c2::u32 coded.hdr-format.value = 0 c2::u32 coded.picture-type.value = 0 c2::u32 coded.pl.level = 20480 c2::u32 coded.pl.profile = 20484 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 input.delay.value = 0 string input.media-type.value = "video/raw" c2::u32 output.buffers.prepend-header.value = 0 string output.media-type.value = "video/avc" c2::u32 raw.color.matrix = 0 c2::u32 raw.color.primaries = 0 2025-04-13 18:03:16.439 16423-16666 MediaCodec app.grapheneos.camera.dev I MediaCodec will operate in async mode 2025-04-13 18:03:16.439 16423-16653 VQApply app.grapheneos.camera.dev D minquality: 2160x3840 outside of shaping range 2025-04-13 18:03:16.439 16423-16653 MediaCodec app.grapheneos.camera.dev D shapeMediaFormat: deltas(1): AMessage(what = 0x00000000) = { int32_t android._encoding-quality-level = 0 } 2025-04-13 18:03:16.440 16423-16670 CCodec app.grapheneos.camera.dev D [c2.exynos.h264.encoder] buffers are bound to CCodec for this session 2025-04-13 18:03:16.440 16423-16670 CCodecConfig app.grapheneos.camera.dev D no c2 equivalents for color-format 2025-04-13 18:03:16.440 16423-16670 CCodecConfig app.grapheneos.camera.dev D no c2 equivalents for flags 2025-04-13 18:03:16.440 16423-16670 CCodecConfig app.grapheneos.camera.dev D no c2 equivalents for encoder 2025-04-13 18:03:16.441 16423-16670 CCodecConfig app.grapheneos.camera.dev D c2 config diff is c2::u32 coded.bitrate.value = 36000000 c2::float coded.frame-rate.value = 30 c2::u32 raw.size.height = 3840 c2::u32 raw.size.width = 2160 2025-04-13 18:03:16.441 16423-16670 CCodec app.grapheneos.camera.dev D encoding statistics level = 0 2025-04-13 18:03:16.441 16423-16670 CCodec app.grapheneos.camera.dev D setup formats input: AMessage(what = 0x00000000) = { int32_t android._color-format = 2130708361 int32_t android._dataspace = 0 int32_t bitrate-mode = 1 int32_t frame-rate = 30 int32_t height = 3840 int32_t intra-refresh-period = 0 string mime = "video/raw" int32_t prepend-sps-pps-to-idr-frames = 0 int32_t priority = 0 int32_t video-qp-average = 0 int32_t width = 2160 Rect crop(0, 0, 2159, 3839) int64_t android._C2MemoryUsage = 1125899906908160 int32_t color-format = 2130708361 } 2025-04-13 18:03:16.441 16423-16670 CCodec app.grapheneos.camera.dev D setup formats output: AMessage(what = 0x00000000) = { int32_t bitrate = 36000000 int32_t bitrate-mode = 1 Rect crop(0, 0, 2159, 3839) int32_t width = 2160 int32_t color-standard = 0 int32_t color-range = 0 int32_t color-transfer = 0 int32_t frame-rate = 30 int32_t height = 3840 int32_t intra-refresh-period = 0 int32_t level = 1 int32_t max-bitrate = 36000000 string mime = "video/avc" int32_t prepend-sps-pps-to-idr-frames = 0 int32_t priority = 0 int32_t profile = 8 int32_t video-qp-average = 0 } 2025-04-13 18:03:16.442 16423-16670 CCodecConfig app.grapheneos.camera.dev I query failed after returning 22 values (BAD_INDEX) 2025-04-13 18:03:16.442 16423-16670 CCodecConfig app.grapheneos.camera.dev D c2 config diff is c2::u32 coded.pl.level = 20495 2025-04-13 18:03:16.443 16423-16670 CCodec app.grapheneos.camera.dev D input format changed to AMessage(what = 0x00000000) = { int32_t android._color-format = 2130708361 int32_t android._dataspace = 281411584 int32_t bitrate-mode = 1 int32_t frame-rate = 30 int32_t height = 3840 int32_t intra-refresh-period = 0 string mime = "video/raw" int32_t prepend-sps-pps-to-idr-frames = 0 int32_t priority = 0 int32_t video-qp-average = 0 int32_t width = 2160 Rect crop(0, 0, 2159, 3839) int64_t android._C2MemoryUsage = 1125899906908160 int32_t color-format = 2130708361 int32_t color-range = 2 int32_t color-standard = 6 int32_t color-transfer = 3 } 2025-04-13 18:03:16.444 16423-16670 GraphicBufferSource app.grapheneos.camera.dev D setting dataspace: 0x10c60000, acquired=0 2025-04-13 18:03:16.444 16423-16670 CCodec app.grapheneos.camera.dev D ISConfig not changed 2025-04-13 18:03:16.570 16423-16423 app.graphe...camera.dev app.grapheneos.camera.dev W type=1400 audit(0.0:100320): avc: denied { getattr } for comm=43616D657261582D474C2054687265 name="/" dev="dmabuf" ino=1 scontext=u:r:untrusted_app:s0:c99,c257,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=filesystem permissive=0 app=app.grapheneos.camera.dev 2025-04-13 18:03:17.007 16423-16423 TAG app.grapheneos.camera.dev I startRecording 2025-04-13 18:03:17.561 16423-16423 Recorder app.grapheneos.camera.dev D Transitioning Recorder internal state: IDLING --> PENDING_RECORDING 2025-04-13 18:03:17.562 16423-16765 Recorder app.grapheneos.camera.dev D Transitioning Recorder internal state: PENDING_RECORDING --> RECORDING 2025-04-13 18:03:17.563 16423-16423 VideoCapture app.grapheneos.camera.dev D Stream info update: old: StreamInfo{id=262172082, streamState=INACTIVE, inProgressTransformationInfo=null} new: StreamInfo{id=262172082, streamState=ACTIVE, inProgressTransformationInfo=null} 2025-04-13 18:03:17.565 16423-16423 DeferrableSurface app.grapheneos.camera.dev D Surface created[total_surfaces=8, used_surfaces=5](androidx.camera.core.processing.SurfaceEdge$SettableSurface@6e7784} 2025-04-13 18:03:17.565 16423-16765 Recorder app.grapheneos.camera.dev D availableBytes = 8388608 TB 2025-04-13 18:03:17.566 16423-16423 DeferrableSurface app.grapheneos.camera.dev D use count+1, useCount=2 androidx.camera.core.SurfaceRequest$2@4b68e90 2025-04-13 18:03:17.566 16423-16765 Recorder app.grapheneos.camera.dev D Sending VideoRecordEvent Start 2025-04-13 18:03:17.567 16423-16423 DeferrableSurface app.grapheneos.camera.dev D New surface in use[total_surfaces=8, used_surfaces=6](androidx.camera.core.processing.SurfaceEdge$SettableSurface@6e7784} 2025-04-13 18:03:17.567 16423-16653 VideoEncoder app.grapheneos.camera.dev D Start on 57:36:48.642 2025-04-13 18:03:17.567 16423-16653 MediaCodec app.grapheneos.camera.dev D keep callback message for reclaim 2025-04-13 18:03:17.568 16423-16423 DeferrableSurface app.grapheneos.camera.dev D use count+1, useCount=1 androidx.camera.core.processing.SurfaceEdge$SettableSurface@6e7784 2025-04-13 18:03:17.570 16423-16472 VideoUsageControl app.grapheneos.camera.dev D incrementUsage: mVideoUsage = 1 2025-04-13 18:03:17.582 16423-16670 CCodecBufferChannel app.grapheneos.camera.dev D [c2.exynos.h264.encoder#270] Created input block pool with allocatorID 17 => poolID 19 - OK (0) 2025-04-13 18:03:17.583 16423-16670 CCodecBufferChannel app.grapheneos.camera.dev I [c2.exynos.h264.encoder#270] Created output block pool with allocatorID 16 => poolID 1541 - OK 2025-04-13 18:03:17.584 16423-16670 CCodecBufferChannel app.grapheneos.camera.dev D [c2.exynos.h264.encoder#270] Configured output block pool ids 1541 => OK 2025-04-13 18:03:17.587 16423-16653 VideoEncoder app.grapheneos.camera.dev D Transitioning encoder internal state: CONFIGURED --> STARTED 2025-04-13 18:03:17.592 16423-16484 VideoCapture app.grapheneos.camera.dev D cameraCaptureResult timestampNs = 419988697922270, current system uptimeMs = 207408668, current system realtimeMs = 419988806 2025-04-13 18:03:17.595 16423-16765 Recorder app.grapheneos.camera.dev D Video source has transitioned to state: ACTIVE_STREAMING 2025-04-13 18:03:17.604 16423-16636 GraphicBufferSource app.grapheneos.camera.dev D got buffer with new dataSpace 0x10c60000 2025-04-13 18:03:17.604 16423-16636 C2NodeImpl app.grapheneos.camera.dev D dataspace changed to 0x10c60000 pixel format: 0x1 2025-04-13 18:03:17.644 16423-16670 CCodecConfig app.grapheneos.camera.dev D c2 config diff is Buffer coded.init-data.value = { 00000000: 00 00 00 01 67 64 00 33 ac b4 01 0e 03 c3 4d 42 ....gd.3......MB 00000010: 41 82 41 e2 85 54 00 00 00 01 68 ee 0d 8b A.A..T....h... 2025-04-13 18:03:17.646 16423-16653 VideoEncoder app.grapheneos.camera.dev D Drop buffer by codec config. 2025-04-13 18:03:17.647 16423-16653 VideoTimebaseConverter app.grapheneos.camera.dev D Detect input timebase = REALTIME 2025-04-13 18:03:17.647 16423-16653 VideoTimebaseConverter app.grapheneos.camera.dev D mUptimeToRealtimeOffsetUs = 212580137923 2025-04-13 18:03:17.647 16423-16653 VideoEncoder app.grapheneos.camera.dev D Drop buffer by not in start-stop range. 2025-04-13 18:03:17.658 16423-16765 VideoEncoder app.grapheneos.camera.dev D Drop buffer by not in start-stop range. 2025-04-13 18:03:17.671 16423-16653 VideoEncoder app.grapheneos.camera.dev D Drop buffer by not in start-stop range. 2025-04-13 18:03:17.701 16423-16765 VideoEncoder app.grapheneos.camera.dev D Drop buffer by not a key frame. 2025-04-13 18:03:17.702 16423-16666 CCodec app.grapheneos.camera.dev D ISConfig not changed 2025-04-13 18:03:17.732 16423-16653 VideoEncoder app.grapheneos.camera.dev D data timestampUs = 207408694064, data timebase = REALTIME, current system uptimeMs = 207408808, current system realtimeMs = 419988946 2025-04-13 18:03:17.732 16423-16653 Recorder app.grapheneos.camera.dev D Received video keyframe. Starting muxer... 2025-04-13 18:03:17.733 16423-16653 MPEG4Writer app.grapheneos.camera.dev D PreAllocation enabled 2025-04-13 18:03:17.733 16423-16653 Recorder app.grapheneos.camera.dev D Update stream transformation info: TransformationInfo{getCropRect=Rect(0, 0 - 2160, 3840), getRotationDegrees=270, getTargetRotation=-1, hasCameraTransform=false, getSensorToBufferTransform=Matrix{[0.0, -0.8304498, 2521.661][0.8304498, 0.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false} 2025-04-13 18:03:17.733 16423-16423 VideoCapture app.grapheneos.camera.dev D Stream info update: old: StreamInfo{id=262172082, streamState=ACTIVE, inProgressTransformationInfo=null} new: StreamInfo{id=262172082, streamState=ACTIVE, inProgressTransformationInfo=TransformationInfo{getCropRect=Rect(0, 0 - 2160, 3840), getRotationDegrees=270, getTargetRotation=-1, hasCameraTransform=false, getSensorToBufferTransform=Matrix{[0.0, -0.8304498, 2521.661][0.8304498, 0.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false}} 2025-04-13 18:03:17.734 16423-16653 MPEG4Writer app.grapheneos.camera.dev D fpathconf _PC_FILESIZEBITS:64 2025-04-13 18:03:17.734 16423-16653 MPEG4Writer app.grapheneos.camera.dev D File size limit set to 4503599627370495 bytes implicitly 2025-04-13 18:03:17.734 16423-16653 MPEG4Writer app.grapheneos.camera.dev D MP4WtrCtrlHlpLooper Started 2025-04-13 18:03:17.735 16423-16653 MPEG4Writer app.grapheneos.camera.dev I limits: 4503599627370495/0 bytes/us, bit rate: -1 bps and the estimated moov size 3192 bytes 2025-04-13 18:03:17.735 16423-16653 Recorder app.grapheneos.camera.dev D First video time: 207408694064 (57:36:48.694) 2025-04-13 18:03:17.736 16423-16838 MPEG4Writer app.grapheneos.camera.dev I setStartTimestampUs: 207408694064 2025-04-13 18:03:17.736 16423-16838 MPEG4Writer app.grapheneos.camera.dev I Earliest track starting time: 207408694064 2025-04-13 18:03:17.736 16423-16653 Recorder app.grapheneos.camera.dev D Sending VideoRecordEvent Status 2025-04-13 18:03:18.235 16423-16423 Recorder app.grapheneos.camera.dev D Transitioning Recorder internal state: RECORDING --> STOPPING 2025-04-13 18:03:18.235 16423-16765 VideoEncoder app.grapheneos.camera.dev D Transitioning encoder internal state: STARTED --> STOPPING 2025-04-13 18:03:18.236 16423-16765 VideoEncoder app.grapheneos.camera.dev D Stop on 57:36:49.311 2025-04-13 18:03:18.380 16423-16653 VideoEncoder app.grapheneos.camera.dev D Drop buffer by not in start-stop range. 2025-04-13 18:03:18.380 16423-16653 VideoEncoder app.grapheneos.camera.dev D signalCodecStop 2025-04-13 18:03:18.381 16423-16653 VideoEncoder app.grapheneos.camera.dev D stopMediaCodec 2025-04-13 18:03:18.384 16423-16670 PipelineWatcher app.grapheneos.camera.dev D onWorkDone: frameIndex not found (24); ignored 2025-04-13 18:03:18.384 16423-16653 VideoEncoder app.grapheneos.camera.dev D Transitioning encoder internal state: STOPPING --> CONFIGURED 2025-04-13 18:03:18.384 16423-16765 Recorder app.grapheneos.camera.dev D Encodings end successfully. 2025-04-13 18:03:18.385 16423-16765 MPEG4Writer app.grapheneos.camera.dev D reset() 2025-04-13 18:03:18.385 16423-16765 MPEG4Writer app.grapheneos.camera.dev D Video track stopping. Stop source 2025-04-13 18:03:18.385 16423-16765 MPEG4Writer app.grapheneos.camera.dev D Video track source stopping 2025-04-13 18:03:18.385 16423-16765 MPEG4Writer app.grapheneos.camera.dev D Video track source stopped 2025-04-13 18:03:18.385 16423-16838 MediaWriter app.grapheneos.camera.dev V Track event err/info msg:101, trackId:1, type:1000,val:-1011 2025-04-13 18:03:18.385 16423-16838 MPEG4Writer app.grapheneos.camera.dev I Received total/0-length (19/0) buffers and encoded 19 frames. - Video 2025-04-13 18:03:18.385 16423-16765 MPEG4Writer app.grapheneos.camera.dev D Video track stopped. Status:0. Stop source 2025-04-13 18:03:18.385 16423-16836 MPEG4Writer app.grapheneos.camera.dev D 0 chunks are written in the last batch 2025-04-13 18:03:18.385 16423-16765 MPEG4Writer app.grapheneos.camera.dev D WriterThread stopped. Status:0 2025-04-13 18:03:18.385 16423-16765 MPEG4Writer app.grapheneos.camera.dev I Adjust the moov start time from 207408694064 us -> 207408694064 us 2025-04-13 18:03:18.385 16423-16765 MPEG4Writer app.grapheneos.camera.dev I MOOV atom was written to the file 2025-04-13 18:03:18.385 16423-16765 MPEG4Writer app.grapheneos.camera.dev D release() 2025-04-13 18:03:18.385 16423-16765 MPEG4Writer app.grapheneos.camera.dev D ftruncate mPreAllocateFileEndOffset:2944951 mOffset:884 mMdatEndOffset:2943431 diff:1520 2025-04-13 18:03:18.388 16423-16636 GraphicBufferSource app.grapheneos.camera.dev W onFrameAvailable: EOS is sent, ignoring frame 2025-04-13 18:03:18.402 16423-16765 MPEG4Writer app.grapheneos.camera.dev D final fsync() takes 16 ms, file size 2943431 2025-04-13 18:03:18.403 16423-16765 MPEG4Writer app.grapheneos.camera.dev D MP4WtrCtrlHlpLooper stopped 2025-04-13 18:03:18.403 16423-16765 MPEG4Writer app.grapheneos.camera.dev D Top 5 write durations(microseconds): #1:171 #2:191 #3:192 #4:243 #5:904 2025-04-13 18:03:18.403 16423-16765 MPEG4Writer app.grapheneos.camera.dev D reset() 2025-04-13 18:03:18.403 16423-16765 MPEG4Writer app.grapheneos.camera.dev D Video track stopping. Stop source 2025-04-13 18:03:18.403 16423-16765 MPEG4Writer app.grapheneos.camera.dev E Stop() called but track is not started or stopped 2025-04-13 18:03:18.403 16423-16765 Recorder app.grapheneos.camera.dev D Sending VideoRecordEvent Finalize 2025-04-13 18:03:18.403 16423-16765 Recorder app.grapheneos.camera.dev D Update stream transformation info: null 2025-04-13 18:03:18.403 16423-16765 Recorder app.grapheneos.camera.dev D Transitioning Recorder internal state: STOPPING --> IDLING 2025-04-13 18:03:18.404 16423-16472 VideoUsageControl app.grapheneos.camera.dev D decrementUsage: mVideoUsage = 0 2025-04-13 18:03:18.408 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:18.408 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:18.409 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:18.409 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:18.409 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:18.410 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:18.410 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:18.410 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:18.411 16423-16423 QualitySelector app.grapheneos.camera.dev D supportedQualities = [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}, ConstantQuality{value=6, name=FHD, typicalSizes=[1920x1080]}, ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}, ConstantQuality{value=4, name=SD, typicalSizes=[720x480, 640x480]}] 2025-04-13 18:03:18.411 16423-16423 QualitySelector app.grapheneos.camera.dev D Select quality by fallbackStrategy = RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0} 2025-04-13 18:03:18.411 16423-16423 VideoCapture app.grapheneos.camera.dev D Found selectedQualities [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}] by QualitySelector{preferredQualities=[ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}], fallbackStrategy=RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0}} 2025-04-13 18:03:18.413 16423-16423 VideoCapture app.grapheneos.camera.dev D Set custom ordered resolutions = [3840x2160] 2025-04-13 18:03:18.414 16423-16423 GOCam app.grapheneos.camera.dev I tr: 0 2025-04-13 18:03:18.419 16423-16636 GraphicBufferSource app.grapheneos.camera.dev W onFrameAvailable: EOS is sent, ignoring frame 2025-04-13 18:03:18.449 16423-16636 GraphicBufferSource app.grapheneos.camera.dev W onFrameAvailable: EOS is sent, ignoring frame 2025-04-13 18:03:18.468 16423-16647 AidlBufferPoolAcc app.grapheneos.camera.dev D evictor expired: 1, evicted: 0 2025-04-13 18:03:18.483 16423-16636 GraphicBufferSource app.grapheneos.camera.dev W onFrameAvailable: EOS is sent, ignoring frame 2025-04-13 18:03:18.510 16423-16423 BitmapDrawable app.grapheneos.camera.dev W BitmapDrawable created with null Bitmap 2025-04-13 18:03:18.511 16423-16423 VideoCapture app.grapheneos.camera.dev D Stream info update: old: StreamInfo{id=262172082, streamState=ACTIVE, inProgressTransformationInfo=TransformationInfo{getCropRect=Rect(0, 0 - 2160, 3840), getRotationDegrees=270, getTargetRotation=-1, hasCameraTransform=false, getSensorToBufferTransform=Matrix{[0.0, -0.8304498, 2521.661][0.8304498, 0.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false}} new: StreamInfo{id=262172082, streamState=INACTIVE, inProgressTransformationInfo=null} 2025-04-13 18:03:18.512 16423-16423 DeferrableSurface app.grapheneos.camera.dev D surface closed, useCount=1 closed=true androidx.camera.core.processing.SurfaceEdge$SettableSurface@6e7784 2025-04-13 18:03:18.512 16423-16636 DeferrableSurface app.grapheneos.camera.dev D use count-1, useCount=0 closed=true androidx.camera.core.processing.SurfaceEdge$SettableSurface@6e7784 2025-04-13 18:03:18.512 16423-16636 DeferrableSurface app.grapheneos.camera.dev D Surface no longer in use[total_surfaces=8, used_surfaces=5](androidx.camera.core.processing.SurfaceEdge$SettableSurface@6e7784} 2025-04-13 18:03:18.512 16423-16636 DeferrableSurface app.grapheneos.camera.dev D Surface terminated[total_surfaces=7, used_surfaces=5](androidx.camera.core.processing.SurfaceEdge$SettableSurface@6e7784} 2025-04-13 18:03:18.512 16423-16636 DeferrableSurface app.grapheneos.camera.dev D use count-1, useCount=1 closed=false androidx.camera.core.SurfaceRequest$2@4b68e90 2025-04-13 18:03:18.513 16423-16636 GraphicBufferSource app.grapheneos.camera.dev W released unpopulated slots: [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63] 2025-04-13 18:03:18.513 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:18.514 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:18.514 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:18.514 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:18.514 16423-16472 VideoCapture app.grapheneos.camera.dev D cameraCaptureResult timestampNs = 419989635280529, current system uptimeMs = 207409590, current system realtimeMs = 419989728 2025-04-13 18:03:18.514 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=72000000, frameRate=60, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:18.514 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:18.514 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:18.515 16423-16423 CapabilitiesByQuality app.grapheneos.camera.dev D profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]} 2025-04-13 18:03:18.515 16423-16423 QualitySelector app.grapheneos.camera.dev D supportedQualities = [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}, ConstantQuality{value=6, name=FHD, typicalSizes=[1920x1080]}, ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}, ConstantQuality{value=4, name=SD, typicalSizes=[720x480, 640x480]}] 2025-04-13 18:03:18.515 16423-16423 QualitySelector app.grapheneos.camera.dev D Select quality by fallbackStrategy = RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0} 2025-04-13 18:03:18.515 16423-16423 VideoCapture app.grapheneos.camera.dev D Found selectedQualities [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}] by QualitySelector{preferredQualities=[ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}], fallbackStrategy=RuleStrategy{fallbackQuality=ConstantQuality{value=-1, name=NONE, typicalSizes=[]}, fallbackRule=0}} 2025-04-13 18:03:18.517 16423-16423 VideoCapture app.grapheneos.camera.dev D Set custom ordered resolutions = [3840x2160] 2025-04-13 18:03:18.517 16423-16423 GOCam app.grapheneos.camera.dev I tr: 1 2025-04-13 18:03:18.534 16423-16653 Recorder app.grapheneos.camera.dev D Video source has transitioned to state: ACTIVE_NON_STREAMING 2025-04-13 18:03:18.551 16423-16670 AidlBufferPool app.grapheneos.camera.dev D Destruction - bufferpool2 0xb4000076b28e8448 cached: 0/0M, 0/0% in use; allocs: 0, 0% recycled; transfers: 0, 0% unfetched 2025-04-13 18:03:18.555 16423-16670 CCodec app.grapheneos.camera.dev D allocate(c2.exynos.h264.encoder) 2025-04-13 18:03:18.565 16423-16670 CCodec app.grapheneos.camera.dev I setting up 'default' as default (vendor) store 2025-04-13 18:03:18.572 16423-16670 neos.camera.dev app.grapheneos.camera.dev W AIBinder_linkToDeath is being called with a non-null cookie and no onUnlink callback set. This might not be intended. AIBinder_DeathRecipient_setOnUnlinked should be called first. 2025-04-13 18:03:18.572 16423-16670 CCodec app.grapheneos.camera.dev I Created component [c2.exynos.h264.encoder] 2025-04-13 18:03:18.573 16423-16670 CCodecConfig app.grapheneos.camera.dev D read media type: video/avc 2025-04-13 18:03:18.577 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: output.subscribed-indices.values 2025-04-13 18:03:18.578 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: input.buffers.allocator-ids.values 2025-04-13 18:03:18.579 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: output.buffers.allocator-ids.values 2025-04-13 18:03:18.580 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D extent() != 1 for single value type: output.buffers.pool-ids.values 2025-04-13 18:03:18.583 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D ignored struct field coding.qp.values 2025-04-13 18:03:18.587 16423-16670 ReflectedParamUpdater app.grapheneos.camera.dev D ignored struct field coding.gop.values 2025-04-13 18:03:18.594 16423-16670 CCodecConfig app.grapheneos.camera.dev D ignoring local param raw.color (0xc2001809) as it is already supported 2025-04-13 18:03:18.595 16423-16670 CCodecConfig app.grapheneos.camera.dev I query failed after returning 21 values (BAD_INDEX) 2025-04-13 18:03:18.596 16423-16670 CCodecConfig app.grapheneos.camera.dev D c2 config diff is Dict { c2::u32 algo.bitrate-mode.value = 3 c2::u32 algo.encoding-quality-level.value = 0 c2::i32 algo.priority.value = 0 c2::float algo.rate.value = 0 c2::i32 coded.average-qp.value = 0 c2::u32 coded.bitrate-mode.value = 1 c2::u32 coded.bitrate.value = 64000 c2::float coded.frame-rate.value = 15 c2::u32 coded.hdr-format.value = 0 c2::u32 coded.picture-type.value = 0 c2::u32 coded.pl.level = 20480 c2::u32 coded.pl.profile = 20484 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 input.delay.value = 0 string input.media-type.value = "video/raw" c2::u32 output.buffers.prepend-header.value = 0 string output.media-type.value = "video/avc" c2::u32 raw.color.matrix = 0 c2::u32 raw.color.primaries = 0 2025-04-13 18:03:18.600 16423-16666 MediaCodec app.grapheneos.camera.dev I MediaCodec will operate in async mode 2025-04-13 18:03:18.600 16423-16653 VQApply app.grapheneos.camera.dev D minquality: 2160x3840 outside of shaping range 2025-04-13 18:03:18.600 16423-16653 MediaCodec app.grapheneos.camera.dev D shapeMediaFormat: deltas(1): AMessage(what = 0x00000000) = { int32_t android._encoding-quality-level = 0 } 2025-04-13 18:03:18.600 16423-16670 CCodec app.grapheneos.camera.dev D [c2.exynos.h264.encoder] buffers are bound to CCodec for this session 2025-04-13 18:03:18.602 16423-16670 CCodecConfig app.grapheneos.camera.dev D no c2 equivalents for color-format 2025-04-13 18:03:18.602 16423-16670 CCodecConfig app.grapheneos.camera.dev D no c2 equivalents for flags 2025-04-13 18:03:18.602 16423-16670 CCodecConfig app.grapheneos.camera.dev D no c2 equivalents for encoder 2025-04-13 18:03:18.604 16423-16670 CCodecConfig app.grapheneos.camera.dev D c2 config diff is c2::u32 coded.bitrate.value = 36000000 c2::float coded.frame-rate.value = 30 c2::u32 raw.size.height = 3840 c2::u32 raw.size.width = 2160 2025-04-13 18:03:18.606 16423-16670 CCodec app.grapheneos.camera.dev D encoding statistics level = 0 2025-04-13 18:03:18.606 16423-16670 CCodec app.grapheneos.camera.dev D setup formats input: AMessage(what = 0x00000000) = { int32_t android._color-format = 2130708361 int32_t android._dataspace = 0 int32_t bitrate-mode = 1 int32_t frame-rate = 30 int32_t height = 3840 int32_t intra-refresh-period = 0 string mime = "video/raw" int32_t prepend-sps-pps-to-idr-frames = 0 int32_t priority = 0 int32_t video-qp-average = 0 int32_t width = 2160 Rect crop(0, 0, 2159, 3839) int64_t android._C2MemoryUsage = 1125899906908160 int32_t color-format = 2130708361 } 2025-04-13 18:03:18.606 16423-16670 CCodec app.grapheneos.camera.dev D setup formats output: AMessage(what = 0x00000000) = { int32_t bitrate = 36000000 int32_t bitrate-mode = 1 Rect crop(0, 0, 2159, 3839) int32_t width = 2160 int32_t color-standard = 0 int32_t color-range = 0 int32_t color-transfer = 0 int32_t frame-rate = 30 int32_t height = 3840 int32_t intra-refresh-period = 0 int32_t level = 1 int32_t max-bitrate = 36000000 string mime = "video/avc" int32_t prepend-sps-pps-to-idr-frames = 0 int32_t priority = 0 int32_t profile = 8 int32_t video-qp-average = 0 } 2025-04-13 18:03:18.607 16423-16670 CCodecConfig app.grapheneos.camera.dev I query failed after returning 22 values (BAD_INDEX) 2025-04-13 18:03:18.607 16423-16670 CCodecConfig app.grapheneos.camera.dev D c2 config diff is c2::u32 coded.pl.level = 20495 2025-04-13 18:03:18.608 16423-16670 CCodec app.grapheneos.camera.dev D input format changed to AMessage(what = 0x00000000) = { int32_t android._color-format = 2130708361 int32_t android._dataspace = 281411584 int32_t bitrate-mode = 1 int32_t frame-rate = 30 int32_t height = 3840 int32_t intra-refresh-period = 0 string mime = "video/raw" int32_t prepend-sps-pps-to-idr-frames = 0 int32_t priority = 0 int32_t video-qp-average = 0 int32_t width = 2160 Rect crop(0, 0, 2159, 3839) int64_t android._C2MemoryUsage = 1125899906908160 int32_t color-format = 2130708361 int32_t color-range = 2 int32_t color-standard = 6 int32_t color-transfer = 3 } 2025-04-13 18:03:18.608 16423-16670 GraphicBufferSource app.grapheneos.camera.dev D setting dataspace: 0x10c60000, acquired=0 2025-04-13 18:03:18.608 16423-16670 CCodec app.grapheneos.camera.dev D ISConfig not changed 2025-04-13 18:03:21.469 16423-16647 AidlBufferPoolAcc app.grapheneos.camera.dev D evictor expired: 1, evicted: 0 2025-04-13 18:03:23.469 16423-16647 AidlBufferPoolAcc app.grapheneos.camera.dev D evictor expired: 1, evicted: 0