Hello
It's been over an hour, and ffmpeg ("version N-58043-g0062869 Nov 12 2013") is still not through creating an MP4 video from a 70mn MP3 file and a single PNG file:
I expected this to be pretty fast, so am wondering if I did something wrong.Code:ffmpeg.exe -loop 1 -i picture.png -i input.mp3 -c:v libx264 -c:a copy output.mp4
Thank you.
+ Reply to Thread
Results 1 to 4 of 4
-
-
-
Posted from previous request for a 1 image + 1 audio = 1 Video w/audio was listed as below. There was a problem with recent FFMpegs failing but I know the 04/26/2012 works up thru sometime in June 2012.
Simple 1X1 method: (04/26/2012 FFMPEG)
ffmpeg -loop 1 -r 1 -shortest -qscale 1 -i "pix2.jpg" -i "1.mp4" -acodec copy -vcodec mpeg4 "output.mp4"
Batch:
type the following, replacing the word Herringbone with the name of your image <for avi output>
for %a in (*.mp3) do "ffmpeg" -loop 1 -r 1 -shortest -i "Herringbone.jpg" -i "%a" -acodec copy "%~na.avi"
In the example below, replace the word Herringbone with the name of your image <for mp4 output>
for %a in (*.mp3) do "ffmpeg" -loop 1 -r 1 -shortest -i "Herringbone.jpg" -vcodec mpeg4 -i %a -acodec copy %a".mp4"
Or type the following, replacing the word Herringbone with the name of your image <for flv output>
for %a in (*.mp3) do "ffmpeg" -loop 1 -r 1 -shortest -i "Herringbone.jpg" -vcodec flv -i %a -acodec copy %a".flv"
-loop 1 will loop your input image, -r 1 will give the video a fps of 1, for a smaller file size. If this causes problem for some odd reason, you can take it out. -shortest will limit the output file to the length of the input audio file.
After thought... 70 Minutes x 60 seconds = 4200 seconds x 25 fps = 105000 frames. Could be why its taking a while.Last edited by Budman1; 7th Dec 2013 at 23:25. Reason: P.S. Thought
-
Thanks for the infos. It ran for about 6h total. I'll try again with "-shortest -tune stillimage" to see if that makes a difference.
Similar Threads
-
Problems with ffmpeg/mencoder burning subtitles to a mp4 file [h264 aac]
By landuchi in forum Video ConversionReplies: 0Last Post: 1st Oct 2012, 11:57 -
Avisynth: PNG sequences on MP4 video
By KBII in forum SubtitleReplies: 0Last Post: 7th Feb 2012, 04:08 -
Help with lossless ffmpeg command [video => png => back to video]
By vidgem in forum EditingReplies: 12Last Post: 15th Nov 2011, 10:30 -
Can someone make me a ffmpeg file for normalizing mp4 files? I am Clueless.
By xrayengineer in forum DVD RippingReplies: 2Last Post: 3rd Feb 2011, 19:46 -
How to add an mp3 audio file onto an mp4 video file?
By Tintin11 in forum RestorationReplies: 4Last Post: 4th Nov 2010, 06:01