This Gist provides an easy to use script for ripping DVDs using FFmpeg
.
Install
ffmpeg
,
libdvdcss2
and lsdvd
on your system.
lsdvd -x -Oy | sed -e 's/^lsdvd = //' -e "s/'/\"/g" | tr -d '\n'| sed -e 's/,\s*}/}/g' -e 's/,\s*]/]/g' |
This Gist provides an easy to use script for ripping DVDs using FFmpeg
.
Install
ffmpeg
,
libdvdcss2
and lsdvd
on your system.
% insert these two lines after your \usepackage{cleveref} | |
% then use \mintedlinelabel{labelname} inside the minted file using the "escapeinside" minted option | |
% then \cref and deriviates should correctly reference as "line x" | |
\newcounter{line} | |
\newcommand{\mintedlinelabel}[1]{\setcounter{line}{\value{FancyVerbLine}}\addtocounter{line}{-1}\refstepcounter{line}\label{#1}} |