<div dir="ltr">Hello<br>I&#39;m having a problem when using my own videosource with the avimux and filesink. For some reason the avi that gets created is broken.<br>My videosource inputs MPEG4 video, one frame per buffer. And I&#39;m not using any audio in the pipeline.<br>
If I do videotestsrc -&gt; avimux -&gt; filesink everything works like it should work<br>But if I do this MPEG4src -&gt; avimux -&gt; filesink , two things can happen:<br>If I abort the pipeline without letting it finish correctly, then an AVI file gets created and I can play the video with e.g. VLC player. However the fps of the video<br>
isn&#39;t correct (it should be 15 frames per second but the playback speed is almost double of that). <br>If I don&#39;t abort the pipeline and let the file get finished (setting num-buffers of the source element to something like 100 or 300), then the avi file that gets created cannot be opened with any video player.<br>
So I&#39;m wondering if anyone has any ideas what might be causing the corruption of the AVI file. What kind of requirements are expected from the video source for it to be able to work with avimux?<br><br>Any help is greatly appreciated<br>
<br><br>- Jonne Mäkinen<br></div>