0

I'm a trying to create a simple application in C#.NET that can generate a video file from a stream of Images and an audio file. I chooses the Splicer and its working perfectly fine with my part of code. However when I try to put an mp3 audio format it shows an ERROR:An invalid media type was specified. I scanned the Splicer forum but didn't get anything useful. Any kind of help is appreciated. Here is a simple code:

        using (ITimeline timeline = new DefaultTimeline())
        {
            IGroup audioGroup = timeline.AddAudioGroup();
            ITrack rootTrack = audioGroup.AddTrack();
            rootTrack.AddAudio("testinput.mp3");

            using (
                WindowsMediaRenderer renderer =
                    new WindowsMediaRenderer(timeline, "output.avi", WindowsMediaProfiles.LowQualityAudio))
            {
                renderer.Render();
            }
        }
  • This sounds like a feature request for Splicer, or for you to figure out how to convert MP3 -> WAV – Mike Caron Mar 26 '13 at 22:06
  • I can convert the mp3 > wav without any issue but I want my app compatible with mp3 format. The code I posted is from the Splicer website itself which indicates that mp3 might be compatible with it. But I don't know where the things are getting wrong – user1150110 Mar 27 '13 at 04:15
  • What I was saying is that this question is probably better directed at the Splicer folks – Mike Caron Mar 27 '13 at 12:48
  • I already tried but they didn't respond. I saw here some SOLVED threads regarding Splicer and Image to Video topic, So I thought might someone has experience with this issue. – user1150110 Mar 27 '13 at 16:38
  • did you tried *AForge* ? https://stackoverflow.com/questions/9744026/image-sequence-to-video-stream/12376324?noredirect=1 – PreguntonCojoneroCabrón Aug 27 '18 at 21:43

0 Answers0