View Full Version : ffdshow tryouts project: Discussion & Development


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [16]

clsid
15th May 2012, 17:28
The problem is caused by r4260 (http://ffdshow-tryout.svn.sourceforge.net/viewvc/ffdshow-tryout?view=revision&revision=4260), in which support for interlaced VC-1 was added.

_pietro
19th May 2012, 07:13
is it possible to use ffdshow with windows media player 12 to play dvds?!? i can't figure to work the mpeg2 option even disabling win7 codecs...thanks

FlashGordon
23rd May 2012, 10:10
I think I've found a glitch with the MPEG2 libavcodec decoder. The skips happen when I open the DVD from the VIDEO_TS.IFO file. The glitch is 100% reproducible for me and the skips happen at the same exact spots. If I open the VOB by itself using LAV video decoder, the skips do not occur. If I open the VIDEO_TS.IFO using the MPC-HC mpeg2 decoder, the skips do not occur. Here is a sample: http://www.mediafire.com/download.php?im9htdjxo3v2kp7

EDIT: I tested the sample on my other machine and the skips are still there with latest ffdshow. Also, I realized depositfiles requires a 60 second wait, a captcha, and a 20 minute download time... so I updated the link to mediafire

egur
25th May 2012, 13:26
I've added HW deinterlacing, detail and denoise to the Intel QuickSync Decoder.
I don't want to commit my changes before there's some kind of GUI (in ffdshow) to control these.
My preferred option is to create a new tab instead of changing existing ones.
Can someone give me some pointers?

clsid
27th May 2012, 13:21
How may options are we talking about?
You could add a page below "Decoder options" if you need a lot of space. Or add to the "Decoder options" page if just a few options. The IDCT and quant options could be removed imo to free up some extra space on that page.

egur
28th May 2012, 13:58
I'd like to add a new page - below the decoder options is fine.
I want to add options for:
* HW DI on/off/force, half/full rate, etc.
* Denoise filter
* Detail filter
* procamp filter
These will only work with the Intel QuickSync Decoder - covers most of the video content these days.

egur
29th May 2012, 09:07
Committed several small changes:
Synced with latest QS decoder - video post processing is hard coded off until GUI is ready.
Fixed telecine manager - detected H264 frame doubling/tripling flags as 3:2.
Tweaked fps calculation - more stable.

egur
30th May 2012, 08:09
Last commit:
Added "Intel QuickSync" page below the decoder options.

Delerue
31st May 2012, 06:20
It seems that resize has broken DVD menus navigation again. :(

Edit: I mean, with 'Keep original aspect ratio' selected.

wanezhiling
31st May 2012, 16:37
http://forum.doom9.org/showpost.php?p=1574375&postcount=19549
Is there any chance to fix this?

konok
2nd June 2012, 14:49
Hi,
Looking at the change list for build 4437, I see "remove vobsub support (except DVD sub)." listed.
What does this mean? Is backward compatibility with vobsub broken somehow?

I tried build 4453 and just noticed this change.

My problem... If I use just VobSub/vsfilter for IDX/SUB subtitles, I see double subtitles when playing SRT subtitles. If I disable ffdshow's text subtitles, it works, but I loose the nice extras in ffdshow. Does anyone have any ideas what I can do to make ffdshow the only one that displays for SRTs?

I've gone back to build 4422 for now.

andybkma
7th June 2012, 12:56
Hi, is it possible to set Profiles/Preset Settings by file extension (ie FLV, AVI, MP4 etc)? If so how to do you that as I don't see any option to select file extensions when I click "Preset Autoload Conditions..."

Cheers much :)

jmartinr
7th June 2012, 13:19
Hi, is it possible to set Profiles/Preset Settings by file extension (ie FLV, AVI, MP4 etc)? If so how to do you that as I don't see any option to select file extensions when I click "Preset Autoload Conditions..."
Try "on movie file name match (with wildcards)".

Stanislav Mikhailenko
8th June 2012, 09:45
Hello, used ffdshow_rev4422_20120409.exe

Accroding to spec for VC1 there is no restrict to change it during the stream http://rfc-ref.org/RFC-TEXTS/4425/chapter4.html
4.6. Repeating the Sequence Layer Header

Here is sample file that hangs on decoding the stream, using

WMVideo Decoder DMO it plays fine:
http://dl.dropbox.com/u/9992211/crash.wmv

The sequence layer and entry layer changes during the stream:


00 00 01 0f cb ee 13 f0 ef 88 80
00 00 01 0e 18 44 4f c3 bc 80
00 00 01 0f cb ef 13 f0 ef 0a 13 f8 3b f1 c0 ef 90 81 2d c6 db 8d 40
00 00 01 0e 4a 3f 28 40 00 00 01 0e 4a 3b 98 40


another one that gives broken image at the beginning,using WMVideo Decoder DMO it plays fine

http://dl.dropbox.com/u/9992211/broken.wmv

The sequence layer and entry layer changes during the stream:

00 00 01 0f ca 00 13 f0 ef 0a 13 f8 3b f1 c0 ef 88
00 00 01 0e 4c 10 80
00 00 01 0f cb ef 13 f0 ef 0a 13 f8 3b f1 c0 ef 90 81 2d c6 db 8d 40 00 00 01 0e 4a 3f 28 40
00 00 01 0e 4a 3b 98 40


The question: Is it problem of the decoder, that doesn't support changing of sequence layer, or in the stream itself?

andybkma
8th June 2012, 10:38
Try "on movie file name match (with wildcards)".

Cheers, got it sorted. *.flv, *.mp4 etc :-)

Reino
14th June 2012, 17:14
I believe it's been reported before, but anyway:
- http://media.nero.com/Standard720x576_1MBit.mp4 (http://media.nero.com/Standard720x576_1MBit.mp4)
AAC Audio part decoding failure with libavcodec. No problem though with libfaad2.Fixed.FFDShow has already abandoned libfaad2, but now (since rev3962 (http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc?view=revision&revision=3962)) MPC-HC has done so too.
Because, with the latest FFDShow and LAV Filters versions, the aac audio stream of this particular video is still incorrectly being decoded here, I was wondering if it could be a WinXP-only issue.Traps' movie trailer (http://forum.doom9.org/showthread.php?p=1578130#post1578130) plays fine for me too. But then I realized the issue I had with AAC Audio some time ago is gone now. Suddenly no problems anymore decoding Standard720x576_1MBit.mp4 with libavcodec. Don't know since when this is fixed and I have no idea what could've caused it, but anyway...good job! :)

mandarinka
16th June 2012, 16:51
Recently I noticed this post (http://forum.doom9.org/showpost.php?p=1541122&postcount=14179) implying that the software scaler in ffdshow doesn't work with 10-bit video. Is it a limitation of ffmpeg/libav's swscale, or is it just something that hasn't been enabled ffdshow-side?

Px
17th June 2012, 11:41
I want to ask, is it possible to add ability to prefer connection to ASIO Renderer (http://surodev.com/?p=451) to ffdshow audio filter (Output section, "Connect to:" menu)? It's CLSID is {8E14549A-DB61-4309-AFA1-3578E927E933}

Blight
24th June 2012, 17:00
Hi,
I've encountered an issue/bug when using ffdshow's subtitle renderer filter.
What I'm trying to do is build a graph where the ffdshow subtitle renderer is connected to the video decoder and the external subtitle file resides in a different directory entirely.

I'm trying to use the API to manually specify the subtitle file by calling the "IffDecoder2" interface like this:
putParam(IDFF_isSubtitles,Integer(True)); // Make sure subtitle processing is enabled.
putParam(IDFF_subAutoFlnm,Integer(False)); // Supposed to disable the auto-searching for sub files in the same dir as menu file.
putParamStrW(IDFF_subFilename,@SubFileLoad[1]); // Set the subtitle filename.

There are two issues:
1. The 'search in' radio-item remains checked rather than the 'file' radio-item becoming enabled and the subs are not rendered.
2. The IAMStreamSelect interface that lists the available subtitles doesn't see to be properly updated when using this method, even when manually switching to 'file' and clicking on the 'reload' button.

Am I doing something wrong? Can this be fixed?

wanezhiling
2nd July 2012, 15:30
The project seems to be given up.. sigh..

ryrynz
2nd July 2012, 21:39
The project seems to be given up.. sigh..

For the time being, Haruhiko is the only one that really works on it so it's dependent on the time he has available.

obieobieobie
3rd July 2012, 18:33
Also it is summer. Many projects take breaks during the summer months.

Budtz
7th July 2012, 20:34
They've always been doing that. Who knows why.
Just get builds here:
http://xhmikosr.1f0.de/ffdshow/

Build with latest stable GCC (4.7.0)

How about the official tryouts site. are they also using old builds of the GCC? And arent the ones linked to above at least on paper less stable than the official build?

clsid
8th July 2012, 16:52
Official builds are build using the latest stable GCC (4.7.1) and MSVC 2010 SP1.

naoan
19th July 2012, 07:53
FFDShow fail to change preset if you try to change it during playback using only "OK" button. You need to change something so that apply button light up first, only then FFDShow will use the new preset.

ENAJonas
22nd July 2012, 21:15
@clsid or Haruhiko - Do you know if this issue was fixed? I still have it on a very recent build, and I've up until now just been compensating for it by putting a static 250ms audio delay. It only happens on some 720p (or less) AVCs (but that's my primary media!!!) but I know for sure it is ffdshow video, and not any other issue. Thanks so much.

http://www.svp-team.com/forum/viewtopic.php?id=588

*Note - I'm not using SVP, just wanted the article. Issue is not SVP related.

ENAJonas
28th July 2012, 15:34
Friendly bump?

ton4eff
2nd August 2012, 20:59
Hi, how to make ffdshow to display not only the current frame number, but total frame number on OSD? I'm using raw video filter. Like in this (http://imgbox.com/aarjPPmj) screenshot.

fmagreed2
4th August 2012, 03:38
Could support for the HDYC colorspace (input) be added to the encoder? It would be greatly appreciated.

HDYC is identical to UYVY except it uses the Rec. 709 colorspace instead of Rec. 601

Rec. 601 coefficients:
Y' = 0.2990 R' + 0.5864 G' + 0.1146 B'

Rec. 709 coefficients:
Y' = 0.2126 R' + 0.7152 G' + 0.0722 B'

Rec. 601:
Red x=0.670 y=0.330
Green x=0.210 y=0.710
Blue x=0.140 y=0.080
White x=0.310 y=0.316

Rec. 709:
Red x=0.640 y=0.330
Green x=0.300 y=0.600
Blue x=0.150 y=0.060
White x=0.3127 y=0.329

Hope I've provided enough information for someone to add this! Since it's so similar to UYVY, I'm hoping it's mostly a copy & paste job.

Any chance this could be added? I'd love to be able to use my black magic card with ffdshow.

Joniii
18th August 2012, 13:36
ffdshow DXVA surface overlay causes all the WMC controls, clock etc to flicker on Windows 8 Professional with Windows Media Center (RTM). Other than that everything works fine on W8. Build was "ffdshow_rev4475_20120712_clsid_x64".

andybkma
19th August 2012, 06:02
Greets, previously on older versions, there was a shortcut made to raw video filter settings (along with audio and video settings, so three settings shortcuts were made). How to get to the raw video filter settings now that that shortcut is not made anymore? Cheers

ryrynz
19th August 2012, 06:32
It was decided not to create shortcuts to raw anymore. Create a copy of the original ffdshow link and change the target to:
C:\Windows\SysWOW64\rundll32.exe "C:\Program Files (x86)\ffdshow\ffdshow.ax",configure ffdshowraw

andybkma
19th August 2012, 07:34
It was decided not to create shortcuts to raw anymore. Create a copy of the original ffdshow link and change the target to:
C:\Windows\SysWOW64\rundll32.exe "C:\Program Files (x86)\ffdshow\ffdshow.ax",configure ffdshowraw

Hi thanks for your help. I tried what you said, copied and pasted the address as the new target but didn't work. I only got the main ffdshow video settings, not the raw

Edit: Well I backdoored my way through ZoomPlayer so got it figured out that way. Still would be nice to figure out though why the shortcut didn't work

ryrynz
19th August 2012, 09:27
Apologies, my internet PC had the link wrong.

C:\Windows\System32\rundll32.exe "C:\Program Files (x86)\ffdshow\ffdshow.ax",configureRaw

Reino
19th August 2012, 11:49
As long as "Start in:" is pointing to the ffdshow directory,
%windir%\system32\rundll32.exe ffdshow.ax,configureRaw is enough for the Raw Video Decoder config
and
%windir%\system32\rundll32.exe ffdshow.ax,configureAudioRaw for the Raw Audio Decoder config.

Vincent Vega
24th August 2012, 20:29
guys how do i do that? in old ffdshow there was setting for that that worked, now it's gone on Output section. i have file with correct DAR at container level and incorrect at h264 stream level. i render in graphedit ffdshow first sends the correct DAR from container. then i start playback DAR changes to the incorrect that renderer (EVR custom) probably gets from stream. the above now gone setting used to help against this. so how do i fix it now?

burfadel
26th August 2012, 13:04
Latest Xhmikosr builds from http://xhmikosr.1f0.de/ffdshow/ don't work for me.

Every build before 4481 and earlier works fine, but the recent build 4484 and now the latest 4486 don't work at all. I use the ICL builds, haven't tried the others. Player freezes when loading the files, and the ffdshow plugin for avisynth crashes immediately if used. This is on a Core 2 Q9400 (has SSE 4.1 but not 4.2).

nevcairiel
26th August 2012, 14:03
Use the normal builds, ICL builds always had some issues, but nearly no advantages.

burfadel
26th August 2012, 14:32
Use the normal builds, ICL builds always had some issues, but nearly no advantages.

FFmpegsource build r706 just posted in this post:
http://forum.doom9.org/showpost.php?p=1588762&postcount=1612

Also doesn't work, I am guessing it' an issue relating to recent changes in Libav.

andybkma
27th August 2012, 13:20
Greets, got a coupla quick questions. Upgraded to a new laptop with Core i7-3610QM quad-core 2.3GHz Ivy Bridge CPU from my 5-year old Core-Duo (its my birthday hehe)

Under the ffdshow decoder options tab, there is an option to set "Number of decoding threads". What should I set this to for most efficient ffdshow use? 4? I had it set to 2 on my old laptop. Or it doesn't matter and ffdshow will automatically use the most efficient cores/process?

And second, I am now able to select this new thing called "Intel Quicksync" under H264 and VC-1. Ummm, I really didn't see a difference using it vs libavcodec/wmv9. Can you please let me know what benefits I am supposed to get from selecting Quicksync over the old "normal" ffdshow? Lower cpu use, better picture?

Note: I use mVR as my renderer. Cheers :-)

egur
28th August 2012, 07:14
Greets, got a coupla quick questions. Upgraded to a new laptop with Core i7-3610QM quad-core 2.3GHz Ivy Bridge CPU from my 5-year old Core-Duo (its my birthday hehe)

Under the ffdshow decoder options tab, there is an option to set "Number of decoding threads". What should I set this to for most efficient ffdshow use? 4? I had it set to 2 on my old laptop. Or it doesn't matter and ffdshow will automatically use the most efficient cores/process?

And second, I am now able to select this new thing called "Intel Quicksync" under H264 and VC-1. Ummm, I really didn't see a difference using it vs libavcodec/wmv9. Can you please let me know what benefits I am supposed to get from selecting Quicksync over the old "normal" ffdshow? Lower cpu use, better picture?

Note: I use mVR as my renderer. Cheers :-)

QuickSync will use less CPU on medium-high bitrate clips. Libavcodec will choke on very high bitrate clips. QS will allow you to play almost any H264 clips, up to 4K video.
Also works for MPEG2 and WMV9.

clsid
28th August 2012, 16:20
Latest Xhmikosr builds from http://xhmikosr.1f0.de/ffdshow/ don't work for me.

Every build before 4481 and earlier works fine, but the recent build 4484 and now the latest 4486 don't work at all. I use the ICL builds, haven't tried the others. Player freezes when loading the files, and the ffdshow plugin for avisynth crashes immediately if used. This is on a Core 2 Q9400 (has SSE 4.1 but not 4.2).The normal builds from SourceForge should work.

mkanet
28th August 2012, 17:20
Hi haruhiko_yamagata,

EDIT: Is there any plans to add native support for IVTC'ing both hard/soft telecine media files?

The reason I ask is because external AVISynth ITVC plugins such as TIVTC were not optimized for realtime IVTC processing.

Im still using Dscaler IVTC mpeg2 decoder; which is still the ONLY mpeg2 decoder in existence that can comfortably do this on most PCs. It would be nice if ffdshow could do this as well.

Joniii
3rd September 2012, 16:45
ffdshow DXVA surface overlay causes all the WMC controls, clock etc to flicker on Windows 8 Professional with Windows Media Center (RTM). Other than that everything works fine on W8. Build was "ffdshow_rev4475_20120712_clsid_x64".

Forgot to mention that this doesn't happen with H.264, only with VC-1.

kc7bfi
4th September 2012, 21:19
We are using the Vega stream analyzer to analyze a H.264 stream. For almost ever AU we are seeing the error "forbidden_zero_bit value is incorrect in NAL. Found 1. Expected 0." Will this cause a problem with the ffdshow H.264 decoder when playing the video?
Thanks, David

Joniii
10th September 2012, 05:21
Im having a problem with Pirates of The Caribbean Blu-ray. Ripped mkv plays back vertically compressed with ffdshow DXVA. With default Windows decoder it is fine, also muxing the video to m2ts plays with correct AR with ffdsow DXVA. I'm not really sure if this is a problem with ffdshow or mkvtoolnix.

Here is a sample.
https://skydrive.live.com/redir?resid=5AA520AF9EAB7FD8!163

Also don't know if this is related to my problem:
http://www.makemkv.com/forum2/viewtopic.php?f=8&t=4264

