h265ize icon indicating copy to clipboard operation
h265ize copied to clipboard

keep extension

Open aakhter opened this issue 6 years ago • 2 comments
trafficstars

Is there a way to keep the file extension (eg. mkv, mp4) the same as the original file. This would of course mean matching the container...

aakhter avatar Jun 09 '19 04:06 aakhter

No there is not.

FallingSnow avatar Jun 13 '19 05:06 FallingSnow

I use a workaround with the find command find "/Path/to/media/files" -type f -iname "*.mkv" -exec h265ize -v -m medium -q 25 --he-audio --delete {} \; to select just the mkv files. If I want to process mp4 files: find "/Path/to/media/files" -type f -iname "*.mp4" -exec h265ize -v -m medium -q 25 -f mp4 --delete {} \; which forces a mp4 output file.

Yes I use the 'dangerous' delete command but the files are on a ZFS server with automatic snapshots so I can always retrieve the original if necessary.

jefro108 avatar Jun 27 '19 23:06 jefro108