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.

 

Go Back   Doom9's Forum > Video Encoding > New and alternative video codecs
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th March 2007, 20:27   #901  |  Link
Rectal Prolapse
Registered User
 
Join Date: Mar 2005
Posts: 433
DeepMeepBeep said:

Quote:
What seems to indicate that this a ffdshow bug is that like multiblitz mentioned it, if you don't use ffdshow as a VC1 decoder but only as a postprocessor filter you get the issue while the same VC1 decoder alone without ffdshow works fine.
I can confirm this - everything gets reported as 29.97 by FFDShow when it is attached to a VC1 decoder in the chain. Verified by Reclock and VMR9.
Rectal Prolapse is offline   Reply With Quote
Old 25th March 2007, 21:58   #902  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
I try to use ffdshow for realtime encoding to MPEG2 in AVI (constant bitrate, lavcodec).
I found that I must set "decoder bitsteam buffer size" to big value (about 10000000) and "maximum bitrate" to non-zero at "ratecontrol" tab. In other cases encoder freeze my system. may be it is possible somehow protect user from wrong settings. For example, use mean bitrate as a max bitrate, and auto-enlarge buffers to safe value (how to calculate it?).
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick
I usually do not provide a technical support in private messages.

Last edited by Fizick; 25th March 2007 at 22:29. Reason: typos
Fizick is offline   Reply With Quote
Old 26th March 2007, 00:07   #903  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by fastplayer View Post
AFAIK, Haruhiko's builds were all ANSI. That could explain the manifest issue (see link above or here)
It's all so much easier in a managed environment though
ANSI or UNICODE does not mater. Leak's builds are UNICODE, but it have the same behavior.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 26th March 2007, 00:08   #904  |  Link
ferchon03
Registered User
 
Join Date: Mar 2007
Posts: 1
Hello, I have a problem and I can't find a solution.
Every time I close the ffdshow video or audio decoder configuration I get this error:
"RunDLL An exception occurred while trying to run 'ffdshow.ax,configure'."
I've installed XP SP2 and the latest ffdshow from free-codecs.com.
Anyone know how I can fix it?

Thanks in advance.
ferchon03 is offline   Reply With Quote
Old 26th March 2007, 02:24   #905  |  Link
Dr Pizza
Registered User
 
Dr Pizza's Avatar
 
Join Date: Feb 2007
Posts: 65
Quote:
The only thing I've found that's obviously broken in x64 is the OSD; the display is completely corrupt. This isn't new, though; the old ffdshow x64 build has the same problem, so whatever's broken has been broken for many months.
Oh, now I see that the OSD uses MMX. Didn't think of that. I'm beginning to implement the MMX stubs (using SSE2 integer ops), as that seems to be the easiest way to move forward (as it means the code using MMX intrinsics can remain unchanged). The code is now better than it was, but there are still visual problems with the OSD. It's readable, kinda, but something's getting screwed up with the outlines. I might be doing some arithmetic backwards or something. Though I haven't compared to see how it looks in a 32-bit build, so maybe not.

I've only put in the functions needed for the OSD so far, because it's easy to tell when they're working and when they're not. I don't know what the other things (kernelDeint, TomsMoComp) should do, so I don't know how to tell if they're working or not.

Edit: aha, the problem was I was using a signed function for something that should have been unsigned. With that fixed I now have a properly working OSD.
Attached Files
File Type: txt mmintrin64.c.txt (15.4 KB, 70 views)

Last edited by Dr Pizza; 26th March 2007 at 02:39.
Dr Pizza is offline   Reply With Quote
Old 26th March 2007, 07:42   #906  |  Link
Leak
ffdshow/AviSynth wrangler
 
Leak's Avatar
 
