[FFmpeg-user] Wanted to batch convert mp3 folder for youtube.

Mike King mr_stress at rogers.com
Fri May 5 21:46:34 EEST 2017


thanks for the hlep man. I just copy pasted it off the ONLY result that 
came close to what i was looking for so it wasnt what i wanted but 
closest to what i could get. I'll be sure to check it out. thanks very 
much :)


On 5/2/2017 4:18 PM, Lou wrote:
> On Mon, 1 May 2017 04:42:40 -0400
> Mike King <mr_stress at rogers.com> wrote:
>
>> I wanted to simply convert a folder of mp3's into a video with an image
>> in the folder as the video (simple youtube stuff) and found this line
>> that claims to do the trick
>>
>>
>> for %i in (*.mp3) do ffmpeg -f image2 -loop 1 -i folder.jpg -framerate 60 ^
>> -i "%i" -c:v libx264 -tune stillimage -c:a copy "%~ni.mp4"
> We do not provide support for scripts here.
>
>> but i get a red line of text in my CMD window saying Option Framerate
>> not found. Googling this problem has produced nothing i can perceive as
>> the answer.
> 1. Option placement location matters: options generally get applied to
> the following input or output.
>
> 2. "-framerate" is an image demuxer option (among others), not a libx264
> private option or general encoding option.
>
> If you want 60 frames per second move "-framerate 60" before "-i
> folder.jpg". However, I'm not sure why you need 60 fps for a video of a
> still image.
>
> The "-f image2" is superfluous here.
>
>> I can provide screenshots if necessary but i didnt want to risk worrying
>> anyone with attachments from a stranger and breaching some protocol.
> Screenshots should be avoided: the console output should be copied and
> pasted instead.
>
> I added your address to CC because you're not subscribed. There may be
> other replies, so check the archives:
>
> <https://lists.ffmpeg.org/pipermail/ffmpeg-user/2017-May/036006.html>
>



More information about the ffmpeg-user mailing list