Skip to content

Instantly share code, notes, and snippets.

@vherolf
Last active April 4, 2018 21:19
Show Gist options
  • Save vherolf/7064323dfe4e7a2d09f90d368f2160fd to your computer and use it in GitHub Desktop.
Save vherolf/7064323dfe4e7a2d09f90d368f2160fd to your computer and use it in GitHub Desktop.
use dvgrab to archive old DV tapes to mp4
#!/bin/bash
##
## dvgrab
##
## use dvgrab to archive old DV tapes to mp4
##
dvgrab -size=0 -rewind -t mpeg2 -showstatus -timesys -autosplit=10000 dv-grabbed-video.dv
## and to properly convert it from interlaced video to a mp4 use yadif filter
ffmpeg -i dv-grabbed-video.dv -vf yadif -c:v libx264 -preset slow -crf 23 output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment