Skip to content

Commit 4326b27

Browse files
authored
Update README.md
Add info for --deleteOriginal parameter
1 parent ef44c45 commit 4326b27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ To use the script copy it to whatever directory you want to run the folllowing c
66

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

9-
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. It leaves it to you to validate that the conversion looks ok, then you can delete the original if you like.
9+
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.
1010

1111
## Tested
1212
I've test this on Python 2.7.5 as that is what I have on my server. Feel free to post any bugs AND SOLUTIONS if there are problems with other versions.

0 commit comments

Comments
 (0)