mp4 - AVAssetWriter saved video can be played in QuickTime Player, but once you drag the time bar, the screen becomes black, but audio is still playing -


avassetwriter save aac audio , h264 video h264, output video can played in quicktime player, once drag time bar several times, screen becomes black, audio still playing.

i test other normal mp4 videos, whatever drag time bar, video displays perfectly.

the pixel buffer comes metal render view.

click downloading my sample project

video recording class:
videorecorder.swift
videowriter.swift

i don't know goes wrong, can me, many many thanks.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -