

Ideally I would want to convert with the settings from Working Settings when using ffmpeg, if that is possible.Īnd this is the output from running the command ffmpeg -i good.m4v -i bad.mp4 How can I have a script that can re-create the above settings (as my current one does not work)? I am using GSPOT to get audio/video codec info, and below are screenshots of good settings and bad settings.
Mkv2mp4 chapters mp4#
Question at hand is, how can I use a script (be it powershell or a diff programming language) to convert mkv files to mp4 files so that serviio can stream them? $newvid = ::ChangeExtension($oldvid.FullName, '.mp4')Ĭ:\FFMpeg\bin\ffmpeg.exe -i $oldvid.FullName -y -vcodec copy -acodec ac3 $newvid

This is the powershell script I am using to convert the files $oldvids = Get-ChildItem *.mkv -Recurse #-path 'C:\TestDir' I am using a powershell script and ffmpeg to convert mkv files to mp4 files so that I can stream them using serviio The script executes as it should, however when serviio tries to add the converted files to my library, they are not added.
