Skip to content

Instantly share code, notes, and snippets.

@luisredondo
Created March 10, 2020 15:25
Show Gist options
  • Save luisredondo/e324ec0ba214d7984b0555afc89a09ca to your computer and use it in GitHub Desktop.
Save luisredondo/e324ec0ba214d7984b0555afc89a09ca to your computer and use it in GitHub Desktop.
Using client-side OMX mux.
D/MediaOutputController(25376): attach(0x0, 0x88cc78c0, 0xb5cd6701)
D/MediaCodec(25376): MediaCodec callback for event 0
D/MediaCodec(25376): onMediaOutputControllEvent(VIDEO_FLAGS_SET, 0x87d2f55c, 4)
D/MediaCodec(25376): mVideoOutputFlags = 0x00000000
D/MediaOutputPolicy(25376): notifyAudioStateIfNeeded(0x00010003)
E/ACodec (25376): [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -1010
I/ExtendedACodec(25376): setupVideoEncoder()
W/ACodec (25376): do not know color format 0x7fa30c04 = 2141391876
W/ACodec (25376): do not know color format 0x7f000789 = 2130708361
I/ACodec (25376): setupVideoEncoder succeeded
I/ExtendedACodec(25376): [OMX.qcom.video.encoder.avc] configure, AMessage : AMessage(what = 'conf', target = 334) = {
I/ExtendedACodec(25376): int32_t height = 720
I/ExtendedACodec(25376): int32_t width = 432
I/ExtendedACodec(25376): int32_t bitrate = 80000
I/ExtendedACodec(25376): string mime = "video/avc"
I/ExtendedACodec(25376): int32_t frame-rate = 2
I/ExtendedACodec(25376): int32_t i-frame-interval = 10
I/ExtendedACodec(25376): int32_t color-format = 2130708361
I/ExtendedACodec(25376): int32_t video-output-protection = 0
I/ExtendedACodec(25376): int32_t encoder = 1
I/ExtendedACodec(25376): int32_t MediaCodec = 1
I/ExtendedACodec(25376): }
W/ACodec (25376): do not know color format 0x7f000789 = 2130708361
D/ACodec (25376): Found video-output-protection flags set to 00000000
I/MPEG4Writer(25376): limits: 561688576/0 bytes/us, bit rate: -1 bps and the estimated moov size 3195 bytes
I/MPEG4Writer(25376): setStartTimestampUs: 0
I/MPEG4Writer(25376): Earliest track starting time: 0
D/MediaOutputController(25376): detach(0x88cc78c0)
D/MPEG4Writer(25376): Video track stopping
I/MPEG4Writer(25376): Video track source stopping
I/MPEG4Writer(25376): Video track source stopped
I/MPEG4Writer(25376): Received total/0-length (33/0) buffers and encoded 33 frames. - Video
D/MPEG4Writer(25376): Video track stopped
D/MPEG4Writer(25376): Stopping writer thread
D/MPEG4Writer(25376): 0 chunks are written in the last batch
D/MPEG4Writer(25376): Writer thread stopped
D/MPEG4Writer(25376): Video track stopping
W/VideoCapabilities(25376): Unrecognized profile 2130706433 for video/avc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment