-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transcode: add page #306
transcode: add page #306
Conversation
transcode is a video stream editor.
A few comments:
|
|
Thanks for the quick reaction :) to be clear, I don't think the description should be too specific either, lest it induce people into thinking the tasks mentioned ("can change size of video or remove shaking") are the core functionalities of the tool. See for example the description at http://www.transcoding.org:
For comparison, here's the description for moviepy (which is probably too long for tldr, but showcases a good balance between generality and specificity:
Also, the separation of the first two commands doesn't seem warranted if the second depends on the first. I asked about that because it wasn't immediately clear from the initial description, so I'd suggest just making it clear what those two commands do but still keep them together. Finally, even thought the options don't have long versions and the single letters don't correspond to a recognizable word (that I could find out, at least), it would be good to include mention the options used, particularly |
Hopefully I have know used up enough of your time to get me on the right track. I fully see your point. I was loath to create a complete description for the first two commands as this would create a multi-line description and I have not seen any in my non-exhaustive search. Hopefully for the next command, this experience will help me to do this well on the first try (-;
|
It is a learning process for me too, no worries :) This seems good enough for a start, although I'd be able to comment better if I knew how to use the command myself. I'll let the maintainers comment if there are any further issues. |
Thanks for the new page! It's great when you discover new tools just reading the pages 😄
|
I'll brain a little bit about how I could pack this into a one-line description. |
I think I've seen commands with two-line descriptions (but can't point to any specific one off the top of my head, sorry) |
@rprieto You may give the wrong example, in the CONTRIBUTING.md#markdown-format, the stardard format should be:
note that the example command should be rounded with `, not ''', or it will really break the compatibility :-/ As far as I know, each command example starts with ` should be ok. |
Maybe it should be clarified in the description if only one line is possible or more. @lord63 Following this description i thought that multi-line comments were ok and in my understanding of markdown the best (= accepted by most parsers) way do to multiple lines in lists is to indent the second and further lines once and leave a free line. @waldyrious I looked through loads of the files in |
I'm afraid no. You should take clients into count. I mean, someone will use these pages to create a program to find the commands. The don't understand markdown, only simple rules(e.g. line starts) By the way, your current PR seems that still has some problems, take a look at the example description and command usage. |
@85pando I might have confused with the example in CONTRIBUTING.md, can't be sure tbh :/ |
Indeed sorry about that, it's definitely single-line command examples. It's a very good point about accepting any valid Markdown @85pando. I'd say it falls into 2 categories:
|
In https://github.com/tldr-pages/tldr/blob/master/pages/common/find.md there are two bullets right after each other. Could this be applicable for this problem? For the markdown thing, I'd rather say this should be discussed in a separate issue with a corresponding title. |
I hope this is a valid solution for the problem of the long description. The solution is similar to the structure of (e.g.) https://github.com/tldr-pages/tldr/blob/master/pages/common/find.md
Going for something similar to https://github.com/tldr-pages/tldr/blob/master/pages/common/find.md I think having multiple bullets for the dual command block could be a (preliminary) solution for the long description problem. |
Sorry |
Note that, per #313, the two consecutive command lines should probably be separated by a newline. |
Sorry I'll disagree with that one. The CONTRIBUTING guidelines show we expect 1 command per example. I'm keen to keep it simple that like to simplify clients. Unfortunately it also easily leads to pages like systemsetup.md
|
Sorry for long delay. After this discussion this is probably the best that is possible.
This should now be an acceptable variant. |
|
||
`transcode -J transform -i {{inputfile}} -y xvid -o {{outputfile}}` | ||
|
||
- Resize the video to 640x480 Pixels and convert to MPEG4 codec using xvid. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Pixels" shouldn't be capitalized.
transcode is a video stream editor. This adds examples to remove shaking from videos and resize a video.