
Now we must establish the script as executable, for which we do the following: sudo chmod +755.

vbsf h264_mp4toannexb -sn -f matroska $2 Once the file is open, we add the following: nice -15 ffmpeg -i $1 -y -vcodec copy -copyts -acodec ac3 -ab 192k \ To do this, we run our preferred text editor (it can be Gedit, as in my case, Nano, Vi or any other): Luckily in Linux we have alternatives for everything, and one way to face this problem is through a script that will allow us convert the audio of a MKV video from DTS to AC3 automatically. A very common case is that of power play MKV videos whose audio is in AC3 format but not being able to do so if it is in DTS format, something that now we are going to see how to solve. There are many models of Smart TV, so in that sense there is something for all tastes, but the truth is that some have somewhat curious restrictions regarding the formats supported for the reproduction of content, and that limits us a lot.
