I am writing a movie file with AVAssetWriter and AVAssetWriterInputPixelBufferAdaptor.
CGImage, which is used to build CVPixelBuffer, looks normal (as shown on the screen), the output movie shows the input image compressed in the upper half of the frame. All widths, heights, and bytes_per_row are identical (for CGImage, AVAssetWriter settings, and CVPixelBuffer settings).
What can cause such a problem?
- , AVAssetWriterInputPixelBufferAdaptor CVPixelBufferPool CVPixelBuffers CVPixelBufferPool, -, , . CVPixelBuffer . Apple, .
CVPixelBufferGetBytesPerRow (CVPixelBuffer) . !
Source: https://habr.com/ru/post/1790096/More articles:View Html in ios / ipod Applications - ioshttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1790092/how-to-pass-parameters-to-usercontrol-from-repeater-in-codebehind-c&usg=ALkJrhjzTLtESWo70ptjHmq3nMf9yojK5AA resource for learning good user interface techniques, more intuitive and artistic and user friendly - actionscript-3Can 2 singleton classes refer to each other? - oopОбработка нескольких асинхронных HTTP-запросов в Silverlight серийно - asynchronousHow to pass an anonymous class (not an instance) as a parameter to a method that expects a class type in Java - javaChecking for exception handling in xml comments? - c #Serve static image file from file system to servlet? - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1790100/use-jmx-to-get-is-tomcat-started-completely&usg=ALkJrhj1ZJrsELcLSox2WWoB31qXJIwKQwКак использовать рельсы ActionView:: Helpers:: NumberHelper в Sinatra? - ruby-on-railsAll Articles