If a generated video file fails to open, the issue is almost always a missing codec. You can resolve this using two methods:
ffmpeg -i input.mp4 -c copy -map 0 -movflags +faststart juq637.mp4 Use code with caution. juq637mp4