Given the constraints of AVAssetWriter, the video file indeed cannot be played back until finishWriting has been called and the file is finalized. Unfortunately, this means that any attempts to preview the video file during the writing process will result in an incomplete or corrupt file.
Summary • No Direct Playback During Writing: Since the file is not finalized until after finishWriting, you cannot preview the video until this method has been executed.
Alternative Approaches
Conclusion If you're looking for an approach to play the video during the encoding process, there isn't a viable option because of how AVAssetWriter works. You will need to wait until the writing is completed before the video can be played back successfully.