Post

Replies

Boosts

Views

Activity

Objective C implementation of Spatial Video(MV-HEVC) Maker
Hi everyone, I need to add spatial video maker in my app which was wrote in objective-c. I found some reference code by swift, can you help me with converting the code to objective -c? let left = CMTaggedBuffer( tags: [.stereoView(.leftEye), .videoLayerID(leftEyeLayerIndex)], pixelBuffer: leftEyeBuffer) let right = CMTaggedBuffer( tags: [.stereoView(.rightEye), .videoLayerID(rightEyeLayerIndex)], pixelBuffer: rightEyeBuffer) let result = adaptor.appendTaggedBuffers( [left, right], withPresentationTime: leftPresentationTs)
2
1
794
Feb ’24
VNGenerateOpticalFlowRequest
I am playing the Vision API -- Optical Flow. I found the default output of VNGenerateOpticalFlowRequestRevision1 and VNGenerateOpticalFlowRequestRevision2 looks very different. I suppose Revision2 will generate a better (similar at least ) optical flow visualization. But looks like the magnitude of x and y direction is only ~50% to 70% of that of revision1. Any idea what is going on?
0
0
450
Apr ’23
VideoToolBox HEVC Encoded video different from camera shot HEVC video
I am new to ************ HEVC video encoding. I found the streams I got from ************ HEVC compression:CMVideoFormatDescriptionGetHEVCParameterSetAtIndex, I get vps, sps and pps as the NALU. But when I compare the hevc stream with the hevc video I took with my IphoneXS, I found Iphone XS video has 2 pps headers. As I searched the internet, people are saying some hevc videos have multiple pps, so I wonder is it possible to set multiple HEVC pps headers like the iphone camera in ************? Any response is helpful.Thanks in advance!
0
1
571
May ’20