I'm trying to use mencoder to make a video that has music playing over a single image. I'm using mf to add the image and I always get a video with about one second of audio with a reported length of 0:00. I've tried with a variety of mp3's and images from different sources and I tried using various codecs and options but I can't seem to get past this problem. Here's the basic command:
mencoder "mf://image.jpg" -o out.avi -ovc lavc -lavcopts vcodec=mjpeg -audiofile music.mp3 -oac copy
Does anyone know how to do this or why mencoder cuts the music to one second?