Join Date: Feb 2003
Location: Austria
Posts: 2,441
Quote:
Originally Posted by ferchon03 View Post
Every time I close the ffdshow video or audio decoder configuration I get this error:
"RunDLL An exception occurred while trying to run 'ffdshow.ax,configure'."
I've installed XP SP2 and the latest ffdshow from free-codecs.com.
Anyone know how I can fix it?
That usually happens if you have more than one version of ffdshow installed somewhere and configure brings up the config dialog of an older installation (i.e. not the one you installed last).

Look where the links are pointing to and make sure they're pointing at the directory where you last installed ffdshow, and probably clean up older installations if that's what's causing this...

Removing all ffdshow versions and then installing just one should also fix it, I guess.
__________________
now playing: [artist] - [track] ([album])
Leak is offline   Reply With Quote
Old 26th March 2007, 08:30   #907  |  Link
SealTooGreat
Registered User
 
Join Date: Dec 2006
Posts: 302
@haruhiko_yamagata
HERE is the ffdshow video preset that i use, referring my previous post...btw I've tried ffdshow_rev1074_20070325_clsid_sse_icl9 and it doesn't strech my anamorphic encodes (xvid/ac3/avi) while keeping green line in the right border.

Last edited by SealTooGreat; 26th March 2007 at 08:37.
SealTooGreat is offline   Reply With Quote
Old 26th March 2007, 09:56   #908  |  Link
cc979
Curious BetaTester
 
Join Date: Oct 2005
Posts: 430
Quote:
Originally Posted by SealTooGreat View Post
@haruhiko_yamagata
HERE is the ffdshow video preset that i use, referring my previous post...btw I've tried ffdshow_rev1074_20070325_clsid_sse_icl9 and it doesn't strech my anamorphic encodes (xvid/ac3/avi) while keeping green line in the right border.
what video card have you got ?
__________________
Asrock N68-S AMD Athlon(tm) II X4 620 Processor (2.6GHz) - Crucial 2GB PC6400 800MHz DDR2 - Nvidia 9600GT

Tools: ProcessExplorer & ProcessMonitor - BatchCompressor

Guide: MinGW Compiling GCC
cc979 is offline   Reply With Quote
Old 26th March 2007, 09:59   #909  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by SealTooGreat View Post
@haruhiko_yamagata
HERE is the ffdshow video preset that i use, referring my previous post...btw I've tried ffdshow_rev1074_20070325_clsid_sse_icl9 and it doesn't strech my anamorphic encodes (xvid/ac3/avi) while keeping green line in the right border.
Thank you for your preset, I'm begining to understand.
I found milan's 20051115 works, 20051129 does not work.
beta1 works? I can't reproduce this.

It's "Output->Allow output format change during playback".
3 mode for this was introduced between 20051115 and 20051129. Intermediate state does not work. It works with it checked and "Connect to compatible filters only" unchecked. If "Connect to compatible filters only" is checked MPC fails over VMR on Windows Xp.
Haali's renderer is not working for me (probably because of my hardware). I have black screen. The AR changes correctly with 20051115 though. So my testing is not reliable.

Should Haali's renderer be added to compatible filters?
Please test rev 1075 with "Output->Allow output format change during playback" checked and "Connect to compatible filters only" unchecked.

With the setting above, beta1 works, beta2a does not work. So I think I have understand your issue .
__________________
[ Download ffdshow | Wiki ]

Last edited by haruhiko_yamagata; 26th March 2007 at 10:46.
haruhiko_yamagata is offline   Reply With Quote
Old 26th March 2007, 12:07   #910  |  Link
wozio
Registered User
 
Join Date: Apr 2005
Location: Krakow, Poland
Posts: 141
VMR9 deinterlacing with ffdshow

Hi,

I have a question: is it possible to use VMR9 deinterlacing using ffdshow for decoding for example mpeg2 tv broadcasts? It is possible with dscaler5 when set to auto deinterlacing and nv12 output color space and also in coreavc (for h264 of course) when set to directshow deinterlacing.

Has it something to overlay mixer hw deinterlacing option in outut tab?

