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

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Display Modes
Old 17th July 2012, 10:34   #61  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,576
Quote:
Originally Posted by SAPikachu View Post
I'm not sure, but it looks like encoding artifacts?
Hmm, I don't think they are artifacts. The video source is a still image under 185mbps bitrate... it should be virtually lossless. Image taken with old build have straight lines which Is expected. Bot on another screenshow... I never seen such artifacts, pattern looks too perfect to me and doesn't even reminds any kind of macroblocks.
It will be nice to hear someone else's opinion on this.

Last edited by Keiyakusha; 17th July 2012 at 10:36.
Keiyakusha is offline   Reply With Quote
Old 17th July 2012, 12:07   #62  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,869
Quote:
Originally Posted by SAPikachu View Post
That's a good idea, how can I miss this...

Just compiled a build against latest ffmbc (0.7rc7), seems it decodes without problem but I didn't check whether the bug is fixed. Anyone interested to try it?

I will check it.

update: it works fine- great work

Last edited by kolak; 17th July 2012 at 13:09.
kolak is offline   Reply With Quote
Old 17th July 2012, 13:23   #63  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,869
So now- does ffms2 has to index all files, even those with I frames only- like ProRes, uncompressed?
Indexing is bit slow- I have 0.5% CPU usage.
Some QT reference files are also not working same way as in QT player.

Last edited by kolak; 17th July 2012 at 17:10.
kolak is offline   Reply With Quote
Old 18th July 2012, 01:28   #64  |  Link
SAPikachu
Registered User
 
SAPikachu's Avatar
 
Join Date: Aug 2007
Posts: 218
Quote:
Originally Posted by kolak View Post
So now- does ffms2 has to index all files, even those with I frames only- like ProRes, uncompressed?
Yes, ffms2 need index for all files. Indexing speed mainly depends on your disk speed (or network speed if your file is on a network drive).

Quote:
Originally Posted by kolak View Post
Indexing is bit slow- I have 0.5% CPU usage.
You can check transfer speed using performance monitor (assuming you are using win7). If indexing uses more than half available bandwidth then I think it is normal.

Quote:
Originally Posted by kolak View Post
Some QT reference files are also not working same way as in QT player.
How are they different?


PS: The previous version can't read color matrix flag from source file, I just compiled a build that fixed that.
__________________
f3kdb 1.5.1 / MP_Pipeline 0.18

ffms2 builds with 10bit output hack:
libav-9a60b1f / ffmpeg-1e4d049 / FFmbc-0.7.1
Built from ffms2 6e0d654 (hack a9fe004)

Mirrors: http://bit.ly/19TwDD3
SAPikachu is offline   Reply With Quote
Old 18th July 2012, 10:22   #65  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,869
Sorry- indexing is fine, I'm just not patient enough
It reads at about 100MB/sec. Gigabit on Win7 works at full speed- not at 50% like it use to be on XP.
One thing- in some cases info jumps from 0 to 99% straight away, but sometimes it works fine. These are all I frame only files- ProRes, DNxHD, uncompressed.
It took about 6 minutes to do 130GB ProRes on my local RAID, so it's ok.

Files, which I refer to are reference files to AVID MXF files (reference files are created by 3rd party software CalibratedQ). I noticed that nothing based on ffmpeg can open them- ffmpeg, ffmbc etc. They do work fine in QT player.
Thanks for the new build- reading ProRes, DNxHD was fine anyway (at least for my samples), but good to have it working as it should.

Last edited by kolak; 18th July 2012 at 10:42.
kolak is offline   Reply With Quote
Old 1st August 2012, 19:13   #66  |  Link
jmac698
Registered User
 
Join Date: Jan 2006
Posts: 1,869
Cool, updated http://avisynth.org/mediawiki/High_b..._with_Avisynth
jmac698 is offline   Reply With Quote
Old 2nd August 2012, 01:13   #67  |  Link
SAPikachu
Registered User
 
SAPikachu's Avatar
 
Join Date: Aug 2007
Posts: 218
Quote:
Originally Posted by jmac698 View Post
Thanks. But I think we need to mention that ffms in the first post is linked with libav, and the second one is linked with ffmbc. The first version may be better for general video files, but have bug on decoding DNxHD files. The second one fixed the bug, and may have better support for professional video formats.
__________________
f3kdb 1.5.1 / MP_Pipeline 0.18

