Browse Source

Merge branch 'master' of git.lattuga.net:incandenza/docs

Luca Conte 5 months ago
parent
commit
5e09456a33
2 changed files with 38 additions and 1 deletions
  1. 14 1
      arch.md
  2. 24 0
      ffmpeg.md

+ 14 - 1
arch.md

@@ -79,4 +79,17 @@ sudo pacman -Syyuu
 ```
 
 Salvare il mirrorlist modificato con nome indicante data di backup.
-Ripristnare il vecchio mirrorlist
+Ripristnare il vecchio mirrorlist
+
+##Nvidia driver
+Piccola nota: o installi 
+```
+sudo pacman -Sy nvidia
+```
+e questo fa funzionare il kernel standard
+oppure installi
+```
+sudo pacman -Sy nvidia-dkms
+```
+
+e questo fa installare il kernel custom (leggasi RT) a patto che prima si siano installati gli headers di quel kernel

+ 24 - 0
ffmpeg.md

@@ -0,0 +1,24 @@
+## Playing with ffmpeg
+
+...to extrac, manipulate and reassmbly frames 
+
+### Frames extraction
+In running the command take note about original video fps
+```
+ffmpeg -i video.mp4 %05d.png
+
+```
+
+### Video creation from frames
+In running the command take note about original video fps
+```
+ffmpeg -framerate 30 -pattern_type glob -i '*.png' -c:v libx264 -pix_fmt yuv420p paint.mp4
+
+```
+
+### Video warping from  images 
+Using CUDA:
+
+```
+ffmpeg -y -fflags +genpts -r 30 -hwaccel cuda -hwaccel_output_format cuda -pattern_type glob -i '*.png' -vf "setpts=100*PTS,minterpolate=fps=24:scd=none" -pix_fmt yuv420p  -c:v h264_nvenc "test01.mp4"
+```