snorkel 15 Posted July 9, 2018 Share Posted July 9, 2018 Does anyone have a post processing script that can convert recordings to a friendly format? i.e. all my over the air recordings transcode because the HDHomeRun stores them in the native format of mpeg2. I can't seem to get the new convert option to work. Link to comment Share on other sites More sharing options...
tdiguy 96 Posted July 14, 2018 Share Posted July 14, 2018 It is not ideal, but i use the following script to batch convert files: #!/bin/bash DIR="/temp-1/" cd "$DIR" for i in *; do # ffmpeg -i "$i" -strict -2 -vf scale=960:480 -threads 2 "/temp-1/out/${i%.*}.mp4" # ffmpeg -vaapi_device /dev/dri/renderD128 -i "$i" -vcodec libx265 -strict -2 -vf scale=720:480 -threads 2 -vf 'format=nv12,hwupload' -c:v h264_vaapi -crf 24 "/temp-1/out/${i%.*}.mp4" ffmpeg -i "$i" -preset veryfast -threads $1 -strict -2 -vf scale=720:480 "/temp-1/out/${i%.*}.mp4" done I also have this resizing recordings to cut down how much room they take up. Its not ideal or automated but its something Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now