Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianDMG authored Mar 31, 2017
1 parent 32f446b commit 6860226
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# conv2mp4-py
Pythonl script that recursively searches through a user-defined file path and convert all videos of user-specified file types to MP4 with H264 video and AAC audio as needed using ffmpeg. If a conversion failure is detected, the script re-encodes the file with HandbrakeCLI. Upon successful encoding, Plex libraries are refreshed and source file is deleted. The purpose of this script is to reduce the amount of transcoding CPU load on a Plex server and increase video compatibility across platforms.<br><br>
<b><u>Dependencies</u></b><br>
This script requires ffmpeg, ffprobe (included with ffmpeg), and Handbrake (HandbrakeCLI.exe) to be installed. You can download them from here:<br>
This script requires Python 2.7+, ffmpeg, ffprobe (included with ffmpeg), and Handbrake (HandbrakeCLI.exe) to be installed. You can download them from here:<br>
<a href="https://www.python.org/downloads/">Python 2.7+</a><br>
<a href="https://ffmpeg.org/download.html">ffmpeg</a><br>
<a href="https://handbrake.fr/downloads.php">Handbrake</a><br><br>
Expand All @@ -13,7 +13,7 @@ There are several user-defined variables you will need to edit using notepad or
<b>file_types</b> = the extensions of the files you want to convert in the format "*.ex1", "*.ex2"<br>
<b>log_path</b> = path you want the log file to save to.<br>
<b>log_name</b> = the filename of the log file
<b>plex_ip</b> = the IP address and port of your Plex server (for the purpose of refreshing its libraries)
<b>plex_ip</b> = the IP address and port of your Plex server (for the purpose of refreshing its libraries)<br>
<b>plex_token</b> = your Plex server's token (for the purpose of refreshing its libraries).<br>
<i>NOTE: See https://support.plex.tv/hc/en-us/articles/204059436-Finding-your-account-token-X-Plex-Token<br>
Plex server token is also easy to retrieve with PlexPy, Ombi, Couchpotato, or SickRage<br>
Expand Down

0 comments on commit 6860226

Please sign in to comment.