Liisachan
10th September 2012, 12:43
I posted this report (https://sourceforge.net/apps/trac/mpc-hc/ticket/2588) to MPC-HC (including a sample MKV), but I think ffdshow's Subtitles filter shares the same problem.

When the font border is very small but not zero, the font shadow is not drawn, even if the shadow parameter is big, resulting in unintended shadow blinking when the border width is slowly animated from non-zero to 0, or from 0 to non-zero.

Though, I guess ffdshow might be intentionally bug-to-bug compatible with VSFilter...

Reino
10th September 2012, 13:22
@ Joniii:
With ffdshow (DXVA), MPC-HC reports 1920x1080 (AR 23:9) and the aspect ratio is incorrect. With ffdshow and MPCVideoDec, MPC-HC reports just 1920x1080 and everything's fine. Whether this is ffdshow (DXVA) to blame, or MakeMKV I don't know. But in the meantime, to get the right aspect ratio in MPC-HC, you can just select View -> Video Frame -> Override Aspect Ratio -> 16:9.

kc7bfi
10th September 2012, 14:51
We are using the Vega stream analyzer to analyze a H.264 stream. For almost ever AU we are seeing the error "forbidden_zero_bit value is incorrect in NAL. Found 1. Expected 0." Will this cause a problem with the ffdshow H.264 decoder when playing the video?
Thanks, David

From the h264.c file, the following references the forbidden bit:


const uint8_t *ff_h264_decode_nal(H264Context *h, const uint8_t *src,
int *dst_length, int *consumed, int length)
{
int i, si, di;
uint8_t *dst;
int bufidx;

// src[0]&0x80; // forbidden bit
h->nal_ref_idc = src[0] >> 5;
h->nal_unit_type = src[0] & 0x1F;

src++;
length--;


If I am reading this correctly, if the forbidden bit is 1 not 0 then the nal_ref_idc value will be incorrect. Am I right? Will this cause problems further on down stream in the decoding processes?

David

Guest
10th September 2012, 15:00
If I am reading this correctly, if the forbidden bit is 1 not 0 then the nal_ref_idc value will be incorrect. Am I right? Yes.

Will this cause problems further on down stream in the decoding processes? It depends on whether nal_ref_idc is masked with 0x03 at future uses of it. As that seems unlikely (I haven't looked at the code), it's probable that this would cause issues with decoding.

Have you checked the streams to see if that bit is really set versus there being an issue with Vega stream analyzer? If you'd like to post a link to a sample, I could have a look at it.

kc7bfi
12th September 2012, 01:50
In h264.c, prior to calling ff_h264_decode_seq_parameter_set, the bit_length is set as


bit_length = !dst_length ? 0
: (8 * dst_length -
decode_rbsp_trailing(h, ptr + dst_length - 1));


but in h264_parser.c, bit_length is passes as just


init_get_bits(&h->s.gb, ptr, 8*dst_length);


Is this correct? Or should 8*dst_length be replace with a similar calculation as in h264.c?

What I am seeing is a bunch of the following errors in DebugView that seem to be caused by the use of 8*dst_length not the adjusted length as used in h264.c:


[5652] Current profile doesn't provide more RBSP data in PPS, skipping


David

nevcairiel
12th September 2012, 13:23
You should submit these questions to the developers of ffmpeg or libav, ffdshows just uses the avcodec decoding library, the authors of that code are not part of ffdshow.

ryrynz
17th September 2012, 10:26
To anyone using Avisynth and ffdshow, I found that XhmikosR's ffdshow builds caused the player (most times) to freeze up as it attempted to play a new file after or during playback.
Switching to XvidVideo.ru's ICL11 builds or CLSID's MSVC2010 builds fixed this, this has been a bit of a long standing issue for me (I've nearly always used XhmikosR's builds) which I just put down to general MT instability.

hello_hello
20th September 2012, 04:34
Not sure if this is the right place to be asking......

I've noticed at times when ffdshow (rev 4475) is decoding AC3 audio there can be a considerable volume reduction (say relative to using MPC-HC's internal decoder) so when it happened today I did a little investigating. Seems some AC3 audio with dialog normalization is the cause (removing it with eac3to fixes the problem), but only with some AC3 audio, and only when liba52 is selected as the AC3 decoder (which I think is the default). Playing the occasional AC3 audio containing dialog normalization (-27db according to eac3to) I can switch between liba52 and libavcodec and hear a substantial volume reduction while using the former, but some/most of the time switching decoders makes no difference even though eac3to still reports the audio as having dialog normalization (-27db).

I tried a file containing "problem" AC3 using smplayer as it lets you choose the audio decoder, and with liba52 decoding there was no volume reduction compared to using FFmpeg AC3 and the volume was the same as when using libavcodec with ffdshow.

So while the easy solution is to switch to libavcodec I'm just wondering if dialog normalization should always be ignored by ffdshow or whether it's never ignored and I'm missing the obvious or I've found a bug etc. I can upload a sample if need be.

Thanks.

nevcairiel
20th September 2012, 15:35
There is really no advantage to liba52 anymore, so before any big things are done to make it ignore the dialnorm, it should just be replaced for good by avcodec. :)

oddball
20th September 2012, 22:05
I have the frame drops/stuttering issue when jitter correction is enabled. This occurs not only on DTS though. It happens on stereo AAC etc. Disabling it fixes it. I have tried various versions of ffdshow right up to the latest build. I am using the latest LAV filters and splitter and MPC-HC and outputting using latest MadVR. If I switch to LAV audio decoder I get no frame drops. Same if I disable jitter correction in ffdshow.

From what others have said it was a DTS issue but this occurs on ANY audio not just DTS. My display is synced at 23,976FPS on an Nvidia GTX560Ti outputting HDMI to the HDTV and SPDIF for audio (old amp). BTW the frame drops and stuttering always occurs at the same places. The files are perfect (No corruption).

Any ideas?

leeperry
21st September 2012, 04:18
To anyone using Avisynth and ffdshow, I found that XhmikosR's ffdshow builds caused the player (most times) to freeze up as it attempted to play a new file after or during playback.
Switching to XvidVideo.ru's ICL11 builds or CLSID's MSVC2010 builds fixed this
yep, PotPlayer freezes at shutdown with his ICL12 builds on my system, the xvideo ICL12 builds are fine....too bad they're not updated very frequently.

ryrynz
21st September 2012, 08:14
Forgot to make that clear, yes XhmikosR's ICL12 builds. I'll pass it on to him next time I swing by IRC, unless someone else wishes to do so.. I wonder what the cause is?

cyberbeing
26th September 2012, 10:20
madVR crash when activating FFDShow's resize filter during playback with horizontal size set to 4096.This looks like a bug in ffdshow to me. Basically ffdshow is sending a buffer which is too small to actually contain a frame in the size it says it's sending.
Low priority since it only crashes madVR and there is no point in resizing to 4K at present, but I guess FFDShow uses too small of a buffer when the resize filter is first activated. It only crashes madVR when the resize filter is activated in the middle of playback, no crash in madVR occurs if the resize filter is already activated before playback begins.

ney2x
7th October 2012, 05:21
Is ffdshow reached its final stage or end of life? The last nightly build is rev4487 (http://xhmikosr.1f0.de/_old/ffdshow/) and that revision is freezing if using Avisynth, whatever build I used.

ryrynz
7th October 2012, 05:31
Haruhiko isn't developing ffdshow ATM, he may return. To fix your Avisynth issues I recommend just running an earlier build, there's really not much reason to be running the latest as the changes have been minor. Personally I'm using Xvidvideo's 4479 release without issues.

naoan
7th October 2012, 06:37
Avisynth also works fine with 4486 clsid build.

wanezhiling
7th October 2012, 11:08
I think so, LAV is the successor.

ryrynz
7th October 2012, 11:20
Definitely, I hope Haruhiko or someone else can port over / clean up some of the code to LAV or a LAV fork.

naoan
7th October 2012, 11:26
Definitely, I hope Haruhiko or someone else can port over / clean up some of the code to LAV or a LAV fork.

I thought nevcairiel doesn't intend to make LAV into a post processor.

ryrynz
7th October 2012, 12:05
He's not against it someone adding it, he's thought about going through the ffdshow code but it's not very tidy and it would be a lot of work.
I think Haruhiko's time would be better spent adding this similar functionality to LAV rather than continuing on ffdshow.

kc7bfi
15th October 2012, 16:20
I have a video that runs fine for a while then starts showing multiple cases of the error "Non-key discontinuity - wait for keyframe" in the debug viewer. Any ideas what this error means or shat might cause it?
Thanks, David

kc7bfi
15th October 2012, 16:22
I have a video that runs fine for a while then starts showing multiple cases of the error "Non-key discontinuity - wait for keyframe" in the debug viewer. Any ideas what this error means or shat might cause it?
Thanks, David

I forgot to mention that my encoder is sending video at 20fps and when this condition appears it looks like ffdshow is reporting around 3fps.
Thanks, David

LigH
16th October 2012, 09:19
The more details we know about the technical properties of this video, the better; furthermore, your request is a little confusing, ffdshow is a decoder, so what encoder are you referring to – is ffdshow used as decoder in an AviSynth script with DirectShowSource()?

"Non-key" frames (inter-frames, e.g. delta-frames in lossless AVIs, P- or B-frames in MPEG-like or similar complex video) are frames which depend on previously decoded keyframes (intra-frames = I-frames in MPEG-like video) and contain only differences to this buffered keyframe.

A "discontinuity" means probably that frames appear in an unexpected order, causing the decoder getting confused if it would be able to output correctly decoded video, so it waits for the next keyframe to continue decoding from a "safe place", to avoid crappy video output and probably even decoding errors, up to a possibly crash. Discontinuities are often a sign for corrupted video. This happens sometimes in video from "unsafe download sources" ... (I don't want to say it more specific). But there are more possible reasons, e.g. carelessly joined cut clips without overhauled timestamps.

kc7bfi
16th October 2012, 17:25
so what encoder are you referring

The video is coming from a live Axis 241S encoder. Sorry to be unclear. Does ffdshow set this flag or is it set by some source filter prior to making it into the ffdshow DirectShow filter?

movmasty
19th October 2012, 10:01
Anyone is aware of this?

Since i installed 4486_20120825_clsid Vdub keeps crashing with most(not all)vids when compressing in HuffyUV,
This doesnt happen when using the standalone HuffyUV codec.

An out-of-bounds memory access (access violation) occurred in module 'ffmpeg'...
...reading address FFFFFFFF...
...while compressing frame 0 from 07070050 to 01e5afb8 using codec "ffdshow Video Codec" (w32videocodecpack.cpp:787)...
...while running thread "Processing" (thread.cpp:179).


The bug is present, as i tested, (since)in build 4453_20120521

And is NOT present (until)in build 4052_20111120.
But dont know among these two.
My OS on this pc is XP sp2

Also, is optimal to fast recompress into xvid or h264 when the source is in YUY2 and not in YV12?

clsid
19th October 2012, 14:33
Since 4453, does that mean 4447 was still OK?
http://sourceforge.net/projects/ffdshow-tryout/files/SVN%20builds%20by%20clsid/generic%20builds/

movmasty
19th October 2012, 19:18
Since 4453, does that mean 4447 was still OK?
http://sourceforge.net/projects/ffdshow-tryout/files/SVN%20builds%20by%20clsid/generic%20builds/
4454 has the bug
4052 doesnt
i tested those, both versions are before of a size change.
i dont know the point in between when it appear, and cant test all the builds,
since 4052 is 19 months newer than 3356 that i used before, im happy for now.

_______________________________
http://www.videohelp.com/tools/ffdshow/old-versions#download

romulous
25th October 2012, 04:46
I think this may be a bug.

1. Using Zoom Player as the media player, open Zoom, change the subtitle renderer to FFDSHOW.

2. Find a test file that has IDX + SUB subtitles.

3. Have all three files (video file + IDX + SUB) in the same folder, all with the same filename.

4. Open the video file with Zoom Player.

5. Now, if you check the Stream Selection menu, you will see three entries: the IDX file, the SUB file, and 'Disabled'.

6. That's it - no subtitles are shown, even if you cycle through the entries.

This is with ffdshow 1.2.4453 (I assume this is rev 4453), which is the latest available via Zoom Player's Install Center.

Snowknight26
26th October 2012, 01:27
Please add ccc.exe to the default list of programs that ffdshow shouldn't be used in.

LigH
26th October 2012, 07:22
The Catalyst Control Center?

ryrynz
26th October 2012, 07:55
Yup that's what he means.

THX-UltraII
2nd November 2012, 11:56
I m going to use a Avisynth script called FineSharp. So I will need ffdshow RAW video 'all supported'. But I m already using LAV Video decoder.

It is important to tell the exact 'chain' I m using now:

- Media Player Classic with madVR as output renderer with output setting in madVR PC Levels (0-255).

- using LAV video decoder with all the 'Output Formats' checked and 'RGB Output Levels' set to 'Untouched (as input)'

- HDMI Color Space Input of my display device: RGB

- HDMI Dynamic Range Input of my display device: 0-255




ffdshow has quite some output settings. First one is the Primary Output Color Space. I can select Auto, YUV (YV12/YUY2/NV12) or RGB here. What do you think I have to choose here when I don t want ffdshow to do a extra video conversion?

Next there are the boxes that can be checked:
4:2:0 YUV YV12 8-bit
4:2:0 YUV NV12 8-bit
4:2:0 YUV P010 10-bit
4:2:0 YUV P016 16-bit
4:2:2 YUV YUY2 8-bit
4:2:2 YUV YUVY 8-bit
4:2:2 YUV P210 10-bit
4:2:2 YUV P216 16-bit
4:4:4 YUV AYUV 8-bit
4:4:4 YUV Y416 16-bit
RGB32 8-bit
RGB24 8-bit

Next there s the setting Set interlaced flag in output media type which is checked by default. Should I leave this checked? More information about this settings:
- Sends interlacing related information obtained from the input stream or ffdshow's internal decoders to the next filter.
- Some filters (like video renderers) will use this information to deinterlace the video if necessary.
- This is just for informing the downstream filters - the actual result will depend purely on the implementation of these filters.
- DVDs may be flagged as interlaced, but in most cases they were originally film (progressive) and just soft telecined. For such video, it is recommended to disable this setting.

And there also the TAB in ffdshow called RGB Conversion which has quite a few settings:
- YCbCr specification:
I can choose 'Auto', 'ITU-R BT.601' or 'BT.709' here. Which one should I use?

- High quality YV12 to RGB conversion:
This checkbox will instruct ffdshow to use a high quality conversion method. The conversion is done in 11-bit or higher and its performance can be improved significantly with multi-core CPUs. This feature requires a SSE2-capable CPU at the minimum.

Should I check this box?

- Dithering:
Dithering is an option to maintain the source's full visual quality when doing YCbCr → RGB conversion. Without dithering, RGB conversion can result in added banding. With “High quality YV12 to RGB conversion” enabled, ffdshow calculates in 11-bit or higher. If this option is checked, the result is dithered otherwise rounded to 8-bit. This increases RGB conversion's CPU usage by about 6%.

Should I check this box?

- Input Levels:
Auto
Standard (Y: 16-235, CbCr: 16-240)
Full Range (Y: 0-255, CbCr: 1-255)

Which one should I use?

- Output Levels:
RGB 0-255
RGB 16-235


How do I config ffdshow when looking at the chain I m using already and when I want ffdshow to do NO VIDEO CONVERSION at all so it does not become an extra 'chain'?

thxz!

kc7bfi
6th November 2012, 19:30
I have a Pelco camera that does not play with the latest ffdshow version. I seem to have narrowed it down to an issue in the h264.c file in the ff_h264_decode_nal function. The following function is defined:

#define STARTCODE_TEST \
if (i + 2 < length && src[i + 1] == 0 && src[i + 2] <= 3) { \
if (src[i + 2] != 3) { \
/* startcode, so we must be past the end */ \
length = i; \
} \
break; \
}

However, it seems to me that the start code will either end with a 1 or a 3. When I change this function to the following then my video plays.

#define STARTCODE_TEST \
if (i + 2 < length && src[i + 1] == 0 && (src[i + 2] == 1 || src[i + 2] == 3)) { \
if (src[i + 2] != 3) { \
/* startcode, so we must be past the end */ \
length = i; \
} \
break; \
}

Does this make since?
Here is the patch file.

Index: ffmpeg/libavcodec/h264.c
===================================================================
--- ffmpeg/libavcodec/h264.c (revision 4489)
+++ ffmpeg/libavcodec/h264.c (working copy)
@@ -178,7 +178,7 @@
length--;

#define STARTCODE_TEST \
- if (i + 2 < length && src[i + 1] == 0 && src[i + 2] <= 3) { \
+ if (i + 2 < length && src[i + 1] == 0 && (src[i + 2] == 1 || src[i + 2] == 3)) { \
if (src[i + 2] != 3) { \
/* startcode, so we must be past the end */ \
length = i; \

nevcairiel
6th November 2012, 20:28
ffdshow just uses these decoding libraries, no-one from this project wrote the code, maintains the code, or even knows the code properly.
You should direct your questions at the ffmpeg mailing list, or the ffmpeg trac.

movmasty
6th November 2012, 22:55
Anyone is aware of this?
Since i installed 4486_20120825_clsid Vdub keeps crashing with most(not all)vids when compressing in HuffyUV,
This doesnt happen when using the standalone HuffyUV codec.
An out-of-bounds memory access (access violation) occurred in module 'ffmpeg'...
...reading address FFFFFFFF...
...while compressing frame 0 from 07070050 to 01e5afb8 using codec "ffdshow Video Codec" (w32videocodecpack.cpp:787)...
...while running thread "Processing" (thread.cpp:179).
The bug is present, as i tested, (since)in build 4453_20120521

And is NOT present (until)in build 4052_20111120.
But dont know among these two.
My OS on this pc is XP sp2

Also, is optimal to fast recompress into xvid or h264 when the source is in YUY2 and not in YV12?
Since i installed 4052_20111120 sometime my system crashes when starting mpclassic
so i went back to version 20100410....

clsid
6th November 2012, 23:43
You should not use such ancient versions. Either use the official HuffYUV codec or narrow down the problem to a specific version by finding the last working version. That is your only chance of getting this fixed, because there are no developers available that want to spend a of of time debugging this problem. In fact, there are not really any developers available at all.

You can find lots of versions here:
http://sourceforge.net/projects/ffdshow-tryout/files/SVN%20builds%20by%20clsid/generic%20builds/

Reduce the start of the problem to a small range of versions, and I will take a stab at fixing it.

turbojet
9th November 2012, 09:22
Is it possible to detect the screen resolution of the display the video is played on for setting up profiles of extended displays? I can only get the main display's resolution now.

Px
9th November 2012, 11:23
From looking at source code it seems that described in this article mistakes - http://www.viva64.com/en/b/0161/ didn't fixed yet, developers didn't get message from article's author or ignore it?

nevcairiel
9th November 2012, 11:27
From looking at source code it seems that described in this article mistakes - http://www.viva64.com/en/b/0161/ didn't fixed yet, developers didn't get message from article's author or ignore it?

There is noone working on ffdshow that would understand these problems =p

I have always wondered about the various "problems" people reported with code mis-compiling in ffdshow, but i never bothered to look at it - i just blindly assumed the code was just bad. :)

clsid
9th November 2012, 16:26
Haruhiko must have overlooked those typos in his code. I have committed a fix.

mark0077
15th November 2012, 19:37
guys, I'm using mpc-hc, lav splitter and decoders, along with madVR. I use ffdshow raw decoder to load up avisynth scripts. However I notice one issue. ffdshow seems to convert yv12 input, to nv12 output, even though I have all of the output checkboxes enabled. I consider this an unnecessary conversion (even though its lossless). Is this a mistake in the ffdshow logic? For the moment I have changed my "Primary output color space: " to "YV12" instead of default.

I'm using clsid's 32bit ffdshow rev 4489

nevcairiel
16th November 2012, 08:13
NV12 is preferred over YV12 because of better renderer/hardware support.

romulous
23rd November 2012, 14:55
Possible bug report for PGS subtitles. When playing a MKV containing PGS/zLib type subtitles and using FFDShow, Zoom Player crashes either when first subs are shown or when forwarding to a point with subs. Blight (Zoom's dev) believes it is a bug in ffdshow, not Zoom.

Sample provided by the user who reported the issue (200MB):
https://dl.dropbox.com/u/105555957/PGS-zLib-crash.mkv

Zoom will play the file fine, the crash is at about the 01:18 mark, when the subtitles kick in.

clsid
24th November 2012, 16:58
Use xy-VSFilter (DirectVobSub) instead.

ffdshow is dead.

wanezhiling
24th November 2012, 17:05
Dead, right.

It marks the end of an era.:)

romulous
25th November 2012, 02:11
@clsid - Thanks, I sort of guessed that would be the response, but I didn't think there was any harm in reporting it just in case there was still some life left in ffdshow.

@wanezhiling: Indeed, it does mark the end of an era.

hmpt
25th November 2012, 07:41
mark it。.. 。.. 。

ryrynz
25th November 2012, 08:58
It's as dead as it's ever been in the last year or two. Haruhiko may still return to fix a few things.. but that's all that's going to happen IMO.
I would think his time would be better spent providing similar functionality for LAV Filters.

jmac698
5th December 2012, 02:48
Wow, I'm out of date but that's news to me. What should I install to serve/play files now?

oddball
5th December 2012, 12:46
It's so disappointing there is no subtitle renderer as nice looking as the one built into MPC-HC. Ideally I would love my subtitles rendered at desktop res. However the subtitle renderer in MPC-HC is seriously bugged for anything but basic subs. Any subs with special characteristics like those .ssa subs found in some anime is bugged/broken. ffdshow does a fairly decent job of rendering subs. DirectVobSub is best but the quality of the rendered fonts is way below that of MPC-HC. There is no option to change the resolution that I know of. Also you lose the quick disabling of subs using the keyboard command in MPC-HC.

I wish DirectVobSub had high definition rendering options.

madshi
5th December 2012, 12:53
@oddball, xy-vsfilter + madVR will soon offer a high-quality replacement for the MPC-HC internal subtitle renderer.

LigH
5th December 2012, 12:56
@ jmac698:

Well, it's not like the older ffdshow builds don't work anymore at all... you can continue using them where they are useful. The last build I found was rev. 4494 by clsid on SourceForge (http://sourceforge.net/projects/ffdshow-tryout/files/SVN%20builds%20by%20clsid/); XhmikosR (http://xhmikosr.1f0.de/_old/ffdshow/) stopped a bit earlier with build 4488.

If there is a bug which prevents you from using ffdshow for s apecific format, use LAV Filters (http://code.google.com/p/lavfilters/) instead.

oddball
5th December 2012, 17:52
@oddball, xy-vsfilter + madVR will soon offer a high-quality replacement for the MPC-HC internal subtitle renderer.

I 'quivver' with antici....




















....pation.
:thanks:

kc7bfi
7th December 2012, 16:48
I am having a problem with video quality for a specific H.264 live encoder. My program reads UDP video and buffers then video to send it to the ffdshow DirectShow filters. If I buffer 500ms of video everything works fine. Otherwise I get poor video quality. I also get the following logs from ffmeg:


[8288] slice:1 T mb:0 P fix pps:0 frame:23 poc:65582/2147483647/65582 ref:1/1 qp:24 loop:1:0:0 weight:0
[8288] slice:1 B mb:0 P fix pps:0 frame:23 poc:65582/65583/65582 ref:1/1 qp:24 loop:1:0:0 weight:0
[8288] slice:1 T mb:0 P fix pps:0 frame:24 poc:65584/2147483647/65584 ref:1/1 qp:24 loop:1:0:0 weight:0
[8288] slice:1 T mb:0 P fix pps:0 frame:24 poc:65584/2147483647/65584 ref:1/1 qp:24 loop:1:0:0 weight:0
[8288] mmco: unref short failure
[8288] mmco: unref short failure


What is interesting is it appears that the last two frames appear to be duplicated (same frame number, same from/to/current poc).

My basic questions is, what happens when the ffdshow filter finds an empty buffer on input? I am assuming that samples are "pulled" by the ffdshow filter. I have tried to find this in the code but cannot seem to fine where it is.

I hope this is understandable... David

kc7bfi
7th December 2012, 20:33
I am trying to understand the code as to how the video decoder retrieves the video samples from the source filter. Are they pushed in or pulled by the decoder. Any help or insight would be appreciated. David

nevcairiel
7th December 2012, 21:08
The source filter pushes samples.

LigH
10th December 2012, 10:42
I believe the buffer should be big enough to keep about a whole GOP, because AVC requires a lot of frames available to encode efficiently with enough references for bidirectionally predicted (B-) frames...

mark0077
13th December 2012, 21:29
Guys, I use ffdshow raw video filter for avisynth double frame rate scripts. When using ffdshow however I lose out on subtitles, they just don't appear anymore. Is there a way to stop ffdshow doing this?

I'm using mpc-be, madVR and LAV Filters / Splitters. I just want ffdshow to double frame rate, nothing else, and nothing other than avisynth is checked in the list of filters.

Matching_Mole
13th December 2012, 21:57
I know that the development of FFDShow is more or less dead but it remains currently the only tool available for post processing. And I have an issue with it, independently of the version I tried. I don't know if it is a bug or a misconfiguration. I hope someone can help me.

My issue is concerning only DVD as all works fine with MKV, Blu-ray,.... I use Lavfilter to decode video and MadVR as renderer. If FFDShow is not present on the graph, all is ok in terms of information sent to MadVR (Framerate, colorspace, deinterlacing,...):
http://www.imagehost.co.za/thumb-D243_50CA3EC4.jpg (http://www.imagehost.co.za/share-D243_50CA3EC4.html)

But as soon as FFDShow is present on the graph (even if no filter is selected), the information sent to MadVR are completely wrong (Framerate, Colorspace as MadVR is deducting it from the framerate because no information is sent to it, deintrelacing...):
http://www.imagehost.co.za/thumb-7DA0_50CA3EC4.jpg (http://www.imagehost.co.za/share-7DA0_50CA3EC4.html)

I tried several version of FFDShow, players,set up,... each time I get this issue.

Someone can help me?

Thanks in advance.

_xxl
13th December 2012, 22:31
Wouldn't be time to start a new ffdshow thread like MPC-HC?

clsid
13th December 2012, 22:58
Guys, I use ffdshow raw video filter for avisynth double frame rate scripts. When using ffdshow however I lose out on subtitles, they just don't appear anymore. Is there a way to stop ffdshow doing this?

I'm using mpc-be, madVR and LAV Filters / Splitters. I just want ffdshow to double frame rate, nothing else, and nothing other than avisynth is checked in the list of filters.Fixed in 4495.

mark0077
13th December 2012, 23:13
Cheers Clsid!!

ryrynz
14th December 2012, 07:31
clsid can you build with VS2012?

NiFa
14th December 2012, 07:33
Hi.

I would like to use FFDshow subtitles filter with 10-bit videos, because FFDShow is only one that gives you change to make different profiles for 2D and 3D movies. Problem is that it won't load when input is 10-bit (P010 or P210) or NV12.
If I have understanded right it should work if I could select P010 and P210 support in RAW video?

nevcairiel
14th December 2012, 07:54
I don't think ffdshow supports 10-bit input, or ever will. Its mostly dead now.

NiFa
14th December 2012, 08:09
Is there any other subtitles filter that gives possibility to play 3D subs?

Matching_Mole
15th December 2012, 14:16
I know that the development of FFDShow is more or less dead but it remains currently the only tool available for post processing. And I have an issue with it, independently of the version I tried. I don't know if it is a bug or a misconfiguration. I hope someone can help me.

My issue is concerning only DVD as all works fine with MKV, Blu-ray,.... I use Lavfilter to decode video and MadVR as renderer. If FFDShow is not present on the graph, all is ok in terms of information sent to MadVR (Framerate, colorspace, deinterlacing,...):
http://www.imagehost.co.za/thumb-D243_50CA3EC4.jpg (http://www.imagehost.co.za/share-D243_50CA3EC4.html)

But as soon as FFDShow is present on the graph (even if no filter is selected), the information sent to MadVR are completely wrong (Framerate, Colorspace as MadVR is deducting it from the framerate because no information is sent to it, deintrelacing...):
http://www.imagehost.co.za/thumb-7DA0_50CA3EC4.jpg (http://www.imagehost.co.za/share-7DA0_50CA3EC4.html)

I tried several version of FFDShow, players,set up,... each time I get this issue.

Someone can help me?

Thanks in advance.

Does anyone know why FFDShow give me this error? I mean, for me the Pin Out Data should be the same that the Pin Out ones (except for color maybe as I not unchecked NV12 box), especially regarding the FPS but it is not:

Pin In:
http://www.imagehost.co.za/thumb-54C8_50CC76CF.jpg (http://www.imagehost.co.za/share-54C8_50CC76CF.html)

Pin Out:
http://www.imagehost.co.za/thumb-647A_50CC76CF.jpg (http://www.imagehost.co.za/share-647A_50CC76CF.html)

(I use no filter in FFDshow for this test)

I try several FFDShow version, even one from 2004 and I got exactly the same error each time. Do I make something wrong or it is a bug?

sierramike
18th December 2012, 18:16
Cheers, got it sorted. *.flv, *.mp4 etc :-)

Hi,

I've got a problem. I had a profile which must match a certain movie dimension AND application exe filename, it works. But I need some tweaking for movie file names which does contain the "3D" pattern.

So I duplicated the profile, did the tweaking, and in the autoload preset conditions, I added "on movie file name match", but it doesn't work.
I tried prefixing my files with pattern "3D_moviename.ext", using "3D_*" pattern but my preset didn't be taken.
I tried "*.3D.*" for files named "moviename.3D.ext", but nothing.

How does it work and how to prevent the other profile to be taken ? There should be negative conditions "on movie file name not match" :)

Thanks by advance

clsid
18th December 2012, 23:52
It seems a bit buggy. But "*[3D]*" works here for "moviename_[3D].ext".

mark0077
30th December 2012, 17:15
Hi, I'm using clsid build 4496 on my machine. I installed a piece of software that set ffdshow video decoder (which I don't use), merit to "default". I can't set it back to "do not use". I hit apply / ok, but the setting doesn't seem to save.

If I reopen the video decoder dialog, its set back to "default". I wonder is this a quick fix?

clsid
30th December 2012, 18:09
Right-click on the config shortcut and choose 'run as administrator'.

mark0077
30th December 2012, 18:11
oh wow never had to do that in Windows 7, thanks clsid!

sswroom
4th January 2013, 18:49
Hi,

I am using ffdshow tryouts rev4496 on WinXP.
I found that there are some problem in using ffvfw interface.
It works fine when using YV12/YUY2/UYVY/AYUV output but not others.

Source video is H.264 with embedding sps and pps at every I-Frame.

For NV12 output, ICDecompressBegin replies ICERR_OK but ICDecompress replies ICERR_UNSUPPORTED.

For Y416 output, ICDecompress replies ICERR_OK but nothing is written to the output buffer.

For P010/P210/P016/P216 output, access violation occurs. I have check the output buffer, only Y data are written. No U/V data found.


Access Violation Details:
Stack Trace:
02399DA1 C:\Program Files\ffdshow\ffdshow.ax
0239AAB9 C:\Program Files\ffdshow\ffdshow.ax
0239B192 C:\Program Files\ffdshow\ffdshow.ax
0239B3A3 C:\Program Files\ffdshow\ffdshow.ax
0239B623 C:\Program Files\ffdshow\ffdshow.ax
0255516E C:\Program Files\ffdshow\ffdshow.ax!configureEnc+0x000BA50E
02555B3E C:\Program Files\ffdshow\ffdshow.ax!configureEnc+0x000BAEDE
02593F8B C:\Program Files\ffdshow\ffdshow.ax!configureEnc+0x000F932B
02594774 C:\Program Files\ffdshow\ffdshow.ax!configureEnc+0x000F9B14
024DA785 C:\Program Files\ffdshow\ffdshow.ax!configureEnc+0x0003FB25
02594D85 C:\Program Files\ffdshow\ffdshow.ax!configureEnc+0x000FA125
020A4F1E C:\WINDOWS\system32\ff_vfw.dll!DriverProc+0x000002AE
73B24DF4 C:\WINDOWS\system32\MSVFW32.dll!ICDecompress+0x0000003D

EAX = 02D2B7F0, EDX = 000000A0, ECX = 00000000, EBX = 0884F7EC
ESI = 05EF5D00, EDI = 81818181, ESP = 0884F7B0, EBP = 0884F7E0, EIP = 02399DA1

Disassembly:
Esp Ebp Eip Code
0884F7B0 0884F7E0 02399DA1 movntdq XMMWORD PTR [ECX], XMM3
0884F7B0 0884F7E0 02399DA5 add EAX, 4
0884F7B0 0884F7E0 02399DA8 add ECX, 16
0884F7B0 0884F7E0 02399DAB dec EDX
0884F7B0 0884F7E0 02399DAC jnz 0x02399D80
0884F7B0 0884F7E0 02399DAE mov ECX, DWORD PTR [EBP-12]
0884F7B0 0884F7E0 02399DB1 add ECX, DWORD PTR [EBX+48]
0884F7B0 0884F7E0 02399DB4 mov EAX, DWORD PTR [EBX+40]
0884F7B0 0884F7E0 02399DB7 add DWORD PTR [EBP-8], EAX
0884F7B0 0884F7E0 02399DBA dec DWORD PTR [EBP-16]
0884F7B0 0884F7E0 02399DBD mov DWORD PTR [EBP-12], ECX
0884F7B0 0884F7E0 02399DC0 jnz 0x02399D77
0884F7B0 0884F7E0 02399DC2 mov ESI, DWORD PTR [EBX+16]
0884F7B0 0884F7E0 02399DC5 mov EDI, DWORD PTR [EBX+12]
0884F7B0 0884F7E0 02399DC8 mov ECX, DWORD PTR [EBP-4]
0884F7B0 0884F7E0 02399DCB mov EAX, DWORD PTR [EBX+28]
0884F7B0 0884F7E0 02399DCE sal ECX, 4
0884F7B0 0884F7E0 02399DD1 lea EDX, DWORD PTR [EAX+EAX]
0884F7B0 0884F7E0 02399DD4 cmp ECX, EDX
0884F7B0 0884F7E0 02399DD6 jge 0x02399E20
0884F7B0 0884F7E0 02399DD8 cmp EAX, 8
0884F7B0 0884F7E0 02399DDB jbe 0x02399E20
0884F7B0 0884F7E0 02399DDD lea ECX, DWORD PTR [EAX-8]
0884F7B0 0884F7E0 02399DE0 add DWORD PTR [EBX+8], ECX
0884F7B0 0884F7E0 02399DE3 mov EAX, ECX
0884F7B0 0884F7E0 02399DE5 cdq
0884F7B0 0884F7E0 02399DE6 sub EAX, EDX
0884F7B0 0884F7E0 02399DE8 mov EDX, DWORD PTR [EBX+48]
0884F7B0 0884F7E0 02399DEB push EDX
0884F7AC 0884F7E0 02399DEC mov EDX, DWORD PTR [EBX+40]
0884F7AC 0884F7E0 02399DEF sar EAX, 1
0884F7AC 0884F7E0 02399DF1 add EDI, EAX
0884F7AC 0884F7E0 02399DF3 add ESI, EAX
0884F7AC 0884F7E0 02399DF5 mov EAX, DWORD PTR [EBX+44]
0884F7AC 0884F7E0 02399DF8 push EAX
0884F7A8 0884F7E0 02399DF9 mov EAX, DWORD PTR [EBX+36]
0884F7A8 0884F7E0 02399DFC push EDX
0884F7A4 0884F7E0 02399DFD mov EDX, DWORD PTR [EBX+32]
0884F7A4 0884F7E0 02399E00 push EAX
0884F7A0 0884F7E0 02399E01 mov EAX, DWORD PTR [EBX+24]
0884F7A0 0884F7E0 02399E04 push EDX
0884F79C 0884F7E0 02399E05 lea EDX, DWORD PTR [EAX+ECX*2]
0884F79C 0884F7E0 02399E08 mov EAX, DWORD PTR [EBX+20]
0884F79C 0884F7E0 02399E0B push 8
0884F798 0884F7E0 02399E0D push EDX
0884F794 0884F7E0 02399E0E mov EDX, DWORD PTR [EBX+8]
0884F794 0884F7E0 02399E11 lea ECX, DWORD PTR [EAX+ECX*2]
0884F794 0884F7E0 02399E14 push ECX
0884F790 0884F7E0 02399E15 push ESI
0884F78C 0884F7E0 02399E16 push EDI
0884F788 0884F7E0 02399E17 push EDX
0884F784 0884F7E0 02399E18 call 0x023996F0 (C:\Program Files\ffdshow\ffdshow.ax)
0884F784 0884F7E0 02399E1D add ESP, 44
0884F7B0 0884F7E0 02399E20 pop EDI
0884F7B4 0884F7E0 02399E21 pop ESI
0884F7B8 0884F7E0 02399E22 mov ESP, EBP
0884F7E0 0884F7E0 02399E24 pop EBP
0884F7E4 0884F820 02399E25 mov ESP, EBX
0884F7EC 0884F820 02399E27 pop EBX
0884F7F0 0884F820 02399E28 ret

clsid
4th January 2013, 22:11
ffdshow is no longer under active development. Submit a patch if you want it to be fixed.

mark0077
24th February 2013, 18:27
Guys, when using ffdshow + an avisynth script that changes the frame rate, do you ever have Reclock say

"Video No video stream found."

"Frame rate is unknown"

I am using avisynth and SVP to interpolate all content to 59.94fps, and using reclock to then help me with the difference beteen that and my display at 60.002 hz. This is fine for some content like blu-rays, but some other files that I'm trying like mp4's, with avisynth enabled I get those messages from Reclock and it won't kick in as it should to help me with the frame rate differences.

I'm just wondering does anyone know what causes this, is ffdshow possibly at fault?

Unticking avisynth during playback, immediately allows reclock to then find the Video frame rate of eg 24fps. Ticking avisynth on again shows the problem again but only after the media gets restarted.

Should ffdshow do something to change the output details / pin details after an avisynth script changes the playback rate. madVR for example still picks the rate up as 24fps in its pin input, even though it has been changed to 59.94fps.

Video: YV12 2048x1080 (16:9) 24fps

nevcairiel
24th February 2013, 19:29
If you always interpolate to 59.94, you could just set ReClock to this, and don't rely on its auto-detect.

mark0077
24th February 2013, 20:34
Hi Nev. Yeah I actually tried locking reclock to output at "refresh rate" bit it seems when it can't figure out the playback rate it won't make any changes ie it won't do anything to make the 59.94 -> 60.001 smoother due to the lack of being able to get the rate.

For this reason I think ill need to figure out a way around this I suppose or not use reclock and interpolate to 60.001 which I was doing originally but it uses more resources than interpolating to a nice multiple like 59.94

nevcairiel
24th February 2013, 21:25
You can configure a fallback rate in its settings (not during playback, but the actual settings) which it uses as an assumption if the fps probing fails. This should work for what you need it to do.

mark0077
24th February 2013, 21:46
Thanks nev. Ill use that as a workaround. Cheers.

Blight
10th March 2013, 17:23
I'm getting reports of crashes in Zoom Player's subtitle cycling feature from build 4496 (4494 doesn't suffer from this).
Was something in ffdshow's subtitle code changed recently to possibly account account for this issue?

foxyshadis
14th March 2013, 00:24
I'm getting reports of crashes in Zoom Player's subtitle cycling feature from build 4496 (4494 doesn't suffer from this).
Was something in ffdshow's subtitle code changed recently to possibly account account for this issue?

Those two revisions in between were entirely subtitle code. The most likely reason is that embedded subtitles were enabled by default in 4496; if you can get in contact with anyone who had a crash, have them test whether disabling that fixes it. (The "Embedded Subtitles" box on the Subtitles config screen.) It can also be disabled in the registry; subTextpin (DWORD) 0. It'd be handy to have a crash dump or way to reproduce it, naturally.

There's a new release today but with no subtitle changes since then.

clsid
14th March 2013, 15:15
Those two changes also made ffdshow stricter with accepting subtitle pin connection. So perhaps you are not handling the situation correctly where ffdshow refuses connection.

romulous
15th March 2013, 08:41
@foxyshadis: I asked the person who reported this error to test again with your suggestion. He reported that the error disappears when embedded subtitles are disabled, but that also disables the Zoom Player subtitle cycling feature entirely. These are the reported reproduction steps - you will just need ffdshow 4496 or later, and a copy of Zoom Player (the just released 8.6.1 should be fine):

1. Install ffdshow rev 4496 or later.
2. Ensure Zoom is using ffdshow as the subtitle renderer. It uses VobSub by default - this can be set in Advanced Options-->Playback-->Video-->Subtitles.
3. Open the following test file in Zoom:
https://dl.dropbox.com/u/105555957/Bug%20%23371.mkv (50MB)
4. Ensure 'disabled' is selected in the Stream Selection menu (you see this when you right click the Zoom Player window), then use Ctrl+B to cycle through the subtitles.
5. Cycling to the first subtitle in the index should show the error.

This is what happened with the person who reported it disabled embedded subtitles in ffdshow:
"True, the "crash" does not happen any more, but also cycling to "disabled" does not work now, and it stays at the first subtitle in the Stream selection index. Using the keyboard to cycle stopped working as well. I can change the subtitle using the menu and mouse, but they do not display, obviously because embedded subs are not enabled I guess."

@clsid: Thanks, I have sent your comment to Blight.

Vincent Vega
15th March 2013, 21:47
like the title says..

if I uninstall ffdshow x64, dxdiag x64 runs normally

clsid
16th March 2013, 01:46
Uninstall it and install the latest version.

kc7bfi
20th March 2013, 19:48
I am having an issue where it is taking about 1.3 seconds on Windows 7 64bit to setup the filtergraph. I've set ffdshow to output the debug lines to the windows debugger. It seems that the time is being taken calling ffdshowDecVideo::CheckTransform. Here is a portion of the debug log
00000061 0.48507661 [8296] TffdshowDecVideoOutputPin::CompleteConnect
00000062 0.48508927 [8296] TffdshowDecVideo::CompleteConnect output
00000063 0.48510885 [8296] TffdshowDecVideo::DecideBufferSize
00000064 0.48514879 [8296] TffdshowDecVideo::CheckTransform
00000065 0.72769743 [8296] TffdshowDecVideo::CheckTransform
00000066 0.95664924 [8296] TffdshowDecVideo::CheckTransform
00000067 1.19082177 [8296] TffdshowDecVideo::CheckTransform
00000068 1.40908623 [8296] TffdshowDecVideo::CheckTransform
00000069 1.59862018 [8296] TffdshowDecVideo::CheckTransform
00000070 1.59915233 [8296] TffOutputQueue::Constructor
00000071 1.59917843 [8296] Connection succeeded
Notice that the CheckTransform calls take over 1 second to finish. Any idea why it is taking so long? Is there something else happening that is taking the time? Any idea how to proceed to debug the delay?

Thanks, David

clsid
21st March 2013, 00:46
No idea. It is probably related to the other filters that are tried when creating the graph. GraphStudioNext can generate a graph construction report.

LigH
24th March 2013, 08:07
Reported in this forum for years and forgotten, therefore in the bugtracker now:

Noise exaggerates in the right third in reduced window (https://sourceforge.net/tracker/?func=detail&aid=3608932&group_id=173941&atid=867360)

When the noise generate feature is enabled, and the video is displayed in a window smaller than the video size (e.g. a FullHD video in windowed mode fitting from inside, or in 50% Zoom), the noise is extremely exaggerated in the right third of the window.

http://frupic.frubar.net/thumbs/29057.png (http://frupic.frubar.net/29057)

kc7bfi
9th April 2013, 21:43
I have a problem with a particular camera where the "top" field of a H.264 video frame is being processed twice. Here is the output from the debugger log

00001478 27.11919022 [8892] slice:1 T mb:0 P fix pps:0 frame:5 poc:65546/2147483647 ref:1/1 qp:26 loop:1:0:0 weight:0
00001479 27.12047768 [8892] slice:1 B mb:0 P fix pps:0 frame:5 poc:65546/65547 ref:1/1 qp:25 loop:1:0:0 weight:0
00001480 27.16013908 [8892] slice:1 T mb:0 P fix pps:0 frame:6 poc:65548/2147483647 ref:1/1 qp:25 loop:1:0:0 weight:0
00001481 27.16434860 [8892] slice:1 T mb:0 P fix pps:0 frame:6 poc:65548/2147483647 ref:1/1 qp:25 loop:1:0:0 weight:0
00001482 27.16610336 [8892] mmco: unref short failure
00001483 27.16611290 [8892] mmco: unref short failure
00001484 27.16614342 [8892] illegal short term buffer state detected
00001485 27.16657066 [8892] slice:1 B mb:0 P fix pps:0 frame:6 poc:65548/65549 ref:1/1 qp:26 loop:1:0:0 weight:0
00001486 27.18620110 [8892] slice:1 T mb:0 P fix pps:0 frame:7 poc:65550/2147483647 ref:1/1 qp:25 loop:1:0:0 weight:0
00001487 27.18804932 [8892] slice:1 B mb:0 P fix pps:0 frame:7 poc:65550/65551 ref:1/1 qp:25 loop:1:0:0 weight:0
00001488 27.22807312 [8892] slice:1 T mb:0 P fix pps:0 frame:8 poc:65552/2147483647 ref:1/1 qp:26 loop:1:0:0 weight:0
00001489 27.23173714 [8892] slice:1 T mb:0 P fix pps:0 frame:8 poc:65552/2147483647 ref:1/1 qp:26 loop:1:0:0 weight:0
00001490 27.23297882 [8892] mmco: unref short failure
00001491 27.23299026 [8892] mmco: unref short failure
00001492 27.23301888 [8892] illegal short term buffer state detected
00001493 27.23345947 [8892] slice:1 B mb:0 P fix pps:0 frame:8 poc:65552/65553 ref:1/1 qp:25 loop:1:0:0 weight:0


Notice that the "top" field of frames 6 and 8 are processed twice. Is there some way to detect this and to ignore the duplicate field? I've looked at the h264.c source code but cannot seem to find an easy way to do this.

Thanks, David

Blight
14th April 2013, 14:41
Ok, I narrowed down why recent ffdshow subtitle renderer builds broke ZP's subtitle functions.
There's a bug in ffdshow where it doesn't update it's IAMStreamSelect interface dynamically if a selection was made on one of the filter ffdshow's sub renderer is aggregating IAMStreamSelect information from.

So if LAV is updated with a different subtitle stream through its IAMStreamSelect, the next time FFDShow's IAMStreamSelect is queried, it is still showing the old stream as enabled...

If my description isn't clear enough, let me know.

clsid
14th April 2013, 18:02
There haven't been any changes related to IAMStreamSelect. You can see recent changes at
http://ffdshow-tryout.svn.sourceforge.net/viewvc/ffdshow-tryout?revision=4505&view=revision

Blight
15th April 2013, 11:39
There haven't been any changes related to IAMStreamSelect. You can see recent changes at
http://ffdshow-tryout.svn.sourceforge.net/viewvc/ffdshow-tryout?revision=4505&view=revision

And still, this bug exists and didn't previously...
And you can recreate it without ZP specific code.

clsid
15th April 2013, 15:41
Please understand that ffdshow development is inactive. So if you want this to be fixed, you will have to submit a patch.

I did a quick test in MPC-HC with the raw subtitle filter and it seemed to work just fine. Correct subtitle is selected in ffdshow after changing sub in player or splitter. Tested an mkv with two embedded srt subs.

vedmysh
18th April 2013, 14:52
Hello. I am wondering is the project rather dead than alive?
I am developing a software and use ffdshow-tryouts as a primary decoding facility. From time to time i encounter a random crash when i try to counstruct the video decoder:


ntdll.dll!_ZwRaiseException@12() + 0x12 bytes
ntdll.dll!_ZwRaiseException@12() + 0x12 bytes
ntdll.dll!_NtQueryValueKey@24() + 0x12 bytes
kernel32.dll!_LocalBaseRegQueryValue@24() + 0x208 bytes
ntdll.dll!@RtlpAllocateHeap@24() + 0x95 bytes
ntdll.dll!_RtlAllocateHeap@12() + 0x5ca8 bytes
ffdshow.ax!5136e66a()
[Frames below may be incorrect and/or missing, no symbols loaded for ffdshow.ax]
ffdshow.ax!5136adf4()
ffdshow.ax!511928fe()
ffdshow.ax!5139dedc()
ffdshow.ax!511790bf()
ffdshow.ax!5139cb26()
ffdshow.ax!513624cf()
ole32.dll!CServerContextActivator::CreateInstance(IUnknown * pUnkOuter, IActivationPropertiesIn * pInActProperties, IActivationPropertiesOut * * ppOutActProperties) Line 1000 C++
ole32.dll!ActivationPropertiesIn::DelegateCreateInstance(IUnknown * pUnkOuter, IActivationPropertiesOut * * ppActPropsOut) Line 1917 C++
ole32.dll!CApartmentActivator::CreateInstance(IUnknown * pUnkOuter, IActivationPropertiesIn * pInActProperties, IActivationPropertiesOut * * ppOutActProperties) Line 2268 + 0x12 bytes C++
ole32.dll!CProcessActivator::CCICallback(unsigned long dwContext, IUnknown * pUnkOuter, ActivationPropertiesIn * pActIn, IActivationPropertiesIn * pInActProperties, IActivationPropertiesOut * * ppOutActProperties) Line 1737 + 0x12 bytes C++
ole32.dll!CProcessActivator::AttemptActivation(ActivationPropertiesIn * pActIn, IUnknown * pUnkOuter, IActivationPropertiesIn * pInActProperties, IActivationPropertiesOut * * ppOutActProperties, HRESULT (unsigned long, IUnknown *, ActivationPropertiesIn *, IActivationPropertiesIn *, IActivationPropertiesOut * *)* pfnCtxActCallback, unsigned long dwContext) Line 1630 C++
ole32.dll!CProcessActivator::ActivateByContext(ActivationPropertiesIn * pActIn, IUnknown * pUnkOuter, IActivationPropertiesIn * pInActProperties, IActivationPropertiesOut * * ppOutActProperties, HRESULT (unsigned long, IUnknown *, ActivationPropertiesIn *, IActivationPropertiesIn *, IActivationPropertiesOut * *)* pfnCtxActCallback) Line 1487 + 0x12 bytes C++
ole32.dll!CProcessActivator::CreateInstance(IUnknown * pUnkOuter, IActivationPropertiesIn * pInActProperties, IActivationPropertiesOut * * ppOutActProperties) Line 1377 + 0x18 bytes C++
ole32.dll!ActivationPropertiesIn::DelegateCreateInstance(IUnknown * pUnkOuter, IActivationPropertiesOut * * ppActPropsOut) Line 1917 C++
ole32.dll!CClientContextActivator::CreateInstance(IUnknown * pUnkOuter, IActivationPropertiesIn * pInActProperties, IActivationPropertiesOut * * ppOutActProperties) Line 685 C++
ole32.dll!ActivationPropertiesIn::DelegateCreateInstance(IUnknown * pUnkOuter, IActivationPropertiesOut * * ppActPropsOut) Line 1917 C++
ole32.dll!ICoCreateInstanceEx(const _GUID & Clsid, IUnknown * punkOuter, unsigned long dwClsCtx, _COSERVERINFO * pServerInfo, unsigned long dwCount, unsigned long dwActvFlags, tagMULTI_QI * pResults, ActivationPropertiesIn * pActIn) Line 1334 + 0x19 bytes C++
ole32.dll!CComActivator::DoCreateInstance(const _GUID & Clsid, IUnknown * punkOuter, unsigned long dwClsCtx, _COSERVERINFO * pServerInfo, unsigned long dwCount, tagMULTI_QI * pResults, ActivationPropertiesIn * pActIn) Line 343 C++
ole32.dll!CoCreateInstanceEx(const _GUID & Clsid, IUnknown * punkOuter, unsigned long dwClsCtx, _COSERVERINFO * pServerInfo, unsigned long dwCount, tagMULTI_QI * pResults) Line 157 C++
ole32.dll!CoCreateInstance(const _GUID & rclsid, IUnknown * pUnkOuter, unsigned long dwContext, const _GUID & riid, void * * ppv) Line 110 C++
> playerng.dll!RenderManager::video_decoder_create(IBaseFilter * * ppdecoder) Line 538 + 0x20 bytes C++


Is it possible to recieve the help here about this problem?
Thanks.

clsid
18th April 2013, 15:33
It is dead.
The full source is available, so you can make your own debug build.

If you only need a decoder, then LAV Filters is a superior alternative.

vedmysh
18th April 2013, 15:42
It is dead.
The full source is available, so you can make your own debug build.

If you only need a decoder, then LAV Filters is a superior alternative.

I already support both in my software - FFDSHOW and LAV.
Anyway, pity. It was a greate codec project.
BTW any faq/howto about building ffdshow project available (caveats, used compilers&tools, etc)?

clsid
18th April 2013, 15:59
You need:
1) Visual Studio 2010
2) MingW (http://xhmikosr.1f0.de/tools/MSYS_MinGW-w64_GCC_473_x86-x64.7z).
Extract MinGW to c:\msys
Add c:\msys\bin and c:\msys\mingw\bin to %PATH%
3) DirectX SDK june 2010

_xxl
24th April 2013, 14:34
I agree with you Clsid, maybe some parts of FFdshow are old and need updates, but the name is a "legend" if you understand me... millions of users use it. Maybe a merge of ffdshow and LAV could make a good choise....

nevcairiel
24th April 2013, 14:38
Maybe a merge of ffdshow and LAV could make a good choise....

Not going to happen.

clsid
24th April 2013, 14:39
I have already made preparations that make it possible to install just the ffdshow processing filters. Optionally loading those into the playback graph after the LAV decoders is on the ToDo list of LAV Filters.

ipanema
26th April 2013, 11:54
I have been experimenting with using the ffdshow-tryouts encoder (MJPEG selected) and getting some strange results, so I tried using it in a simple Graph Studio filter graph consisting of

File Source Async (Lagarith AVI file 1920x1080) > AVI Splitter > AVI Decompressor > ffdshow video codes > AVI Mux > File writer

effectively this is just transcoding a Lagarith AVI file to an MJPEG compressed AVI file.

The file it produces has the correct imagery, but is EXTREMELY grainy looking. I tried ffdshow video codec and ffdshow video encoder (not sure if they are really the same thing under the hood). Also, strangely, if you delete the ffdshow block and re-insert it and connect the graph up again and run it you either get an output file that has noticeable MJPEG artifacts (as if it was encoded at a much lower quality level than set in the ffdshow properties), or a complete random mess of pixels, or a fatal error "This application has requested the runtime to terminate in an unusual way".

I'm using version 4500 Jan 6 2013.

Is there a known problem with using ffdshow-tryouts as an MJPEG encoder, or am I doing something wrong?

It has been a while since I visited these parts, so am saddend to see that the ffdshow tryouts projects is dead. Where has everyone moved onto? I noticed that LAV decoders are mentioned, and Microsoft are moving from DirectShow to Media Foundation - is LAV using Media Foundation only?

What other other options are there for plug-in encoders if I can't get the ffdshow-tryouts encoder to work?

clsid
26th April 2013, 14:45
Yes, it is possible it is buggy. That functionality hasn't been actively maintained or tested for a very long time.

There are plenty of alternatives. VFW instead of DirectShow. Or something FFmpeg based, such as Handbrake.

ryrynz
27th April 2013, 00:23
I have already made preparations that make it possible to install just the ffdshow processing filters. Optionally loading those into the playback graph after the LAV decoders is on the ToDo list of LAV Filters.

Nice, looking forward to this.

dimitrik
29th April 2013, 10:05
I have already made preparations that make it possible to install just the ffdshow processing filters. Optionally loading those into the playback graph after the LAV decoders is on the ToDo list of LAV Filters.

That sounds very useful.

I suppose this will allow us the flexibility of using the player of choice, e.g. for using LAV filters in WMC without external players, while still taking advantage of the upscaling/post-processing/subtitle filters that ffdshow included.

clsid
29th April 2013, 15:46
It is actually already possible right now to use ffdshow as a post-processor after LAV Video decoder. Benefit of the proposed method is that it allows using a small whitelist, and thus less chance of compatibility issues with other apps.

It is unknown when or if it will be implemented in LAV. So it could take a long time before it is available.

FlashGordon
13th May 2013, 15:36
I understand development on this project is inactive, but I have a quick question. Has anyone ever been able to get the Crop/Zoom function to work properly? It seems cropping is uneven no matter if all sides are set to the same value. For example, if horizontal and vertical zoom are set to 1, it'll crop more on the bottom than on the rest of the sides. I tested both Crop and Zoom at different settings using a variety of builds (including last one) with a Spears & Munsil test pattern with no luck.

I use mpc-hc and the PnS Inc Size command isn't very precise (it'll crop too much). Basically, I'd like the ability to crop in smaller increments on the fly and in an even manner. Any ideas?

mandarinka
13th May 2013, 17:47
IIRC the crop requires rather large increments to be used (4 or even 8?). I suggest using avisynth filtering...

mindbomb
22nd May 2013, 21:23
question about LFE crossover:
"Remove low frequencies added to LFE from left and right channel" - does this also remove the low frequencies from the center and surround in a 5.1 configuration?

gonwk
26th May 2013, 01:35
Please understand that ffdshow development is inactive. ....

Hi clsid,

Q: What is the last "Stable" version that would work good with Vista?

Thanks,

G! :)

ryrynz
26th May 2013, 02:03
Any of them since the last stable release really, current is 4512.

gonwk
26th May 2013, 04:12
Any of them since the last stable release really, current is 4512.

Hi ryrynz,

Thanks! Just out of curisoity ... is this what you are running and what is your OS?

G! :thanks:

ryrynz
26th May 2013, 06:32
Running Eric Gur's 4512 build found here (http://sourceforge.net/projects/qsdecoder/) on Windows 7 x64.

filler56789
2nd June 2013, 22:06
Latest revision is 4514. Available at xvidvideo.ru :eek:

ryrynz
10th June 2013, 12:00
Hey clsid, are there any chances of getting something like on 'directory name match' added to the preset auto conditions? Surely it it be fairly trivial to add this feature?

clsid
11th June 2013, 00:01
Submit a patch...

shunely
13th June 2013, 15:20
Ass subtitles is garbled when av splitter connected to ffdshow subtitles filter.
http://forum.avmedia.su/viewtopic.php?f=19&t=183
http://forum.avmedia.su/viewtopic.php?f=11&t=194
http://forum.avmedia.su/download/file.php?id=230

clsid
13th June 2013, 16:01
Should be fixed in r4516.

filler56789
16th June 2013, 08:24
r4516 at xvidvideo.ru (http://www.xvidvideo.ru/ffdshow-tryouts-project-x86-x64/ffdshow-tryouts-project-svn-4516-x86-x64.html)

djonline
21st June 2013, 11:28
Where I can find FFV1 vfw ?

LigH
21st June 2013, 14:52
When you installed ffdshow, it also registers a VfW multi-codec in parallel to the DirectShow multi-decoder.

http://www.ligh.de/pics/ffv1vfw1.png

http://www.ligh.de/pics/ffv1vfw2.png

djonline
14th July 2013, 12:16
LigHThere is no "Encoder" tab in latest ffdshow from this year.

clsid
14th July 2013, 17:00
Then you are looking in the wrong place. It is in the VFW codec, not in the DirectShow filter.

LigH
14th July 2013, 18:30
I believe the yellow icon should help you finding the right link in its start menu.

ryrynz
18th July 2013, 09:42
Why is it if I play a 10bit file with ffdshow raw active (on a default profile with no options ticked) it outputs NV12?
I know I could unticket all output options but P010 which hopefully avoids any conversion (does it?) but I shouldn't have to.
I have all output options ticked so shouldn't it default to P010? What's going on?

nevcairiel
18th July 2013, 09:44
ffdshow raw does not support 10-bit input, so its converted before it reaches ffdshow already, IIRC.

djonline
18th July 2013, 20:50
clsid, Encoder tab was completely removed from ffdshow more than half year ago. But still there is no VFW replacement for FFV1.

filler56789
18th July 2013, 21:43
clsid, Encoder tab was completely removed from ffdshow more than half year ago. But still there is no VFW replacement for FFV1.
:confused: :confused: :confused:

http://forum.videohelp.com/attachments/18912-1374180022/ffdshow-VfW-4516.png

LigH
19th July 2013, 07:42
Several VfW codecs have been removed from the VfW configuration's Encoder tab (e.g. the generic MPEG4-ASP codec with insanely detailed configurability but only experimental, in comparison to Xvid not really practical capabilities). But there are still a few essential codecs left. Namely the unsubstitutable lossless codecs (FFV1 and Huffyuv with YV12 support), as well as the top quality Motion-JPEG and DV implementations.

foxyshadis
20th July 2013, 01:23
clsid, Encoder tab was completely removed from ffdshow more than half year ago. But still there is no VFW replacement for FFV1.

Try completely uninstalling ffdshow and reinstalling one of clsid's compiles. You might be working with someone else's build.

shunely
24th July 2013, 06:38
ffdshow dxva subtitles(pgs) is imperfect:

http://1.jdm2013.duapp.com/3977427558v3995638337.png

clsid
24th July 2013, 12:42
Wrong. The video has a too small size. That is fault of encoder.

shunely
24th July 2013, 13:35
Wrong. The video has a too small size. That is fault of encoder.

ffdshowvideo subtitles(pgs) is correct.

http://1.jdm2013.duapp.com/2203469785v3995638337.png

kirakami
10th August 2013, 08:40
can you implement Opus (http://www.opus-codec.org) in ffdshow audio decoder? :)

LigH
6th September 2013, 12:33
I thought I had installed everything correctly ... but then I got the old known error in VirtualDubMod again: "Source format not acceptable (-2)" when loading an AviSynth script which outputs YV12 video. I knew that it can be solved by registering a VfW handler for the "YV12" FourCC in the Registry.

So I called the VFW Configuration of ffdshow and checked the "Codecs" page in the "Decoder" register. Raw formats: "all supported". :confused:

Set to "none"; [Apply]; Set back to "all supported"; [Apply]; still Error -2 in VDubMod. :eek:

RegEdit; search for "vidc."; found some in:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Drivers32

But neither contains "vidc.yv12". :mad:

Manually added String value "vidc.yv12=ff_vfw.dll" for both.

Works again. :p — But why disappeared this entry, and why is ffdshow not anymore able to register itself? :(

clsid
6th September 2013, 14:12
It has never created that entry. Afaik it is also not needed. A VFW codec can support multiple formats with a single entry. It is possible that is doesn't communicate YV12 as a supported format by default (assumption).

Alternative solutions:
- Xvid VFW codec
- Helix YV12 VFW codec
- Enabling raw video in the ffdshow DirectShow filter

LigH
6th September 2013, 14:21
I thought that a VfW codec needs to register itself as responsible for a FourCC by assigning the vidc.fourcc registry value to its DLL. I did not know that there are other ways of registering. Especially not that registering as responsible DirectShow decoder is of any interest for VfW.

Indeed, raw formats were disabled in the ffdshow DirectShow Decoder Configuration; no clue why...

clsid
6th September 2013, 15:06
While VirtualDub uses VfW, it is of course possible to use something different in AviSynth, like DirectShowSource.

Raw video is disabled by default for good reasons. Otherwise it would insert itself in every graph.

Reino
15th September 2013, 10:11
Changing FFDShow RAW Video Decoder its merit to 00400000 ('unlikely') solves that issue. It won't insert it self in every graph, but only when it's really necessary.

Btw, another alternative solution, albeit non-VFW, is madVR.

betaking
16th September 2013, 04:02
There are plans to support VS 2012 compile it?

4evrplan
19th September 2013, 17:52
I know that ffdshow-tryouts was forked because ffdshow wasn't being developed anymore, but the sourceforge page says "Last Update: 2013-05-09". Did someone pick up the torch? If so, how do I decide between the two?

clsid
19th September 2013, 17:57
The original project hasn't been updated since 2006.

4evrplan
19th September 2013, 18:04
The original project hasn't been updated since 2006.

I believe you, but does anyone know why the misleading date on the project page?

itsonlyjustincase
21st September 2013, 16:52
Hi,

if i modify for example "ffmpeg.dll", and replace it with another modified version, will this enough to have the new file working ?

clsid
22nd September 2013, 17:54
I believe you, but does anyone know why the misleading date on the project page? Probably just the date at which the project got updated to new SourceForge website layout and project back-end.

if i modify for example "ffmpeg.dll", and replace it with another modified version, will this enough to have the new file working ? As long as you don't change any API functions, it should work.

itsonlyjustincase
22nd September 2013, 18:34
I believe you, but does anyone know why the misleading date on the project page? Probably just the date at which the project got updated to new SourceForge website layout and project back-end.

if i modify for example "ffmpeg.dll", and replace it with another modified version, will this enough to have the new file working ? As long as you don't change any API functions, it should work.

thank you

dix234
24th September 2013, 17:53
Hello!

Are there any plans to include the latest version of FFV1 [version 3] in ffdshow tryouts?

Thanks,

Erik

clsid
25th September 2013, 00:20
There are no developers available that are interested in working on ffdshow.

ipanema
30th October 2013, 12:04
I would like to add a program entry to the whitelist programmatically.

The whitelist seems to be stored in the registry at

HKCU\Software\GNU\ffdshow\whitelist

so just appending an extra program name to it works OK.

However, if the "video decoder configuration" tool has never been run for that user then the whole of that branch in the registry does not exist yet, so there is no existing whitelist to append to. Only after the "video decoder configuration" tool has been run and saved does the whitelist value get created with a long list of program names.

To cope with situations where the tool has not been run yet, I need to get the default list from somewhere. I have tried searching the whole registry but I can't seem to find it.

How can I get the default list?

clsid
30th October 2013, 19:18
The default whitelist is embedded in the binary. You can disable the whitelist through this value: isWhitelist.

What is the filename of the program?

PetitDragon
17th November 2013, 22:28
@clsid
Thanks for the new update of ffdshow.:thanks:

WorBry
2nd December 2013, 03:43
Hi,

Having just recently upgraded my ancient single-core PC to a 6-core (AMD FX-6300) PC, I've come to realize that FFDShow vfw doesn't provide MT support for HuffYuv, my long preferred lossless YV12 format.

I know there's FFV1, but is there any (custom) build out there that offers HuffYuv MT support?

Just asking :o

WorBry
3rd December 2013, 17:00
I'll take that as a 'no' then? :o

clsid
3rd December 2013, 18:24
The decoders and encoders in ffdshow have not been updated since 2012, and it is extremely unlikely that they will get updated in the future, since the project is dead.

Alternative lossless codecs are Lagarith and UTvideo.

WorBry
3rd December 2013, 19:35
OK, thanks. I guess it's a bit late to send flowers?

prijatelj.v
3rd December 2013, 23:12
Is not entirely dead...latest version: 2013.12.03 (03 Dec 2013)...

FFDShow Tryouts 2013.12.03 (rev4527) :

http://http://codecpack.co/download/FFdshow_Tryouts.html

WorBry
4th December 2013, 00:17
Good I didn't send flowers then !

Does it have MT support for HuffYuv ? ....he asked eagerly :o

ryrynz
4th December 2013, 00:31
Is not entirely dead...latest version: 2013.12.03 (03 Dec 2013)...

FFDShow Tryouts 2013.12.03 (rev4527) :

http://http://codecpack.co/download/FFdshow_Tryouts.html

It is, clsid is the one doing those updates, there's no development just the odd bug fix and optimization etc.

Hey clsid, could you make it VS2013 compatible?

vood007
4th December 2013, 06:21
Only thing i would ask for is updated ffmpeg/libav at the time when HEVC becoms relevant. I really hope someone finds time for this. I would donate some money to support that.

clsid
4th December 2013, 20:23
LAV Filters provides superior decoders and already supports HEVC.

ffdshow is NOT getting updated decoders/encoders. Due to API changes it would require major rewrites of the code. There are no developers interested in doing that. Period. End of discussion.

foxyshadis
6th December 2013, 01:15
You might have more luck working with Hendrik to graft some of FFDShow's more useful features onto LAV Filters. Alternately, it's always possible to chain LAV->FFDShow Raw if you want to use them.

kolpotoru
19th December 2013, 01:13
why all vfw coddc are disabled ? Please re enable them.

LigH
19th December 2013, 09:08
Because they caused issues in the 64 bit version of ffdshow. They still work well in the 32 bit version of ffdshow.

kolpotoru
19th December 2013, 20:10
Ok there may have been some problem with 64 bit but why the vfw codac like mpeg4,xvid,h263 etc are not available in 32 bit version of latest ffdshow. Please re enable them.

LigH
19th December 2013, 20:24
Read back a few dozen pages. It had been decided so long ago to clean ffdshow up and remove hardly used codecs because they were too generic and by far not superior to the final separate implementations. Only really unique and superior implementations of codecs are left. If you still need the others, you may find completely outdated versions which still implement them.

tal.aloni
24th December 2013, 20:09
@clsid,
Hi!
Thanks for holding the fort! I've been quite busy (suing Microsoft and winning and other tales :) )

Are we 100% sold on the subtitles pin changes in rev. 4495?
It's limiting my ability to enable subtitles mid-playback.

while I realize it might seemed odd to enable the subtitles input pin when the subtitles filter is disabled, it did save a lot of trouble enabling them later.

Sorry I'm getting there just now,
I appreciate your thoughts on this,
Tal Aloni

turbojet
8th January 2014, 08:21
If the framerate changes with avisynth it outputs the input fps instead of the output. Any chance of sending the correct fps on output?

clsid
8th January 2014, 20:34
@tal
Configure your splitter (Haali/LAV) to use "off" as preferred language. Then it will select "No subtitles" by default for embedded subs. Then you can leave subtitles enabled in ffdshow.

@turbojet
If someone submits a working patch, then I will gladly commit it.

Deihmos
18th January 2014, 05:15
Is it possible to disable auto loading of external subtitles? It does not look like I can.

hello_hello
4th February 2014, 12:05
ffavisynth.avsi:
try { Load_Stdcall_Plugin("C:\Program Files\Media\AviSynth 2.5\plugins\ffavisynth.dll") }
catch(err_msg) { NOP() }Confirmed! Still funny though, again this only affects MPC-HC, unlike Zoom Player and alike.

Btw, haruhiko_yamagata, thanks for your time.

I know the post I'm quoting is rather old, but Google led me to it.... and this thread.

I've been trying to use ffdshow filters with Avisynth via the ffdshow plugin (which is in the Avisynth plugins folder). I'm having a similar issue.

When ffdshow installs the Avisynth plugin, the "ffdshow.avis" script contains this:

try { Load_Stdcall_Plugin("ffavisynth.dll") }
catch(err_msg) { NOP() }

It'll autoload ffavisynth.dll if I open a script with VirtualDubMod, but when I open it with VirtualDub I get an error stating there is no function named ffdshow. I can open a script with MeGUI, but when opening it with MPC-HC or MPC-BE I get the same error.
The fix from the post I quoted works. If I change the ffavisynth.avis file to the following I can open the script with any program:

try { Load_Stdcall_Plugin("C:\Program Files\AviSynth 2.5\plugins\ffavisynth.dll") }
catch(err_msg) { NOP() }

Anyone know why the ability to load the ffavisynth.dll with the original avis script seems dependant on the program used to open the script?

I also have a couple of other questions.
According to the info I read, if an ffdshow preset isn't specified in a script, a temporary ffdshow preset called "ffavisynth" (or something similar) will be created. This doesn't seem to be happening. I need to specify an existing preset in order for it to work, by adding ffdshow to a script like this:

ffdshow("default")

A long time ago I was using the ffavisynth plugin and recall when ffdshow() was included in a script, the ffdshow window would automatically open with the usual filters list while the script is being previewed. This isn't happening. I need to open the ffdshow video decoder configuration manually in order to use ffdshow's filters.
I also recall any changes to ffdshow's filters would be applied in real time. For instance I could adjust the brightness and see the effect as the script was being displayed with MPC-HC, but currently I need to change a filter setting, click on "Apply", then reload the script before I see any changes.

Am I remembering the above incorrectly, and is the ffdshow plugin working as expected?

I'm using ffdshow version 4527 but I've also tried version 4500 and they both seem to work the same way. I'm running XP SP3.

Thanks in advance to anyone familiar with the avisynth plugin.

clsid
4th February 2014, 20:13
You can solve the problem by adding the AviSynth plugin folder location to the %PATH% system environment variable.

j7n
4th February 2014, 21:33
How do I stop ffdshow from handling the Language menu of Windows Media Player (mplayer2.exe/msdxm.ocx) and allow it to be managed by Haali Media Splitter? Ffdshow adds a single entry there with the format details, and stream switching is impossible. I have unchecked the option "Add tray icon menu to player's stream/languages menu". Enabling it makes no difference. Tray icon is also off.

Problem: ffdshow-haali-lang-bad.png (http://dl.dropboxusercontent.com/u/61700377/screens/ffdshow-haali-lang-bad.png)

With FFdshow disabled: ffdshow-haali-lang-good.png (http://dl.dropboxusercontent.com/u/61700377/screens/ffdshow-haali-lang-good.png)

Older versions of Ffdshow, like rev.3154, didn't have this problem, but the new one enables more formats.

I'm talking about the plain old media player. I am using it because it allows stream switching one click away as opposed to a sub-menu. I also have MPC-HC in DXVA mode with serious limitations, and am swithcing between both players, depending on whether I need DXVA or high quality subtitle processing or other filtering (in ffdshow).

ffdshow 2013-01-06, rev.4500
Haali 1.11.288.0
Windows XP SP3

clsid
5th February 2014, 01:57
Fixed it in rev4528. The streams menu option must be kept disabled.

You can use multiple copies of MPC-HC with different settings if you let it store its settings in an INI file.

Deihmos
5th February 2014, 04:49
Where is rev 4528? No one know the answer to this?

Is it possible to disable auto loading of external subtitles? I don't want to disable subtitles but I don't want English subs loading for English movies.

ryrynz
5th February 2014, 05:54
Under generic builds buddy.

http://sourceforge.net/projects/ffdshow-tryout/files/SVN%20builds%20by%20clsid/generic%20builds/

Deihmos
5th February 2014, 06:02
Under generic builds buddy.

http://sourceforge.net/projects/ffdshow-tryout/files/SVN%20builds%20by%20clsid/generic%20builds/

I use the 64bit version and I don't see it there.

LigH
5th February 2014, 13:35
Either clsid did not yet build the 64-bit version, or SourceForge did not yet manage to present it.

Well, it still presents the previous build as the most recent.

j7n
5th February 2014, 22:56
Fixed it in rev4528. The streams menu option must be kept disabled.Thank you for the quick update. It is working now as expected.

clsid
5th February 2014, 23:45
Is it possible to disable auto loading of external subtitles? I don't want to disable subtitles but I don't want English subs loading for English movies.It is not possible to disable auto-loading for specific languages. You can only disable it completely for external files. You can hide subtitles by toggling the subtitle filter on/off through the system tray icon menu, or by selecting "No subtitles" in the subtitle streams list in the tray menu.

tal.aloni
7th February 2014, 12:06
@clsid
Configure your splitter (Haali/LAV) to use "off" as preferred language. Then it will select "No subtitles" by default for embedded subs. Then you can leave subtitles enabled in ffdshow.

Thanks, I was not familiar with that option,
however, after trying it out, this new approach does not work well for me:

1. I still have to disable subtitles in ffdshow when an external .srt is present (and since I share over the network, the .srt files have to be there for other users), and this setting will "stick" for the next time ffdshow loads.
2. Turning the Embedded subs on or off this way is not a smooth process, the video is paused for a second, my receiver is making a stream switch noise, and it's not as subtle as just enabling the selected subtitles using ffdshow)

I miss the old way, which was more consistent and hassle free.
however, I do agree that there was an inconsistency between the previous UI and the logic that needed to be improved.

The first idea that comes to mind is to revert back to the old way and update the UI to reflect how it actually worked, for example:
http://s15.postimg.org/wh79onk5n/Subtitles.png

What do you think? anyone have a better idea?

Tal

clsid
7th February 2014, 18:44
It is not going to be changed. The old behavior was wrong, ffdshow could steal the subtitle pin from another filter when subtitles were disabled.

All options in your screenshot are still there, so I don't know what you seem to think is missing. If you don't want external subs, then just uncheck "Subtitle files". If you only want to see embedded subs in specific situations, then you need to configure your splitter to select the correct one. For example "eng:off; *:eng" will disable subs for English audio and selects English subs if the video has a foreign audio track.

Or you can just stop using ffdshow for subtitles and use MPC-HC ISR or VSFilter instead. Those both have the ability to show/hide the subtitles without having to switch subtitle track/file. In MPC-HC by just pressing W.

tal.aloni
8th February 2014, 09:16
Thanks,
What I think is missing is an option to enable the pin and disable the subtitles.
I think the pin options should not be subjugated to the "enable subtitles" option.

English is not my native tongue but I am trying to improve my listening comprehension, I get about 95% of the dialog, for the other 5%, I rewind and turn subtitles on for just a moment.
I had to revert to rev. 4494 because I can't do it smoothly with the newer revisions.

p.s. even if I didn't want to use subtitles, my video player will complain about missing codecs when the pin is disabled, so even for people who do not want subtitles, enabling the pin make sense in those situations.

Thanks again for your patience.

tal.aloni
8th February 2014, 09:21
ffdshow could steal the subtitle pin from another filter when subtitles were disabled.

There was an option ("Embedded subtitles" / IDFF_subTextpin) to disable the pins for anybody who wanted it, unfortunately, in the UI it's located under the "Enable subtitles" option, instead of somewhere else.
That's what the UI I suggested intended to fix.

j7n
9th February 2014, 03:55
I would also like the previous behavior back, where ffdshow always accepted subtitles, whenever the option "Accept embedded subtitles" was ticked, and rendered them when the filter was enabled. This GUI configuration also seemed intuitive to me. If for some odd reason, one doesn't want to process subs with ffdshow, that's what the above option was for.

I also switch subs on and off, much like tal.aloni, to catch a cultural reference unfamiliar to me, or to compare translations in a multilingual mux. With the keyboard shortcut, subs can be toggled instantaneously. If subs are switched in the media splitter, playback is always interrupted for a moment with a popping noise. And if subs have been left disabled, but provided by the splitter, I receive an ugly modal dialog upon opening the movie. I can't quite get Haali to always disable subs by setting the language field to "off".

Some of the streams in this movie are in an unsupported format. (Error=00040242)

The whole point of having ffdshow is that all processing happens inside one filter, avoiding any hassle with getting the subtitle filter to connect, not crash, not flip the picture, use the best colorspace, etc.

clsid
9th February 2014, 20:37
I have added an option to always connect subtitle pin.

leeperry
13th February 2014, 17:36
mVR can't align MPEG1 chroma properly, is there any point in outputting P216 instead of YUY2? Or is it simply filling the >8bit with zero padding?

clsid
13th February 2014, 21:04
You might have more luck with RGB32 output.

leeperry
13th February 2014, 21:55
I definitely want to keep the RGB conversion in mVR but I have to feed it with properly aligned chroma for MPEG1...it's just that I've always read ppl claiming that ffdshow is stuck in 8bit-land so I'm surprised to see 10/16bit output support and I wonder whether it's padded 8bit.

mark0077
14th February 2014, 14:22
guys, there have been a few forum threads over at the svp-team forums in the past few months regarding audio / video sync problems when using their scripts. Yesterday I experimented with ffdshows OSD feature, and got it to output the first 100 frames (AFTER avisynth), and the frames timestamps, frame numbers etc.

What was noticed was, depending on what buffer sizes are used in the avisynth tab, the resulting timestamps can change quite significantly. MAG79 from the forums suggested I ask some of the ffdshow developers, perhaps clsid or haruhiko is this something thats known about or something you think would be something in the ffdshow code. OR is this completely outside of ffdshow altogether?

Basically what we were expecting was that no matter what buffer sizes were used, that the output frames / timestamps etc should remain the same but this isn't the case.

clsid
14th February 2014, 19:25
@leeperry
All processing in ffdshow is done in 8-bit colorspaces. Outputting 10/16bit would just mean unnecessary extra conversions.
Afaik the HQ rgb32 converter is the only thing in ffdshow that properly handles mpeg1 chroma.

@mark0077
I don't know how the avisynth stuff is implemented. Other devs are no longer active here.

leeperry
17th February 2014, 18:22
Well 8bit YUV contains more data than 8bit RGB and I can have MPEG1 chroma properly aligned if I output 4:2:2 or 4:4:4 YUV from ffdshow, I'm just not sure which one to choose...and especially whether ffdshow outputs more data for 10/16bit or simply padded 8bit. Oh well, I only use this wild trick for MPEG1 and the files are like 320x240 or so ^^

LigH
18th February 2014, 09:00
Well 8bit YUV contains more data than 8bit RGB...

:confused: Someone enlighten me, please.

And furthermore, compare the dimension of inaccuracy between RGB/YUV conversions on one hand, and MPEG1 quantization on the other. Cutting trees with a pocket knife?

e-t172
18th February 2014, 20:08
:confused: Someone enlighten me, please.

Well that's not strictly true. It would be more correct to say that 4:2:0 8-bit YUV is a more perceptually efficient encoding than 8-bit RGB because it optimizes for what the eye is most sensitive to (luma), while RGB just treats chroma and luma equally.

j7n
20th February 2014, 02:54
Subtitles in revision 4530 work well.

The option under keys & remote for turning them on is now called "Next subtitles file" instead of "Toggle subtitles". It enables and disables them just the same. How is it different now?

clsid
20th February 2014, 19:43
There haven't been any changes to keyboard settings.

The only change is a new option:
Subtitles > Always connect subtitle pin

Deihmos
27th April 2014, 23:04
I can never get keyboard shortcuts to work in WMC. I enabled it and tried CTRL + AlT + keypress and nothing happens in Windows Media Center but tt works in MPC. Is there a trick to get this working in WMC?

Blight
23rd June 2014, 07:24
I just installed the latest build (ffdshow_rev4530_20140209_clsid.exe) and subtitle support seems to be completely broken.

The subtitle filter doesn't support the IAMSteamSelect interface anymore (returns E_NOINTERFACE on QueryInterface).
When I inspect the filter using GraphStudioNext I get the same result, under the "Interfaces" tab of the filter's properties "IAMSteamSelect" is not listed.

Blight
23rd June 2014, 11:05
Ok, I figured out there's a new checkbox that must be enabled for the interface to become available again.

clsid
23rd June 2014, 16:06
The interface is always exposed if the subtitle filter is enabled. The new checkbox is to control behavior when subtitles are disabled initially.

Boardlord
16th July 2014, 00:04
I have an mp4 file that crashes ffdshow.ax consistently. I have created an MP-HC ticket here with more details in it:

https://trac.mpc-hc.org/ticket/4638

Please let me know how I can help more (although I know no active development takes place anymore).

Regards,
boardlord

SeeMoreDigital
16th July 2014, 09:21
I have an mp4 file that crashes ffdshow.ax consistently...Is MediaInfo (http://mediainfo.sourceforge.net/en) able to read your .mp4 file?

If it can, please run your .mp4 file through MediaInfo (set to text mode). And post what it reports, IN FULL as a text (.txt) file?

LigH
16th July 2014, 09:28
As CLI: MediaInfo -f your.mp4 > your.mp4.txt

As Windows GUI: Debug – Advanced mode; View – Text (or: File – Export, Text, Advanced mode)

Boardlord
16th July 2014, 17:09
Here is the output:

http://pastebin.com/UcuKpxht

Edit: VLC plays the file without problem.

clsid
16th July 2014, 18:24
Width and height of that video is only MOD2.

Which processing filters did you enable in ffdshow?

A possible workaround:
1) move the resize filter to the top of the list
2) resize using "Expand to next multiple of". Test with value 4 first. Increase to 8 or 16 if needed.

Boardlord
16th July 2014, 19:48
Only Picture properties, Deband and Subtitles are enabled.

clsid
16th July 2014, 22:06
Please test which specific setting triggers the crash.

MPC-HC already has subtitle and picture properties (options > miscellaneous) functionality. Why are you using ffdshow for that?

Boardlord
16th July 2014, 22:27
Please test which specific setting triggers the crash.

MPC-HC already has subtitle and picture properties (options > miscellaneous) functionality. Why are you using ffdshow for that?

Ok, enabling Picture properites causes the crash. If only Deband&Subtitles are enabled the crash doesn't occur.

The reason I use ffdshow for these is simply ease of use - getting easy access to everything from the tray (enabling/disabling options, selecting subtitles etc.), and being used to this for the past countless years :)

Edit: Oh, and also using it because of being able to set profiles based on extensions, resolutions etc. :)

clsid
17th July 2014, 01:30
The resize workaround I mentioned before works.

I will apply a quick and dirty fix tomorrow.

Boardlord
17th July 2014, 08:58
1000x thank you :)

Boardlord
17th July 2014, 19:45
Today's build fixes the crash, thank you!

j7n
18th July 2014, 12:51
Is it known that still frame Grabbing doesn't work on oddball width (mod-2) video? I get a skewed picture with alternating red, green and blue lines in the BMP output, as if the row length was specified incorrectly. The position of the Grab filter makes no difference. Playback is correct. I can capture frames if I use AviSynth with AddBorders(0,0,2,0) above Grab, which adds a black column to bring the width to mod-4.

clsid
19th July 2014, 00:37
Now it is known. It would not surprise me if more stuff is broken for non-MOD4 widths/heights.

Don't expect this to get fixed. I only do trivial fixes. There are no active developers present in the project.

Empatojayos
13th November 2014, 02:30
I found a new SVN build (4533) in the sourceforge site. What's new?

ryrynz
13th November 2014, 04:38
I found a new SVN build (4533) in the sourceforge site. What's new?

4531: Updated to QuickSync Decoder 0.45 (r99). No ffdshow code change
4532: Avoid crash when applying Luminance gain/offset on a video with a height than is not modulo 4.
4533: Fix huffyuv encoding crash.

4532 and 4533 are patches by SpOeK!. Looks like another player has joined the game.

clsid
13th November 2014, 16:29
Nope. Development is still inactive.

mandarinka
3rd March 2015, 16:29
Is it known that still frame Grabbing doesn't work on oddball width (mod-2) video? I get a skewed picture with alternating red, green and blue lines in the BMP output, as if the row length was specified incorrectly. The position of the Grab filter makes no difference. Playback is correct. I can capture frames if I use AviSynth with AddBorders(0,0,2,0) above Grab, which adds a black column to bring the width to mod-4.

This is weird, because grab definitely used to work with non-mod4. If you need this feature, revert to some older build. (BTW if you by chance isolate at which revision this got broken, post it here, even if currently nobody is willing to fix it... it might be useful to somebody.)

Edit: I have revision 4499 (2 years old by now) installed on W8.1 64 and it works with 714x478 video (both 10-bit and 8-bit H.264). Note that I have SSE2-capable CPU, it might be different on processors without that. Also maybe try if it starts to work if you disable decoding in ffdshow and use it as a postprocessor after LAV video. Proofs :) (http://imgur.com/a/pk8Bi)

clsid
3rd March 2015, 21:32
You don't have to bother testing that older version, because nothing has changed with regard to the Grab filter. In fact, there haven't been any significant changes to ffdshow at all in the past years.

I can confirm the problem with mod2 width for BMP. PNG output works ok, so use that, or use Resize&Aspect to expand to a multiple of 4.

mandarinka
4th March 2015, 00:25
Ah, I see, I didn't try BMP. It didn't occur to me that the trouble could actually be just in the output part (IIRC png uses different colorspace). That is pretty acceptable workaround, too.

j7n
4th March 2015, 10:44
I do have SSE2, but I find PNG too slow to be practical for any kind of screen grabs without a computer from space. I usually take dozens and discard most that don't show what I want. It would be cool if the quality slider that doesn't do anything could perhaps adjust the PNG compression between none and max. I would of course use no compression for temporary grabs.

The workaround with AddBorders(0,0,2,0) works for me. I then easily crop off the extra columns with IrfanView. As far as I understand both BMP and PNG are in RGB24 color space. Here is how a broken still frame looks like: 710*480 (https://dl.dropboxusercontent.com/u/61700377/screens/_ff00074.png)

mandarinka
4th March 2015, 15:44
I do have SSE2, but I find PNG too slow to be practical for any kind of screen grabs without a computer from space. I usually take dozens and discard most that don't show what I want. It would be cool if the quality slider that doesn't do anything could perhaps adjust the PNG compression between none and max. I would of course use no compression for temporary grabs.

The workaround with AddBorders(0,0,2,0) works for me. I then easily crop off the extra columns with IrfanView. As far as I understand both BMP and PNG are in RGB24 color space. Here is how a broken still frame looks like: 710*480 (https://dl.dropboxusercontent.com/u/61700377/screens/_ff00074.png)

Both is R/G/B 8/8/8 bit, but the arrangement of the channel can be different IIRC or something - BGR/RGB etc.

foxyshadis
8th March 2015, 18:41
Moved increasingly off-topic posts about audio sampling to audio forum (https://forum.doom9.org/showthread.php?t=171895).

djonline
18th March 2015, 14:39
There is no FFV1 version 3 in ffdshow ?
Is there is any vfw build of ffv1.3 for encoding/decoding ?

HackAR
27th March 2015, 02:13
I've written a neat Avisynth script to do some transformations on the videos. But it involves changing YV12 to YV16. If I create a avs file and load the video in it, everything displays fine. But if I put the same script into Avisynth section of ffdshow (so it is active with all videos), the output is shown in wrong colorspace and colors are displaced.

Anyone met this bug? Any idea how to solve it or is there a workaround?

LigH
27th March 2015, 09:30
I doubt ffdshow supports YV16...

clsid
27th March 2015, 13:28
Try converting back to a more common colorspace at the end of the script. Like RGB32.

LigH
27th March 2015, 13:42
YUY2 would be more appropriate. It has about the same amount of information (both YUV 4:2:2), just that YV16 is planar, and YUY2 is interleaved (packed pixels).

HackAR
27th March 2015, 20:01
Yes I did a major rearrangement in my filter (Planar YV16 to Packed YUY2)
Now it works almost well in ffdshow. There are still 2 things: for some reason ffdshow still tries to output in NV12, messing with chroma values. If I deactivate the 4:2:0 output modes, it chooses RGB :confused:. Only if I deactivate RGB output too, it stays with YUY2. Why?

Btw, all other processing steps are deactivated, only the AviSynth is active.

foxyshadis
6th April 2015, 17:51
YUY2 is probably the least-commonly output colorspace of all, so it's no surprise it's the victim of driver and ffdshow bugs. It's chosen dead last because compatibility is so low.

HackAR
6th April 2015, 18:01
My first chose was YV16 ;)
But I assumed ffdshow outputs the best matched (and supported) colorspace. I was very surprised about 4:2:2 to 4:2:0 and also about YVU to RGB conversions.

shae
12th April 2015, 15:01
Is ffdshow-tryouts still the recommended way to add video/audio processing over other decoders (such as LAV)? For example, I want to get a histogram.

LigH
13th April 2015, 08:51
With both numerous built-in post-processing filters and the additional support for AviSynth filter scripts, ffdshow is probably still unrivaled.

HackAR
13th April 2015, 11:42
Yes, if ffdshow dies, an important and unmatched piece of software will be lost.

clsid
13th April 2015, 12:35
ffdshow is already dead. There are no active developers and there haasn't been any serious development in years.

Of course, it will always remain available in its current form.

mandarinka
13th April 2015, 20:51
That's the upside of windows ecosystem - you can use software that is unmaintained, and stability of frameworks like dshow sorta give it chance to work with newer components.

Hmm, now I realise that when I'll get 64bit MPC/LAV Video/MadVR now, I won't be able to use FFDshow for decimating, IVTCing and other such things... I hope having a parallel 32bit and 64bit components is going to work.

madshi
14th April 2015, 02:00
Parallel installation works just fine, no problems whatsoever. And for decimating & IVTC madVR's forced film mode should do the trick. It does even things like 720p60 -> 720p24 decimation etc...

Olivier C.
16th April 2015, 18:37
Hi clsid,

I have some questions to the great expert you are.

I've seen this in FFDShowAPI.cs :

public String ActivePreset
{
get
{
string tmpStr = getStringParam(FFDShowConstants.FFDShowDataId.IDFF_OSDcurPreset);
if (tmpStr != null && !tmpStr.Equals(""))
{
return tmpStr;
}
else
{
return DefaultVideoPreset;
}
}
set
{
if (IsFFDShowActive)
{
PlayState playState = getState();
if (playState == PlayState.PlayState || playState == PlayState.FastForwardRewind)
pauseVideo();
Win32.COPYDATASTRUCT cd = new Win32.COPYDATASTRUCT();
cd.dwData = new UIntPtr((uint)FFDSM_SET_ACTIVE_PRESET_STR);
#if UNICODE
cd.lpData = Marshal.StringToHGlobalUni(value);
#else
cd.lpData = Marshal.StringToHGlobalAnsi(value);
#endif
cd.cbData = (uint)Win32.GlobalSize(cd.lpData);
if (receiver == null)
receiver = new FFDShowReceiver(Thread.CurrentThread);
receiver.ReceivedString = null;
receiver.ReceivedType = 0;
//receiver.ParentThread = Thread.CurrentThread;
Win32.SendMessage(new IntPtr(ffDShowInstanceHandle), Win32.WM_COPYDATA, receiver.Handle.ToInt32(), ref cd);
if (playState == PlayState.PlayState || playState == PlayState.FastForwardRewind)
startVideo();
}
DefaultVideoPreset = value;
}
}


Problem 1 :

I realized that changing preset while a video is playing can crash the player, especially when avisynth is enabled within ffdshow.
I realized that pausing the video before changing preset helps a lot.
But if we look in the code above, we can see that you already did this stuff.

At the beginning of the ActivePreset set Method, if the video is playing or seeking, it is paused because of this :
PlayState playState = getState();
if (playState == PlayState.PlayState || playState == PlayState.FastForwardRewind)
pauseVideo();


At the end of the function, we have :
Win32.SendMessage(new IntPtr(ffDShowInstanceHandle), Win32.WM_COPYDATA, receiver.Handle.ToInt32(), ref cd);
if (playState == PlayState.PlayState || playState == PlayState.FastForwardRewind)
startVideo();

Maybe a sleep between the SendMessage and startVideo could help ?


Problem 2 :

ActivePreset get method does not seem to work. It contains the wrong current preset.
Maybe a bug ?

ActivePreset set method works fine !


System :

Windows 7 x64
ffdshow last release (32 bit)
32 bits chain : MPC-HC + LAV splitter + LAV video decoder + ffdshow Raw filter + madVR
VS 2013 / C# & VB .NET / .NET Framework 4.5

Thanks a lot

Olivier

thomaz909
19th April 2015, 16:56
BUG IN FFDSHOW OR AVISYNTH ?
30fps.avi (http://www7.zippyshare.com/v/sktyv6yc/file.html)
mediainfo says:

Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings, BVOP : Yes
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 25s 167ms
Bit rate : 1 300 Kbps
Width : 624 pixels
Height : 352 pixels
Display aspect ratio : 16:9
Frame rate : 30.000 fps
Original frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.197
Stream size : 3.90 MiB (99%)
Writing library : XviD 1.2.1 (UTC 2008-12-04)

in ffdshow an avisynth script uses the "original frame rate" value instead of the "frame rate" value.
ffdshow info tab says 30.000 fps but avisynth still thinks that its 23.976. :(
and due to this my changefps script doesnt work correctly:
(FrameRate < 25.001) ? ChangeFPS(FrameRate * 2) : last
the video is faster than 25.001 fps and changefps(framerate * 2) must not be done. but it is used.

i dont know if its ffdshows or avisynths fault.

with .mkv all runs fine.

any ideas ?

SeeMoreDigital
19th April 2015, 18:10
BUG IN FFDSHOW OR AVISYNTH ?
More likely an issue with the MPEG-4 ASP video stream, where the 3:2 pull-down flags have become borked!

This provides a good example of why the .avi container is no longer used ;)

thomaz909
19th April 2015, 21:01
lav splitter
lav video decoder
ffdshow raw decoder > avisynth

how does avisynth gets the information ?

lav splitter reports "original framerate" to lav video decoder.
lav vid dec reports ffdshow "original framerate" ?
and finally ffdshow passes this value to avisynth ?

i have no idea from where avisynth gets the "original framerate" information.

any chance that ffdshow devs can force avisynth to use the "frame rate" value instead of "original framerate" ?

LigH
19th April 2015, 21:12
Where exactly is AviSynth involved at all? MediaInfo is not related to AviSynth.

thomaz909
20th April 2015, 13:44
now i tried to achieve my goal with "automatic preset loading" and guess what happens.
exactly the opposite.
i use "on frame rate match" with "fps<25" and with the 30fps.avi (http://www7.zippyshare.com/v/sktyv6yc/file.html) the correct preset is loaded but with 30fps_native.avi (http://www90.zippyshare.com/v/YTToX4UM/file.html) (which has no "original framerate" info in it) the preset is not loaded and the default one is used.

on both files ffdshow says "movie fps: 30.000" but different presets are loaded !!!

i now think its absolutely ffdshow related and has to get fixed *dream*.

clsid
20th April 2015, 15:14
If you turn on the OSD in ffdshow you can see that the "Movie FPS" value changes from 23.975 to 30.000 after the first few frames. The present is selected based on the initial value and isn't changed during playback.

clsid
20th April 2015, 15:16
@Olivier
The people who wrote all that code are not around anymore. I will gladly commit any patches for bug fixes that people submit here, but other than that I am not able to provide any assistance.

thomaz909
21st April 2015, 16:24
If you turn on the OSD in ffdshow you can see that the "Movie FPS" value changes from 23.975 to 30.000 after the first few frames. The present is selected based on the initial value and isn't changed during playback.

yep. i see it.
it jumps from 23.975 to 30.000.
so the component which causes this must get fixed.
ffmpeg ?
btw. when i use xvid decoder it jumps from 25.000 to 30.000.

Olivier C.
23rd April 2015, 17:58
@Olivier
The people who wrote all that code are not around anymore. I will gladly commit any patches for bug fixes that people submit here, but other than that I am not able to provide any assistance.

Thanks a lot for your answer.
I will try to fix it myself.

kiwijunglist
19th May 2015, 02:13
Hi I have a couple of questions about ffdshow audio decoder.

1. Are there any recent good guides for using ffdshow for room correction? - The guides I've found are all from about 5-10 years ago, and I wonder if things have become simplified since then.

2. Is it possible to load a seperate ffdshow audio configuration depending on whether the decoded audio is 5.1 vs 6.1 vs 7.1? - The reason I ask is because I run 5.1 audio but want to run a custom mixdown to 5.1 where I mixdown surround rear right into 80% surround rear + 20% surround rer left, etc. Creating virtual rear speakers. All of the current mixdown methods eg. ffdshow default mixing, windows mixing, my avr all just copy surround rear right directly into surround right channel.

EDIT: I see you can load a preset based on number of channels match.

3. It looks like the decoder now support DTS-HD MA/Dolby TrueHD lossless audio. That is great news!

clsid
19th May 2015, 16:11
ffdshow does not support DTS-HD MA. You must be confusing it with LAV Audio Decoder.

Redmist
6th June 2015, 04:54
Is there any way to detect video frame rate for auto preset loading for the audio decoder?

My 2011 Samsung 65" plasma has a ~250ms processing delay when running in 24Hz mode and a ~70ms delay when running in 50/60Hz mode.

I would like to load an FFDShow audio preset with a 250ms delay if the video is 23.976 or 24fps else use a 70ms audio delay.

Is it possible? At the moment, I'm just defaulting to 250ms and then manually creating a preset file for any non-24fps videos which is a bit of a pain.

jmartinr
6th June 2015, 09:24
Is there any way to detect video frame rate for auto preset loading for the audio decoder?

My 2011 Samsung 65" plasma has a ~250ms processing delay when running in 24Hz mode and a ~70ms delay when running in 50/60Hz mode.

I would like to load an FFDShow audio preset with a 250ms delay if the video is 23.976 or 24fps else use a 70ms audio delay.

Is it possible? At the moment, I'm just defaulting to 250ms and then manually creating a preset file for any non-24fps videos which is a bit of a pain.

If you use a ~180ms delay in 50/60Hz mode through a FFDSHOW _video_ preset, you might be able to even it out.

ryrynz
6th August 2015, 05:49
Anyone else getting crashes when the Avisynth box is ticked even with nothing in it on Windows 10?

*EDIT* Fixed it, rogue plugin.

LigH
24th August 2015, 09:08
A discussion came up in the German doom9/Gleitz board regarding FFV1 as an "archival format", and its support in ffdshow. According to Wikipedia, the format v3 is "frozen" since 2013. But AVIs generated with ffvfw seem to contain the version number 0 (not sure how to check that, ffdshow version information tells little details, only the libav date stamp). I'd assume that the last build from clsid would contain current ffmpeg sources of that time (2014), so is it quite certain that FFV1 videos created by this version (as long as there are VfW based workflows, e.g. while capturing) are in a stable format?

clsid
24th August 2015, 12:29
The ffmpeg stuff was last updated in ffdshow 3 years ago. But a lot of code is even older, because ffdshow uses old ffmpeg APIs. So updating would require rewriting a lot of code. It would be far easier to write a whole new VFW wrapper for ffmpeg.

foxyshadis
25th August 2015, 13:43
If you use the same ffdshow, it's always stable, of course. To be frank, I don't think ffdshow will be updated to any new formats; LAV has taken over the decoding side of things.

Whether that applies to FFV1 as an ongoing format, you'd have to ask the ffmpeg devs. They control the format.

clsid
25th August 2015, 14:14
He was referring to the FFV1 encoder.

The FFV1 decoder in LAV/FFmpeg should be fully backward compatible.

LigH
25th August 2015, 15:50
To summarize again: A few people may be interested in using FFV1 in version 3 to capture video. May it just be due to curiosity. Unfortunately, ffdshow may not provide such a recent FFV1 encoder code, and there may not yet be any other FFV1 VfW codec; LAV Filters may provide FFV1 as DirectShow encoder (if Wikipedia is correct), but hardly any software supports DirectShow encoders at all (I only know some GrassValley software as prominent exception). As a CLI encoder, ffmpeg provides FFV1 in version 3, but is not usable as "inline" encoder (especially not for capturing).

Because ffdshow's VfW bridge to the ffmpeg API (ffvfw) won't be updated anymore, clsid concluded that ffdshow won't be the solution for these few people; instead, rather any other possible VfW bridge for ffmpeg (provided anyone would ever create one)...

clsid
25th August 2015, 18:57
LAV only provides decoders. It does not have any encoders at all.

markanini
27th October 2015, 15:40
Is there any line in avisynth that can inform the renderer of the aspect ratio?

Eliminateur
12th February 2016, 01:28
too bad this project was abandoned, because LAV filters does not come close to the customization and features ffd has.

i have a ton of filters and settings that simply can't be recreated in LAV, i could forgo those for video, but not for audio has LAV has no custom matrix mapping

hdboy
22nd March 2016, 00:35
Hi

I'm trying to upmix 2ch sound to 5.1 on the fly. I have "apply Dolby pro logic II to all stereo source" checked. I have Resample enabled to re sample everything to 48khz, and in output, I have encode to ac3 enabled (I need spdif output for my sound bar). This works and I get surround sound, but the sound out of the rears is noisy and breaks up (I checked with real 5.1 sources, my speakers are fine).

I'm isn't 4531 but tried 4532 also.

Any hint to how i can fix this? Thanks in advance

clsid
22nd March 2016, 00:57
Dolby pro logic II decoder is for sources that have also been encoded with that technology. It might not be what you want for standard stereo input. Try the normal mixer instead (with expand stereo options enabled).

hdboy
22nd March 2016, 02:39
^^^ thank you. That Dolby decoder option doesn't do what I think it does. I guess it's called DECODER for a reason :)

I got mixer to work after a bit of fiddling.

3421
12th April 2016, 23:53
FFDshow filters (audio, video) you, I can run on top of other decoders. Only if video decoder not the output NV12.

vood007
13th April 2016, 07:18
YV12 and NV12 are basically the same, technically the data is just stored in different order. Just set decoder output to YV12 and ffdshow output to NV12. Also make sure in ffdshow/codecs -> Raw = All Supported. (FFDShow Post Processing Filter)

3421
13th April 2016, 10:04
Not all decoders allow you to choose what color to convert the output. Intel H264:NV12 output, DivX:YUY2 output and other decoders ...

vood007
13th April 2016, 12:24
Try adding "Color Converter DMO" filter between decoder and ffdshow.

3421
13th April 2016, 21:02
I didn't asked how to do it. I wrote, that it is possible to use ffdshow filters with other decoders, except decoders which convert color in NV12 on output.

Artofeel
4th July 2016, 11:50
There is bug in AVIS "decoding" on 64bit
after ffdshow starts a new avisynth thread(?), it does not close the old one, which leads to memory leaks
this doesn't happen on the 32bit
to "visualize" problem, here a simple example script based on MP Pipeline (http://forum.doom9.org/showthread.php?t=163281)

MP_Pipeline("""
### platform: win64
FFVideoSource("some.video")
### ###
""")
if you create avi dummy and opened it in x64 VirtualDub, press playback and start seeking on timeline, as a result you will see that every click will launch 'MP_Pipeline.dll.slave.exe' and the old one will not be closed
but in x32 VirtualDub, everything is fine, old copy of "MP_Pipeline.*.slave.exe" closes properly
it's not Avisynth bug, since if you change platform to 32 bit
### platform: win32
result will be same

I know that probably talking in the void, but maybe someone can fix this...

ryrynz
4th July 2016, 12:41
I've had consistent problems over the years with ffdshow staying in memory, keeping icons in the system tray. I have to move the mouse over them for them to disappear and then generally the next run plays fine.
I've learned to live with it, but would be nice to have this fixed as ffdshow still remains the only way to apply Avisynth to video playback in real time.

Gser
6th July 2016, 12:58
I've had consistent problems over the years with ffdshow staying in memory, keeping icons in the system tray. I have to move the mouse over them for them to disappear and then generally the next run plays fine.
I've learned to live with it, but would be nice to have this fixed as ffdshow still remains the only way to apply Avisynth to video playback in real time.
Exactly. I use it to apply Deblock_QED to interlaced sources.

ryrynz
14th July 2016, 04:30
I've had consistent problems over the years with ffdshow staying in memory, keeping icons in the system tray.

FWIW, I can prevent my media player from crashing occasionally on startup and on close by unticking buffer back/ahead. However doing this reduces performance considerably and isn't really an option when doing real time post processing.

Blight
1st August 2017, 15:10
I am attempting to manually load a subtitle file using the Delphi API by calling "dsFFDShowSubInt.putParamStrW(IDFF_subFilename,@FileName[1])" (where "filename" is a widestring) and it results in a crash within ffdshow.

I would appreciate the help if anyone has a clue why it's crashing.

clsid
1st August 2017, 15:59
ffdshow is dead...

thomaz909
7th September 2017, 12:37
ffdshow is dead...
and u suck!

ffdshow is still used by many people to show subtitles but when .idx/.sub ... ... CRASH.
ffdshow is still used by many people to use avisynth in realtime (where is the alternative?).

and U drop development?

and why did the "VobSub subtitles (incomplete!)" never got "complete"?
over the many years ffdshow tryouts was developed this wasnt fixed?

Nice work. :)
PERFECT!

clsid
7th September 2017, 13:39
If you care so much. Then why don't you do it? It is open source. Anyone can work on it. I am too busy fucking yo momma.

avih
7th September 2017, 15:19
Guys... come on. This is a discussion forum. If you want to trade insults, please take it someplace else.

Consider this a warning.

hogtop
21st September 2017, 09:10
do FFDSHOW video and sound
works with :

1. Intel's AVX 512 commands ?

2. HDR - do you support ? to what level 1000/2000NITS ?

3.Can FFDSHOW convert SDR to HDR ?

4. Which computer is recommended for FFDSHOW? Intel or AMD ?

5. Does FFDSHOW support new commands for new AMD processors Threadripper 1950X ?
SHA / Secure Hash Algorithm extensions
F16C / 16-bit Floating-Point conversion instructions
FMA3 / 3-operand Fused Multiply-Add instructions
SMAP / Supervisor Mode Access Prevention
SMEP / Secure Mode Execution Protection
Precision Boost
Extended Frequency Range

6. Does FFDSHOW support REC 2020 ?
Can convert color from SDR to REC 2020 ?

7. i open a lot of tabs in FFDSHOW
the film is very slow, as if the processor is too weak
which processor is best for FFDSHOW ?
( when i open many tabs on-FFDSHOW )

thank you for your answer

nevcairiel
21st September 2017, 09:11
ffdshow has been abandoned for years, it doesn't support any modern instruction sets or any sort of HDR.

hogtop
21st September 2017, 09:21
http://ffdshow-tryout.sourceforge.net/
it says there was an update on 2014-06-28
it is very unfortunate to hear

which system is best coded today? KLITE ?

LigH
21st September 2017, 09:39
You seem to confuse "codec" (encoder / decoder) and "pack".

K-Lite is a collection of many different decoders from many different authors, for many different purposes. It even included ffdshow as multi-format decoder.

If you had read this thread before asking, you would know that the next evolutionary step after ffdshow is "LAV Filters". Look at nevcairiel's signature.

hogtop
21st September 2017, 09:49
You seem to confuse "codec" (encoder / decoder) and "pack".

K-Lite is a collection of many different decoders from many different authors, for many different purposes. It even included ffdshow as multi-format decoder.

If you had read this thread before asking, you would know that the next evolutionary step after ffdshow is "LAV Filters". Look at nevcairiel's signature.

i very much hate "LAV Filters"
you can not tune them professionally like FFDSHOW
Still with KLITE the questions remained .
FFDSHOW IN KLITE

LigH
21st September 2017, 10:04
Well, this may rather be a request for LAV Filters than a complaint in the ffdshow thread, which is futile now, as it is abandoned...

And, as just explained, the "K-Lite pack" is only a collection. It is not decoder software on its own. The author of the K-Lite pack did not develop a codec.

hogtop
21st September 2017, 11:10
encoded that can not be directed seriously like FFDSHOW
for me it's a big problem!

because LAV Filters Does not bring quality in image or sound!
he plays everything, but not quality

why are there no encoders you can tune like FFDSHOW ???

it's a shame to see that there are no groups to develop good, serious encoders that can be directed .

too bad that no one buys the FFDSHOW and develops the encoders for money .
I would be happy to pay FFDSHOW money for quality encoders

nussman
21st September 2017, 11:19
FFDShow is not an encoder, it's for decoding and processing.
For Video processing you can use madVR and for audio processing you can still use ffshow after the decoder.

hogtop
25th September 2017, 16:16
FFDShow is not an encoder, it's for decoding and processing.
For Video processing you can use madVR and for audio processing you can still use ffshow after the decoder.


Why use madVR
FFDSHOW does everything better (although not updated from 2014)
that means a lot not good things about development

i'm trying to direct the madVR not contributing anything good
maybe someone here has a right direction for madVR? For OLED ?
which computer processor is good for madVR ?

i have an OLED screen that I must say is not worth anything to the computer
maybe because all VGA cards are not WRGB and RGB
the LG processor is bad
UPSCALE LG Worse
there are no good shades
there are no grays
contras are bad

huhn
25th September 2017, 17:00
why don't you sit back for a little bit and rethink a bit...

i mean you are saying stuff like this:
maybe because all VGA cards are not WRGB and RGB.
every playback device is using YCbCr and RGB so the PC VGA has nothing todo with it...
i'm trying to direct the madVR not contributing anything good
maybe someone here has a right direction for madVR? For OLED ?
which computer processor is good for madVR ?

so you are saying madVR is not contributing anything good and you don't even know it is mostly using the GPU not the CPU?
the LG processor is bad
UPSCALE LG Worse
there are no good shades
there are no grays
contras are bad
while LG is not known for good processing you should really fix your settings...

hogtop
29th September 2017, 18:29
why don't you sit back for a little bit and rethink a bit...
I have no idea what you're writing about? Do you have any idea what you are writing?

i mean you are saying stuff like this:
Quote:
maybe because all VGA cards are not WRGB and RGB.
every playback device is using YCbCr and RGB so the PC VGA has nothing todo with it...


so what wrong with the truth ?
you want to calibrate a video card ( RGB/YCbCr )to the WRGB screen there are large backlight ( oled light) issues in the OLED, there are brightness issues
Not to mention that LG's algorithm system is very poor and distorted image

every playback device is using YCbCr and RGB so the PC VGA has nothing todo with it...
no
not every playback device is using YCbCr and RGB
OLED TV have only YCbCr but it has a problem that the OLED color is WRGB
and that does not work out very well at calibration.

so you are saying madVR is not contributing anything good and you don't even know it is mostly using the GPU not the CPU?


amazing you success understand!
1. madVR adds different types of noise in the image
2. madVR Causes problems of uneven sound to the lips
3. madVR running it takes up to 26% of CPU power not GPU
4. madVR in LED works better

while LG is not known for good processing you should really fix your settings...
i curse every day I bought an OLED, not a good connection to the computer

fix your settings

What to fix? How to fix ? You throw things in the air
I paid for 2 professional calibrations for $ 600 and got a worse
picture!

I said maybe I'll learn from others by their calibration
It turns out that no one really knows how to calibrate OLED and they all invent stories :
Home Theater Geeks 324: Leo's LG OLED Followup
https://www.youtube.com/watch?v=sBDun9fbEWU&t=355s

In program 323, they made a professional calibration with equipment worth $ 35,000 on a $ 4000 screen

and they did not succeed, in they site published the results of the calibration was discovered inaccuracies, lack of professionalism, irrationality
and for 60 minutes (In program 324 ) they told 100 stories and they promised to calibrate OLED again and tell about results, which did not happen !!!
( Most of the experts in their forum who raised the problems in their calibration that the results are illogical - were deleted from the forum !!! )

now ask but no forum does not register the truth?
1. The OLED UK and USA forums are managed by PRs, eliminating any question or problem in OLED!
2. LG pays a lot of money to publicists, site owners and mute people!
the trips to exhibitions abroad + hotels LG pays them.

Note:
OLED shows full Blu-ray through OPPO in quality !
but any other video that is not Blu-ray , full of problems

huhn
5th October 2017, 17:40
i know it not a good idea to answer any of this delusion so i make it short.

an oppo (and every other BD player) send RGB or YCbCr like any other PC gaming console and settop box.

this is the fundamental of video processing and this is missing so nothing more to say.

Asmodian
7th October 2017, 02:33
It turns out that no one really knows how to calibrate OLED and they all invent stories

I recently purchased an LG OLED55C7P and was able to calibrate it quite successfully. It is now extremely accurate in SDR but only fairly accurate in HDR.

I used a Display 3 Pro I profiled on my TV with a i1 pro2. My white point looks very good, contrast is amazing, and my gamma is a near perfect pure power 2.4. The highest error is at ~2 dE and most colors are <1 dE (DCI-P3, D65, BT.1886), and that is before madVR with a 3DLUT.

I am not sure why your professional calibrator failed so badly but it did take me some experimenting with my TV's options to figure how what to tweak and what to leave alone. Using the TV's color management was not good, nor was using its 20-point white point adjustment. However, the two point white point adjustment worked quite well and I was able to get a near perfect gray scale, every patch in the entire 21 point gray scale was <1 dE.

I do have some minor banding I was unable to get rid of but otherwise I am very happy with the image quality and its before software calibration.

Of course this might not be the case with older models but it isn't a problem calibrating OLED TVs in general.

JReiginsei
7th October 2019, 00:44
Can side left, side right, and back center be added to the Convolver module?

It seems if the Convolver module order is moved after Mixer, Convolver doesn't function properly, at least for back left and back right.

Phanton_13
7th October 2019, 15:10
JReiginsei, lamentably ffdshow is dead, I wish that at least one fork with only the post processing filters existed that is the think that I really miss of it in LAV Filters.

LigH
8th October 2019, 07:11
And I would enjoy, in addition, a separate ffvfw codec providing the ffmpeg implementations of FFV1, MJPEG, DV, Huffyuv ...

Dogway
29th January 2020, 17:11
Does this include the ffmpeg's sofalizer filter for downmixing multichannel audio with a HRTF function?

sofakng
6th February 2020, 21:57
What's the latest version of ffdshow?

I know that ffdshow was abandoned a long time ago, and then I think that ffdshow-tryouts was created and updated.

So... I think my question should be, what's the latest version of ffdshow-tryouts?

(I need it for SVP playback with DirectShow-based media players)

Thundik81
6th February 2020, 22:40
What's the latest version of ffdshow?

I know that ffdshow was abandoned a long time ago, and then I think that ffdshow-tryouts was created and updated.

So... I think my question should be, what's the latest version of ffdshow-tryouts?

(I need it for SVP playback with DirectShow-based media players)

The one in K-Lite Mega Codec Pack:
https://codecguide.com/features_mega.htm

hello_hello
7th February 2020, 01:22
JReiginsei, lamentably ffdshow is dead, I wish that at least one fork with only the post processing filters existed that is the think that I really miss of it in LAV Filters.

A late reply I know, but ffdshow effectively comes with filter-only versions. They can be used to process the decoded video or audio with a player such as MPC-HC by adding them under External Filters in preferences (it's probably an idea to set them to "prefer"). To configure them, you can double click on their entries in the External Filters list. The video processor is called "ffdshow raw video filter" and for audio it's "ffdshow audio processor".

I vaguely remember the raw video/audio filters don't have shortcuts added to the start menu. Someone must have told me how to create them manually if that's the case. I'm running XP, so for me the raw video processor shortcut is:
C:\WINDOWS\system32\rundll32.exe "C:\Program Files\ffdshow\ffdshow.ax",configureRaw
and for audio it's
C:\WINDOWS\system32\rundll32.exe "C:\Program Files\ffdshow\ffdshow.ax",configureAudioRaw

I can't remember if they can be installed separately, but you can do much the same for other players by disabling all the codecs in the regular filters except for raw video/audio.

Does this include the ffmpeg's sofalizer filter for downmixing multichannel audio with a HRTF function?

I seem to have rev 4532 installed and there's two headphone presets, one labelled HRFT and the other "Headphone Virtual Spatialization". Are either of those it?

What's the latest version of ffdshow?

Last official release or recommended version.
http://ffdshow-tryout.sourceforge.net/download.php
Wikipedia says the latest is rev.4533
https://www.videohelp.com/software/ffdshow
But rev.4534 can be found via the last two links here. It the same version as in the codec pack, according to the K-Lite website.
https://www.free-codecs.com/ffdshow_download.htm

Andy o
8th February 2020, 10:21
Does this include the ffmpeg's sofalizer filter for downmixing multichannel audio with a HRTF function?

How about something like HeSuVi (https://sourceforge.net/projects/hesuvi/) instead? I'm using it successfully with Dolby Headphone, but it has many other options as well.

ryrynz
8th February 2020, 10:57
Last version is 4534.
http://www.paehl.com/open_source/?FFDSHOW

Commit changelog (https://sourceforge.net/p/ffdshow-tryout/code/commit_browser)

richardpl
8th February 2020, 13:34
How about something like HeSuVi (https://sourceforge.net/projects/hesuvi/) instead? I'm using it successfully with Dolby Headphone, but it has many other options as well.

That is not portable, so big no.

misakitchi
14th January 2021, 12:24
Is there an alternative to ffdshow?
I need avisynth and resize like ffdshow have

butterw2
14th January 2021, 13:06
Is there an alternative to ffdshow?
I need avisynth and resize like ffdshow have

Avisynth DirectShow filter with frame resize:
https://forum.doom9.org/showthread.php?t=180424

Nilsou
18th July 2021, 13:03
A small question : i come after the battle, but why ffdshow-tryout was abandonned ?

LigH
18th July 2021, 20:19
As DirectShow source filters, LAV Filters developed much more regularly. The only small advantage of ffdshow may be ffvfw, but today it is hopelessly obsolete; FFMS2 or L-SMASH Works for AviSynth/VapourSynth substituted it.

GAP
25th July 2021, 01:01
Should I use the default settings of FFV1? I am looking for an alternative lossless codec and I just learned that FFV1 is one. I am just looking for RGB lossless.

LigH
25th July 2021, 07:52
FFV1 is a pretty useful and efficient lossless codec. Besides in ffvfw you may also find it in ffmpeg as CLI encoder and in VirtualDub2. It has several options which may help optimizing the coding efficiency, so you should select them according to your needs; e.g. in VirtualDub2, its default seems to be conversion to YUV 4:2:2 with 10 bit precision, but this may not always be the desired mode, you may want to compare with RGB 8 bit if you have RGB 8 bit input, this may be more useful for technical content than for real life footage.

Another set of codecs suitable for encoding RGB is the Ut Codec Suite. And there was also CorePNG...

Liisachan
26th July 2021, 00:05
I am just looking for RGB lossless. There is also Lagarith for VfW.

StainlessS
26th July 2021, 00:57
There is also Lagarith for VfW.
He was already using Lagarith for game capture, but for some games it produces error (for some undisclosed reason),
caps using some undisclosed software in real time. Already suggested are HuffYUV, UT_Video and MagicYUV.
GAP thread:- https://forum.doom9.org/showthread.php?t=183052

Liisachan
26th July 2021, 02:05
He was already using Lagarith for game capture, but for some games it produces error (for some undisclosed reason),
caps using some undisclosed software in real time. Already suggested are HuffYUV, UT_Video and MagicYUV.
GAP thread:- https://forum.doom9.org/showthread.php?t=183052 Sorry my bad. I posted my reply to that thread.

clsid
31st August 2022, 15:05
ffdshow has been dead and obsolete for many years. There will be no updates, fixes or anything.

Any further discussion and comments are completely pointless.

LigH
31st August 2022, 17:14
It has been mainly superseded by LAV Filters. Except for the generic VfW Codec part, unfortunately.

tebasuna51
3rd September 2022, 14:02
Deleted post by rules 2,3,4 and 13.

rwill
3rd September 2022, 21:42
I do not want to break Rule 3 but does anyone here does have experience with training GPT-3 on 4chan channel message content?

*edit*
I just googled "balkanguy" and now I am confused. This spam in indiscriminate?

tebasuna51
5th September 2022, 11:44
Hi there me 'moderator', when will U be deleting my account & blocking me 4 daring 2 defend myself while trolls attack me for trying to HELP your program and PAY people money to add features to it? =)) The 'blame the messenger' routine is as hilarious as all the clowns who burn down their own cities in 'protest' against whatever HAHAHA

Please respect the forum rules 2, 4, 11, 13, 16 and 17.

3 users for 3 different posts are offended.
You have now 1 strike (with 2 more you are banned)

You can have differents opinions but explain the opinions without offenses and in correct english.

For instance:

For me the processed images in previous post are worse than the originals but you are free to have other opinion.

richardpl
6th September 2022, 09:44
I do not want to work on ffdshow code.

LigH
6th September 2022, 10:05
I wish money could buy manners.

ryrynz
6th September 2022, 11:41
Is there anything available to replace ffdhow raw? I only use the profiles with autoload conditions for realtime avisynth processing for which it works fine just curious if there was anything that would replace it.

filler56789
8th September 2022, 01:52
I do not want to break Rule 3 but does anyone here does have experience with training GPT-3 on 4chan channel message content?

*edit*
I just googled "balkanguy" and now I am confused. This spam in indiscriminate?

Well, the user-profile of the obvious-tr0ll has been suspended (finally).
Too bad that not all of his/her posts were deleted by the moderators.

102030
22nd May 2026, 18:57
Hello,

I would like to use a VirtualDub filter in FFDshow. But I can't find a menu where this is possible, even though I checked it during the installation.

Can someone give me a hint on where I can insert my VirtualDub filter?