Adding text subtitles to video track (in Swift) fails with error code -11841
问题 I have been struggling with adding text subtitles to videos for a while. I have added some links that I referred in detail, but they are not helping. In below code, I am trying to add a subtitle to a video. The output file path is as below: file:///var/mobile/Applications/03E49B29-1070-4541-B7CB-B1366732C179/Documents/output_movie.mov In addition, the input file was recorded with a call to UIPickerView in the same application, at temporary path below: file:///private/var/mobile/Applications