As I don't know the proper section for this, and rather than put it where it doesn't belong, I'm putting it here.
Does anyone know of a free utility, that can be downloaded from a safe site, that can append a single JPG to the end of an MP4 file as its last frame?
+ Reply to Thread
Results 1 to 10 of 10
-
-
if you have a video editing program use that. put the video and the image on the timeline and render it out. you can't just append a jpeg to an mp4 and expect it to work. the jpeg has to be converted to mp4 and then appended. there is a command line utility that can do it, but the learning curve is steep - ffmpeg.
--
"a lot of people are better dead" - prisoner KSC2-303 -
Thank you, aedipuss. I understand that it needs some type of conversion, which is what I was looking for a utility to do when appending it. The video editor that I sometimes use does not support MP4, except in its expensive, upgraded version. My somewhat limited need for this doesn't warrant my spending that much money for the upgrade.
-
Try VirtualDub2 to make a new MP4 file of just the image. Then append the two videos together with ffmpeg or AviDemux (without reencoding). The hard part is going to be getting the parameters similar enough to append.
-
You could also try with ffmpeg to make a single frame .mp4 file of your picture:
Code:ffmpeg -i mypic.jpg -vf "scale=1280:720, format=yuv420p, fps=30000/1001" -c:v libx264 out.mp4
Code:ffmpeg -loop 1 -r 0.001 -i mypic.jpg -vf "scale=1280:720, format=yuv420p, fps=30000/1001" -t 10 -c:v libx264 out_10s.mp4
-
Thank you Sharc and jagabo. I have the MP4 file's width,height, data rate, Total bitrate and frame rate (from the file's Properties). I expect I can use those as parameters to AviDemux (will use that as I'm not sure I can figure out all of ffmpeg's required parameters & structure). What other parameters from the MP4 file do I need to try to find? And will there be a problem, once I create the MP4 file from the JPG using VirtualDub2, that of course it won't have audio to match up to the MP4 file's audio?
-
I am afraid I can't help you with AviDemux as I am not familiar with it.
On the rare occasions when I want to concatenate a number of clips (e.g. short clips from the Mobile Phone) I normally take the safe route of reencoding them all (video and audio) using the same encoder settings (codec, resolution (scaling or padding), framerate, aspect ratio) in order to get a format-consistent set of files for later concatenation. I do this in ffmpeg, but any other encoder of your choice should be fine. -
Which may shed light on the concept:
https://forum.videohelp.com/threads/393903
Not entirely on topic though. -
[Attachment 51371 - Click to enlarge]
FREE MICROSOFT PHOTOS APP does it.
---
Windows 10 -> Start -> Microsoft PHOTOS app -> video projects tab.
Add a video and photo (like I did) into the library (top left box). Drag the video into the first timeline spot on the far left, the put the photo to its right (see photo example).
Boom, done! Just FINISH to export that video to your drive.
Similar Threads
-
MKVToolnix Muxing Append Error: Can't Append File to Itself
By koberulz in forum Newbie / General discussionsReplies: 2Last Post: 4th Sep 2019, 15:58 -
Create video using JPG and append to main video using AviDemux
By vfall in forum Newbie / General discussionsReplies: 4Last Post: 3rd Apr 2019, 12:31 -
[SOLVED] [ffmpeg] How to build a 5s MP4 from JPG to match video file?
By yetanotherlogin in forum EditingReplies: 4Last Post: 8th Oct 2018, 17:29 -
How to append multiple *.mp4 videos with ffmpeg?
By pxstein in forum Newbie / General discussionsReplies: 7Last Post: 21st Jun 2017, 10:07 -
Append 3 AVI (HuffYUV) files and encode them as 1 MP4/MKV in one step
By abolibibelot in forum Video ConversionReplies: 60Last Post: 1st Jul 2015, 10:36