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. |
7th August 2011, 17:23 | #1221 | Link | |||
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Quote:
Quote:
Code:
svn checkout http://ffmpegsource.googlecode.com/svn/branches/c_plugin ffms2-cinterface cd ffms2-cinterface svn merge -r 512:518 http://ffmpegsource.googlecode.com/svn/trunk Quote:
However, I just tried something else (with a smaller file I'd meant to use as a sample if it came to that), and I'm now pretty convinced that the issue is squarely on HCenc's side, specifically in the 1-pass mode's sampling pass routine, and if anything, the method used for the sampling pass must be exposing something in the way libavformat handles FLV demuxing that it doesn't like. Using 2-pass mode averts the issue entirely, with the same file and same FFMS2 build, even where that combination would make it crash during 1-pass mode's sampling pass at ~24%. I can still attempt building a debug version through VSE2008, even if only for completeness' sake. Last edited by qyot27; 7th August 2011 at 17:27. |
|||
7th August 2011, 18:29 | #1222 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
VSE2008 seems to have miscompiled the plugin, because ffmsindex crashes immediately. I used the following steps:
Code:
Build FFmpeg as usual with MinGW Open build-msvc/ffms2_2008.sln Select ffms2 Project from Solution Explorer Options->Projects and Solutions->VC++ Directories Library files directories. Add the following to the end of the list: C:\MinGW\cross-mingw.gcc446.generic.20101013\lib\gcc\i686-pc-mingw32\4.4.6 C:\MinGW\cross-mingw.gcc446.generic.20101013\i686-pc-mingw32\lib [FFmpeg install directory /lib folder] Include files directories. Add the following to the end of the list: C:\MinGW\msinttypes C:\MinGW\cross-mingw.gcc446.generic.20101013\lib\gcc\i686-pc-mingw32\4.4.6\include C:\MinGW\cross-mingw.gcc446.generic.20101013\i686-pc-mingw32\include [FFmpeg install directory /include folder] Leave configuration as Debug Configuration Properties->C/C++->Preprocessor Under 'Preprocessor Definitions', remove HAALISOURCE Configuration Properties->Linker Under 'Additional Dependencies' add: vfw32.lib libgcc.a libmingwex.a libcoldname.a libz.a libbz2.a libpthreadGC2.a Right-click on ffms2 Project in Solution Explorer. Select Build. After it finishes, right-click on ffmsindex Project. Select Build. |
7th August 2011, 21:34 | #1223 | Link |
Excessively jovial fellow
Join Date: Jun 2004
Location: rude
Posts: 1,100
|
That looks mostly correct to me, but you shouldn't need to add the extra libs to the additional dependencies like that; they should be autoadded via libs.cpp (except libbz2.a, which is not in there). What do you need vfw32.lib for anyway? Also, I think you should use libmoldname.a and not libcoldname.a.
|
7th August 2011, 23:00 | #1224 | Link | |
warpsharpened
Join Date: Feb 2007
Posts: 787
|
Quote:
Edit: If you can't compile ffms2, here's a debug build for you: http://warpsharp.info/ffms2/ffms2-r519-debug.7z Last edited by TheRyuu; 7th August 2011 at 23:16. |
|
8th August 2011, 00:36 | #1225 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
The sample and the HCenc profile used: http://www.mediafire.com/?95ngx1h5nl2znat
It can be seen with HCenc 0.25 or 0.26 beta. Code:
ffmsindex test.flv echo FFVideoSource("test.flv",fpsnum=30000,fpsden=1001).BilinearResize(720,480)>test.avs hcenc_026 -i test.avs -o test.m2v -ini "testprof.ini" |
10th August 2011, 19:03 | #1226 | Link |
Registered User
Join Date: Jul 2011
Posts: 1,121
|
Can you use this, to decode Fraps files correctly?
I have tried, it becomes YV12 (but it should be Yuy2 as far as i know), and it takes alot of time, as with avisource it takes a sec, but it decodes to RGB32 thanks to Fraps Decoder, |
10th August 2011, 19:11 | #1227 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Which version of ffms2 did you use? Can you make a short sample and upload somewhere that shows the same behavior?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
10th August 2011, 19:36 | #1228 | Link |
Registered User
Join Date: Jul 2011
Posts: 1,121
|
i downloaded from the google project site, so probably latest, was made the 3rd i think.
Well donīt think i need to send a sample, just fraps anyting;P But isnīt it supposed to be in Yuy2, cause everyone i asked told me it should be, and i read that FFVideoSource was suppose to decode it right, without the upsampling that the fraps decoder do. But when i use FFvideosource("fraps") it becomes YV12, atleast Avspmod tells me so, and RGB32 with AviSource. |
10th August 2011, 19:46 | #1229 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Fraps is only YV12 or RGB24, do your homework next time.
...and don't ask whoever you asked ever again about video related things.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
11th August 2011, 08:22 | #1230 | Link |
Registered User
Join Date: Jul 2011
Posts: 1,121
|
Okay, hmm, can i ask how you are sure about it?
Cause i canīt find and definite answer except for believing what people are saying. You say YV12 or RGB24, and the ones in CCCP forum and another place att sourceforge said Yuy2. I also read itīs YV12 Full Range, which i why i convert from RGB32 (with avisource) to .ConvertToYV12(matrix="Rec709"). Sorry didnīt want to Hijack this thread or anything, but as you seems to know about it, it would be nice to be done with it. |
11th August 2011, 09:34 | #1231 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Quote:
(note: you can't really trust what vfw decoders output, they have a tendency to pick a different output format than what the actual contents are in)
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
11th August 2011, 12:55 | #1232 | Link |
Registered User
Join Date: Jul 2011
Posts: 1,121
|
Sorry but what is VFW decoder, i heard of it, but which one is it?
The fraps or the FFVideo? Thanks for helping out EDIT: and why does it take a year for FFVideoSource to load the fraps movie when AviSource take a sec? Last edited by zerowalker; 11th August 2011 at 15:03. |
11th August 2011, 20:09 | #1234 | Link |
Registered User
Join Date: Jul 2011
Posts: 1,121
|
Ah i see, thanks.
Is there a way to prevent the indexing? And found out that FFVS makes the Fraps movies alot darker (all decoders except fraps does that i think), so i guess i have to do with the upsampling and downsampling anyhow. |
11th August 2011, 21:24 | #1236 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
No. That is the whole point of ffms2.
If indexing bothers you so much just go use the official fraps vfw decoder or ffdshow's vfw decoder.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
12th August 2011, 00:13 | #1237 | Link | |
Registered User
Join Date: Jul 2011
Posts: 1,121
|
Quote:
And i see, will try with colormatrix But is there anyway to speed indexing upp, cause if i take many videos, letīs say 15. It takes a Really long time, so if there is a way to reduce the time, please tell. Thanks for the help guys! |
|
12th August 2011, 00:27 | #1238 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
May I suggest buying an SSD or maybe a bit of RAID?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
12th August 2011, 00:56 | #1239 | Link |
Registered User
Join Date: Jul 2011
Posts: 1,121
|
Ah, if itīs canīt be reduced by software or how to put it, i will just go with it as it is
Didnīt mean to be rude against the plugin or what to say or anything, i am just not to good with this things. But thank you all for helping out, appreciate it |
17th August 2011, 05:58 | #1240 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,361
|
Is it normal the green color cast when resizing with ffvideosource?
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
Thread Tools | Search this Thread |
Display Modes | |
|
|