TTLG|Thief|Bioshock|System Shock|Deus Ex|Mobile
Results 1 to 21 of 21

Thread: [Release] Thief 2 ESRGAN Refiltered/Upscaled Video Pack

  1. #1
    Member
    Registered: Feb 2012
    Location: Russia

    [Release] Thief 2 ESRGAN Refiltered/Upscaled Video Pack

    Ok, guys. I finally made ESRGAN pack for Thief 2 videos.
    There are two variants - SD and HD. SD is for internal ingame using due to the fact that NewDark engine for now does not support resolution higher than 640x480. HD is for external viewing.

    Original movies were converted to frame by frame pictures. Filtered using ESRGAN jpeg artifact remover model (there were a lot of compression artifacts in original videos). When upscaled 4x using ESRGAN manga109 model from 640x480 to 2560x1920.
    After that downscaled to 1440x1080, filtered a little for better compression and noise filtering, fps was interpolated from 15fps to 30fps using InterFrame2 Avisynth plugin.
    After that 1440x1080 resolution was used for HD version. And downscaled to 640x480 filtered images for SD version.
    Videos are in original AVI container, video is x264 codec, audio is MP3.

    Also I filtered whose interlace artifacts from original vanilla Thief 2 videos (especially in B16, CS10, CS15, INTRO). For CREDITS german soundtrack was added cause original video was with no sound.
    Example of vanilla artifacts
    https://imgur.com/a/xK3h9nf

    SD version for ingame usage. You can compare original and filtered versions in two separate Media Player Classic. Mine is much smoother and cleaner. Old refiltered videos I made before now obsolete.
    https://cloud.mail.ru/public/29LX/5LeHwf7qM

    HD version
    https://cloud.mail.ru/public/5B7M/5GHHRzJSx

    SUCCESS and DEATH videos were taken from Thief Gold ESRGAN Video Pack cause vanilla game itself using 320x240 videos from Thief Gold.

    Second Release completed!!
    -Audio was remastered by musictaffer/itaffer for all tracks except for CREDITS, DEATH and SUCCESS
    -Audio/video length desync was fixed, I inserted black frames at the end of most videos
    -For HD release I added lossless remastered audio in FLAC in case anyone wants to make an MKV from AVI files

    There will be a third release in a future, musictaffer/itaffer wants to additionaly remaster sound. But it takes time.
    Now you can finally use this video pack.

    Links are the same:

    ALSO
    B16, CS05, CS10, CS16 can be cropped cause they have black borders so I made a config for cam_ext.cfg file.
    Use this settings (find and place/replace them in cam_ext.cfg):
    crop_movies
    crop_movies 0 74 640 332
    movie_sw_scale_quality 6
    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+b1 0.avi+b11.avi+B12.avi+B13.avi+b14.avi+b15.avi+INTRO.avi
    Last edited by Akven; 6th Jan 2020 at 06:21. Reason: Second Release

  2. #2
    Desperately Dodgy Moderator
    Registered: Nov 2001
    Location: France
    Great work on this! Thanks for all your efforts.

    Definitely use T2Fix, Tafferpatcher is outdated.

  3. #3
    Member
    Registered: Feb 2012
    Location: Russia
    As always, found bug in SD INTRO video. Will reupload tomorrow.

  4. #4
    Member
    Registered: Mar 2014
    Location: Torres Vedras
    Looks great, but the I've noticed that the audio is kinda distorted (a good example is at the 00:46 mark in "CS05"). Anyway you could fix that?

  5. #5
    Member
    Registered: Sep 2018
    Location: Poland
    Quote Originally Posted by Hitokiri-san View Post
    Looks great, but the I've noticed that the audio is kinda distorted (a good example is at the 00:46 mark in "CS05"). Anyway you could fix that?
    They are all broken... The funniest are B01 and B14 :)
    And why all of them are 44.1 is the greatest mystery. Something went extremely wrong during PCM to MP3 conversion.
    _____________
    WANTED Mat99 - very well known and dangerous emote-spammer, cunning and always armed in a bunch of emots in his hands - SHOOT ON SIGHT!

  6. #6
    Member
    Registered: Feb 2012
    Location: Russia
    Ok, will look into it. One of the problem is that sound sometimes longer than video in original files. It's not an issue in vanilla, but nowadays muxing software cuts out this additional audio. So I had to stretch audio a little. Will look into another ways of fixing this, however it takes time. Had to insert black frames to the end of the videos with recompression of the video.

  7. #7
    Member
    Registered: Feb 2012
    Location: Russia
    B01, B02, B04, B08, B09, B10, B11, B13, B14, B15 had this issue with mismatched (audio is longer) length of video and audio in vanilla.
    Will try to fix
    The problem is: it's x264 in AVI container, so I can't edit it without reconverting the whole video. If I want to reconvert the whole video with adding black frames to the end, I need to reconvert lossless filtered images, not already compressed files. Filtered images were too big (about 2-4 Gb for one video), so I deleted them. So I need now to refilter the whole process again with ESRGAN. It's about one to two days of non-stop computer working.
    Last edited by Akven; 19th Sep 2019 at 02:11.

  8. #8
    Member
    Registered: Feb 2012
    Location: Russia
    BTW, can anyone remaster soundtrack for videos like Child of Karras did for Thief Gold? I can provide original PCM files.

  9. #9
    Member
    Registered: Sep 2018
    Location: Poland
    Quote Originally Posted by Akven View Post
    The problem is: it's x264 in AVI container, so I can't edit it without reconverting the whole video. If I want to reconvert the whole video with adding black frames to the end, I need to reconvert lossless filtered images, not already compressed files. Filtered images were too big (about 2-4 Gb for one video), so I deleted them.
    I'm pretty sure it is possible without touching the source Bx's materials. Just create a separate black-frames AVIs (the same res and FPS as Your Thief's versions + the right number of frames per adequate Bx). Then use "add" option in AVIDEMUX to add the blackness at the end and save it by set the "copy" (not encoding) in 'Output Source' field. After 1-2 seconds You will have the output file. You can add the audio in the same (copy) way.


    Quote Originally Posted by Akven View Post
    BTW, can anyone remaster soundtrack for videos like Child of Karras did for Thief Gold? I can provide original PCM files.
    The originals are broken already (in many ways), but at least that terrible static noise could be... hmm... "repaired" a little to not be annoying. I'll try to not break them TOO much by extremely delicate and slightly cutting off the highest freqs. (as they are also part of the audio).

    We'll see the results and decide if its worth, because maybe the originals should stay.
    Drop me all PCMs as a package-file here:

    [the link has been removed - got the package]
    Last edited by Mat99; 19th Sep 2019 at 08:37. Reason: link removing
    _____________
    WANTED Mat99 - very well known and dangerous emote-spammer, cunning and always armed in a bunch of emots in his hands - SHOOT ON SIGHT!

  10. #10
    Member
    Registered: Feb 2012
    Location: Russia
    Uploaded to your dropbox original PCMs plus MP3 from German CREDITS.
    I was trying to do something in iZotope RX, but I lack knowledge on sound.
    Everything I could say is that spectrum is restricted to 11 kHz due to 22050 quality. And there is clipping in several files.
    I may be mistaken, but I thing there was some trouble with 22050 and sound cards as they output sound in either 44100 or 48000 and will use linear interpolation for 22050. Or maybe with Creative - can't say for sure.

    I will try to add black frames to the end of files. I doubt VirtualDubMod will do it, but I never tried Avidemux. VirtualDubMod cannot do anything to x264 stream it even does not listed in stream list.

  11. #11
    Member
    Registered: Feb 2012
    Location: Russia
    Any news on filtering audio?

  12. #12
    Member
    Registered: Sep 2018
    Location: Poland
    Quote Originally Posted by Akven View Post
    Any news on filtering audio?
    I'm still "crashed" by Mr. Time, but things go better now, so maybe to the end of the week I'll send You something :)
    Stand by...
    _____________
    WANTED Mat99 - very well known and dangerous emote-spammer, cunning and always armed in a bunch of emots in his hands - SHOOT ON SIGHT!

  13. #13
    New Member
    Registered: Aug 2014
    Location: Russia
    I started work on audio. I managed to qualitatively remove the noise and also recreate high frequencies using the pitch shift and distortion.

    Comparison with the original: https://www.youtube.com/watch?v=W_r79CvJJ2w

  14. #14
    Member
    Registered: Sep 2018
    Location: Poland
    Quote Originally Posted by musictaffer View Post
    I started work on audio. I managed to qualitatively remove the noise and also recreate high frequencies using the pitch shift and distortion.
    Great work and better than mine, so looks like I will have more free time ;)
    my worse/poorer version: https://www.dropbox.com/s/lmi9bdigl14h8kh/B01.wav

    I didn't touch the high freqs (I mean recreation) as I wanted to stay as much from the original as possible, but Your version shows/proves that there is nothing to worry about. Keep going, as You do it well!
    _____________
    WANTED Mat99 - very well known and dangerous emote-spammer, cunning and always armed in a bunch of emots in his hands - SHOOT ON SIGHT!

  15. #15
    Member
    Registered: Feb 2012
    Location: Russia
    I will wait for musictaffer/itaffer version if he is better)

  16. #16
    Member
    Registered: Mar 2014
    Location: Torres Vedras
    Any updates?

  17. #17
    Member
    Registered: Feb 2012
    Location: Russia
    musictaffer said to me he completed about 2/3 of the audio.

  18. #18
    Member
    Registered: Feb 2012
    Location: Russia
    Second Release completed!!
    -Audio was remastered by musictaffer/itaffer for all tracks except for CREDITS, DEATH and SUCCESS
    -Audio/video length desync was fixed, I inserted black frames at the end of most videos
    -For HD release I added lossless remastered audio in FLAC in case anyone wants to make an MKV from AVI files

    There will be a third release in a future, musictaffer/itaffer wants to additionaly remaster sound. But it takes time.
    Now you can finally use this video pack.

    Links are the same:
    SD version
    https://cloud.mail.ru/public/29LX/5LeHwf7qM

    HD version
    https://cloud.mail.ru/public/5B7M/5GHHRzJSx

    ALSO
    B16, CS05, CS10, CS16 can be cropped cause they have black borders so I made a config for cam_ext.cfg file.
    Use this settings (find and place/replace them in cam_ext.cfg):
    crop_movies
    crop_movies 0 74 640 332
    movie_sw_scale_quality 6
    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+b1 0.avi+b11.avi+B12.avi+B13.avi+b14.avi+b15.avi+INTRO.avi

  19. #19
    Member
    Registered: Mar 2014
    Location: Torres Vedras
    Was there a mistake when uploading? I don't notice any quality difference from the original movies.

  20. #20
    Member
    Registered: Feb 2012
    Location: Russia
    Compare them in two simultaneously running Media players. If you are using SD version - the only difference would be 15->30 fps conversion. And slightly fewer compression artifacts.

  21. #21
    Member
    Registered: Apr 2007
    Location: USA
    Okay I think I finally got my baseline down for what I want to do with T2 videos. IMO I think I improved the video clarity in ESRGAN a little more. Using DAIN instead of Interframe definitely has some pros & cons. It does make it smoother, but I had to go manually clean up many frames that generated artifacts. Roughly half of all interpolated frames needed some adjustments made. Hopefully it's only with the more action-oriented videos and not so much with the briefings.

    Anyways, I've finished the INTRO video. Upscaled it to 720p for YouTube because uploading it with the standard 640x480 added a bunch of artifacts.


    If anyone wants to test or look at the 640x480 @30fps version: https://www.mediafire.com/file/d73ln...INTRO.avi/file
    Last edited by Corsair; 23rd Jun 2020 at 01:07.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •