-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Hi, can anyone tell if it is possible to convert a single .ts or .mpg4 file to mp3 with SharpGrabber? Even better would be a working code example if it is possible :)
I tried with the following code, but it doesn't seem to work with some files, or it creates files that can't be played with the VLC player. Maybe I'm on the wrong track with this solution.
var concatenator = new MediaConcatenator("D:\test.mp3") { OutputMimeType = "audio/mpeg", OutputExtension = "mp3", }; concatenator.AddSource("D:\test.ts"); concatenator.Build();
Currently I use the MediaToolkit to convert. I feel like this is unnecessary to use yet another library in the project when SharpGrabber already uses ffmpeg.
Metadata
Metadata
Assignees
Labels
No labels