Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Reza-Rezvan authored Nov 6, 2024
1 parent 9669d66 commit a102a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This file converts a Plex DVR recorded TS file to an MP4 container file. In my
## Usage
To use the script copy it to whatever directory you want to run the folllowing command

`python video-transcode.py /path/to/ts/files`
`python video-transcode-py3.py /path/to/ts/files`

The script will find all the `.ts` files in that directory (NO SUBFOLDERS), then, using the `ffmpy` module in python, run `ffmpeg` on all the files to convert them to `mp4` files. It will put the transcoded file in the same directory as the original file. The script does NOT remove the original file. If you want to delete the original file, you can add the `--deleteOriginal` parameter to the command and if the transcoded file is between 0.25 and 1.2 times the size of the original it will delete the original.

Expand Down

0 comments on commit a102a9b

Please sign in to comment.