Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Oh, I really should learn using awk. The problem with piping ffmpeg -f metadata is that it doesn't output to the command line and asks for a filename to be stated, maybe people with more ffmpeg knowledge knows a way to make it output to the command line. So I think I have to use a temporary file in this case, but only one rather than 3 thanks to you. Commented Feb 13, 2023 at 22:33
  • Try - or /dev/stdout as the file name. Commented Feb 14, 2023 at 5:38
  • Ugh, manpages.org/ffmpeg seems to be saying the metadata is in some sort of .ini format. It can probably be parsed one at a time instead of sucking it all into memory. It also seems to verify that - should work for writing to standard output. I have updated the answer to use that. Commented Feb 14, 2023 at 6:21