You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: