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. |
17th December 2010, 22:24 | #12801 | Link |
Registered User
Join Date: Dec 2010
Posts: 4
|
Can an AviSynth script running in ffdshow on MPEG2 video somehow automatically determine what field is first? Or maybe can I reorder top-field-first video so that the script always gets its favorite bottom-field-first stuff? I don't seem to be getting meaningful results with GetParity().
|
17th December 2010, 23:09 | #12802 | Link |
Registered User
Join Date: Dec 2003
Posts: 179
|
Thanks for the quick reply, clsid.
So using libavcodec, even if I force, say, 32 bit output by allowing only 32 bit in output formats, I will basically output padded 16 bit? (and lose some information from the original 24 bit stream). Are there any disadvantages to using libdts in this case? It seems it outputs 24 bit as expected (actually 32 bit but I think I read somewhere about FFDShow not outputting 24 bit usually but padding it to 32 bit). I used libavcodec as I'm not sure if/when libdts gets updated. Thanks again. Last edited by adam777; 18th December 2010 at 09:06. |
18th December 2010, 16:05 | #12803 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
When software works, there is no need for constant updates. You can safely use libdts, which is also the default in ffdshow. That one decodes to 32-bit float by default.
__________________
MPC-HC 2.2.1 |
19th December 2010, 00:55 | #12805 | Link | |
4:2:0 hater
Join Date: Apr 2008
Posts: 1,302
|
Quote:
|
|
19th December 2010, 17:23 | #12809 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
@STaRGaZeR
Have you tried adding add this to avfiltergraph.h? #ifdef __cplusplus extern "C" { #endif
__________________
MPC-HC 2.2.1 |
19th December 2010, 18:40 | #12810 | Link | |
4:2:0 hater
Join Date: Apr 2008
Posts: 1,302
|
Quote:
Same error unfortunately. |
|
19th December 2010, 20:29 | #12811 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
After the rar update, I get this compile error with vs2008 for x64:
.\src\subtitles\Tstream.cpp(514) : error C2664: 'void (HANDLE,UNRARCALLBACK,LPARAM)' : cannot convert parameter 2 from 'overloaded-function' to 'UNRARCALLBACK' None of the functions with this name in scope match the target type No problem with x86 build. Any ideas?
__________________
MPC-HC 2.2.1 |
19th December 2010, 22:36 | #12812 | Link | |
Registered User
Join Date: Aug 2010
Posts: 52
|
Quote:
|
|
20th December 2010, 10:15 | #12813 | Link |
Registered User
Join Date: Mar 2007
Posts: 4
|
Need help with ffdshow x64 version.
I've got crash in ffdshow x64 when memory usage of the program exceeds 2GB. The program I'm developing is 64-bit and using 64-bit version of DirectShow. Main thread is creating several decoder objects and every object creates its own filtergraph which uses ffdshow x64 for decoding. As soon as memory working set of the program exceeds 2GB, program crashes when trying to create next filtergraph with ffdshow in it. Call stack shows that crash is somewhere in libavcodec.dll. When using another codec (for example CoreAVC x64) in the same configuration, everything works fine even program's working set is 5-6Gb. Any suggestions why this happens? Thanks in advance. |
20th December 2010, 12:35 | #12814 | Link |
Registered User
Join Date: Jun 2005
Posts: 278
|
Non-64-bit-safe coding. E.g. casting a pointer to an int (HANDLE type might be just as bad, I don't know for sure), or calling a function without including the proper header (should cause an error with C++ though, and for C you should set compiler options so any of these result in a compile error).
|
20th December 2010, 22:48 | #12816 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
Fixed
__________________
MPC-HC 2.2.1 |
21st December 2010, 16:07 | #12820 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
There was a malloc related change in ffmpeg recently. So maybe it is just by using a recent ffdshow build the problem got fixed.
__________________
MPC-HC 2.2.1 |
Tags |
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl |
|
|