iOS 11 finally has screen recording capabilities. It can record audio too (force tap on record button to enable). However, while the recorded videos play fine on the iPhone without any problems, when they're uploaded to YouTube or played with VLC the sound is missing. How do I fix it?

up vote 3 down vote accepted

Apparently, iOS 11 records a video with two audio tracks: the first one completely silent, while the second one is the real one. You can fix it with ffmpeg like this

ffmpeg -i input.mp4 -map 0:0 -map 0:2 -c:v copy -c:a copy output.mp4

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.