User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
media_help [2019/04/18 18:41]
media_help [2020/05/26 11:39] (current)
Line 36: Line 36:
 within the batch you can see the resolution of the GIF output. within the batch you can see the resolution of the GIF output.
 +===== Lower filesize of PuP-Pack Media (same resolution) =====
 +Original Post – [[https://​​forums/​topic/​the-addams-family-pup-pack/#​post-181370|https://​​forums/​topic/​the-addams-family-pup-pack/#​post-181370]]\\
 +H.264 Video Encoding Guide - [[https://​​wiki/​Encode/​H.264|https://​​wiki/​Encode/​H.264]]
 +For setting an mp4 video file to a reasonable size
 +Example: The Addams Family Pup-Pack came out 1.3 GB and this Batch files brought it down to 150 MB with no real noticeable difference (same resolution and fps) + it will also help with performance if media isn’t as ‘high-end’ bit rate.
 +Put this batch file in puppack root along with ffmpeg.exe and try it out. (result will be in your c:​\pup_resize).
 +The proper way is to take the pup_resize folder and copy/​paste/​overwrite into the original folder as that will keep all files and non-mp4 files (pngs/pup files)…etc
 +Info: In the Batch you will see -crf 24\\
 +The range of the CRF scale is 0–51, where 0 is lossless, 23 is the default, and 51 is worst quality possible.\\
 +A lower value generally leads to higher quality, and a subjectively sane range is 17–28.\\
 +Consider 17 or 18 to be visually lossless or nearly so; it should look the same or nearly the same as the input but it isn't technically lossless.\\
 +The packs that are already converted down won't change much…unless you reduce the quality a lot more.
 +ffmpeg.exe Is included with Terry'​s Conversion pack from Above
 +setlocal EnableDelayedExpansion
 +set outdir=C:​\pup_resize
 +if not exist %outdir% md %outdir%
 +for /R %%f in (*.mp4) do (
 +if not exist "​%outdir%%%~pf"​ md "​%outdir%%%~pf"​
 +ffmpeg -i "​%%~df%%~pf%%~nf%%~xf" ​ -c:v libx264 -preset fast -crf 24 -profile:v baseline -pix_fmt yuv420p -b:a 128k "​%outdir%%%~pf%%~nf%%~xf"​
 +===== Lower quality of PuP-Pack for lower end sytems =====
 +Sometimes, PuP-Pack authors will make very high-end packs that use HD video and multiple windows all playing at the same time. These will require a faster CPU/GPU to play nicely during gameplay. BUT, you can use some free media tools to downsize all the videos in the puppack to 720p, or 480p so that they should play eaiser on lower-end hardware.
 +Here's a zip file with a readme.txt for simple way to down-size a high-end pack: [[http://​​pup/​|http://​​pup/​]]
media_help.1555627308.txt.gz · Last modified: 2019/04/18 18:41 by pinupadmin