Post Reply 

Help Creating a Script?

Nov 5, 2013, 03:10 (This post was last modified: Nov 5, 2013 03:12 by Captain_Cereal_Hands.)
Post: #16
RE: Help Creating a Script?
Okay so I'm creating the movie (I went with Mpeg-4) and I've figured out the Fps. I went with 10 Fps for a total length of 2 minutes 30 seconds. The question now is what should I set the data rate at? As long as the quality isn't any worse than the current quality of the pictures we're good. What do you guys think?

Forget to mention I'm doing this in Quicktime and when I go to open image sequence and I open the files when I go to movie properties before I save it it says the data rate is 23.04Mb's
Find all posts by this user
Quote this message in a reply
Nov 5, 2013, 05:47
Post: #17
RE: Help Creating a Script?
(Nov 5, 2013 03:10)Captain_Cereal_Hands Wrote:  Okay so I'm creating the movie (I went with Mpeg-4) and I've figured out the Fps. I went with 10 Fps for a total length of 2 minutes 30 seconds. The question now is what should I set the data rate at? As long as the quality isn't any worse than the current quality of the pictures we're good. What do you guys think?

Forget to mention I'm doing this in Quicktime and when I go to open image sequence and I open the files when I go to movie properties before I save it it says the data rate is 23.04Mb's

It all comes down to the purpose of your animation/video. Where are you going to upload it to?

At a data rate of 23.04 mb /s that means about 23mb per second of film, thats a lot, estimated total file size is around 72 gb (gigabytes).
If you want to save on bandwidth, you'll probably want to test out a lower bit/data rate, maybe 5 or 7mb / s

Let this be a guide for what rate to pick, if your streaming/hosting it online, also consider the cache of the viewers browser
http://www.ezs3.com/public/What_bitrate_...he_web.cfm
Visit this user's website Find all posts by this user
Quote this message in a reply
Nov 5, 2013, 12:35 (This post was last modified: Nov 6, 2013 09:44 by rich2005.)
Post: #18
RE: Help Creating a Script?
@Captain_Cereal_Hands
Quicktime??? what OS are you using?

If you are going to render to video a couple of things to look out for.

Video size
Have a look at this site for all things video http://www.videohelp.com/
Top left corner is a section What is: Blu-ray/DVD/VCD which gives specs for each type
So for HD you are probably looking for a frame size 1920x1080 or 1280x720 frame rates maybe 25 or 30 and the bitrate can be much less than the maximum.

Had to have a go, YouTube is not too bad at 1280x720
Using ofnuts plug-in and a 30 pix strip moving horizontally one pix at a time = 1280 frames took 1 hour 45 minutes. I used png rather than jpeg so the files occupy 1.7 GB Smile

Rendering to video using ffmpeg:
I am using a linux machine so it is easy to get these applications. I know that Imagemagic (windows) contains a version of ffmpeg you can always find links on the videohelp site in the tools section.
the basic command is
Code:
ffmpeg -i i%03d.png  -r 30 -qscale 5  r30q4.avi
where -r = frame rate
-qscale is a quality setting 1 is high 8 is low
this will choose the best bitrate for that quality.

You can put lots more parameters in there, straight to mp4, mux in some audio, just keeping it simple.
Took about a minute 30 secs to render the video with a size 14.5 MB bitrate is around 2200 bps

I think if you want to change the format, add audio, add a logo, add subtitles Avidemux is a good choice.
Got it down to 2.2 MB (no audio) with a bitrate that jumps about, probably 1000 bps max.
Youtube complains about the format but accepts it. It is probably better to convert to Xvid(DivX) and accept a slightly larger file size than mp4.

Result not the best of subject matter and I should have made the strip wider. FWIW
having a tidy up - everyone finished with this ...going..going..gone
http://www.youtube.com/watch?v=C38xNn5Gu3U&hd=1

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Nov 5, 2013, 23:47
Post: #19
RE: Help Creating a Script?
So I ended up creating the movie at 25Fps and it was 17Mb's as an Mpeg-4. Thanks for everyone's help.
Find all posts by this user
Quote this message in a reply
Jul 23, 2014, 12:04
Post: #20
RE: Help Creating a Script?
How would I install this plugin on a Mac I just switched over.
Find all posts by this user
Quote this message in a reply
Jul 23, 2014, 14:54
Post: #21
RE: Help Creating a Script?
(Jul 23, 2014 12:04)Captain_Cereal_Hands Wrote:  How would I install this plugin on a Mac I just switched over.

Is that Ofnuts plugin?
If so it will still go in the Gimp profile .gimp-2.8/plug-ins wherever that maybe in OSX

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Script-fu script to conversion pdf to image 4ever 12 4,445 Jul 17, 2018 16:01
Last Post: paynekj
  Problems with a bat script :( ThaUnknown_ 1 378 Mar 26, 2018 21:14
Last Post: paynekj
  Script-fu ordered file list vnicent 1 218 Mar 19, 2018 17:33
Last Post: paynekj
  script-fu argument/parameter formats dhugg 2 357 Mar 13, 2018 00:50
Last Post: dhugg
  Request for script chlebna 1 521 Sep 13, 2017 09:35
Last Post: ythgilb

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS