Higher quality at the expense of processing time. In that case the final video will inherit the aspect ratio of the first segment.ĭefault: -ovcopts-add=cpu-used=0,auto-alt-ref=1,lag-in-frames=25,quality=good Whether you want only the last crop argument to count-no-or you want to crop all segments individually-yes. Number of threads to use for encoding, libvpx only because it apparently doesn’t have auto detection. ![]() Use the directory of the original video file. Use your working directory as the output directory. Where the script saves your converted files. To make sure the file won’t go over the target file size, set it to 1 if you don’t care. You’ll only need to change this if you modify mpv’s audio encoding options, for example with oacopts-add=qscale=0 in the section of your mpv.conf (in which case this option would need 64). The script tries to compensate for audio when going for a file size limit (2pass). You can bind it to another hotkey in your nf withĪnd set some options in mpv/lua-settings/convert_nf or with -script-opts (mpv 0.7 and earlier: -lua-opts) audio_bitrate First activation marks one end of the clip, the second one the other, order does not matter.Ĭropping doesn’t really work well with the OSC.Ĭonfiguration works in the same way as configuring the OSC does. Install it by putting the script into ~/.config/mpv/scripts/ or ~/.mpv/scripts/ (mpv 0.8+) and ~/.config/mpv/lua/ ~/.mpv/lua/ respectively (mpv 0.4 through 0.7)Īlt + w activates the script. ![]() notify-send (optional, to send a notification when the encode is done) (to be found in libnotify on Arch).This script for mpv intends to offer the fastest and simplest way to convert parts of a video-while you’re watching it and not really more work intensive than making a screenshot.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |