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. |
14th May 2009, 14:35 | #1 | Link |
likes to tinker
Join Date: Jan 2004
Location: girt by sea
Posts: 635
|
methods for opening MP4 and MKV in avisynth
Hi, I searched but didn't manage to find anything concise... I have coreAVC and the haali that comes with it.
Can someone please clarify whether these are the latest methods of opening MP4 or MKV in AVIsynth ? i) demux using MKVToolnix's MKVextract to extract to elementary streams and then run DGAVCDec over the elementary video and then open it with DGAVCDecode.dll in avisynth ii) use DirectShowSource("InputMP4orMKV",fps=theFPS,convertfps=true,audio=false) directly on the MP4 or MKV and haali and coreAVC will take care of it (MKVinfo should yield the framerate,.. you should know it anyway). Do both methods work OK with temporal processing ? There must be a reason neuron2 has created the DGAVCDec tool http://forum.doom9.org/showthread.php?t=122598 Anyone care to indicate their preference for getting the video into avisynth and why ? Last edited by halsboss; 14th May 2009 at 14:42. |
14th May 2009, 16:41 | #3 | Link |
Movie buff & shine
Join Date: Jan 2004
Location: Logan, the only hole above ground.
Posts: 257
|
DGAVC seems to have better memory management and access than DirectShowSource, as (I imagine) the majority of its source stems from his excellent DGDecode for MPEG-2.
DirectShowSource works okay, but I have had problems in the past where it can't reliably access the right frame and using seek=false is just cumbersome, memory hungry and time consuming... That's my experience...
__________________
I'm a boxer who can Bob () & Weave (). I like to Overlay () punches and Blur () his vision to ShowFiveVersions (). My KO punch will always Pulldown ().TimeStretch () and all he will hear is Tone (). |
14th May 2009, 17:23 | #5 | Link |
Registered User
Join Date: Mar 2007
Posts: 35
|
Hi,
Not sure if it is related to my same question http://forum.doom9.org/showthread.ph...19#post1285419 here is this the same that is being discussed in this thread. EDIT: My Question has been answered not sure if it applies here http://forum.doom9.org/showthread.ph...24#post1285424 Thanks Avinash Last edited by mavinashbabu; 14th May 2009 at 19:08. |
15th May 2009, 01:23 | #6 | Link | ||||
likes to tinker
Join Date: Jan 2004
Location: girt by sea
Posts: 635
|
Thanks, am browsing the thread DGAVCDec to look for it and came across this It seems there are minor "paff" (?) issues with DGAVCDec. DGAVCDecNV is here http://forum.doom9.org/showthread.php?t=141104
Just wondering, what are the relative pros/cons of DirectShowSource and DGAVCDec(NV) to help people choose amongst the options ? Given I have coreavc and haali installed, does directshowsource have drawbacks ? Like this ... not sure if was related to the codec (eg coreavc or something else) Quote:
Quote:
Quote:
Quote:
Last edited by halsboss; 15th May 2009 at 01:32. |
||||
15th May 2009, 01:48 | #7 | Link |
Derek Prestegard IRL
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
|
DSS2 works very well - it's an improved DirectShowSource.
I use it for my BluRay encodes all the time neuron2's tools are excellent as well, provided you have a half decent nVidia card. They're particularly handy for me when it comes to handling true 1080i60 content. PureVideo's bob deinterlacer is fairly solid, and runs real-time on the GPU. Compare that to glacial speeds (and better quality, but not by night and day) from TempGaussMC or MCBob. ~MiSfit
__________________
These are all my personal statements, not those of my employer :) Last edited by Blue_MiSfit; 15th May 2009 at 01:53. |
15th May 2009, 03:49 | #8 | Link | ||||||
likes to tinker
Join Date: Jan 2004
Location: girt by sea
Posts: 635
|
Quote:
edit: found this Quote:
Quote:
Quote:
Quote:
Quote:
Last edited by halsboss; 15th May 2009 at 05:41. |
||||||
15th May 2009, 03:52 | #9 | Link | ||
likes to tinker
Join Date: Jan 2004
Location: girt by sea
Posts: 635
|
And buzzqw and LoRd_MuldeR kindly pointed out ffmpegsource
Quote:
Not sure if this is relevant.. they both start with FF Quote:
edit: Ps does this forum have a facility for creating a table ? Last edited by halsboss; 15th May 2009 at 05:43. |
||
15th May 2009, 04:44 | #10 | Link |
likes to tinker
Join Date: Jan 2004
Location: girt by sea
Posts: 635
|
So far, given the above, for frame-accuracy in avisynth temporal processing on an MKV or MP4 source then seems like the options are
- DGAVCDecNV can do elementary streams and MKV, but not MP4. It's for NVIDIA card owners only. - DGAVCDec has more limitations than the NV version (dependency on libav library?) - possibly ffmpegsource however I'm not sure (neuron2 has some things to say in his DG threads on the libav library and is using an older version, can someone to interpret that and it's effect, if any, on ffmpegsource ?) - not directshowsource as it's not frame accurate - not DSS2 as there are artifacts when seeking in AVC video (or there were, when the post was made) Last edited by halsboss; 15th May 2009 at 09:17. |
15th May 2009, 09:13 | #11 | Link | |||
warpsharpened
Join Date: Feb 2007
Posts: 787
|
Quote:
Quote:
Quote:
The options for opening a mkv or mp4 and be frame accurate are: -ffmpegsource -dss2 I don't see an issue with either of those and I'm not really sure what exactly the problem is here... Last edited by TheRyuu; 15th May 2009 at 09:18. |
|||
15th May 2009, 10:48 | #12 | Link | ||||
likes to tinker
Join Date: Jan 2004
Location: girt by sea
Posts: 635
|
Quote:
Quote:
Quote:
Quote:
Hopefully you see the problem now, with conflicting reported errors and "no there isn't"s for some of the s/w on the list... what IS the situation when information apparently conflicts ? If I had the skills and samples I'd test them all, but I don't. Last edited by halsboss; 15th May 2009 at 11:11. |
||||
15th May 2009, 18:24 | #13 | Link |
Derek Prestegard IRL
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
|
If you have an nVidia card, don't mind spending just a few measly bucks, and don't mind spending the time to index any source you want to process, neuron2's DG***IndexNV tools are by far the best option. They are extremely reliable, give you excellent free deinterlacing, and are perfectly frame accurate, even when seeking inside a GOP.
If on the other hand you just need to process BluRay or other H.264 MKV / MP4 sources straight through without any trims or seek operations, and don't want to spend a dime, then there is absolutely nothing wrong with DSS2 at all. It works extremely well, and I've done literally hundreds upon hundreds of BluRay backups using this method ~MiSfit
__________________
These are all my personal statements, not those of my employer :) |
16th May 2009, 01:09 | #15 | Link | |
likes to tinker
Join Date: Jan 2004
Location: girt by sea
Posts: 635
|
from the dev forum (slightly abbreviated) ...
Quote:
|
|
16th May 2009, 01:38 | #16 | Link |
likes to tinker
Join Date: Jan 2004
Location: girt by sea
Posts: 635
|
EDIT Dec 2009, this summary is not accurate and is out of date... refer the the following 15 or so posts for clarification.
In summary, as at May 2009,
Happy to see updates... opinions welcome; it seems there are a few "either way" on some things Last edited by halsboss; 18th December 2009 at 08:00. |
16th May 2009, 08:35 | #17 | Link |
HDConvertToX author
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
|
@halsboss
please update the first post too... this thread could be a faq BHH
__________________
HDConvertToX: your tool for BD backup MultiX264: The quick gui for x264 AutoMen: The Mencoder GUI AutoWebM: supporting WebM/VP8 |
16th May 2009, 15:39 | #19 | Link | |
Excessively jovial fellow
Join Date: Jun 2004
Location: rude
Posts: 1,100
|
Quote:
it's funny how you mention the open gop issue that can happen with m2ts as if it was relevant for mkv/mp4; it's also funny how you think you can determine the truth only by reading doom9 posts Last edited by TheFluff; 16th May 2009 at 15:41. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|