VideoHelp Forum
+ Reply to Thread
Results 1 to 11 of 11
Thread
  1. 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?
    Quote Quote  
  2. anyone?

    does this belong in a different forum?
    Quote Quote  
  3. Member
    Join Date
    Feb 2004
    Location
    Australia
    Search Comp PM
    Welcome disgust.

    Any number of app's can do it ... picasa, WMM, wax2 ... just a matter of knowing which buttons to click for required output.

    And then again ... what is your current operating system ?
    Quote Quote  
  4. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    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
    See https://sites.google.com/site/linuxencoding/ffmpeg-tips
    Quote Quote  
  5. i'm on windows 7. my requirements are just that it be able to be done in batch, preferably with a gui. can SUPER do this?
    Quote Quote  
  6. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    No, Super doesn't do that.

    What's so difficult with that command line? It's not like Win7 can't do that.

    Scott
    Quote Quote  
  7. Member
    Join Date
    Mar 2011
    Location
    Paris, France
    Search PM
    Originally Posted by Baldrick View Post
    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
    Also, I get this error using "-vcodec x264":
    Unknown encoder 'x264'
    Next, I tried "-vcodec libx264", to no avail:
    ...
    [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
    Which video codec is recommended to upload a file to YouTube?

    Thank you.
    Last edited by yetanotherlogin; 22nd May 2012 at 08:26.
    Quote Quote  
  8. Member bat999's Avatar
    Join Date
    Feb 2008
    Location
    United Kingdom
    Search Comp PM
    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
    Quote Quote  
  9. Member
    Join Date
    Mar 2011
    Location
    Paris, France
    Search PM
    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
    I also tried this, which seems to work but turns a 40MB MP3 file into a 262MB AVI file
    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
    FWIW, I'm using ffmpeg.exe version 0.10.1.
    Quote Quote  
  10. Member bat999's Avatar
    Join Date
    Feb 2008
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by yetanotherlogin View Post
    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
    .
    ...
    Quote Quote  
  11. Member
    Join Date
    Mar 2011
    Location
    Paris, France
    Search PM
    Sorry about that. I didn't expect ffmpeg to fail simply because of the picture.

    After resizing it so that width/height are divisible by 2, the command ran successfully to generate the MP4 file (50 MB).

    Thank you.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!