5 ms·
Meanwhile, I've been enjoying threaded filter processing in VapourSynth for nearly a decade. Not that this isn't great. Its fantastic. But TBH its not really g
by brucethemoose2 3y ago
Meanwhile, I've been enjoying threaded filter processing in VapourSynth for nearly a decade.
Not that this isn't great. Its fantastic. But TBH its not really going to change my workflow of VapourSynth preprocessing + av1an encoding for "quality" video encodes.
- tetris11 3y agoI believe I have too with gstreamer's pipe framework for threading, but ffmpeg's syntax has stuck in my mind far longer than any of the elaborate setups I built with gstreamer. I'm excited for this development
- dylan604 3y agoFFMPEG does so much more than just video encoding. I use ffmpeg all day every day, and only a fraction of the time do I actually make a video.
- m3kw9 3y agoLike what do you do?
- andoma 3y agoOne can use it instead of cat to display text files. Easy syntax to remember. ffmpeg -v quiet -f data -i file.txt -map 0:0 -c text -f data -
- DonHopkins 3y agoGood thing it's now multi-threaded so it can process all those command line arguments in parallel!
- whalesalad 3y agoI'm dying.
- nerpderp82 3y agohttps://www.youtube.com/watch?v=9kaIXkImCAM https://www.youtube.com/watch?v=9kaIXkImCAM
- whalesalad 3y agoI'm glad we've reached a point where there is quality parody content online for our industry.
- ElijahLynn 3y agoTHIS!!! It was so refreshing!
- Rebelgecko 3y agoCheck out Krazam. I quote their Microservices video on a regular basis (https://youtu.be/y8OnoxKotPQ https://youtu.be/y8OnoxKotPQ)
- danudey 3y ago"Do you know ffmpeg supports OCR? I haven't found the command yet, but it does support it." This is probably 80% of my experience with ffmpeg, to be honest, but the other 20% is invaluable enough anyway.
- vore 3y agoI thought this was a joke, but it really exists! https://ffmpeg.org/ffmpeg-filters.html#ocr https://ffmpeg.org/ffmpeg-filters.html#ocr
- maxlin 3y agoLol what. I have a bot that processes ~50 videos a day, burning in translated whisper-generated subtitles. It also translates images using Tesseract, then overlaying texts in-place. I once thought of exporting frames as images to maybe do this for video too, I actually did not even start to think FFMPEG would have tesseract support on top of everything. Later on though I've realized the quality of tesseract's OCR on arbitrary media is often quite bad. Google translates detection and replacement is so much ahead my current image system I'd think I would just somehow reutilize that for my app, either thru public API or browser emulation ...
- dkjaudyeqooe 3y agoI bet ffmpeg special cases that combination of flags and calls cat.
- yoz 3y agocan I use ffmpeg to embed a gif in a Hacker News comment, because I want that so much right now
- jasomill 3y agoNo, but you can use ffmpeg to create a GIF from ASCII art embedded in a Hacker News comment: $ ffmpeg -v quiet -codecs | egrep -i 'gif|ascii' D.V.L. ansi ASCII/ANSI art DEV..S gif CompuServe GIF (Graphics Interchange Format) (“D” and “E” in the first field indicate support for decoding and encoding)
- faitswulff 3y agoAh now I can replace all my useless uses of cat with ffmpeg
- fransje26 3y agoI use dd for that. dd if=./file.txt Can you also format your drive with ffmpeg? I'm looking for a more versatile dd replacement..
- jasomill 3y agoIt can't create partition tables or filesystems, so no, but ffmpeg -f data -i /dev/zero -map 0:0 -c copy -f data - > /dev/sda is roughly equivalent to to dd status=progress if=/dev/zero of=/dev/sda
- dylan604 3y agoyou might need a -disposition default type option, otherwise, it introduce some abnormal behavior
- jasomill 3y agoThat doesn't work[1], but ffmpeg -v quiet -f data -i file.txt -map 0:0 -c copy -f data - does. [1] “Encoder 'text' specified, but only '-codec copy' supported for data streams”
- polonbike 3y agoBeside video conversion/compression ? Sound extraction or processing, image processing, video casting or streaming, anything related to image/multimedia format, basically
- whalesalad 3y agoyou can make gif's with it
- starkparker 3y agoI've used it for video and audio concatenation of laserdisc game segments, transcoding audio clips for gamedev, programmatically generating GIFs of automatically generated video clips from tests in a CI pipeline, ripping songs and audio clips from YouTube videos to ogg/mp3, creating GIFs from burst-shot and time-lapse photography (and decimating them), excerpting clips from a video without re-encoding, and compressing or transforming audio on remote servers where VLC wasn't and couldn't be installed.
- bbkane 3y agoSounds like you already have a process for most of this, but I found https://github.com/mifi/editly https://github.com/mifi/editly to be incredibly helpful to run ffmpeg and make my little time lapse video. Could be useful for others
- dylan604 3y agoffmpeg can produce an amazing amount of analysis
- ThrowawayTestr 3y agoI use ffmpeg everytime I download a YouTube video.
- brucethemoose2 3y agoVapoursynth can be used for image processing too (albeit more clumsily with variable size input), and its also a great way to hook into PyTorch.
- Thaxll 3y agoDoes it can fix broken files?
- brucethemoose2 3y agoIt reads image sequences with imagemagick or ffmpeg, but in place repair is not its thing, no.
- PreachSoup 3y agoCan you run doom on it?
- j1elo 3y agoInteresting! I'm among today's lucky 10,000 in learning for the first time about VapourSynth. How come it only has 4 measly entries in HN, and none got any traction. I've posted a new entry, just for the curiosity of others.
- aidenn0 3y agoI'm guessing from context that VapourSynth is a frame-server in the vein of avisynth? If so, does it run on Linux? Avisynth was the single biggest thing I missed when moving to Linux about 20 years ago. [edit] found the docs; it's available on Linux[1]. I'm definitely looking into it tonight because it can't be worse than writing ffmpeg CLI filtergraphs! 1: http://www.vapoursynth.com/doc/installation.html#linux-installation http://www.vapoursynth.com/doc/installation.html#linux-insta...
- brucethemoose2 3y agoYep, and its so much better than ffmpeg CLI that its not even funny. This is a pretty good (but not comprehensive) db of the filters: https://vsdb.top/ https://vsdb.top/
- mappu 3y ago20 years ago, the best feature of avisynth was running random plugin dlls downloaded from doom9, none with source code and all running on an XP Administrator account. The frameserver is one thing, but an ecosystem of (trustable! open source!) plugins is harder to replicate. At least we don't need deinterlacers so badly any more, though.
- brucethemoose2 3y agoThey have pretty much all been ported, and much more! VapourSynth can do a lot more than AviSynth can.
- naikrovek 3y agoI don't understand why you would want to piggyback on this story to say this. are people just itching for reasons to dive into show & tell or to wax poetic about how they have solved the problem for years? I really don't understand people at all, because I don't understand why people do this. and I'm sure I've done it, too.
- tetris11 3y agoThere is hype for FEAT. People who have achieved similar FEAT perk up their heads but say nothing. Hype for FEAT is beyond sensibility. People with similar FEAT are bristled by this and wish that their projects received even a fraction of FEAT's hype. I think it's normal.
- naikrovek 3y agonot gonna define FEAT, then? ok.
- tetris11 3y ago...in this case, multi-threading. In other cases; AI workflows that others commercialize, a new type system in a language that already exists in another, a new sampling algorithm that has already existed by another name for decades, a permaculture innovation that farmers have been using for aeons, the list goes on...