View Full Version : ffdshow tryouts project: Discussion & Development
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.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.