Hi, I want to make a video slideshow of image files, but with additional option.
I already find there is a way to make video slideshow of image files with FFmpeg,
but I also need to put a filename at the bottom of every image.
Here is an example, this image filename is Guitar01 so that text should be added at the bottom of the image. So every image in video slideshow should have its filename 'stamped' at the bottom of image.
https://imgur.com/a/Bh2iWVN
Is there a program that have option like that? Or a script in FFmpeg?
+ Reply to Thread
Results 1 to 17 of 17
-
-
Maybe pre-process the images in a batch with Photoshop/etc, to give the watermark names?
Slideshow second.Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
There is a x86 plugin for avisynth ImageSequence.dll, that can read wildcards (e.g. *.jpg) and overlay the file name. You have control over positioning, fonts, colors
http://avisynth.nl/index.php/ImageSequence
But there is a bit of a learning curve for avisynth, and you have to adjust the parameters for the "video slideshow" . Such as frame rate, number of frames (e.g. duplicate the frames using ChangeFPS, then AssumeFPS) . Or there are other ways, such as making a variable frame rate video -
You don't even need a third party filter If the frame number corresponds to the filename. You could use AviSynth's ScriptClip() to build the filename from the frame number. For example, if the image sequence has the form:
PIC00000.JPG
PIC00001.JPG
PIC00002.JPG
Ie, "PIC" followed by a 5 digit number (with leading zeros), followed by ".JPG"
Code:ImageSource("PIC%05d.JPG") ScriptClip("""Subtitle("PIC"+String(current_frame, "%05.0f")+".JPG")""")
-
One benefit of ImageSequence is it does not require sequential numbering, and the wildcard input
guitar01.jpg
ukelele.jpg
hornucopian_dronepipe.jpg
Code:CoronaSequence("*.jpg", textmode=1)
http://avisynth.nl/index.php/ImageSequence#Filename_output -
Code:
CoronaSequence("*.jpg", textmode=1)
Code:CoronaSequence("*.jpg", textmode=3, expression="midstr(filename,7,3)")
-
There is an incompatibility between 3.6.x avisynth versions and older plugins . It causes problems with some programs. It crashed mpchc for me . I think you need avisynth 2.6 classic x86 for that old plugin to work, or that plugin needs to be updated. Some incompatibility in the header. All you need to do is replace avisynth.dll in the SysWOW64 directory
-
corona.avs
Code:CoronaSequence("*.jpg", textmode=1, x=-1, y=200, size=25) AssumeFPS(1) loop(10)
Code:ffmpeg32 -i corona.avs -c:v libx264 -crf 20 -an test.mp4
I used 3 test images, black.jpg, cyan.jpg, white.jpg
Output file is test.mp4 -
I finally managed to work, it worked only in ffmpeg32, all other programs didn't, even though I used 32bit versions.
Thank you! Script works great!
Similar Threads
-
youtube-dl add custom filename
By m0ck in forum Video Streaming DownloadingReplies: 2Last Post: 22nd May 2020, 08:24 -
ffmpeg - create video from scrolling image
By M00nsp3ll in forum Newbie / General discussionsReplies: 0Last Post: 7th Apr 2020, 16:27 -
Add image to video
By Fragha in forum EditingReplies: 8Last Post: 15th Feb 2018, 13:52 -
How to add thumbnail image displayed for MKV files?
By gringott in forum EditingReplies: 4Last Post: 19th Feb 2017, 22:02 -
Create Encoded Date flag from filename?
By Pumbaa in forum Newbie / General discussionsReplies: 12Last Post: 24th Oct 2015, 10:50