Hello,
1. Is it possible to quickly combine still image (one) and audio to video without reencoding audio and encoding video? Because for 2 hours long audio it takes 30min.
2. Maybe there is a secret code to the video encoder, not to encode the same image over and over - but just encode it one time and repeat it. So it would take f.e. 5 minutes to complete the same job.
+ Reply to Thread
Results 1 to 6 of 6
-
-
OK but -framerate 1 could possibly cause issues and it does encode video.
no-reencoding: do .m4a + cover Art.
If you are feeling adventurous, and want smallest filesize, try:
ffmpeg -loop 0 -i "photo.jpg" -i "audio.m4a" -c:a copy -c:v libx264 -crf 16 -tune stillimage -t 60 "out.mkv"
-loop 0 actually gives you a single frame of video, and you need to specify the duration in seconds instead of shortest, ex: -t 60:
It muxes fast, overhead vs audio-only is low and you can display subtitles (which you cannot do with audio+cover art). -
Thanks for your feedback. I have just uploaded video, made with command I found, to YouTube and everything is fine. YouTube processing was also very fast.
-
-
Not all players support this (mpc-hc/be does).
With your original command (1fps): filesize should not be much larger than audio.
-c:v libx264 -tune stillimage
Similar Threads
-
Add audio track to .avi without reencoding the video.
By [ss]vegeta in forum AudioReplies: 4Last Post: 14th Nov 2019, 15:33 -
[FFMPEG] How to merge flac and image to mkv (Wrong Color)
By Anonymous20 in forum Video ConversionReplies: 2Last Post: 7th Feb 2019, 09:34 -
Merge audio file and image to create a video. Error: "track 1: muxing mp3..
By DennisO in forum Newbie / General discussionsReplies: 3Last Post: 28th Nov 2018, 07:02 -
how to merge multiple audio with time offset to one audio file ?
By yanshof in forum ProgrammingReplies: 6Last Post: 4th Oct 2018, 12:35 -
Merge x265 without reencoding
By slobadaca in forum Video ConversionReplies: 3Last Post: 8th Jan 2018, 12:59