VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. What is the best way to combine 1 still Image with an audio track.

    I have tried
    Code:
    ffmpeg -loop_input -r 1 -i image.jpg -i audio.flac output.mkv
    but it always truncates at the end with this error
    truncating packet size of 1024 to 1
    .
    Quote Quote  
  2. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    TMPGEnc Plus with a bitmap image is my personal favorite.
    Quote Quote  
  3. An Avisynth script with a BMP set for the number of frames equalling the audio's length and the framerate you want. Use the encoder that gives the format output you want.
    Quote Quote  
  4. Member bat999's Avatar
    Join Date
    Feb 2008
    Location
    United Kingdom
    Search Comp PM
    @bseos
    If you do want to use FFmpeg.
    These commands are OK:-
    Code:
    ffmpeg -loop 1 -i image.jpg -i audio.flac -shortest -vcodec mpeg4 -acodec copy movie1.mkv
    Code:
    ffmpeg -loop 1 -i image.jpg -i audio.flac -shortest -vcodec libx264 -acodec copy movie2.mkv
    Last edited by bat999; 3rd Mar 2012 at 05:34.
    Quote Quote  
  5. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    The suggestion by hech54 is very-good, because for the MPEG-1 and MPEG-2 specs it's OK to multiplex an audio stream and 1 I-frame. However I still have not checked if the same "feature" applies to other types of video compression (MPEG-4 ASP, H264, or VC-1)
    Last edited by El Heggunte; 3rd Mar 2012 at 06:41. Reason: better wording
    Quote Quote  
  6. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    It should work with any of the MPEG formats, because that is supposed to be explicitly supported.

    Qt should also work. All other formats, you'll have to test and see.

    Scott
    Quote Quote  



Similar Threads

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