Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

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

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th December 2012, 20:33   #15101  |  Link
kc7bfi
Registered User
 
Join Date: Nov 2010
Location: Chesapeake, VA USA
Posts: 38
How does the video decoder get its video samples

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
kc7bfi is offline   Reply With Quote
Old 7th December 2012, 21:08   #15102  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
The source filter pushes samples.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 10th December 2012, 10:42   #15103  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
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...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 13th December 2012, 21:29   #15104  |  Link
mark0077
Registered User
 
Join Date: Apr 2008
Posts: 1,106
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.
mark0077 is offline   Reply With Quote
Old 13th December 2012, 21:57   #15105  |  Link
Matching_Mole
Registered User
 
Join Date: Feb 2009
Posts: 99
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,...):


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...):


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

Someone can help me?

Thanks in advance.
Matching_Mole is offline   Reply With Quote
Old 13th December 2012, 22:31   #15106  |  Link
_xxl
ffdshow user
 
_xxl's Avatar
 
Join Date: Oct 2005
Location: Romania
Posts: 818
Wouldn't be time to start a new ffdshow thread like MPC-HC?
_xxl is offline   Reply With Quote
Old 13th December 2012, 22:58   #15107  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
Quote:
Originally Posted by mark0077 View Post
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.
__________________
MPC-HC 2.2.1
clsid is offline   Reply With Quote
Old 13th December 2012, 23:13   #15108  |  Link
mark0077
Registered User
 
Join Date: Apr 2008
Posts: 1,106
Cheers Clsid!!
mark0077 is offline   Reply With Quote
Old 14th December 2012, 07:31   #15109  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,650
clsid can you build with VS2012?
ryrynz is offline   Reply With Quote
Old 14th December 2012, 07:33   #15110  |  Link
NiFa
Audio & video enthusiast
 
Join Date: Nov 2009
Location: Finland
Posts: 74
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?

Last edited by NiFa; 14th December 2012 at 07:36.
NiFa is offline   Reply With Quote
Old 14th December 2012, 07:54   #15111  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
I don't think ffdshow supports 10-bit input, or ever will. Its mostly dead now.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 14th December 2012, 08:09   #15112  |  Link
NiFa
Audio & video enthusiast
 
Join Date: Nov 2009
Location: Finland
Posts: 74
Is there any other subtitles filter that gives possibility to play 3D subs?
NiFa is offline   Reply With Quote
Old 15th December 2012, 14:16   #15113  |  Link
Matching_Mole
Registered User
 
Join Date: Feb 2009
Posts: 99
Quote:
Originally Posted by Matching_Mole View Post
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,...):


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...):


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:


Pin Out:


(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?
Matching_Mole is offline   Reply With Quote
Old 18th December 2012, 18:16   #15114  |  Link
sierramike
Registered User
 
Join Date: Oct 2012
Location: France
Posts: 6
Quote:
Originally Posted by andybkma View Post
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
sierramike is offline   Reply With Quote
Old 18th December 2012, 23:52   #15115  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
It seems a bit buggy. But "*[3D]*" works here for "moviename_[3D].ext".
__________________
MPC-HC 2.2.1
clsid is offline   Reply With Quote
Old 30th December 2012, 17:15   #15116  |  Link
mark0077
Registered User
 
Join Date: Apr 2008
Posts: 1,106
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?
mark0077 is offline   Reply With Quote
Old 30th December 2012, 18:09   #15117  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
Right-click on the config shortcut and choose 'run as administrator'.
__________________
MPC-HC 2.2.1
clsid is offline   Reply With Quote
Old 30th December 2012, 18:11   #15118  |  Link
mark0077
Registered User
 
Join Date: Apr 2008
Posts: 1,106
oh wow never had to do that in Windows 7, thanks clsid!
mark0077 is offline   Reply With Quote
Old 4th January 2013, 18:49   #15119  |  Link
sswroom
sswrom
 
Join Date: Jul 2007
Posts: 15
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.

Code:
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
sswroom is offline   Reply With Quote
Old 4th January 2013, 22:11   #15120  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
ffdshow is no longer under active development. Submit a patch if you want it to be fixed.
__________________
MPC-HC 2.2.1
clsid is offline   Reply With Quote
Reply

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


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

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

Forum Jump


All times are GMT +1. The time now is 01:42.


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