Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
21st February 2014, 08:42 | #1841 | Link | |
Registered User
Join Date: Aug 2008
Location: Isle of Man
Posts: 588
|
Quote:
Code:
string cachefile = source + ".ffindex" |
|
17th March 2014, 08:48 | #1843 | Link |
Registered User
Join Date: Mar 2007
Posts: 11
|
DGAVCDec completely fails on particular AVC transport streams. In this case, FFVideoSource works perfectly. For MPEG-2 transport streams I still use DGMPGDec though. Haven't bothered to use anything else since it still seems to do the job (I don't have a Nvidia GPU). I'm always open to trying other source filters as long as they process transport streams properly, and provide some additional benefit.
Last edited by icezellion; 17th March 2014 at 08:51. |
17th March 2014, 09:03 | #1844 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
|
DGAVCDec is outdated anyway, using an obsolete version of libavcodec which did not even support PAFF interlacing yet (it was just one of the few frame-accurate versions cooperating with the DG*Dec framework).
Selur rather refers to current hardware accellerated tools like DGDecNV/IM. But yes, they require specific video decoder chips (Nvidia / intel Core i). "L-SMASH Works" does not, and is very reliable too (more than FFMS2, even with Haali support, regarding TransportStreams). And in addition, there is a DSS2Mod filter which can also use a local copy of LAV Filters natively (it doesn't need to be installed as DirectShow filters). The alternative, to use FFMS2 rather reliably, is to multiplex TS to MKV using mkvmerge. Last edited by LigH; 17th March 2014 at 09:05. |
22nd March 2014, 02:44 | #1845 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
FFMS2 C-plugin r827+36-avs+vsp
Optimized for Pentium-III and SSE. FFmpeg r61474 git-d1bb179, built on Mar 14 2014 22:33:23 with gcc 4.8.2 (GCC): Code:
configuration: --prefix=/home/qyot27/win32_build --cross-prefix=i686-w64-mingw32- --disable-doc --enable-gpl --enable-version3 --disable-w32threads --enable-avresample --enable-libopus --disable-decoder=utvideo --enable-libutvideo --disable-encoders --disable-muxers --disable-doc --disable-debug --disable-network --disable-hwaccels --disable-indevs --disable-outdevs --cpu=pentium3 --extra-cflags='-mfpmath=sse -march=pentium3 -msse -mtune=pentium3 -DPTW32_STATIC_LIB' --target-os=mingw32 --arch=x86 Last edited by qyot27; 22nd May 2014 at 12:29. |
22nd March 2014, 06:55 | #1846 | Link | |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
|
Here an excerpt from the changelog since v2.18: Quote:
|
|
22nd March 2014, 08:23 | #1847 | Link |
Registered User
Join Date: Mar 2007
Posts: 11
|
Thanks Is it possible for me to provide FFMS2 developers a 60 second H264 TS file (from Sky HD)? I haven't had any issues so far, and I think the issue is likely due to where the file was trimmed at with VideoReDo. Basically at the start of the encoded result, the video pauses for perhaps a second or two, but aside that everything else is perfect. I am doubtful it's a FFMS2 issue though, since all the other recordings from have been more or less perfect (and more of an issue where it was cut at).
|
22nd March 2014, 15:02 | #1849 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
I just get a "Unable to load C Plugin" error with that one ffms2.dll is in the Avisynth plugins folder along with the ffms2.avsi script.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
22nd March 2014, 15:13 | #1850 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
|
Is your 7-zip outdated (older than version 9.20)? It seems to happen often for different people who use a 3rd-party unpacker which uses a 7-zip DLL from a stable but obsolete version. Since Version 9.20 beta, 7-zip prefers an improved LZMA2 algorithm for multithreading, which can't be unpacked reliably with older versions, but they are not able to detect the difference.
Last edited by LigH; 22nd March 2014 at 15:16. |
22nd March 2014, 15:22 | #1851 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Nope, seems to be v9.20.
Digging some older threads revealed that "As for the 0x7E error, as IanB said, you seem to be missing a CPP runtime." So which runtime is required? I have quite a few of them installed but not the correct one, it seems.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
22nd March 2014, 16:11 | #1852 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
|
There is only one reference to MSCVRT.DLL in it. No version.
But I also had error 0x7e when I mistyped the directory where to load the DLL. Check it over. Don't rely on autoloading. |
22nd March 2014, 16:20 | #1853 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
I did that too, putting the dll file to a separate directory and edited the script accordingly.
My msvcrt.dll is dated 16.12.2011 if that's of any help.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
23rd March 2014, 01:54 | #1854 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
The C plugin doesn't rely on a specific msvcrt, because it was built with GCC. Or rather, it ties it to the generic msvcrt that MinGW-w64 assumes the use of.
The 7z archive was actually packed with 9.32 alpha, so that might have an impact beyond the LZMA2 situation (or maybe not). C-plugins autoload under AviSynth+ (making the following explanation a moot point), but under 2.5 and 2.6 they do not autoload, which is the reason that LoadCPlugin("ffms2.dll") is included in FFMS2.avsi (it merely mimics autoloading, and being tied to the relative position of the .dll is why it has to be in the same folder in order to work). |
23rd March 2014, 09:37 | #1855 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
|
I have it installed in a sub-directory below AviSynth 2.5\plugins, so it is not auto-loadable even if it was a generic AviSynth 2.5+ plugin (other not VapourSynth compatible FFMS2 builds were compiled in this format).
In one of my last scripts, I only imported FFMS2.avsi from this sub-directory, and the plugin was correctly loaded by its integrated LoadCPlugin command in AviSynth MT 2.60 a5. But while I mistyped the directory where to load the import (or the plugin explicitly), I got the "could not load plugin" error 0x7e too. |
24th March 2014, 22:03 | #1856 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,405
|
There seems to be a memory leak in the ffms2_r827+36-avs+vsp plugin. When opening and closing a script in VirtualDub or MeGUI the memory will be increased during every loop. This happens with AVS 2.5.8 and AVS+ r1576 - but not with FFMS 2.19.
Also I get sometimes the message that it has been tried to read unprotected memory (even at the first loop). 2.19 is rock stable in my environment. Script is e.g.: Code:
LoadCPlugin("C:\MeGUI\tools\ffms\ffms2.dll") FFVideoSource("C:\test.mkv", fpsnum=24000, fpsden=1001, threads=1) Last edited by Zathor; 25th March 2014 at 07:40. |
25th March 2014, 04:43 | #1857 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Quote:
Zathor: I've observed some errors with VirtualDub when using F2 to reload the script, maybe they are related.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
25th March 2014, 11:28 | #1858 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Okay, I can reproduce the memory increases with the C-plugin, but not with MSVC 2010 builds of r827. Using AviSynth+ r1695. What this means is that I actually need to do more digging:
*It could be a problem in FFMS2's AviSynth C code. Does it happen with previous builds of the C plugin? *It could be a compilation problem in either FFmpeg, or FFMS2. This means I'll have to experiment with the build options. If it lies in here, I have an idea of what might be the issue based on the instructions given in FFMS2's documentation. *It could be a problem in FFmpeg that may have affected the particular revision r827+36 was built against, and it's since been corrected. Again, requires a newer or different build to show that it only cropped up recently. *It could be a problem inherent to AviSynth's C interface, in which case it needs to be fixed in AviSynth+. This just means it needs to be reported upstream. I'll admit that I never encountered a problem with this (despite being on a setup with only 512 MBs of RAM) because I don't usually close and re-open scripts repeatedly. I'll go ahead and post the MSVC 2010 test build: ffms2_r827-msvc2010.7z Code:
ffmpeg version N-61679-g87ecefd Copyright (c) 2000-2014 the FFmpeg developers built on Mar 22 2014 04:25:45 with Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86 libavutil 52. 67.100 / 52. 67.100 libavcodec 55. 52.102 / 55. 52.102 libavformat 55. 34.101 / 55. 34.101 libavdevice 55. 11.100 / 55. 11.100 libavfilter 4. 3.100 / 4. 3.100 libavresample 1. 2. 0 / 1. 2. 0 libswscale 2. 5.102 / 2. 5.102 libswresample 0. 18.100 / 0. 18.100 libpostproc 52. 3.100 / 52. 3.100 configuration: --toolchain=msvc --enable-gpl --enable-version3 --enable-avresample --disable-encoders --disable-muxers --disable-doc --disable-debug --disable-network --disable-hwaccels --disable-indevs --disable-outdevs --extra-cflags=-I/msinttypes It is a slightly newer build of FFmpeg, though, as I'd actually built it for LSMASHSource. |
25th March 2014, 20:59 | #1859 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,405
|
Thank you very much for your work.
I can confirm that the MSVC plugin does not have the problem. But I have to make more test runs over the next days. I usually encounter the problem when I convert ~30 videos with MeGUI as for every file encoding the script will be opened and closed ~10 times (fps detection, cropping, automatic deinterlacing, ...) - likely this is not needed and could be optimized in the MeGUI process but it should work the way it is and is a good detection of plugin problems I cannot test it with old C plugins. Do you have an older build available? You have modified your last post here so that the download is not available anymore. But if I remember correctly I had a similar problem with it (the cannot write protected memory error) and that was the reason why I had not added it to MeGUI. |
|
|