This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # Convert all mkv files in subdirectories to HEVC using NVENC | |
| for f in */*.mkv; do | |
| [[ $f =~ HEVC.mkv$ ]] && continue | |
| ffmpeg -i "$f" -map 0 -c:v hevc_nvenc -crf 28 -c:a copy -c:s copy "${f%.*}HEVC.mkv" | |
| rm $f | |
| done | |
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | window.AnswersWidget.onLoaded(() => { | |
| window.AnswersWidget.addAuthenticationFn(() => { | |
| // This request should include your own method of authentication (e.g. cookie, Authorization header) | |
| return axios.get(`${YOUR_SERVER_URL}/auth-token`).then((response) => response.data); | |
| }); | |
| }); |