ffms2 builds with 10bit output hack:
libav-9a60b1f / ffmpeg-1e4d049 / FFmbc-0.7.1
Built from ffms2 6e0d654 (hack a9fe004)

Mirrors: http://bit.ly/19TwDD3
SAPikachu is offline   Reply With Quote
Old 2nd August 2012, 04:07   #68  |  Link
jmac698
Registered User
 
Join Date: Jan 2006
Posts: 1,869
Um... could you go there, click edit, and make the changes? It's not hard
jmac698 is offline   Reply With Quote
Old 2nd August 2012, 07:21   #69  |  Link
SAPikachu
Registered User
 
SAPikachu's Avatar
 
Join Date: Aug 2007
Posts: 218
Quote:
Originally Posted by jmac698 View Post
Um... could you go there, click edit, and make the changes? It's not hard
Oh sorry, previously I thought that it needs special privilege to edit the wiki. Just made some modification to it.
__________________
f3kdb 1.5.1 / MP_Pipeline 0.18

ffms2 builds with 10bit output hack:
libav-9a60b1f / ffmpeg-1e4d049 / FFmbc-0.7.1
Built from ffms2 6e0d654 (hack a9fe004)

Mirrors: http://bit.ly/19TwDD3
SAPikachu is offline   Reply With Quote
Old 2nd August 2012, 07:59   #70  |  Link
jmac698
Registered User
 
Join Date: Jan 2006
Posts: 1,869
Thanks.
I made a small correction, but really I should have told you first and let you do it. You can check if you agree.
jmac698 is offline   Reply With Quote
Old 2nd August 2012, 08:05   #71  |  Link
SAPikachu
Registered User
 
SAPikachu's Avatar
 
Join Date: Aug 2007
Posts: 218
That's OK, it was just my typo (and bad grammar :P ). The paragraph is clearer now, thanks.
__________________
f3kdb 1.5.1 / MP_Pipeline 0.18

ffms2 builds with 10bit output hack:
libav-9a60b1f / ffmpeg-1e4d049 / FFmbc-0.7.1
Built from ffms2 6e0d654 (hack a9fe004)

Mirrors: http://bit.ly/19TwDD3
SAPikachu is offline   Reply With Quote
Old 17th January 2013, 11:40   #72  |  Link
fleebitten
Registered User
 
Join Date: Aug 2007
Posts: 9
I have a problem loading the patched ffms2.dll.

I'm using Avisynth 2.60 and Virtualdub 1.10.3 (32bit). I have ffms2.dll, ffmsindex.exe and FFMS2.avsi in my Avisynth plugins folder. Opening my avs file in Virtualdub gives the following error:

Quote:
Avisynth open failure:
LoadPlugin: unable to load "C:\Program Files\AviSynth 2.5\plugins\ffms2.dll", error=0x7f
However, using an unpatched ffms2.dll and ffmsindex.exe works. There is a delay while indexing then the video opens.

I've tried both versions: ffmbc and libav. I used LoadCPlugin for ffmbc which I believe is correct. I admit I lean towards the newbie side.

Any ideas?
Many thanks.
fleebitten is offline   Reply With Quote
Old 18th January 2013, 12:52   #73  |  Link
SAPikachu
Registered User
 
SAPikachu's Avatar
 
Join Date: Aug 2007
Posts: 218
Quote:
Originally Posted by fleebitten View Post
I have a problem loading the patched ffms2.dll.

I'm using Avisynth 2.60 and Virtualdub 1.10.3 (32bit). I have ffms2.dll, ffmsindex.exe and FFMS2.avsi in my Avisynth plugins folder. Opening my avs file in Virtualdub gives the following error:



However, using an unpatched ffms2.dll and ffmsindex.exe works. There is a delay while indexing then the video opens.

I've tried both versions: ffmbc and libav. I used LoadCPlugin for ffmbc which I believe is correct. I admit I lean towards the newbie side.

