User Tools

Site Tools


media_help

Media Help

Rotating Playfield Videos 180 degrees

For optimal performance… its recommended to rotate your playfield videos if they are 180 degree rotated. Or if you have 4K screens… why bother and make brand new 4K30fps playfield videos :)

also, with the autorecord feature you can have Popper automatically create all new 'fresh' media that will make the front-end run a lot smoother than using your older media. See here:

simple process:

create a temp folder somewhere and copy all your playfield videos there.

grab this file: http://www.nailbuster.com/pup/Rotate180.zip

unzip into your temp folder

run the batch file (rotate_180.bat for 180 degree) and it should create a sub_folder and start converting/rotation all files for you automatically. THIS MAY TAKE A LONG TIME if you have alot of files, so maybe run overnight or something if you need to. Batch file is setup to do mp4s. but if you look at batch, you can very easily change it to *.flv or *.mov (other video filetypes) and re-run batch.

Terry's Media Conversion pack

Pin2K and Flipping your DMD images

BTW: If you have a pin2k cabinet the above method is the same, but instead of running the rotate180.zip you use this one to flip Y access on dmd videos.

http://www.nailbuster.com/pup/YFlip-All-mp4s.zip

Real DMD Users convert videos to animated GIFs

Starting in v1.4 if you do not wish to use the MIRROR method for real-dmds you can use pngs or animated gifs.

If you have a real-dmd, the above method is the same, but instead of running the rotate180.zip you use this one:

try this batch to convert them to animated gifs: (experimental) http://www.nailbuster.com/pup/make_anigifs.zip

within the batch you can see the resolution of the GIF output.

Lower filesize of PuP-Pack Media (same resolution)

Original Post – https://vpinball.com/forums/topic/the-addams-family-pup-pack/#post-181370
H.264 Video Encoding Guide - https://trac.ffmpeg.org/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

https://pastebin.com/xKXnUCXY

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"
)
pause

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://nailbuster.com/pup/PUPresizeAllMedia.zip

media_help.txt · Last modified: 2020/05/26 11:39 by pinupadmin