Commit Graph

71 Commits

Author SHA1 Message Date
675ef7cef5 Fixed VapourSynth input + some more code re-factoring. 2014-02-26 16:08:06 +01:00
1decd835d9 Fixed Avisynth version detection as well as detecting the source properties. 2014-02-26 00:55:11 +01:00
6279ee6b58 Removed obsolete code from EncodeThread class. 2014-02-25 23:51:09 +01:00
155f66c061 Implemented VSPipe version detection + various fixes. 2014-02-25 22:44:39 +01:00
38e7dbae56 Refactored source types (Avisynth, VapourSynth, etc) into separate classes + loads of fixes. 2014-02-24 23:13:42 +01:00
6164e48604 Refactored runEncodingPass() into AbstractEncoder class and refactored encoder-specific parts into the corresponding Encoder classes. 2014-02-24 19:51:53 +01:00
0fa2a16e13 Refactored encoder version detection into encoder-specific classes. 2014-02-24 14:57:30 +01:00
b356e28a32 Some refactoring to allow supporting multiple encoders in the encode thread (far from being complete though). 2014-02-22 20:32:46 +01:00
a99b922856 Fixed a few types. 2014-02-14 23:32:36 +01:00
d97545c2e4 Fixed the EncodeThread class to work with the recent model changes. 2014-02-14 23:14:39 +01:00
6982596882 Refactored SysinfoModel and PreferencesModel. Also made those classes thread-safe! 2014-02-14 00:01:00 +01:00
5d9c70db03 Initial multi-encoder support. This will allow adding support for x265 in a future version. Also it makes switching between 32-Bit/64-Bit and 8-Bit/10-Bit x264 binaries more convenient. 2014-02-10 21:33:04 +01:00
b16bbfa60c Happy new year 2014! 2014-01-27 19:58:24 +01:00
ddfedba2dd More VapourSynth path fixes: We now store the VapourSynth path *including* the "core" or "core32" postfix. 2013-11-29 20:27:45 +01:00
2c97d55729 Switched the method for including the UIC header files to "Using a Pointer Member Variable". 2013-11-14 02:29:18 +01:00
aca377916b Fixed priority control in Preferences dialog. 2013-11-12 23:29:13 +01:00
581ea2563c Prevent system from going into Standby or Hibernation while an encode is running. 2013-11-10 23:20:24 +01:00
1f0cd5add0 Improved logging output, if Avisynth (Avs2YUV) or VapurSynth (vspipe) crashes. 2013-11-10 18:32:37 +01:00
b1ff469728 Convert the filename part of "short" paths to lower case, so the Avs2YUV file extension check won't fail. 2013-11-08 14:15:40 +01:00
aa2b7c6bb4 Some improvements to global functions header file. 2013-11-06 00:30:27 +01:00
7ed2c7e5ce Improved JobObject::addProcessToJob() function. 2013-11-03 18:59:29 +01:00
f6e3275018 Massive clean up: Removed Win32 API dependency from "global.h". All Win32 API calls are now wrapped in custom functions in "global.cpp". 2013-11-03 18:34:20 +01:00
9aa3e8ddde Cosmetics. 2013-11-03 16:56:55 +01:00
7fcd1a6358 Added support for modified x264 progress output, as used by some patched build (e.g. Komisar's "kMod" builds). 2013-10-13 22:09:05 +02:00
4f88c5bda7 Removed Unicode path to ANSI (short) path conversion for x264 process, as x264 finally supports Unicode on Win32. We still need the conversion for Avisynth (AVS2YUV) though. 2013-08-28 18:10:26 +02:00
aa8c4084cd Set working directory of x264 to TEMP path to workaround x264's behavior of trying to create files (such as the OpenCL kernel) in the current working directory. By default, the working directory will be the x264 installation directory, which, of course, isn't writable on modern OS. This can lead to error messages. By setting the working directory explicitly to TEMP (which should always be writable) we avoid that. 2013-08-27 21:33:50 +02:00
3766369c49 Refactored VapourSynth detection code into a separate thread, similar to Avisynth. 2013-08-07 15:34:02 +02:00
9635f092f6 Much improved VapourSynth detection + added option "--no-deadlock-detection" to disable process termination on timeout. 2013-08-04 18:44:53 +02:00
2aa2c7385f Implemented VaporSynth input support. 2013-08-02 20:44:47 +02:00
2adc1ee50c Added CLI option to skip the x264 version test. 2013-07-07 16:11:47 +02:00
a74f27ab5b Code refactoring: Now "Preferences" and "Recently" used models are in separate classes for a more cleaner design. 2013-07-03 21:34:21 +02:00
e1e7248b3a Added option to set the process priority of the encoder processes. 2013-06-17 00:42:57 +02:00
cfe88da4fc Make help screen work again + updated Readme file. 2013-05-23 22:15:33 +02:00
a3072d9c6b Fixed a small bug: When adding multiple files and enabling the "Apply To All Files" option, then the current file was added twice. 2013-05-11 21:52:07 +02:00
b2b751035d Better support for new x264 builds with OpenCL Lookahead. 2013-05-05 14:11:34 +02:00
9400b628d6 Updated version info. 2012-11-28 23:36:00 +01:00
f4549d74ef Allow "--frames" and "--fps" as custom parameters, because they might be useful when FFMS2 input is used. We will discard those parameters later, iff Avisynth/Pipe input is used. 2012-09-22 14:58:51 +02:00
7effdd62d8 Added an option to save the log automatically. 2012-04-30 19:26:41 +02:00
d55e24e3be Fix help display. Regression introduced when 8-Bit/10-Bit support was added. 2012-03-29 15:20:26 +02:00
b7acf86d6e Added option to choose between 8-Bit and 10-Bit encoding at runtime. We now include 8-Bit and 10-Bit builds in the distribution package. 2012-03-25 22:11:07 +02:00
2c021cf3f1 Improved file size estimation. 2012-02-27 21:39:15 +01:00
ae97181d06 Show an estimate(!) of the final size during the encode. 2012-02-23 03:18:46 +01:00
c66376096d Delete zero-size output files when job fails or is aborted. 2012-02-15 00:45:42 +01:00
877c06712d Added some more information about audio encoding to ReadMe file. 2012-02-14 20:50:35 +01:00
e149f87ed8 Added support for custom Avs2YUV parameters. Required to allow passing trough 4:2:2 (YV16) and 4:4:4 (YV24) data, as Avs2YUV converts to 4:2:0 (YV12) by default. YV16 and YV24 requires Avisynth 2.6! 2012-02-12 15:58:28 +01:00
ac5d2c4f89 Improved deadlock handling. We will now throw a warning after 1 minute and abort after 5 minutes of inactivity. This may still be too short for FFVideoSource() to finish indexing on extremely large files. Though in this case the user should use 'ffmsindex' to create the index beforehand. 2012-02-11 16:10:21 +01:00
c1d4d1d589 Added support for Windows 7 Taskbar progress indicator + include version info in resources. 2012-02-08 00:29:47 +01:00
f07f8bcb13 Moved CPU capabilities check to the main window init function. 2012-02-07 21:48:25 +01:00
394379d74f Improved custom parameter checking some more + properly split custom parameters that contain whitespaces. 2012-02-06 22:40:07 +01:00
3ce9e09055 Added workarounds for the unfortunate lack of Unicode support in (unpatched) x264 and Avisynth. 2012-02-05 21:52:23 +01:00