Any ideas?
Many thanks.
Sorry I mistakenly broke XP compatibility of my last build. Are you using Windows XP? If so, you can try my latest build.
__________________
f3kdb 1.5.1 / MP_Pipeline 0.18

ffms2 builds with 10bit output hack:
libav-9a60b1f / ffmpeg-1e4d049 / FFmbc-0.7.1
Built from ffms2 6e0d654 (hack a9fe004)

Mirrors: http://bit.ly/19TwDD3
SAPikachu is offline   Reply With Quote
Old 18th January 2013, 20:30   #74  |  Link
fleebitten
Registered User
 
Join Date: Aug 2007
Posts: 9
Hello SAPikachu, yes I'm using XP. I'll give this one a try, thanks very much.
fleebitten is offline   Reply With Quote
Old 19th January 2013, 11:38   #75  |  Link
fleebitten
Registered User
 
Join Date: Aug 2007
Posts: 9
Just to confirm that this worked okay, thank you.

Does this version support 4:2:2 like the previous one you posted?
Many thanks.
fleebitten is offline   Reply With Quote
Old 19th January 2013, 13:36   #76  |  Link
SAPikachu
Registered User
 
SAPikachu's Avatar
 
Join Date: Aug 2007
Posts: 218
Quote:
Originally Posted by fleebitten View Post
Just to confirm that this worked okay, thank you.

Does this version support 4:2:2 like the previous one you posted?
Many thanks.
Yes, hacks are the same as ones in previous versions.
__________________
f3kdb 1.5.1 / MP_Pipeline 0.18

ffms2 builds with 10bit output hack:
libav-9a60b1f / ffmpeg-1e4d049 / FFmbc-0.7.1
Built from ffms2 6e0d654 (hack a9fe004)

Mirrors: http://bit.ly/19TwDD3
SAPikachu is offline   Reply With Quote
Old 19th January 2013, 16:43   #77  |  Link
fleebitten
Registered User
 
Join Date: Aug 2007
Posts: 9
That's great, thanks.

I would just like to check that everything is okay as I'm not sure exactly what the LSB part should look like. I'm opening a 10bit 4:2:2 v210 clip. Viewing in Virtualdub shows green for the LSB part with just the brightest highlights that are in the video coming through (white only). In other words, just the very highest luma values. Is this how it should be?
fleebitten is offline   Reply With Quote
Old 20th January 2013, 12:02   #78  |  Link
SAPikachu
Registered User
 
SAPikachu's Avatar
 
Join Date: Aug 2007
Posts: 218
Quote:
Originally Posted by fleebitten View Post
That's great, thanks.

I would just like to check that everything is okay as I'm not sure exactly what the LSB part should look like. I'm opening a 10bit 4:2:2 v210 clip. Viewing in Virtualdub shows green for the LSB part with just the brightest highlights that are in the video coming through (white only). In other words, just the very highest luma values. Is this how it should be?
For 10bit videos there aren't much data in LSB part, so as long as LSB part is not all green, it should be normal.
__________________
f3kdb 1.5.1 / MP_Pipeline 0.18

ffms2 builds with 10bit output hack:
libav-9a60b1f / ffmpeg-1e4d049 / FFmbc-0.7.1
Built from ffms2 6e0d654 (hack a9fe004)

Mirrors: http://bit.ly/19TwDD3
SAPikachu is offline   Reply With Quote
Old 21st January 2013, 22:40   #79  |  Link
fleebitten
Registered User
 
Join Date: Aug 2007
Posts: 9
Thanks again SAPikachu.

I've a problem with f3kdb_dither though. My source video is v210 4:2:2 10bit as mentioned. With the following code:
Code:
FFVideoSource("test.avi", enable10bithack = true)
f3kdb_dither(input_depth = 10)
I get a lot of noise and no picture to speak of. Not until I set input_depth to 16 do I get a normal picture.

Any ideas why that is?
Thanks for any help.
fleebitten is offline   Reply With Quote
Old 21st January 2013, 23:06   #80  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,869
Maybe because hacked ffms2 reads 10bit as 8bit+8bit, so input should be 16bit. Avisynth does not support "real" 10bit formats.
kolak is offline   Reply With Quote
Reply

Tags
avisynth, black frames, detecting, dnxhd, mov

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:58.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.