title: mp3 audio + background.jpg = result.mp4 in ffmpeg
body: <p>having problem converting video into mp4 to upload on youtube. </p>
  
  <p>I have converted into avi format with below command.</p>
  
  <pre><code>ffmpeg -y -i background.jpg -i deepmix.mp3 -c:a copy result.avi
  </code></pre>
  
  <p>but when i upload this to youtube it is in "processing state"(0%). as per this <a href="https://support.google.com/youtube/answer/71674?hl=en" rel="nofollow">https://support.google.com/youtube/answer/71674?hl=en</a> I waited 8 hours but no luck.</p>
  
  <p>also tried converting avi to mp4 with below command.</p>
  
  <pre><code>ffmpeg -i input.avi -c:v libx264 -crf 19 -preset slow -c:a aac -strict experimental -b:a 192k -ac 2 out.mp4
  </code></pre>
  
  <p>no luck. not able to play out.mp4 in vlc.(audio is playing no video) but when i upload this video to youtube it was in "processing state"(95%).</p>
  
  <p>also tried :</p>
  
  <pre><code>ffmpeg  -i result.avi -vcodec libx264 -crf 25 out.mp4
  </code></pre>
  
  <p>Still in "processing state"(95%) when i upload to youtube.</p>
  
  <p><strong>how do i directly convert into mp4 720hd video with one audio(mp3) and one image (jpg) ?</strong></p>