(the file bad.mp4 is one that the script above was used to convert) ffmpeg version N-80256-g0a9e781 Copyright (c) 2000-2016 the FFmpeg developersĬonfiguration: -enable-gpl -enable-version3 -disable-w32threads -enable-nvenc -enable-avisynth -enable-bzlib -enable-fontconfig -enable-frei0r -enable-gnutls -enable-iconv -enable-libass -enable-libbluray -enable-libbs2b -enable-libcaca -enable-libfreetype -enable-libgme -enable-libgsm -enable-libilbc -enable-libmodplug -enable-libmfx -enable-libmp3lame -enable-libopencore-amrnb -enable-libopencore-amrwb -enable-libopenjpeg -enable-libopus -enable-librtmp -enable-libschroedinger -enable-libsnappy -enable-libsoxr -enable-libspeex -enable-libtheora -enable-libtwolame -enable-libvidstab -enable-libvo-amrwbenc -enable-libvorbis -enable-libvpx -enable-libwavpack -enable-libwebp -enable-libx264 -enable-libx265 -enable-libxavs -enable-libxvid -enable-libzimg -enable-lzma -enable-decklink -enable-zlib 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. 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' You can also drag and drop your MKV files directly into the program to convert them. Find and select the MKV files on your computer and click Open to bring them into Switch to convert them to the M4A file format.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |