6/22/2023 0 Comments Mediainfo exe has stopped working![]() ' when we want to hide the ffmpeg standard error out the form is at the normal height ' when we show the ffmpeg out we make the RichTextBox visible and make the form height bigger Imports MediaInfoNET ' Add a reference to MediaInfoNET also Imports System.IOĭim OFD As OpenFileDialog ' Declare new openfiledialog Dim SFD As SaveFileDialog ' Declare new savefiledialog Dim mFile As MediaFile ' Dim InputFile As String ' Dim OutputFile As String ' Dim pathResult As String ' Dim FCount As Integer ' Dim KB As Integer ' Dim MB As Integer ' used to calculate file size Dim GB As Integer ' Private prcFFMPEG As New Processĭim psiProcInfo As New ĭim strFFCMD As String Dim ffReader As StreamReaderĭim strFFOUT As String Dim currentFramestr As String Dim currentFrameInt As Integer ' On Load Private Sub Form1_Load( ByVal sender As System. ![]() Next on the menustrip is Clear Information (optional), and I add a Convert, this is also optional.īe sure to name your buttons and labels for example, btnAddVideo, lblFrameCount, etc. this is named Bgw1 in the source filesĪdd the following items to the menustrip, file, under file add: Add video, SaveTo, and Exit. LinkLabel, you can use a button, instead I use this to hide the RichTextBox.Combobox, for preset options, and a menu strip.RichTextBox, to show the ffmpeg standarderror out.To follow along, here's what you will need on your form: 5 buttons, add video, browse, convert, cancel, exit, a progressbar, 17 labels for showing imported video stats (optional) and a couple for general labeling purposes. Once you have downloaded these files, copy both medialinfo.dll files and ffmpeg.exe to your project/bin folder. The source files will be included, except MediaInfo.dll, MediaInfoNet.dll and ffmpeg, you must download these yourself but a quick Google search will suffice. Without knowing the file you are using, I'm just guessing this is the cause & fix.Today, we are going to make a video converter using ffmpeg and VB.NET 2010. If you now -> right click -> library -> update Library from Tags, MC will now be populated with the correct Audio info (Compression, Channels etc) for the preferred MPLS. You will now find under the "Playback Info" field those preferences are saved. To "fix" it I play the movie -> right click -> title -> select the correct MPLS (eg 0000.mpls). In my example, the default is a Commentary Version of the movie (00018.mpls) that only has a 2ch LPCM track. The only time I see this issue, is on some BD disks where (as per the attached pic), MC selects the "default" Title as something that is not the main movie. The only thing SOT does, is check for ATMOS, DTS-X and then add that to the back of the "Compression" field as that is one are MC can not currently determine.įrom what I've seen MC does a really good job of populating the "best" audio track it finds. When MC does its initial import, it reads the file and populates the "Channels" Field (as well as the other Audio Fields). ![]() So if you want to test this and you already have the "Aspect Ration (Crop)" field in MC then you will need to delete it first from MC. Note: SOT only creates the MC fields when you do the "Configuration -> Save Configuration". Bug Fix: If SOT dropped to 1sec due to a short file length when determining the Crop Factor it would not revert to the preferred settings for subsequent files SOT MediaInfo will no longer stop processing on a MCWS failure (but will continue to log them). SOT will now create the Calculated "Aspect Ration (Crop)" field with zybex's equation ![]() Changed the Language parsing to remove duplicates, padding + it will not call MCWS if there is nothing to change If the value is blank or 0 then the Crop Factor will not run (so as to not slow down those who just want the Media Info meta data but don't want to check for the crop info) Your preferred value will be remembered between runs (stored in the INI file) Simple check (and warning in the log) if the desired point in the video to start measuring the Crop Factor is greater than the duration of the video itself (and SOT will instead measure from 1 sec so processing over lots of files can continue) ![]() Added the ability to enter in the desired point in the video to start measuring the Crop Factor ![]()
0 Comments
Leave a Reply. |