Regards
Piotr
wozio is offline   Reply With Quote
Old 26th March 2007, 12:54   #911  |  Link
SealTooGreat
Registered User
 
Join Date: Dec 2006
Posts: 302
@haruhiko_yamagata
"Use overlay mixer" also has to be checked in order to get correct AR and I always keep "Connect to compatible filters only" unchecked 'cause Haali Renderer is not on the list. And you are right it doesn't work with "Output->Allow output format change during playback" intermediate state.
It seems that rev 1075 doesn't exist at ffdshow download page. Have you meant rev 1074?!
Quote:
Originally Posted by haruhiko_yamagata View Post
With the setting above, beta1 works, beta2a does not work.
I wonder why?!
...I've rolled back to rev1006_clsid_sse_icl9 - works fine for me considering this problem I came on.(beta1 works fine too)

Last edited by SealTooGreat; 26th March 2007 at 13:03.
SealTooGreat is offline   Reply With Quote
Old 26th March 2007, 13:02   #912  |  Link
Leak
ffdshow/AviSynth wrangler
 
Leak's Avatar
 
Join Date: Feb 2003
Location: Austria
Posts: 2,441
Quote:
Originally Posted by SealTooGreat View Post
It seems that rev 1075 doesn't exist at ffdshow download page. Have you meant rev 1074?!
He definitely meant rev. 1075 - it's just that nobody has compiled it yet...
__________________
now playing: [artist] - [track] ([album])
Leak is offline   Reply With Quote
Old 26th March 2007, 13:09   #913  |  Link
kurt
sidekick
 
kurt's Avatar
 
Join Date: Apr 2004
Location: old Europe
Posts: 610
ffdshow_beta2_20070319_clsid.exe PAR issue

Quote:
Originally Posted by SealTooGreat View Post
...I've rolled back to rev1006_clsid_sse_icl9 - works fine for me considering this problem I came on.(beta1 works fine too)
here beta2 doesn't work only for avi files (par.testfile)
other containers like mkv/mp4 don't show this behavior...

info:
latest mpc build by drevil_xxl
latest haali splitter


Edit: nevermind, rev 1075 should fix it
__________________
greets, kurt.
Pioneer PDP-427 XA | Popcorn Hour NMT C-200 | Sony STR-DB 840 QS | Canton Ergo 91 DC

Last edited by kurt; 26th March 2007 at 13:14.
kurt is offline   Reply With Quote
Old 26th March 2007, 14:02   #914  |  Link
marcellus
Registered User
 
Join Date: Mar 2004
Posts: 95
Quote:
Originally Posted by Fizick View Post
I try to use ffdshow for realtime encoding to MPEG2 in AVI (constant bitrate, lavcodec).
I found that I must set "decoder bitsteam buffer size" to big value (about 10000000) and "maximum bitrate" to non-zero at "ratecontrol" tab. In other cases encoder freeze my system. may be it is possible somehow protect user from wrong settings. For example, use mean bitrate as a max bitrate, and auto-enlarge buffers to safe value (how to calculate it?).
In ffdshow encoder dialog use Presets->Load All->Libavcodec DVD PAL (or anything you find apropriate). This should give good defaults. I myself use that preset but I change bitrate from 6000 to 1500-2000 kbs (plus I use 2 b frames). With that setting I obtain acceptable tv captures.
marcellus is offline   Reply With Quote
Old 26th March 2007, 19:54   #915  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
marcellus,
thanks. (My CPU is slow, so I try use 352x576. with max bitrate 4000. )
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick
I usually do not provide a technical support in private messages.
Fizick is offline   Reply With Quote
Old 26th March 2007, 20:18   #916  |  Link
Leak
ffdshow/AviSynth wrangler
 
Leak's Avatar
 
Join Date: Feb 2003
Location: Austria
Posts: 2,441
Download
Patch (against rev. 1076)

