looking for a gui tool that will let me batch convert mp3 with a jpg (for a still background "video" the whole time) to a video format.. any tips?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 11 of 11
Thread
-
-
If you like command line tools you can use ffmpeg, something like
Code:ffmpeg -i image.jpg -i audio.mp3 -f image2 -loop_input -vcodec x264 -acodec copy -shortest newvideo.mp4
-
What does "-f image2" do?
Running "ffmpeg.exe -h" shows this:
-f fmt force format
-loop_input deprecated, use -loop
Unknown encoder 'x264'
...
[mp3 @ 02109020] max_analyze_duration 5000000 reached at 5015510
...
[libx264 @ 02665020] width not divisible by 2 (465x315)
...
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Thank you.Last edited by yetanotherlogin; 22nd May 2012 at 08:26.
-
Hi
The syntax has changed.
Use this instead:-
Code:ffmpeg -loop 1 -i image.jpg -i audio.mp3 -shortest -c:v libx264 -c:a copy newvideo.mp4
-
Thanks for the tip. For some reason, I get the following errors:
[image2 @ 02102320] max_analyze_duration 5000000 reached at 5000000
[mp3 @ 02A16B00] max_analyze_duration 5000000 reached at 5015510
[libx264 @ 028F2560] width not divisible by 2 (465x315)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
ffmpeg -f image2 -loop_input -i picture.jpg -i audio.mp3 -vcodec mpeg1video -qscale 2 -acodec copy -shortest output.avi
...
Truncating packet of size 1024 to 546
Truncating packet of size 1024 to 1
Similar Threads
-
MkvТоMp4 v0.224 - rapid tool for repack Mkv to Mp4
By oreons in forum Video ConversionReplies: 808Last Post: 7th Mar 2022, 02:43 -
size avi, mp4, mkv
By hotsprout in forum Newbie / General discussionsReplies: 7Last Post: 18th Jul 2015, 14:25 -
MKV guide, Play MKV, MKV to AVI, MKV to DVD, MKV to MP4, MKV to Blu-ray
By Baldrick in forum Newbie / General discussionsReplies: 55Last Post: 29th Jun 2012, 12:19 -
trouble with audio after appending a .jpg turned .mp4 to another .mp4
By canadianjameson in forum Newbie / General discussionsReplies: 7Last Post: 26th Jun 2011, 10:55 -
Trying to join jpg converted to avi with mp3 and upload to youtube.
By Yosho in forum EditingReplies: 2Last Post: 24th Apr 2010, 21:02