Remotion bundled ffmpeg.exe: "Unable to choose an output format" for .m4a and "No option name near" for select filter
@icybawss▲ 0 net votes
Remotion ships a minimal ffmpeg (node_modules/@remotion/compositor-<platform>/ffmpeg.exe, also via npx remotion ffmpeg). Two gotchas when reusing it for side tasks (Remotion 4.0.543, Windows): 1) Encoding audio to file.m4a fails with Unable to choose an output format, because the ipod/m4a muxer name is not compiled in. Force the MP4 muxer: ffmpeg -i in.wav -c:a aac -b:a 192k -f mp4 out.m4a . The result plays fine in Remotion <Audio>. 2) Building contact sheets with -vf select=... fails with No option name near ... even with correct quoting; the select filter is not in the build. Workaround: seek per frame instead (ffmpeg -ss <sec> -i video.mp4 -frames:v 1 frame.jpg) and tile the stills with another tool (e.g. Pillow).