darthsLair on 25/10/2014 at 22:23
I am working on some 720x480 .avi (Divx) videos to use as briefing,cutscene ect. The quality is good providing the bitrate is higher than the Lgs original Indeo format.
I read this thread: (
http://www.ttlg.com/forums/showthread.php?t=141230&highlight=Movies+in+NewDark) http://www.ttlg.com/forums/showthread.php?t=141230&highlight=Movies+in+NewDark
Below are the options in Cam_Ext for using a higher or lower quality movie.
; display movie within the UI area instead of maximizing (only meaningful when "ui_scale_mode 1" is specified)
;scale_movie_to_ui
crop movies to fill out widescreen displays better (does NOT work in combination with "scale_movie_to_ui")
; the original shock cutscenes are letterboxed so this works well there, for thief it's a judgement call to
; lose some of the bottom and top parts of the image in favor of covering more of the monitor (the default
; crop rect, when not supplying a custom one, is optimized for SS2 and is 0 70 640 340)
crop_movies
; alternatively a custom crop rect (left, top, width, height) can be specified with the "crop_movies" var
; in virtual 640x480 space, meaning regardless of what resolution the movie is the crop rect is still
; specified as if the movie were 640x480
crop_movies 0 70 720 480
; filter quality used during internal processing of movie, default is 4, if you have performance issues
; you can try lowering the quality
;movie_sw_scale_quality 2
; (thief) list of movies to exclude from cropping (only used if "crop_movies" is enabled)
movie_crop_exclude credits.avi+success.avi+death.avi+B01.avi+b02.avi+B04.avi+B05.AVI+B06.avi+B07.avi+b08.avi+b09.avi+b10.avi+b11.avi+B12.avi+B13.avi+b14.avi+b15.avi .avi+b21 .avi+b23
; (shock) list of movies to exclude from cropping (only used if "crop_movies" is enabled)
;movie_crop_exclude intro.avi+credits.avi
; gamma setting for movie playback (default is 1.0)
;gamma_movie 0.7
keep ffmpeg dll loaded to reduce technical issues
no_unload_ffmpeg
Removing the semi-colon from crop_movies 0 70 720 480 still cuts off the top and bottom of the video, other than that the videos play fine.
Reading some info on the subject it seems as if no one has come up with a solution yet of either cropping the height of the ui screen? Anyone successfully use any high res videos yet in NewDark? And, if so, would you point me to one so I can study a little?
I added b21 and b23 to the no-crop list,but the letterbox still appears. Any way to get around this?
Thanks for any input.
ZylonBane on 25/10/2014 at 23:25
If this turns out to be you not understanding aspect ratio, I'm sending my flying monkeys after you.
voodoo47 on 25/10/2014 at 23:52
as far as I know, the max movie res Dark supports is 640*480, so the proper way of making a hires widescreen cutscene is to make it 640*480 with black stripes at the top and the bottom, then crop it via the cfg setting.
ZylonBane on 26/10/2014 at 00:02
Well, if you wanted to fill a 16:9 monitor, you could theoretically just make a 640x360 movie.
voodoo47 on 26/10/2014 at 00:07
never tried to feed Dark with a widescreen video, so not sure whether it would freak out or not.
darthsLair on 26/10/2014 at 00:44
Thanks ZB, and Voodoo74 for your input.
Well, to my surprise by using a semi-colon to prohibit cropping all together, then adding .avi+b21 .avi+b23,
to the cam_ext, the 720x480 divx.avi played fine, and without chopping off the top and bottom. The letter box seemingly went away.
This question is now relevant: Is it possible to include the Cam_Ext in a zip, providing the player is using fm-selector ? (Since fm-selector works from an exclusive folder) If so, then some serious beta testing might prove positive or negative results.
ZylonBane on 26/10/2014 at 02:02
Quote Posted by darthsLair
This question is now relevant: Is it possible to include the Cam_Ext in a zip, providing the player is using fm-selector ?
Only if you want people to show up at your house and beat you.
darthsLair on 26/10/2014 at 04:24
Quote Posted by ZylonBane
Only if you want people to show up at your house and beat you.
You are right. It won't work. I will re-render the videos to 640x480. I will have to re-write the credit.avi text, so the cropping doesn't chop it off at the top and bottom. I wouldn't want the player's editing their Cam_Ext for a couple video's.
ZylonBane on 28/10/2014 at 17:53
Quote Posted by ZylonBane
Well, if you wanted to fill a 16:9 monitor, you could theoretically just make a 640x360 movie.
So much for theory. I tried feeding Dark a wide-aspect video, it just stretched it out to 4:3.
Ricebug on 29/10/2014 at 20:04
If you're using FMSel, won't the cam_ext.cfg be in the same folder with the FM? Or is it loaded before the mission? Like in days past, authors would zip their mission file with a dark.gam (instead of renaming their custom gamesys). Yet DarkLoader always protected the original dark.gam file. I would *cough* assume the same would happen here, unless, like I said, it's pre-cached when thief.exe is launched.