Help! The site looks different!

Wonder what's going on? We've migrated the site to a new codebase. Please read the following letter: SFMLab Migration 2020

Note: SFMLab now uses Open3DLab Network accounts. (SmutBase and Open3DLab accounts) If you do not already have a SmutBase or Open3DLab account, please sign up through this link. Once your new Open3DLab Network account has been created, please log in and take a moment to link your old SFMLab account to your newly created account.

aregeecs' ffmpeg 4 dummies scripts

Is this your upload?

This project was originally uploaded by aregeecs. It has been connected to a system account that was used for the SFMLab site migration. Read more about the migration.

Is this one of your uploads? Connect your old SFMLab account to your Open3DLab Network account, and your uploads and comments will be re-assigned to your account automatically within 24 hours.

 Large preview image for aregeecs' ffmpeg 4 dummies scripts

Description

These are some simple scripts for windows users that let you convert animation image sequences or video files into some properly compressed MP4 or WEBM files and have some thumbnails made as well.

Also comes with a batch convert feature if you need to convert lots of legacy stuff.

For advanced users I suggest using AviDemux or MeGui to make individually fine-tuned MP4 files.

Instructions on how to use: http://aregeecs.tumblr.com/tutorial-sfm-video-files (this should be most up to date version of the manual) also mirror here on sfmlab: https://sfmlab.com/guides/read/5/


Filename Downloads Created Filesize
Files
aregeecs_ffmpeg_scripts_v3.1.7z
🇳🇱 EU Download
🇨🇦 NA Download
36 2016-01-31 2.34 KB
aregeecs_ffmpeg_scripts_v3.2.7z
🇳🇱 EU Download
🇨🇦 NA Download
39 2016-01-31 2.68 KB
aregeecs_ffmpeg_scripts_v3.1.zip
🇳🇱 EU Download
🇨🇦 NA Download
36 2016-01-31 17.21 KB
Previews
scripts-ico-largel.jpg
🇳🇱 EU Download
🇨🇦 NA Download
47 2020-03-01 157.61 KB
Thumbnail image for aregeecs' ffmpeg 4 dummies scripts

Comments

Love ffmpeg, but gifs it makes is really shitty :(
Reply • June 21, 2015, 7:57 p.m. -  imflain
|
[!embed](https://www.youtube.com/watch?v=a8c5wmeOL9o&ab_channel=Dylancliff111)
Reply • June 22, 2015, 12:34 p.m. -  SirSwaggington
|
The gif option is only intended for super small fallback thumbnails if MP4/WEBM thumbnails won't work in a users' outdated browser. Don't use GIFs anymore, and don't use ffmpeg's real super bad gifs at all unless crappy emergency fallback thumbnail.
Reply • June 21, 2015, 8:29 p.m. -  aregeecs
|
Then they fixed the palette generator, when I wrote the scripts it was entirely broken and just didn't create any. I'll add it to the next release again then.
Reply • June 21, 2015, 9:32 p.m. -  aregeecs
|
Looks like I'm wrong. Ffmpeg can create good gifs, but it needs to generate palette. ![Standart](http://a.loveisover.me/jbcriy.gif "Standart") ![With palette generation](http://a.loveisover.me/uhceuy.gif "With palette generation") Bat file: - ffmpeg -i "example.webm" -vf "fps=24,scale=320:-1:flags=lanczos,palettegen" -y "example_pal.png" - ffmpeg -i "example.webm" -i "example_pal.png" -lavfi "fps=24,scale=320:-1:flags=lanczos [x]; [x][1:v] paletteuse" -y "example_high.gif" - ffmpeg -i "example.webm" -vf "fps=24,scale=320:-1" -y "example_low.gif" - pause
Reply • June 21, 2015, 9:16 p.m. -  imflain
|
Oh, god... How can I paste code here?
Reply • June 21, 2015, 9:17 p.m. -  imflain
|
Followed this guide, put FFMPEG in the directory, refuses to export the movie; it generates the folders, but no files.
Reply • Sept. 6, 2015, 6:35 a.m. -  the_randomizer
|
Same here
Reply • Sept. 6, 2015, 4:29 p.m. -  red5101
|
Hey, I'm not sure if you're still checking this, but I'm having the same problem those guys above were having. I dragged and dropped your scripts into the ffmpeg folder, then dragging my FILENAME.txt onto the scripts, and it goes through a chunk of text and closes itself-- it only generates the folders, but no files. I tried putting "pause" at the end of the script, but it doesn't stop the .bat file from closing. Would appreciate the help! Thanks!
Reply • Sept. 17, 2015, 6:50 a.m. -  fellowfromthenorth
|
Actually, I just made a stupid mistake and put the scripts in the wrong folder (didn't see the bin folder, where ffmpeg's really located). However, now when I drag and drop it, it shows me a series of error messages telling me the files/directories it's trying to create cannot be found.
Reply • Sept. 17, 2015, 6:59 a.m. -  fellowfromthenorth
|
So I figured it out. But for future reference for anyone else with the problem of the the program running and closing itself without creating any video files after generating the folders: Make sure the filename is like, FILENAME000111.png (it needs to have 6 digits after filename), and start with 1-4 (in case you skip some frames in your export). I used a batch file rename-er and that fixed my problem for me.
Reply • Sept. 18, 2015, 6:30 a.m. -  fellowfromthenorth
|
Sorry, I wasn't around the internet this week, so I could not address your difficulties earlier. Yes what you describe are common problems that people have had, this just happens with super simple command line things. Thank you for adding how you alleviated the issues you ran into to the comment section, this is a good example for other users that the naming and placing details as described in the tutorial for the scripts must be followed to the letter since the simplistic batch scripting isn't any good to check for these automatically.
Reply • Sept. 22, 2015, 2:49 p.m. -  aregeecs
|
Don't want to come off as an idiot, but is there a way to convert the image sequence with sound or how would I go about editing it in?
Reply • Oct. 5, 2015, 3:14 p.m. -  Jujala
|
OK forget it, figured it out myself, there are command lines for merging video and audio files in ffmpeg and as the uninformed idiot that is me, I didn't know that. ffmpeg -i video.mp4 -i audio.m4a -c:v copy -c:a copy output.mp4 [Link](http://davidwalsh.name/combine-audio-video). You'll also need to change the .wav file into a m4a format. ffmpeg -i input.wav -strict experimental -c:a aac -b:a 240k output.m4a [Link](http://trac.ffmpeg.org/wiki/Encode/AAC) I'm aware most people probably already know that, I just post this on the off-chance another idiot like me had the same question.
Reply • Oct. 5, 2015, 5:53 p.m. -  Jujala
|
1
Reply • May 8, 2019, 7:26 p.m. -  hisrqjfx
|

Leave a comment

You need to log in if you want to leave a comment.