![]() ![]() ![]() I used the following command: ffmpeg -i vlc-output.ts -acodec copy -vcodec copy car-free\ tourism. To anyone having this problem, download ffmpeg (will usually be in a zip), extract, go inside bin directory, and copy path (eg. Process.Start(Environment.GetFolderPath(Environment.SpecialFolder. The codecs within the file are h.264/AAC, so I thought it would be trivial to use ffmpeg to convert the file from a TS container to MP4 container, so that I can play the file in QuickTime. 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 "
0 Comments
Leave a Reply. |