patch
This commit is contained in:
parent
6ae791d224
commit
4760fda524
7
src/patch.sh
Normal file
7
src/patch.sh
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
for fmv in *.wmv; do
|
||||||
|
ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i "$fmv" -vf 'format=nv12,hwupload,vflip' -c:v h264_vaapi "${fmv%.wmv}.mp4";
|
||||||
|
rm -rf $fmv;
|
||||||
|
mv -- ${fmv:0:-4}.mp4 $fmv;
|
||||||
|
done
|
Loading…
x
Reference in New Issue
Block a user