dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

encode_webm.conf (1953B)


      1 # if yes, only encode the currently active tracks
      2 # for example, mute the player / hide the subtitles if you don't want audio / subs to be part of the extract
      3 only_active_tracks=no
      4 
      5 # whether to preserve some of the applied filters (crop, rotate, flip and mirror) into the extract
      6 # this is pretty useful in combination with crop.lua
      7 # note that you cannot copy video streams and apply filters at the same time
      8 preserve_filters=yes
      9 
     10 # apply another filter after the ones from the previous option if any 
     11 # can be used to limit the resolution of the output, for example with
     12 # append_filter=scale=2*trunc(iw/max(1\,sqrt((iw*ih)/(960*540)))/2):-2
     13 append_filter=
     14 
     15 # additional parameters passed to ffmpeg
     16 codec=-an -sn -c:v libvpx -crf 10 -b:v 1000k
     17 
     18 # format of the output filename
     19 # Does basic interpolation on the following variables: $f, $x, $t, $s, $e, $d, $p, $n which respectively represent
     20 # input filename, input extension, title, start timestamp, end timestamp, duration, profile name and an incrementing number in case of conflicts
     21 # if the extension is not among the recognized ones, it will default to mkv
     22 output_format=$f_$n.webm
     23 
     24 # the directory in which to create the extract
     25 # empty means the same directory as the input file
     26 # relative paths are relative to mpv's working directory, absolute ones work like you would expect
     27 output_directory=
     28 
     29 # if yes, the ffmpeg process will run detached from mpv and we won't know if it succeeded or not
     30 # if no, we know the result of calling ffmpeg, but we can only encode one extract at a time and mpv will block on exit
     31 detached=yes
     32 
     33 # executable to run when encoding (or its full path if not in PATH)
     34 # for example, this can be used with a wrapper script that calls ffmpeg and triggers a notification when finished
     35 # note that the executable gets the ffmpeg arguments as-is, and is expected to call ffmpeg itself
     36 ffmpeg_command=ffmpeg
     37 
     38 # if yes, print the ffmpeg call before executing it
     39 print=yes