Another small update - I've added "applying pulldown" to the OSD info when pulldown is actually being applied.

I've also added debug printouts, which can be activated by starting the Avisynth script with a "#debug" comment. Those printouts can be logged with utilities like Sysinternal's DebugView.

np: Denzel + Huhn - Karlsruhe (Paraport)
__________________
now playing: [artist] - [track] ([album])
Leak is offline   Reply With Quote
Old 26th March 2007, 20:19   #917  |  Link
SealTooGreat
Registered User
 
Join Date: Dec 2006
Posts: 302
@haruhiko_yamagata
rev 1075 works fine with MPC(+Haali Renderer), considering PAR/anamorphic issue.
Thanx
SealTooGreat is offline   Reply With Quote
Old 26th March 2007, 21:29   #918  |  Link
marcellus
Registered User
 
Join Date: Mar 2004
Posts: 95
@Fizick
I don't know what cpu you have, mine is an AthlonXP 2600 (I wouldn't call it fast these days ) and I capture full PAL->Kerneldeinterlace->Mpeg2 encode. (the audio part is captured as wav, I convert it to mp2 after the capture). I always use icl9 ffdshow compiles, it really makes a difference.

But keep in mind that a larger bitrate means more cpu needed (i don't know why) so that's why I keep it low at 1500 kpbs. 4000 kbps at 352x576 I think is overkill with libavcodec quality.

I forgot to mention that I "cooked" a custom quantization matrix that works very well with libavcodec mpeg2 encoder (I tried it with Xvid too but although I got good results I sticked with H.236 for Xvid encodes):
Code:
8,14,18,21,23,24,26,27
14,21,24,27,29,30,32,33
18,24,28,30,33,34,36,37
21,27,30,33,35,37,38,39
23,29,33,35,37,39,40,41
24,30,34,37,39,40,42,43
26,32,36,38,40,42,43,44
27,33,37,39,41,43,44,46

16,20,23,24,26,27,28,29
20,24,27,29,30,31,32,33
23,27,29,31,32,33,34,35
24,29,31,33,34,35,36,37
26,30,32,34,35,37,37,38
27,31,33,35,37,38,39,39
28,32,34,36,37,39,40,40
29,33,35,37,38,39,40,41
Attached Files
File Type: rar 46-41.rar (745 Bytes, 60 views)
marcellus is offline   Reply With Quote
Old 26th March 2007, 21:35   #919  |  Link
Kado
Otaku
 
Kado's Avatar
 
Join Date: Sep 2006
Location: Portugal
Posts: 576
Audio request and a issue...

Hello

I was wondering if someone could add the wma decoder to the list of selectable decoders for WMA 7/8/9 like it it was done before but for WMV formats, so instead of using libavcodec I could use wma decoder within ffdshow.

Also I found the following issue:
If the plug in "dsp_stacker.dll" for Winamp is in the plugins folder after opening a file that uses ffdshow audio decoder if you try to open the audio decoder panel, the player (MPC in my case) hangs and you need to use the task manager to close it. This only happens if the winamp dsp option is enabled in ffdshow (i'm using enhancer for audio processing).

Steps to replicate this event:
Enable dsp processing in ffdshow with a plugin like Enhancer , install Multiple-DSP Stacker , open a file that uses ffdshow audio decoder and try to open the decoder panel.

If you load the file then install the dsp stacker the panel will open normally and the dsp stacker will be listed in the dsp plugins list.

Kado
Kado is offline   Reply With Quote
Old 27th March 2007, 13:07   #920  |  Link
foxyshadis
Angel of Night
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
The wmv decoders do list wmv, as long as you have them installed correctly. I think it requires at least WMP9, I can't say for sure though, since I have 11 now.

Will have to test the DSP issue, although some DSP plugins just plain aren't coded very nicely, and practically none support greater than 16-bit stereo.
foxyshadis is offline   Reply With Quote
Reply

Tags
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl


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 22:59.


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