Archived flashes:
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2066 · P4131

<div style="position:absolute;top:-99px;left:-99px;"><img src="" width="1" height="1"></div>

Required text body length: 2 characters. Maximum: 15000 characters.
A file is optional.

Age: 700.13d   Health: 99%   Posters: 6   Posts: 13   Replies: 11   Files: 0

>>!///SWFAnts  #ADMIN#  26may2016(th)11:37  No.33554  SWF  P1
The Swiff Army Knife

Discussion thread for

Feel free to suggest improvements or new features!

>>Anonymous  26may2016(th)14:17  No.33556  A  P2R1
I see what you did there!

Useful as always I would say.

>>Anonymous  28may2016(sa)07:35  No.33629  B  P3R2
Is it going to include my gnu/freedom of released source code?
>>!///SWFAnts  #ADMIN#  28may2016(sa)08:17  No.33631  SWF  P4R3
It's not open source, no. Maybe sometime down the line but not right now.
>>Anonymous  5jun2016(su)16:44  No.34043  C  P5R4
Trying to open any video file (I tried MKV, MP4, FLV, AVI, MPG) gives me this:

5jun2016 17:35:13 ----- Reading video info... --------------------
ffmpeg -i G:\DUB\REOf2_001.mkv
Started program "ffmpeg"...
5jun2016 17:35:13 Failure: ffmpeg output doesn't contain "Duration: ".
5jun2016 17:35:13 Finished! Took 0.0 seconds. Exit value: -1073741511

Also, would be good if it remembers the last folder it opened files from.

>>!///SWFAnts  #ADMIN#  5jun2016(su)19:54  No.34052  SWF  P6R5
A .ini file will be included at some point with some kind of "remember last used folder"-option.

Looks like ffmpeg.exe doesn't give you any output, probably because it's not even started. Uh-oh, that could be because of a number of reasons.

+ What OS are you using? I've only tested on Windows 7.
+ When you click on the folder tab, is the directory that contains ffmpeg.exe opened for you or some different folder?
+ If you rename "ffmpeg.exe" to just "ffmpeg", does it work then?
+ Does it work if you run "! Run TheSwiffArmyKnife.bat" as Administrator? Perhaps the problem is that java just isn't allowed to execute ffmpeg.
+ If you press WinKey+R and type in "cmd", does the Windows Command Processor start?

Running a separate program from inside Java could be a little tricky to fix since it's not guaranteed to work the same everywhere.

>>Anonymous  7jun2016(tu)00:20  No.34100  C  P7R6
OS is WinXP SP3 32bit
Clicking folder tab opens Swiff Army Knife directory, the one with ffmpeg in it.
I can see file extensions, so no ffmpeg.exe.exe, if you suspected this.
Command console works fine.
I'm not sure if "run as admin" exists in WinXP.

Simply trying to execute ffmpeg gives me an error that mentions "msvcrt.dll". My guess is one of the following dependencies:
1. MSVC++
2. .Net Framework (I don't have it installed)
3. OS

Anyway, I tried Swiff Army Knife on Win7 Pro 64bit, and it opens, cuts, merges and encodes files just fine.

>>!///SWFAnts  #ADMIN#  7jun2016(tu)12:12  No.34136  SWF  P8R7
Dam son, I didn't even consider that you might be on Windows XP. Since the issue is ffmpeg no longer working on XP I can't do much. But if you find an old release of ffmpeg you can probably use that one, as long as the output of the program isn't much different from the new version. Just replace the exe in the working directory.

According to some random forum post I found the latest version that works with WinXP is:

>>Anonymous  20jun2016(mo)19:27  No.34659  D  P9R8
wondering if there's any way to convert .swf to some other format (.mp4, .avi, etc)
>>Anonymous  22jun2016(we)00:22  No.34681  E  P10R9
I'd just record the screen for that while playing the flash like normal. If you're after some kind of command line batch swf2mp4 converter that doesn't require playing the flash like normal while recording I don't think there is one.
>>Anonymous  8jul2016(fr)17:05  No.35222  A  P11R10
Video Slicer not working correctly for me.

Win10 with jre1.8.0_91 java 64bit, changed the bat file.
Everything runs normally, no error messages whatsoever.
Tried to cut a working mp4 with supposedly h264 and aac, but no matter what I times I input (even when default) the preview always are just black frames. There's some progression visible (the video starts and ends with black frames), but the output file never plays right. It's just an empty black screen in any media player (no errors there too).
Tried converting it into flv beforehand (which worked), but the end result is the same.

>>!///SWFAnts  #ADMIN#  9jul2016(sa)02:38  No.35239  SWF  P12R11
Not sure what to tell you. Could be the media file, ffmpeg or Windows 10 causing the issue. Probably though there's something about the video encoding that the container format doesn't like, since you can convert to FLV with The Swiff Army Knife but not to MP4. Maybe the pixel format is wrong or whatever else videos can have going on that I know little about and haven't accounted for.

Check in the console to make sure that ffmpeg doesn't say something somewhere. Could be easy to miss. Both my program and ffmpeg should tell you everything they are doing via the console. If you find something that looks like an error/info message post it here for me. If you can convert the video to FLV or maybe WEBM you could try using the FLV/WEBM version of the video in the Video Slicer and see if it works then. But I know that's very inconvenient if the video is long.

Converting the video outside The Swiff Army Knife to some other format should probably work to (like a lossless AVI or something). Then maybe the slicer can work with it. I realize using lossless H.264 as the working format in the slicer wasn't the best idea, I was tempted by the saved disk space at the time. That's probably not an issue for many though and I mean to remedy it in a future version with something even more lossless that encodes even faster (at the cost of larger temp files naturally). An option to pick the working codec would be best, to also please those that have limited disk space.

"even more lossless"... HAH!
>>!///SWFAnts  #ADMIN#  6dec2016(tu)17:24  No.41780  SWF  P13
Release 2

I'm pleased to announce that a new version of the program is available! The link's at the top of the thread. Still not any flash stuff added, mainly made this for the addition of the .ini file. But the scale field on the video encoder tab and the improved speed on the video slicer tab is good too, full list of changes can be found on the tool's web page.
Created: 26/5 -2016 11:37:03 Last modified: 26/4 -2018 14:46:22 Server time: 26/04 -2018 15:13:12