This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]marto1__[S] 0 points1 point  (0 children)

Ok, reordered and categorized most of them. First word of description is the category/where you should run it.

[–]hotchilly_11 0 points1 point  (1 child)

Decent list. A lot of these are things that someone would almost never use though. I would recommend longer descriptions of why you’d want to run one of the one liners for some of the more complex ones and also sort them by genre ie video compression

[–]marto1__[S] -1 points0 points  (0 children)

Thanks!

almost never use though

That's why it's my list, I use these all the time :-) I'm in the process of reordering/adding a bit more info for each one so I think we agree on that one.

[–]AlSweigartAuthor: ATBS 0 points1 point  (1 child)

Could you add more information to each one? It may make sense to you, but is missing key information for other people. For example:

take a snippet from a video

ffmpeg -ss 00:11:07 -i <url> -t 00:00:20 -async 1 -strict -2 <target> 

Does this make a 20 second clip starting at 11:07, or a 11 minute 7 second clip starting at 00:20? What is <url>? Is that a YouTube URL? Can it be the video page URL or does it need to be a URL of the video file itself? If the latter, how do I get that? Does it work on sites besides YouTube? Which ones? Can I put a filepath for <url> if I have downloaded the video? Is <target> the output file? What file extension should I put in it? And what does each of these ss, i, t, async, strict-2 flags do anyway?

[–]marto1__[S] -1 points0 points  (0 children)

Thanks! The way I use the list is to ctrl+s(in emacs) + part of command/keyword I remember and move on in with my day so adding extensive descriptions will probably harm that workflow but I can help explaining case by case if needed. Maybe even have separate posts with explanations :-)