2018/03/18

ffmpeg conversion from h265 to h264

some strange reason, lastest version of VLC doesn't work very well under Slackware. I got sick tired of it and decided to go back to 2.0.7. But a problem arise when I want to watch a video encoded with h265. So I ended up converting them to h264 using a simple command line.

#!/bin/bash

for file in *.mkv
        do ffmpeg  -n -i "${file}" -map 0 -c:a aac -c:s copy -c:v libx264 264/"${file}"
done



No comments:

Post a Comment