Commit graph

16 commits

Author SHA1 Message Date
Marek Maskarinec 7535d433b3
use filepath.Abs and filepath.FromSlash on input (#25) 2021-05-11 15:02:27 +02:00
Schmenn aac91275b4 fixed kaden's stupid indentation 2021-04-21 19:45:45 +02:00
Kaden5480 6ab4d58f79
Added output for invalid file types (#18)
* reordered ffmpeg params to fix issue #16

* added a message for invalid input file type
2021-04-21 19:43:55 +02:00
xbjfk 6a227f605e
Do not lowercase the input file (Fixes Linux support) (#13)
Linux path names are almost always case sensitive, so this PR removes forcing lowercase file names.
2021-04-21 12:32:11 +02:00
Schmenn 5b5eaa9b88 added crash mode 2021-03-30 14:04:30 +02:00
Schmenn cee058edea small fixes
[^] /exploits | removed ioutil as it is deprecated
[^] /modules/transcode.go | removed annoying ffmpeg output
[^] go.mod | changed to go 1.16
[^] exploits.go | removed comment
2021-03-23 12:45:20 +01:00
Schmenn b0db2a7695 Merge branch 'ffmpeg-implement' into 'master' 2021-01-25 11:01:32 +01:00
Schmenn ef16b1b196 added twice mode 2021-01-25 10:52:39 +01:00
schmenn 5113344272
Implemented FFmpeg Transcoding (#2)
* implemented core ffmpeg functions

[TODO] update README.md and clean code

* Forgot to remove image files afterwards

fucking dumbass

* Upgraded FFmpeg implementation

[^] README.md | for transcoding information
[-] exploits.go | removed skipArg completely as it's not needed at all
[^] exploits.go | changed mode handler because I made a mistake which  makes v the zero duration video mode
[^] .gitignore | added .jpg
[^] transcode-to-webm.go => transcode.go | fixed FFmpeg output and made it print the temporary file location
[^] name.go | made file name longer and changed Unix to UnixNano because the seed as Unix sometimes creates two identical file names when images are transcoded as it is really fast
[^] help.go | changed "doesn't" to "don't"
[^] ffmpeg-check.go | changed error checking function to the one already present in modules/error.go
2021-01-15 11:52:04 +01:00
Schmenn 30aa09f720 Upgraded FFmpeg implementation
[^] README.md | for transcoding information
[-] exploits.go | removed skipArg completely as it's not needed at all
[^] exploits.go | changed mode handler because I made a mistake which  makes v the zero duration video mode
[^] .gitignore | added .jpg
[^] transcode-to-webm.go => transcode.go | fixed FFmpeg output and made it print the temporary file location
[^] name.go | made file name longer and changed Unix to UnixNano because the seed as Unix sometimes creates two identical file names when images are transcoded as it is really fast
[^] help.go | changed "doesn't" to "don't"
[^] ffmpeg-check.go | changed error checking function to the one already present in modules/error.go
2021-01-15 11:49:27 +01:00
Schmenn 3aff7bc1f7 Forgot to remove image files afterwards
fucking dumbass
2021-01-13 16:55:20 +01:00
Schmenn 2a9103af59 implemented core ffmpeg functions
[TODO] update README.md and clean code
2021-01-13 15:25:45 +01:00
Schmenn 4a44c592f7 made modes shorter 2021-01-12 11:36:43 +01:00
Schmenn e840303ea6 2 new modes
[-]skipArgs as it does not work
[^] moved smaller functions to /modules
[+] zerovideo mode
[+] negativevideo mode
[^] made virusimage prettier
2021-01-10 21:18:44 +01:00
Schmenn 5bec53b145 Virus Image
Implemented the Virus Image Mode
2021-01-08 21:20:04 +01:00
Schmenn f24860842d Project Structure Setup
Command Handler and Expanding-Video command available.
2021-01-08 18:28:09 +01:00