title: How can I convert avi to mp4 using graphedit and ffdshow?
body: <p>I´m working on an application based on directshow that has to convert an AVI source file to to an mp4-file that can be played back with Quicktime.</p>
  
  <p>Since 3ivx, according to my web research the most popular way to fulfill this task,  has become commercial (and my budget is quite limited), I decided to use a solution based on ffdshow.</p>
  
  <p>I created a simple graph in graphedit, using LAME for audio encoding and GDCL MPEG 4 Multiplexor for the muxing, but everytime I try to play the movie with Quicktime, I´m getting an error indicating a wrong "sample description".
  Playback with Windows Media Player is working, except that there is no sound.</p>
  
  <p>My guess is that there´s a problem with the muxer, because every time I try to add audio encoding, graphedit automatically adds an decoder after the encoding unit (see picture link).</p>
  
  <p><a href="http://imageshack.us/photo/my-images/39/graphjrgr.png/" rel="nofollow">http://imageshack.us/photo/my-images/39/graphjrgr.png/</a></p>
  
  <p>Any ideas on how to integrate ffdshow in a better way, tips for alternative mp4 muxers, or a complete different approach are appreciated!</p>