Page 1 of 2
SNM Movie Converter
Posted: Tue Oct 10, 2017 4:06 pm
by JeremyaFr
Hello,
Here is a tool to convert SNM movie files to/from AVI files.
XwaSnmConverter.PNG
Download link:
https://github.com/JeremyAnsel/XwaSnmCo ... ses/latest
Re: SNM Movie Converter
Posted: Wed Oct 11, 2017 8:24 am
by Darksaber
Thank you
Re: SNM Movie Converter
Posted: Wed Oct 11, 2017 3:42 pm
by Rookie_One1
Jeremy, you miracle worker!
Re: SNM Movie Converter
Posted: Wed Oct 11, 2017 8:28 pm
by Darksaber
Hi Jeremy,
I'm getting error message when trying to convert an .avi to snm
This is the error
snmerror.jpg
I started coverting the custom movies for the Impieral Hangar installation, I started converting the BriefRoom.avi, Ceremony.avi, LogoFinal.avi, Marko.avi everything went fine until I tried to convert the Pod.avi and Techroom.avi and I got the same error with both files
I even tried converting the sound wav to 22000Hz from 11000Hz and remaking the avi file, but I got the same error
Any Ideas?
Here are the original and new pod.avi files if that helps (New file named Pod5.avi)
Pod.rar
Re: SNM Movie Converter
Posted: Wed Oct 11, 2017 8:49 pm
by JeremyaFr
Hello,
Try to convert the audio to 22050 Hz, 16 bits per sample.
Re: SNM Movie Converter
Posted: Wed Oct 11, 2017 9:08 pm
by Darksaber
Thanks that worked
Re: SNM Movie Converter
Posted: Wed Oct 11, 2017 11:46 pm
by Darksaber
Another question, does the .avi file have to be 15 frames per second, I only ask as my techroom.avi is 60 FPS which = 120 images, I converted the wav to 22050 Hz, 16 bits per sample but I still get the error due the increase in FPS, so I reduced the avi to 15FPS and it converted ok, but then the movie was 3 or times slower, so I then reduced the images in the avi to 30, and 15 FPS, but it reduces the quality for the movie.
I'm just wondering if there is anyway to increase the FPS in your convertor, if not don't worry I could always keep the Techroom as an avi as the TGsmush will of course still play it
it would have been nice though to convert it to a SNM file
Thanks, other than that it works just fine, it takes a while converting large files like the Intro_Final.snm to .avi but its fine, well done there.
Oh can I point you to this thread, it might interest you
Imperial IFF Chatter I'm not sure how it works or if it works as there hasn't been any feedback from
ual002, and this
Justagai fellow just seems to have given up on it.
Take a look at the thread though
Re: SNM Movie Converter
Posted: Sat Nov 11, 2017 9:21 pm
by Bman
Thanks Jeremy.
Re: SNM Movie Converter
Posted: Thu May 14, 2020 2:11 pm
by Ace Antilles
Bug report. Marcop000 has this issue when converting an Italian version of Prologue.snm to AVI.
marcop000 wrote: ↑Thu May 14, 2020 10:38 am
Hi, Unfortunatenly I can't upscaling the other files:
Battle*.snm and Prologue.snm
because I get this error while try to convert to avi:
bug1.png
hope will find a solution.
The
I have tried it with a standard Steam us/uk version of Prologue.snm and no problem.
When I tried to convert the Italian file myself I got this error.
snmbug.PNG
The actual SNM file will play fine through the old player program. Something odd in another language videos maybe?
Link below to the file Marcop000 gave to be tested.
https://we.tl/t-FMmnTqwlu7
Thanks Jeremy
Re: SNM Movie Converter
Posted: Thu May 14, 2020 3:38 pm
by JeremyaFr
UPDATE
Hello,
I've updated XwaSnmConverter.
When a snm file contains invalid data, the program throws an exception. I've fixed it. Now invalid data are ignored.
Re: SNM Movie Converter
Posted: Tue May 19, 2020 6:43 pm
by JeremyaFr
WIP
Hello,
Here is a WIP version of XwaSnmConverter.
I've added support for mp4 exporting.
EDIT: link removed
Re: SNM Movie Converter
Posted: Tue May 19, 2020 7:22 pm
by Ace Antilles
JeremyaFr wrote: ↑Tue May 19, 2020 6:43 pm
WIP
Hello,
Here is a WIP version of XwaSnmConverter.
I've added support for mp4 exporting.
XwaSnmConverter_WIP.zip
Thanks so much for making this.
Firstly SNM to MP4 worked fine but there are some bugs.
Open an AVI file and try to convert to SNM and I get this
Capture.PNG
Converts fine in the old program
Re: SNM Movie Converter
Posted: Fri May 22, 2020 2:14 pm
by JeremyaFr
WIP
EDIT: link removed
Changelog:
- export avi files in Mpeg4 format instead of MotionJpeg format.
- import any video files with the Media Foundation APIs.
The supported formats are listed here:
Supported Media Formats in Media Foundation
Re: SNM Movie Converter
Posted: Fri May 22, 2020 3:13 pm
by Ace Antilles
JeremyaFr wrote: ↑Fri May 22, 2020 2:14 pm
WIP
XwaSnmConverter_WIP.zip
Changelog:
- export avi files in Mpeg4 format instead of MotionJpeg format.
- import any video files with the Media Foundation APIs.
The supported formats are listed here:
Supported Media Formats in Media Foundation
From what I can tell from my testing it's all working fine now
Great work!
Re: SNM Movie Converter
Posted: Fri May 22, 2020 7:34 pm
by keiranhalcyon7
JeremyaFr wrote: ↑Fri May 22, 2020 2:14 pm
- export avi files in Mpeg4 format instead of MotionJpeg format.
Is that MPEG-4 part 2 or MPEG-4 part 10 (H.264)?
Re: SNM Movie Converter
Posted: Fri May 22, 2020 7:38 pm
by Darksaber
Does your TGSmush.dll support all these formats, or have I missed something?
Re: SNM Movie Converter
Posted: Fri May 22, 2020 7:46 pm
by JeremyaFr
@keiranhalcyon7
When exporting to avi file, the codec is MS MPEG-4 Video v3 (MP43) for video and PCM for audio.
When exporting to mp4 file, the codec is H264 - MPEG-4 AVC (part 10) (avc1) for video and MPEG AAC Audio (mp4a) for audio.
@Darksaber
The format are not all supported by TGSmush.dll as the dll restricts the file extensions.
Re: SNM Movie Converter
Posted: Fri May 22, 2020 7:51 pm
by keiranhalcyon7
Re: SNM Movie Converter
Posted: Sun May 24, 2020 12:55 pm
by JeremyaFr
UPDATE
Hello,
I've merged the changes from the WIP version into the stable version.
Now XwaSnmConverter supports mp4 files.
Re: SNM Movie Converter
Posted: Sun May 24, 2020 2:16 pm
by marcop000
just updated the first 2 cutscenes with IA upcalining:
https://we.tl/t-AvKrqk1ois
This this time I have used a professional software.
The result is not perfect but is better than previous.
Re: SNM Movie Converter
Posted: Mon May 25, 2020 6:44 am
by marcop000
Re: SNM Movie Converter
Posted: Mon May 25, 2020 12:56 pm
by highorph
Great job!
Re: SNM Movie Converter
Posted: Mon Apr 26, 2021 6:29 pm
by JeremyaFr
UPDATE
Hello,
I've updated XwaSnmConverter.
I've fixed a typo.
Re: SNM Movie Converter
Posted: Sat Feb 18, 2023 6:47 pm
by JeremyaFr
WIP
Hello,
Here is a WIP of Xwa Snm Converter.
When converting a snm file to mp4, you have the option to add the subtitles.
XwaSnmConverterWithSubtitles_WIP_2302182111.zip
Re: SNM Movie Converter
Posted: Sun Feb 19, 2023 11:52 am
by JeremyaFr
WIP
Hello,
Here is a WIP of Xwa Snm Converter With Substitles.
Changes are:
- fix the position of text
- add fade in and fade out
XwaSnmConverterWithSubtitles_WIP_2302191249.zip