Analyzing and fixing GoToMeeting video encoding issues with ffmpeg
I recently got flabergasted by Fedoras’ „Totem Movie Player” not being able to replay a recorded GoTo Meeting session. VLC of course was able to replay it.
After some searching, I found „ffprobe” and was able to figure out what was wrong with that recording:
$ ffprobe -i ~/Downloads/recording.mp4 ... Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 14 kb/s, 0.05 fps, 600 tbr, 600 tbn, 1200 tbc (default) Metadata: creation_time : 2021-05-20T12:43:36.000000Z handler_name : Core Media Video
Apparently, GoTo Meetings records video session where only slides are shown with 0.05 fps, which confuses Totem completely.
Fortunately, the fix was, thanks to ffmpeg, also rather easy:
$ ffmpeg -i ~/Downloads/recording.mp4 -filter:v fps=30 -max_muxing_queue_size 9999 ~/Downloads/fixed.mp4
The „max_muxing_queue_size” I had to add to make it work. Some ffmpeg guru can probably explain why.