Created
March 3, 2024 17:20
-
-
Save sepastian/44fbf0de3eedd6b3505767a8b4cf87d4 to your computer and use it in GitHub Desktop.
Camcorder to digital video
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Grab video from a camcorder using dvgrap, | |
# convert to h.265 encoded video using ffmpeg. | |
# | |
# https://trac.ffmpeg.org/wiki/Encode/H.265 | |
# https://regx.dgswa.com/html/content/dvgrab-ffmpeg-capture-compression | |
dvgrab --format dv1 --rewind - \ | |
| ffmpeg -f dv -i - \ | |
-vf yadif \ | |
-c:v libx265 -crf 26 \ | |
-preset fast \ | |
-c:a aac -b:a 128k \ | |
-tag:v hvc1 \ | |
output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment