[libav-tools] convert multiple dv (type 2) to single mp4
lu_zero at gentoo.org
Sat Oct 31 18:27:06 CET 2015
On 31/10/15 06:37, Nick Lawrence wrote:
> I used dvgrab to import the video from my mini-dv tape, via firewire
> I have now have multiple dv (type 2) files, each one a gigabyte in size.
> Each file is about four minutes of video, in order.
> frame rate is 25 frames per second
> dimensions is 720 by 576
> What avconv command to convert all the dv files to a single mp4?
avconv -i dv1.dv -c:v libx264 1.ts
avconv -i dv2.dv -c:v libx264 2.ts
cat 1.ts 2.ts | avconv -i - -c copy out.mp4
Should work fine.
for a in *.dv; do
avconv -i $a -c:v libx264 $a.ts
cat *.ts | avconv -i copy out.mp4
if they are properly numbered.
More information about the libav-tools