decided to actually go through git as was doing too many scripts... uses ffmpeg to transcode a list of files into AV1 format.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.2 KiB

  1. V4
  2. USAGE:
  3. `bash transcode.sh [num. transcodes]`
  4. Presumes you have ffmpeg (V > 4.4), ffprobe, bc, ssh, rsync, scp.
  5. Will take in the files listed at $hostFile (default is `/tmp/transcode/list.txt`
  6. ) and transcode them to av1. It will attempt to identify and burn-in foreign-
  7. audio subtitle files (subtitle track < ~15% of the run time) if multiple
  8. subtitle files are specified. You can either run until all files are processed
  9. (without a following number); or for a specified number of loops.
  10. At present time I only have PGS subs done (the ones in most DVDs and/or Blu-rays
  11. future progress would be other types).
  12. Will use your `~.ssh/config` file for the HostName, or you can use `localhost`
  13. if it will be contained on the same system. Comments and concerns? Leave 'em,
  14. don't know if I can address them, but there's a higher chance I'll address
  15. something that way anyway.
  16. You can search for files using the `findVideos.sh` file, USAGE:
  17. `bash findVideos.sh /top/dir/with/files`
  18. It will use find to locate all files of type (default .mkv) and check (using
  19. ffprobe) if is of type (default adds all non-av1 files to transcoding list).
  20. Your best bet is St. Isidore (patron St. of computers and those that use them)