MPEG4 videos cannot be played on iOS14 (AVPlayer issue)

803 views Asked by At

I have a piece of code that uses ffmpeg with default mpeg4 codec to merge multiple videos and audio songs.

ffmpeg -i input1.mp4 -i input2.mp4 -filter_complex "concat=n=2:v=1:a=1" -f MOV -vn -y output.mp4

Everything worked on iOS13 and after the update to iOS14, videos are black and cannot be played by any player. Sound is there and it's good. I tried to switch to h264 and it works good, but as you already know, h264 is under GPL and it is expensive and requires code to be open sourced which is not acceptable for me.

None of the mpeg4 videos can be played in AVPlayer.

What was changed? Anything in release notes? Is that a bug? Or a feature?

Thanks

0

There are 0 answers