title: Gstreamer playing audio and video together
body: <p>I was trying to learn about gstreamer pipelines. Now I want to play an mp4 video containing h264 encoded videos frames and aac encoded audio samples.
  for playing video samples I used the following pipeline</p>
  
  <pre><code>gst-launch-0.10 filesrc location=~/samples/step_up_dance_1080p.mp4 ! qtdemux name=dmux dmux.video_00 ! h264parse ! ffdec_h264 ! autovideosink 
  </code></pre>
  
  <p>I  used the following pipeline for playing audio alone</p>
  
  <pre><code>gst-launch-0.10 filesrc location=~/samples/step_up_dance_1080p.mp4 ! qtdemux name=dmux dmux.audio_00 ! aacparse ! faad ! autoaudiosink
  </code></pre>
  
  <p>Both are working fine, But I want to combine both audio and video. How do I do it ?
  I tried </p>
  
  <pre><code>gst-launch-0.10 filesrc location=~/samples/step_up_dance_1080p.mp4 ! qtdemux name=dmux dmux.video_00 ! h264parse ! ffdec_h264 ! autovideosink  dmux.audio_00 ! aacparse ! faad ! autoaudiosink
  </code></pre>
  
  <p>But it was not working.
  How do I play audio and video together ?</p>