Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

i have a .3GP file , i want tp add an image tp 3GP file , then , convert this file to MP4 ,'AVI' or even webm . That it means : the audio is from 3GP , the image from another file ; merge the two to have MP4 file How can i do it using : i try to convert 3GP file to mp3 file because i know how to merge MP3 file & image to get video file

mencoder mf://myimage.png -o out.avi -ovc lavc -lavcopts vcodec=mjpeg -audiofile myfile.mp3 -oac copy -fps 1/187 -ofps 30

However this conversion does not work

avconv -i myfile.3gp myfile.mp3
share|improve this question

1 Answer 1

up vote 0 down vote accepted

i find answer ; it is the same thing such as MP3 file , however you should use -oac pcm instead of -oac copy

mencoder mf://myimage.png -o out.avi -ovc lavc -lavcopts vcodec=mjpeg -audiofile myfile.3gp -oac pcm -fps 1/187 -ofps 30

the output file is;

 out.avi
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.