What is the best way to combine 1 still Image with an audio track.
I have triedbut it always truncates at the end with this errorCode:ffmpeg -loop_input -r 1 -i image.jpg -i audio.flac output.mkv.truncating packet size of 1024 to 1
+ Reply to Thread
Results 1 to 6 of 6
-
-
@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.
-
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
-
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
Similar Threads
-
How to combine *.264 video + *.aac audio to one file?
By video-fan in forum Video ConversionReplies: 5Last Post: 18th Oct 2011, 02:38 -
Combine two AVI with AC3 audio
By vassie in forum Video ConversionReplies: 3Last Post: 25th Dec 2010, 02:52 -
How do i combine a video file and audio for two different movie sources??
By Kyisha in forum Newbie / General discussionsReplies: 3Last Post: 22nd Mar 2010, 06:03 -
Problem convert DVD file to xvid with combine audio channels
By Aquatoid in forum Video ConversionReplies: 5Last Post: 26th Feb 2010, 16:45 -
Does anyone know how to combine a still image with a motion file?
By zanos in forum Newbie / General discussionsReplies: 6Last Post: 5th Mar 2008, 02:02