Live data from Hacker News

Awk for multimedia

arcan-fe.com

21–25 of 25 posts

Re: Awk for multimedia

#21

May be I didn't pay it enough time, but this seems to be just pipe-based video processing. I thought that the main feature in awk was to work with meaning in the text itself - so I expected some machine-learning magic to find all dogs and replace them with cats, for example.

The pipes are only used to communicate higher-level IPC primitives. The real data exchange and processing is bidirectional. This is why it is possible for the last client in the chain to provide the inputs that control the game that was being run by the first client in the chain. There is also audio.

The part that I found cool is that the possible data sources aren't just videos, it's emulators, virtual machines, terminals, and so on.

"the example here only works with a single pipe-and-filter chain, but there is nothing preventing arbitrary, even dynamic, graphs to be created."

(and AWK is a DSL for streaming text processing - it's from the late 70ies.. it's dumb as a rock - there's no high level analysis features)

Re: Awk for multimedia

#23
Sorry, but this article has nothing to do with AWK other than mentioning its name. AWK is a pattern-action, implied-loop text processing scripting language that supports user-defined functions and interaction with the OS via pipes and system().

It may have been better titled "Arcan is to multimedia as AWK is to text", or something.

Re: Awk for multimedia

#24
post #9
post #3

Awesome! Other video tools (besides ffmpeg): https://www.mltframework.org/ (lightweight LGPL C99 perhaps similar to OP) http://www.emmgunn.com/ (mac VIDEOtoolbox), https://subler.org/ (mac mp4) https://sourceforge.net/projects/megui/ (windows, recommended for SD sources) https://github.com/stax76/staxrip (windows, a better handbrake) Further pointers to similar tools are appreciated! Grabbed several of these from thi…

Thanks for sharing all of these tools! Do you happen to know if any of these can write metadata to mp4 or mov files that will be recognized by Mac/iOS Photos? I've been trying to write location, camera, date, etc. to encoded videos, but Photos won't recognize anything except files straight off an iPhone. The closest thing I've found is that ffmpeg can write Quicktime tags and the structure looks identical to me when…

Unfortunately I do not have any personal experience with your problem since I purposely avoid Apple Photos (perhaps helpful though not related: I rely on Google+ Photos as my free [lossy] offsite backup).

- Date/time? http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,790... recommends https://github.com/HayoBaan/matchDateTime and/or

  exiftool -a -G -s -time:all [filename]
- Lat/long location? works for JPG, only recently for PNG http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,844...

- camera? for Lightroom http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,858...

Re: Awk for multimedia

#25
post #3

Awesome! Other video tools (besides ffmpeg): https://www.mltframework.org/ (lightweight LGPL C99 perhaps similar to OP) http://www.emmgunn.com/ (mac VIDEOtoolbox), https://subler.org/ (mac mp4) https://sourceforge.net/projects/megui/ (windows, recommended for SD sources) https://github.com/stax76/staxrip (windows, a better handbrake) Further pointers to similar tools are appreciated! Grabbed several of these from thi…

I left this special-purpose tool out on my initial round-up, but anyone still paying attention might find a use for it:

https://github.com/slowmoVideo/slowmoVideo

Post reply on HN