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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1541 | Link |
|
interlace this!
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
|
roger: unless i'm misunderstanding your needs, you could use avisynth in ffdshow if you needed to work off something live.
this works rather well for realtime waveform and vectorscopes on a geurilla filmmaker setup.
__________________
sucking the life out of your videos since 2004 |
|
|
|
|
|
#1542 | Link | |
|
Registered User
Join Date: Jun 2011
Posts: 35
|
Quote:
Thanks1 -roger- |
|
|
|
|
|
|
#1543 | Link | |
|
Registered User
Join Date: Mar 2011
Posts: 5,062
|
Quote:
If memory serves me correctly, ffdshow installs optional AVISynth plugins in order for it's AVISynth filter to work. If they're not in the AVISynth plugins folder (ffavisynth.avsi and ffavisynth.dll) then re-installing ffdshow while selecting the option to install them should fix that. From there as long as you're decoding via DirectShow when encoding, and as long as ffdshow is doing the decoding, the script you added to ffdshow's AVISynth filter should run. |
|
|
|
|
|
|
#1547 | Link | |
|
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,442
|
Quote:
They are for a different purpose, allowing you to use ffdshow's own filters inside Avisynth. http://forum.doom9.org/showthread.php?t=85447 |
|
|
|
|
|
|
#1548 | Link |
|
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,501
|
Seems that r686 breaks C-plugin compilation. r684 compiles without a hitch.
Code:
gcc -Wall -march=pentium3 -mtune=pentium3 -std=gnu99 -s -fomit-frame-pointer -I/home/Stephen/win32_build/include -I. -Iinclude -D_FILE_OFFSET_BITS=64 -DFFMS_USE_FFMPEG_COMPAT -c -o src/avisynth_c/avisynth.o src/avisynth_c/avisynth.c In file included from src/avisynth_c/avisynth.c:21:0: include/ffms.h:333:1: warning: type defaults to 'int' in declaration of 'FFMS_IndexErrorHandling' [enabled by default] include/ffms.h:333:1: warning: '__stdcall__' attribute only applies to function types [-Wattributes] include/ffms.h:333:35: error: expected ',' or ';' before 'FFMS_GetErrorHandling' make: *** [src/avisynth_c/avisynth.o] Error 1 or the slightly more verbose output from gcc 4.8.0: Code:
i686-w64-mingw32-gcc -Wall -march=pentium3 -mtune=pentium3 -std=gnu99 -s -fomit-frame-pointer -I/home/qyot27/win32_build/include -I. -Iinclude -D_FILE_OFFSET_BITS=64 -DFFMS_USE_FFMPEG_COMPAT -c -o src/avisynth_c/avisynth.o src/avisynth_c/avisynth.c
In file included from src/avisynth_c/avisynth.c:21:0:
include/ffms.h:333:10: warning: type defaults to 'int' in declaration of 'FFMS_IndexErrorHandling' [enabled by default]
FFMS_API(FFMS_IndexErrorHandling) FFMS_GetErrorHandling(FFMS_Index *Index);
^
include/ffms.h:78:77: note: in definition of macro 'FFMS_API'
# define FFMS_API(ret) FFMS_EXTERN_C __attribute__((visibility("default"))) ret FFMS_CC
^
In file included from src/avisynth_c/avisynth.c:21:0:
include/ffms.h:333:1: warning: '__stdcall__' attribute only applies to function types [-Wattributes]
FFMS_API(FFMS_IndexErrorHandling) FFMS_GetErrorHandling(FFMS_Index *Index);
^
include/ffms.h:333:35: error: expected ',' or ';' before 'FFMS_GetErrorHandling'
FFMS_API(FFMS_IndexErrorHandling) FFMS_GetErrorHandling(FFMS_Index *Index);
^
make: *** [src/avisynth_c/avisynth.o] Error 1
|
|
|
|
|
|
#1551 | Link | |
|
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,501
|
Confirmed. It compiles without issues again now.
Quote:
A) That's the trunk, not the C branch. The trunk doesn't exhibit the problem. B) If it was the C branch, you didn't do a HEAD catchup. An un-caught-up C branch is still back at like, r643. |
|
|
|
|
|
|
#1552 | Link |
|
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,501
|
Due to request,
FFMS2 C-plugin r688 FFmpeg r41540 (git-2a622c2) Both FFmpeg and FFMS2 optimized for Pentium III MinGW-w64 GCC 4.8.0 20120610 (experimental) EDIT: Updated, here Last edited by qyot27; 15th June 2012 at 08:45. |
|
|
|
|
|
#1553 | Link | |
|
Registered User
Join Date: Aug 2006
Posts: 2,229
|
Quote:
What about SSEx etc instruction sets? |
|
|
|
|
|
|
#1555 | Link | ||
|
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,501
|
Quote:
It's also not being compiled natively for Linux, if that's what was happening. It's very specifically a MinGW-w64 build, because IMO there's very little point in compiling the C plugin on Linux. It has to have the AviSynth module enabled (as it's meant as the AviSynth plugin .dll, hence MinGW), since it's avisynth_c.o where the error is tripped. Quote:
|
||
|
|
|
|
|
#1557 | Link |
|
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,439
|
Probably as mentioned before for the ffdshow decoders: Most of their optimization is already done in Assembler. The little bit of C++ compiler optimization potential left to the sources is only related to the API.
|
|
|
|
|
|
#1558 | Link |
|
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,501
|
Slightly updated version since there were two more commits made while I was busy compiling everything the other day, and stupidly did not save the FFmpeg dev files.
FFMS2 C-plugin r690 FFmpeg r41586 (git-ddece75) Still PIII and MinGW-w64 GCC 4.8.0 EDIT: New build here. Last edited by qyot27; 11th July 2012 at 23:13. |
|
|
|
|
|
#1560 | Link | ||
|
もこたんインしたお!
Join Date: Jan 2008
Location: Finland / Japan
Posts: 512
|
Quote:
![]() After a brief test with Aegisub the only problem I was getting was that every frame came out twice, which could be sample-related (I would like to have someone with more knowledge on the matter comment on how broken this matroska remux is, as most things seem to fail to mux or deal with the H.264 stream included to begin with). Otherwise it seems like frame order was correct, and all frames seem to be output correctly. With Avisynth I did also try with threads=1 and that for some reason brought back the jerkiness in a bit different way. A build is available for testing here. Quote:
__________________
[I'm human, no debug]
|
||
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|