This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Learning material for Scala | |
This is a little gist created for the talk "From PHP to Scala: My experience" in 2024 during the Scala Matsuri. | |
* <b>[Rock the JVM](https://rockthejvm.com/):</b> One of the best resources you can find honestly. He has a Youtube channel where you can find free courses to Scala and even if free the quality is very high, with this free courses you can understand a lot of how Scala works. But the paid courses are the best part!! Rock the JVM published during the time a lot of different courses. It offers Scala basic and advanced courses and also very specific courses for libraries and frameworks such as Cats, Akka, ZIO ecc... | |
* <b>[Scala Book](https://docs.scala-lang.org/scala3/book/introduction.html):</b> The Scala book is basically a really quick introduction into the magical world of Scala. The book consists in more than 50 lessons. In my opinion is one of the mandatory stuff you need to read if you want to start working with Scala. | |
* <b>[Tour of Scala](https://tourofscala.com/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import os | |
from os import path, system | |
pathFile = args[1] | |
outputFile = args[2] | |
print("Converto file "+pathFile) | |
ffmpegCommand = f'ffmpeg -y -threads 0 -i {pathFile} -c:v libx264 -x264opts \'keyint=24:min-keyint=24:no-scenecut\' -profile:v high -level 4.0 -vf "scale=min\'(720,iw)\':-4" -crf 22 -movflags faststart -write_tmcd 0 {outputFile}' | |
#folderModifiche = folderModifiche + nomeProgetto |