Commit fb44ea32 authored by Markus Seidl's avatar Markus Seidl

Tried multiple versions, nothing is working... :/

parent 21b3ae0b
......@@ -20,9 +20,10 @@ func Convert(infile *os.File) (outfile *os.File) {
var args []string
// ffmpeg -loop 1 -i koala.png -c:v libx264 -t 5 -pix_fmt yuv420p -vf scale=1920:1080 out.mp4
args = append(args, "-loop", "1", "-i",
args = append(args, "-loop 1", "-i",
infile.Name(),
"-c:v", "libx264", "-t", "5", "-pix_fmt", "yuv420p", "-vf", "scale=1920:1080",
// "-y", "-c:v", "libx264", "-f", "mp4", "-t", "5", "-pix_fmt", "yuv420p", "-vf", "scale=460:574", "-b:v", "50K", "-profile:v", "main",
"-y", "-vcodec", "h264_omx", "-f", "mp4", "-t", "5",
outfile.Name(),
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment