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 October 2011, 07:05 | #1321 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,781
|
Well ... would you call OpenDML AVI "nuts"?
Input was a YUY2 or YV12 AVI, analogue capture by VirtualDub, filtered with VirtualDub plugins, saved without any selected compressor. MeGUI has a design flaw that it offers only [ OneClick | File Indexer | DirectShowSource ] when opening an AVI as video source for the AviSynth script creator. If OneClick is not your intention, then the remaining choice is between ffindex (which crashes) and DirectShowSource – which is only recommended as "last hope" ... you won't expect that MeGUI is then smart enough to prefer AviSource in the script. The button title appears not to be perfectly chosen. Still, ffindex should not crash on a technically correct AVI. I'd recommend checking this issue because it may not be too uncommon to occur in some automatized workflows. Last edited by LigH; 21st October 2011 at 07:08. |
21st October 2011, 16:05 | #1322 | Link |
typo lover
Join Date: May 2009
Posts: 595
|
http://wiki.multimedia.cx/index.php?title=NUT
NUT is a container with most formats currently supported. Especially, since almost all uncompressed formats are storable, I often use it. If ffms2 comes to support uncompressed video, NUT will be more usefull. But probably, it will be difficult.
__________________
my repositories Last edited by Chikuzen; 21st October 2011 at 16:08. |
22nd October 2011, 06:06 | #1323 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,361
|
Is there a way to load this clip in avisynth?
bgr24 avi, 11Mb: http://www.mediafire.com/?i47wys67hbmo25f ffvideo returns the next error: Code:
FFVideoSource: Insanity detected: decoder returned an empty frame (New File (1), line 2)
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
22nd October 2011, 06:56 | #1324 | Link | |
typo lover
Join Date: May 2009
Posts: 595
|
Quote:
__________________
my repositories |
|
22nd October 2011, 07:09 | #1325 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,361
|
Yes sorry, I needed to specify "frame accurate"
Although I reckon that if you are not trimming or calling frames in a non-linear way it is not important, but still. I also have problems loading Indeo 5, "IV50"
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread Last edited by Dogway; 22nd October 2011 at 07:42. |
22nd October 2011, 09:22 | #1326 | Link | |
typo lover
Join Date: May 2009
Posts: 595
|
Quote:
1. AVISource() is frame accurate except VBR audio formats. 2. LAVC supports Indeo5. thus, ffms2 can decode it. also, latest ffdshow-tryouts has vfw support for Indeo5. thus, you can read it with AVISource() if your file is AVI.
__________________
my repositories Last edited by Chikuzen; 22nd October 2011 at 14:17. |
|
22nd October 2011, 09:38 | #1327 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,361
|
ah thank you! I didn't know avisource was frame accurate.
I was having some issues with an indeo file. So now I looked for another file and it worked, thus I think those indeo were corrupted. Sorry for the confusion.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
22nd October 2011, 18:26 | #1328 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Quote:
or read the changelog: http://forum.doom9.org/showthread.ph...me#post1522092 That's an error message, not a crash. The problem is in some occasional quirks related to libavcodec outputting empty frames (often exacerbated/shown when using multiple threads), which then would cause an error. Prior to r518, FFMS2 really would crash (supposedly; I never recall encountering the problem myself in pre-r518 builds). Now it just errors out and tells you what's wrong. The main thing is still whether or not FFMS2 should be used to open uncompressed formats at all, especially in AVI files. But the error message is a safety precaution because of something FFMS2 has no control over. The other solution is to disable multithreading and see if that fixes it. On a different tangent, it's really not possible to compile a working AviSynth C plugin with native Cygwin, is it? I forced it in order to test the idea, but AviSynth didn't appreciate trying to load a natively Cygwin-compiled version of ffms2.dll (which also happened to be about 2 megs smaller than MinGW-compiled builds, probably because it was lacking the right functions/linked system libraries that make MinGW builds kosher). |
|
22nd October 2011, 21:51 | #1329 | Link | |
Compiling Encoder
Join Date: Jan 2007
Posts: 1,348
|
Quote:
A cygwin built ffms2.dll will have dependencies on the cygwin runtime. So if you have those dependencies located in a place avisynth can find them when it loads that ffms2.dll (e.g. PATH), i don't currently see a reason why it couldn't open it... |
|
24th October 2011, 00:27 | #1330 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Quote:
Code:
Warning: resolving _FFMS_DestroyAudioSource@4 by linking to _FFMS_DestroyAudioSource Use --enable-stdcall-fixup to disable these warnings Use --disable-stdcall-fixup to disable these fixups Warning: resolving _FFMS_GetAudio@28 by linking to _FFMS_GetAudio Warning: resolving _FFMS_CreateAudioSource@20 by linking to _FFMS_CreateAudioSource Warning: resolving _FFMS_GetAudioProperties@4 by linking to _FFMS_GetAudioProperties Warning: resolving _FFMS_DestroyVideoSource@4 by linking to _FFMS_DestroyVideoSource Warning: resolving _FFMS_GetFrame@12 by linking to _FFMS_GetFrame Warning: resolving _FFMS_GetVideoProperties@4 by linking to _FFMS_GetVideoProperties Warning: resolving _FFMS_GetFrameByTime@16 by linking to _FFMS_GetFrameByTime Warning: resolving _FFMS_GetTrackFromVideo@4 by linking to _FFMS_GetTrackFromVideo Warning: resolving _FFMS_GetTimeBase@4 by linking to _FFMS_GetTimeBase Warning: resolving _FFMS_GetFrameInfo@8 by linking to _FFMS_GetFrameInfo Warning: resolving _FFMS_SetOutputFormatV2@24 by linking to _FFMS_SetOutputFormatV2 Warning: resolving _FFMS_CreateVideoSource@24 by linking to _FFMS_CreateVideoSource Warning: resolving _FFMS_SetPP@12 by linking to _FFMS_SetPP Code:
src/index/ffmsindex.o:ffmsindex.cpp:(.text+0x98b): undefined reference to `_FFMS_ReadIndex' src/index/ffmsindex.o:ffmsindex.cpp:(.text+0xa00): undefined reference to `_FFMS_CreateIndexerWithDemuxer' src/index/ffmsindex.o:ffmsindex.cpp:(.text+0xb05): undefined reference to `_FFMS_DoIndexing' src/index/ffmsindex.o:ffmsindex.cpp:(.text+0xc33): undefined reference to `_FFMS_GetNumTracks' src/index/ffmsindex.o:ffmsindex.cpp:(.text+0xc62): undefined reference to `_FFMS_GetTrackFromIndex' src/index/ffmsindex.o:ffmsindex.cpp:(.text+0xc78): undefined reference to `_FFMS_GetTrackType' src/index/ffmsindex.o:ffmsindex.cpp:(.text+0xc8b): undefined reference to `_FFMS_GetNumFrames' src/index/ffmsindex.o:ffmsindex.cpp:(.text+0xdca): undefined reference to `_FFMS_WriteTimecodes' src/index/ffmsindex.o:ffmsindex.cpp:(.text+0xf04): undefined reference to `_FFMS_WriteIndex' src/index/ffmsindex.o:ffmsindex.cpp:(.text+0x114f): undefined reference to `_FFMS_Init' src/index/ffmsindex.o:ffmsindex.cpp:(.text+0x117c): undefined reference to `_FFMS_SetLogLevel' src/index/ffmsindex.o:ffmsindex.cpp:(.text+0x118a): undefined reference to `_FFMS_SetLogLevel' src/index/ffmsindex.o:ffmsindex.cpp:(.text+0x1198): undefined reference to `_FFMS_SetLogLevel' src/index/ffmsindex.o:ffmsindex.cpp:(.text+0x11a6): undefined reference to `_FFMS_SetLogLevel' src/index/ffmsindex.o:ffmsindex.cpp:(.text+0x11b4): undefined reference to `_FFMS_SetLogLevel' src/index/ffmsindex.o:ffmsindex.cpp:(.text+0x11cf): undefined reference to `_FFMS_DestroyIndex' src/index/ffmsindex.o:ffmsindex.cpp:(.text+0x13e3): undefined reference to `_FFMS_DestroyIndex' src/index/ffmsindex.o:ffmsindex.cpp:(.text+0x1460): undefined reference to `_FFMS_DestroyIndex' src/index/ffmsindex.o:ffmsindex.cpp:(.text+0x14cf): undefined reference to `_FFMS_DestroyIndex' collect2: ld returned 1 exit status make: *** [ffmsindex.exe] Error 1 Unable to load C Plugin: "C:\Program Files\AviSynth 2.5\plugins\ffms2.dll", error=0x7f Even if I put cygwin1.dll and cygstdc++-6.dll in the PATH, that error remains. I'm not sure of whatever else it might need, but if I copy all cyg* .dlls into the PATH, it causes the script to crash. |
|
24th October 2011, 01:54 | #1331 | Link |
Compiling Encoder
Join Date: Jan 2007
Posts: 1,348
|
if it's not building the stdcall function as stdcall then expecting them to be stdcall in other places, that's certainly an issue...
I would suggest try building with -mno-win32 but that's only going to prevent you from building the c plugin... -U_WIN32 may work similarly to not have the API be stdcall-based? (chances are this will still break something else) What is the reason why you're trying to build ffms2 with cygwin to have it be used with avisynth? Last edited by kemuri-_9; 24th October 2011 at 02:21. |
24th October 2011, 02:25 | #1332 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
@qyot27:
I would recommend to use Dependency Walker to check which DLL's are used/missing.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
24th October 2011, 05:25 | #1334 | Link | ||||
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Quote:
Quote:
Of course, I'd also just went ahead and copied all of the .dlls in Cygwin's /bin with cyg* prefixes to C:\WINDOWS and it crashed even with all of them present. Then I whittled it down to just those particular dependencies listed above. Same result. Quote:
Quote:
|
||||
24th October 2011, 07:55 | #1336 | Link | |
typo lover
Join Date: May 2009
Posts: 595
|
Quote:
wait the next release.
__________________
my repositories Last edited by Chikuzen; 24th October 2011 at 08:22. |
|
24th October 2011, 13:02 | #1337 | Link | ||
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Quote:
Quote:
|
||
24th October 2011, 13:41 | #1338 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
27th October 2011, 20:44 | #1339 | Link | |
Registered User
Join Date: Dec 2009
Posts: 63
|
Can someone explain me please, what does it means:
Quote:
Code:
FFIndex("my_file") FFAudioSource("my_file") Why FFIndex can't see that the source-file was changed? |
|
28th October 2011, 04:04 | #1340 | Link | |
Excessively jovial fellow
Join Date: Jun 2004
Location: rude
Posts: 1,100
|
Quote:
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|