
This get progressively worse the further into the video I seek. If I seek to the same time in the video in both the MP4 and the TS file, the MP4 will be a few frames behind the TS file. Process.Start(Environment.GetFolderPath( have large MPEG-TS file that I am converting to MP4 using the below command. mp4")Įnd Sub Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Clickĭim R1 As DialogResult = OpenFileDialog1.ShowDialog()ĭim path1 As String = OpenFileDialog1.FileName ' Get part file Dim FileName1 As String = System.IO.Path.GetFileNameWithoutExtension(OpenFileDialog1.FileName) ' Get only Flie name without extension If R1 = ThenĮnd Sub Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Loadīutton1.Enabled = False End Sub Private Sub bFolder_Click(sender As Object, e As EventArgs) Handles bFolder.Click Process.Start( " cmd.exe", " /k ffmpeg -i " & FileName2 & " -c:v libx264 " & FileName1 & ". (Application.StartupPath & " \" & programName)


Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Clickĭim FileName1 As String = System.IO.Path.GetFileNameWithoutExtension(OpenFileDialog1.FileName) ' Get only Flie name without extension Dim FileName2 As String = OpenFileDialog1.FileNameĭim programName As String = " ffmpeg.exe"
