Skip to content
This repository has been archived by the owner on Dec 23, 2022. It is now read-only.

keep extension #131

Open
aakhter opened this issue Jun 9, 2019 · 2 comments
Open

keep extension #131

aakhter opened this issue Jun 9, 2019 · 2 comments

Comments

@aakhter
Copy link

aakhter commented Jun 9, 2019

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...

@FallingSnow
Copy link
Owner

No there is not.

@jefro108
Copy link

jefro108 commented Jun 27, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants