converting mp4 to mp3 in vb.net RRS feed

  • Question

  • hello every one i did try to convert mp4 to mp3 file and found ffmpeg but its being converted to mkv will someone please guide me how to achieve that 

    here is the source code 

     Sub convgo(ByVal inputfile As String, ByVal outputdir As String)
            newcoder.OverWrite = False
            newcoder.SourceFile = inputfile
            newcoder.Format = newcoder.Format_Matroska
            newcoder.AudioCodec = newcoder.AudioCodec_Copy
            newcoder.Video_Codec = newcoder.Vcodec_h264
            newcoder.Threads = 2
            newcoder.OverWrite = True
            newcoder.ConstantRateFactor = 17
            newcoder.RateControl = newcoder.RateControl_CRF
            newcoder.Libx264_Preset_pass1 = newcoder.libx264_default
            newcoder.OutputPath = outputdir
        End Sub

    • Moved by Youjun Tang Monday, May 25, 2015 11:07 AM more related to the suggested forum
    Friday, May 15, 2015 5:17 PM


  • This forum is for questions about Visual Basic. For help using FFmpeg, try the FFmpeg forum, that is where the people how know about FFmpeg will be.
    • Proposed as answer by Frank L. Smith Saturday, May 16, 2015 12:20 PM
    • Marked as answer by Just Karl Friday, May 29, 2015 4:16 PM
    Friday, May 15, 2015 5:24 PM