Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I convert a mp3 plus one image to flv?

Status
Not open for further replies.

crirus

Programmer
Jul 9, 2010
1
RO
Hello

I am trying to convert an mp3 plus cover image to flv, but I can't seems to make it work automatically,

I have this so far
/usr/bin/ffmpeg -loop_input -t 80 -f image2 -i store/large/1.jpg -i /store/1.mp3 -y -f flv -acodec libmp3lame -ab 64 -ac 1 /store/1.flv

-t is for how long to repeat, but then flv ends on 80 seconds, mp3 length is not accounted.
Any way to automate this to input parameters?

Thanks
Cris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top