Log in

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 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 [204] 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308

dann23
9th January 2010, 11:49
@tal aloni & @dann23

You may have residual registry settings from earlier builds

Go to HKEY_CURRENT_USER\Software\GNU\ffdshow\default

and delete dec_DXVA_H264 and dec_DXVA_VC1 values. THey shouldn't be in ffdshow but in ffdshow_dxva presets only

I deleted HKEY_CURRENT_USER\Software\GNU just to be safe, but the problem remains. ffdshow gets loaded. I see the icon in systray and says that it's using dxva 1, but the movie doesn't start playing.

albain
9th January 2010, 13:02
I deleted HKEY_CURRENT_USER\Software\GNU just to be safe, but the problem remains. ffdshow gets loaded. I see the icon in systray and says that it's using dxva 1, but the movie doesn't start playing.

Sorry, but the last beta build is buggy on H264 decoder selection for FFDShow video
Revision 3187 fixed it

dann23
9th January 2010, 13:20
Sorry, but the last beta build is buggy on H264 decoder selection for FFDShow video
Revision 3187 fixed it

where to download build 3187? thank you.

tal.aloni
9th January 2010, 13:25
@tal aloni & @dann23

You may have residual registry settings from earlier builds

Go to HKEY_CURRENT_USER\Software\GNU\ffdshow\default

and delete dec_DXVA_H264 and dec_DXVA_VC1 values.

OK, I did this, I also did a complete uninstall and reinstall of rev. 3188,
I still cannot use ffmpeg-MT, can you?
also, still 00:00 when trying to use DXVA.

Thanks,
Tal

albain
9th January 2010, 13:48
@albain
getting better, however, when selecting ffmpeg-mt for AVC it will not load.

Thanks!

You're right, I thought at first that this was because I forgot to recompile it but the ffmpeg-mt library fails to load : this is because there are extra methods for DXVA that are included in libavcodec but not in ffmpeg-mt

I have fixed it in revision 3189

Concerning DXVA, this is weird. Have you tried different samples ?

Otherwise I have uploaded a new build to sourceforge with the last fix.
https://sourceforge.net/projects/ffdshow-tryout/files/SVN%20builds%20by%20albain/generic%20builds/ffdshow_rev3189_20100109_dbt.exe/download

Sebastiii
9th January 2010, 14:09
Hi Albain :)

I've test then i have some issue.
How i can help you on this (must i put allowdprintf and log with debugview ?)
Thx for your work :)
Seb.

albain
9th January 2010, 14:32
@albain

1) ffdshow_rev3183_20100105_dbt_dxva_beta5 dbgview (http://pastebin.com/m63f05031)
2) 3154 dbgview (http://pastebin.com/m29c53646)

DTS pass-through with AC3 encode.

Can you uncheck "Connect as PCM first" in the output section of FFDShow audio.
I think that should solve your problem.

In that case SPDIF will be initialized first and FFDShow won't have to do a dynamic format change (PCM to SPDIF) which fails as your audio driver will refuse it.

@Seb : thank you, maybe you can tell me if DXVA decoding is working for you ?

VipZ
9th January 2010, 15:09
@ albain

In every case where DXVA loads I get results like this, tested with rev 3190
http://img442.imageshack.us/img442/8339/sampleq.jpg

I am running Win7 x64, ATI 4870 /w 9.12 Hotfix drivers.

clsid
9th January 2010, 15:25
Same here with:
Vista x64, ATI 3470, catalyst 9.10

Casimir666 might know what is wrong. I vaguely remember a similar issue in MPC a long time ago.

Jeremy Duncan
9th January 2010, 15:28
I'm building ffdshow using mingw but it's been a while since I worked with mingw msys and don't know how to go to the directory where the makefile is.
Can you please tell me how to go to where the makefile is if I use msys?

XhmikosR
9th January 2010, 16:08
cd "/mydiskletter/myfolder"

clsid
9th January 2010, 16:09
If you use my custom MinGW installer then you don't need to use MSYS. You can just run make from the windows command-line.

In MSYS you can use this command for changing dirs:
cd /c/path/to/ffdshow/source

albain
9th January 2010, 17:31
I'm building ffdshow using mingw but it's been a while since I worked with mingw msys and don't know how to go to the directory where the makefile is.
Can you please tell me how to go to where the makefile is if I use msys?

I don't recommend using mingw to build ffdshow, besides the gain in performance will be imperciptible. You will get better performances with ICL.

However, mingw is required to build ffmpeg and other stuff around, the makefile is located in src directory

EDIT : okay, I didn't understand

deets
9th January 2010, 18:04
the holy grail for me would be ffdshow that can handle DXVA on the BBC HD and ITV HD live streams. sadly the beta just plays a couple of seconds then dies on the recorded files i have.

I would kill to just have one thing for my live satellite and recordings :)

_xxl
9th January 2010, 18:27
From trunk/src dir type in Msys make and compile with MinGW GCC.

dann23
9th January 2010, 21:16
nothing is working with dxva since beta 3. I tried build 3190 and the same problem. I attached the debug log. Maybe you'll find something usefull in there.

http://www.mediafire.com/download.php?nzyznmmj4mj

crlorentzen
9th January 2010, 21:28
Can you uncheck "Connect as PCM first" in the output section of FFDShow audio.
I think that should solve your problem.

In that case SPDIF will be initialized first and FFDShow won't have to do a dynamic format change (PCM to SPDIF) which fails as your audio driver will refuse it.

@Seb : thank you, maybe you can tell me if DXVA decoding is working for you ?

Without connect as PCM first DTS pass-through does not work. My receiver does not seem to want to change to DTS without first hitting PCM. If I disable all pass-through, start a DTS track then select the DTS pass-through it works. The receiver shows that at the start we have PCM (as it uses my surround mode for that), then immediately shifts to DTS when I select that pass-through option.

some testing with small data collection
http://ffdshow-tryout.sourceforge.net/phpBB2/viewtopic.php?p=4791#4791

I am tired and will take a break on this, go back to 3154 for now.

sorry albain. Thanks for being so willing to help. Hopefully I will come back to this in a week or two.

Jeremy Duncan
9th January 2010, 23:23
I used the ffdshow custom mingw from the ffdshow wiki and built these dll's using msys:

libmplayer.dll
ff_liba52.dll
ff_libdts.dll
ff_libfaad2.dll
ff_libmad.dll
ff_realaac.dll
ff_samplerate.dll
ff_tremor.dll
xvidcore.dll
libavcodec.dll
ffmpegmt.dll
ff_theora.dll
ff_x264.dll

I cannot build these dll's below though. Here is a sample of the code I use in msys:
cd "/c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/src/imgFilters/KernelDeint"
make

here is the error codes:


jeremy@jeremy-A0DCBD577E3 /c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/src/ffS
pkCfg
$ make
gcc -c -I. -w -DWIN32 -D_WIN32 -D__MINGW32__ -mno-cygwin -mdll -mthreads -pipe -
DNDEBUG -UDEBUG -fno-rtti -fno-exceptions -O3 -march=i686 -mmmx -fno-common -fno
-tree-vectorize -fomit-frame-pointer -MMD -o ffSpkCfg.o ffSpkCfg.cpp
gcc.exe: CreateProcess: No such file or directory
make: *** [ffSpkCfg.o] Error 1




jeremy@jeremy-A0DCBD577E3 /c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/src/ffS
pkCfg
$ cd "/c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/src/imgFilters/Kerne
lDeint"

jeremy@jeremy-A0DCBD577E3 /c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/src/img
Filters/KernelDeint
$ make
gcc -c -I. -DWIN32 -D_WIN32 -D__MINGW32__ -mno-cygwin -mdll -mthreads -pipe -DND
EBUG -UDEBUG -fno-rtti -fno-exceptions -O3 -march=i686 -mmmx -fno-common -fno-tr
ee-vectorize -msse -mfpmath=sse -fomit-frame-pointer -MMD -o ff_kernelDeint.o ff
_kernelDeint.cpp
gcc.exe: CreateProcess: No such file or directory
make: *** [ff_kernelDeint.o] Error 1




jeremy@jeremy-A0DCBD577E3 /c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/src/img
Filters/KernelDeint
$ cd "/c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/unrar"

jeremy@jeremy-A0DCBD577E3 /c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/unrar
$ make
gcc -c -I. -I../.. -DRARDLL -DNOCRYPT -DSILENT -DNOVOLUME -DSFX_MODULE -DSHELL_E
XT -DWIN32 -D_WIN32 -D__MINGW32__ -mno-cygwin -mdll -mthreads -pipe -DNDEBUG -UD
EBUG -UUNICODE -U_UNICODE -fno-rtti -fexceptions -O3 -march=i686 -mmmx -fno-comm
on -fno-tree-vectorize -fomit-frame-pointer -MMD -o archive.o archive.cpp
gcc.exe: CreateProcess: No such file or directory
make: *** [archive.o] Error 1




jeremy@jeremy-A0DCBD577E3 /c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/unrar
$ cd "/c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/src/codecs/libmpeg2"

jeremy@jeremy-A0DCBD577E3 /c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/src/cod
ecs/libmpeg2
$ make
gcc -c -I. -Iinclude -DWIN32 -D_WIN32 -D__MINGW32__ -mno-cygwin -mdll -mthreads
-pipe -DNDEBUG -UDEBUG -x c++ -O3 -march=i686 -mmmx -fno-common -fno-tree-vector
ize -msse -mfpmath=sse -fomit-frame-pointer -MMD -o libmpeg2/alloc.o libmpeg2/al
loc.c
gcc.exe: CreateProcess: No such file or directory
make: *** [libmpeg2/alloc.o] Error 1




jeremy@jeremy-A0DCBD577E3 /c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/src/cod
ecs/libmpeg2
$ cd "/c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/rebase"

jeremy@jeremy-A0DCBD577E3 /c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/rebase
$ make
gcc -c -I. -DWIN32 -D_WIN32 -D__MINGW32__ -mno-cygwin -mdll -mthreads -pipe -DND
EBUG -UDEBUG -fno-rtti -fno-exceptions -O3 -march=i686 -mmmx -fno-common -fno-tr
ee-vectorize -fomit-frame-pointer -MMD -o rebase.o rebase.cpp
gcc.exe: CreateProcess: No such file or directory
make: *** [rebase.o] Error 1




jeremy@jeremy-A0DCBD577E3 /c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/rebase
$ cd "/c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/src/imgFilters/TomsM
oComp"

jeremy@jeremy-A0DCBD577E3 /c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/src/img
Filters/TomsMoComp
$ make
gcc -c -I. -DWIN32 -D_WIN32 -D__MINGW32__ -mno-cygwin -mdll -mthreads -pipe -DND
EBUG -UDEBUG -fno-rtti -fno-exceptions -O3 -march=i686 -mmmx -fno-common -fno-tr
ee-vectorize -msse -mfpmath=sse -fomit-frame-pointer -MMD -o TomsMoComp.o TomsMo
Comp.cpp
gcc.exe: CreateProcess: No such file or directory
make: *** [TomsMoComp.o] Error 1




jeremy@jeremy-A0DCBD577E3 /c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/src/img
Filters/TomsMoComp
$ cd "/c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/verinc"

jeremy@jeremy-A0DCBD577E3 /c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/verinc
$ make
gcc -c -I. -DWIN32 -D_WIN32 -D__MINGW32__ -mno-cygwin -mdll -mthreads -pipe -DND
EBUG -UDEBUG -fno-rtti -fno-exceptions -O3 -march=i686 -mmmx -fno-common -fno-tr
ee-vectorize -fomit-frame-pointer -MMD -o verinc.o verinc.cpp
gcc.exe: CreateProcess: No such file or directory
make: *** [verinc.o] Error 1



jeremy@jeremy-A0DCBD577E3 /c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/verinc
$

edit,

here is the full list of dlls I tried to make but couldn't. this code was run in msys
cd "/c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/src/ffSpkCfg"
cd "/c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/src/imgFilters/KernelDeint"
cd "/c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/unrar"
cd "/c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/src/codecs/libmpeg2"
cd "/c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/rebase"
cd "/c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/src/imgFilters/TomsMoComp"
cd "/c/Documents and Settings/jeremy/Desktop/ffdshow-tryout/verinc"

Once I go to each directory I then type Make and press Enter. This is how I made those other dll's in msys, but these ones I added in this edit won't work.

tal.aloni
9th January 2010, 23:24
DXVA 1.0 will start working starting from rev. 3194

SamuriHL
9th January 2010, 23:30
Don't have spaces in the path for your build environment.

Jeremy Duncan
9th January 2010, 23:48
Don't have spaces in the path for your build environment.

I added the code I use in my prevous post. May I ask you to look at it and post the correct code I should use? :)

SamuriHL
9th January 2010, 23:51
I added the code I use in my prevous post. May I ask you to look at it and post the correct code I should use? :)

I wouldn't have the first clue on those errors. I just remember when I was setting up ffdshow to compile there was a warning not to have spaces in the build path. I ended up moving the project to my main C drive. I haven't built any of the ffmpeg stuff as I don't have mingw set up on my machine right now. But, I would start by moving it to somewhere where there's no spaces in the path for starters.

whurlston
9th January 2010, 23:55
gcc.exe: CreateProcess: No such file or directory

Add the GCC bin folder to your PATH if you haven't already. And move the project the "C:\ffdshow-tryout" so there is no space in the project path as SHL mentioned.

Jeremy Duncan
10th January 2010, 00:10
Add the GCC bin folder to your PATH if you haven't already.

I put the project folder in the c:\ as directed and in system, advanced, environment variables, system variables, this is my path:
C:\Program Files\Intel\Compiler\11.1\054\tbb\ia32\vc9\bin;C:\Program Files\Intel\Compiler\11.1\054\ipp\ia32\bin;%ICPP_COMPILER11%lib\ia32;C:\Program Files\Intel\Compiler\11.1\054\mkl\ia32\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Intel\DMIX;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\TortoiseSVN\bin;C:\MinGW32\bin;C:\MinGW32\MSYS\bin

here is a picture of my path:
http://thumbnails27.imagebam.com/6309/49964063082632.gif (http://www.imagebam.com/image/49964063082632)

I get this error:


jeremy@jeremy-A0DCBD577E3 ~
$ cd "/c/ffdshow-tryout/src/imgFilters/KernelDeint"

jeremy@jeremy-A0DCBD577E3 /c/ffdshow-tryout/src/imgFilters/KernelDeint
$ make
gcc -c -I. -DWIN32 -D_WIN32 -D__MINGW32__ -mno-cygwin -mdll -mthreads -pipe -DND
EBUG -UDEBUG -fno-rtti -fno-exceptions -O3 -march=i686 -mmmx -fno-common -fno-tr
ee-vectorize -msse -mfpmath=sse -fomit-frame-pointer -MMD -o ff_kernelDeint.o ff
_kernelDeint.cpp
gcc.exe: CreateProcess: No such file or directory
make: *** [ff_kernelDeint.o] Error 1

jeremy@jeremy-A0DCBD577E3 /c/ffdshow-tryout/src/imgFilters/KernelDeint
$

VipZ
10th January 2010, 00:10
DXVA 1.0 will start working starting from rev. 3194

Thanks :) DXVA working for me now, I get corruption on seeking sometimes though.

SamuriHL
10th January 2010, 00:13
It doesn't appear to be finding gcc.exe. I'm not sure why this would be the case.

whurlston
10th January 2010, 00:39
Are you sure your project path is correct and doesn't have the trunk folder?

/c/ffdshow-tryout/trunk/src/imgFilters/KernelDeint

If it's correct, I'm not sure what the issue is.

deets
10th January 2010, 01:03
would it help if i uploaded a 50mb unprocessed TS clip of BBC HD in the hope it could be made to work?

Jeremy Duncan
10th January 2010, 01:44
Are you sure your project path is correct and doesn't have the trunk folder?

/c/ffdshow-tryout/trunk/src/imgFilters/KernelDeint

If it's correct, I'm not sure what the issue is.

It doesn't have the trunk folder. Here is what I did to get the ffdshow package downloaded to my hard drive.
step 1. i installed tortoise svn, as the ffdshow wiki linked to.
step 2. I opened windows explorer, file, svn checkout.
step 3. I used this url: https://ffdshow-tryout.svn.sourceforge.net/svnroot/ffdshow-tryout/trunk
Fully recursive.
Revison, showlog, I checked the newest build.
I press ok and it downloads the files to my hard drive.

Edit,

I deleted the previous ffdshow files I downloaded and redownloaded it. This time I downloaded both the trunk and branches, and the directory used trunk this time and it still had a error.
I tried both cmd and msys, and beta 1 kerneldeint, and the newest trunk kerneldeint.
here is the error I get:



jeremy@jeremy-A0DCBD577E3 ~
$ cd cd "/c/ffdshow-tryout/trunk/src/imgFilters/KernelDeint"
sh: cd: cd: No such file or directory

jeremy@jeremy-A0DCBD577E3 ~
$ cd "/c/ffdshow-tryout/trunk/src/imgFilters/KernelDeint"

jeremy@jeremy-A0DCBD577E3 /c/ffdshow-tryout/trunk/src/imgFilters/KernelDeint
$ make
gcc -c -I. -DWIN32 -D_WIN32 -D__MINGW32__ -mno-cygwin -mdll -mthreads -pipe -DND
EBUG -UDEBUG -fno-rtti -fno-exceptions -O3 -march=i686 -mmmx -fno-common -fno-tr
ee-vectorize -msse -mfpmath=sse -fomit-frame-pointer -MMD -o ff_kernelDeint.o ff
_kernelDeint.cpp
gcc.exe: CreateProcess: No such file or directory
make: *** [ff_kernelDeint.o] Error 1

jeremy@jeremy-A0DCBD577E3 /c/ffdshow-tryout/trunk/src/imgFilters/KernelDeint
$ cd "/c/ffdshow-tryout/branches/beta1/src/imgFilters/KernelDeint"

jeremy@jeremy-A0DCBD577E3 /c/ffdshow-tryout/branches/beta1/src/imgFilters/KernelDeint
$ make
gcc -c -I. -I../.. -mno-cygwin -mdll -mthreads -pipe -mmmx -msse -mfpmath=sse -D
NDEBUG -UDEBUG -DWIN32 -D_WIN32 -fno-rtti -fno-exceptions -O2 -march=pentium-mmx
-mtune=i686 -fomit-frame-pointer -finline-functions -finline -frename-registers
-fweb -funit-at-a-time -MMD -o ff_kernelDeint.o ff_kernelDeint.cpp
gcc.exe: CreateProcess: No such file or directory
make: *** [ff_kernelDeint.o] Error 1

jeremy@jeremy-A0DCBD577E3 /c/ffdshow-tryout/branches/beta1/src/imgFilters/KernelDeint
$

roytam1
10th January 2010, 02:57
DXVA 1.0 will start working starting from rev. 3194

ffdshow DXVA in XP looks strange:
http://xs.to/thumb-45D1_4B493387.jpg (http://xs.to/share-45D1_4B493387.html)
comparing with MPC-HC's:
http://xs.to/thumb-BC1B_4B493387.jpg (http://xs.to/share-BC1B_4B493387.html)

and when I use ffdshow DXVA in DVBViewer for watching HDTV, ffdshow DXVA crashes.

Jeremy Duncan
10th January 2010, 07:58
software used
- first installed visual studio professional 2008, default loacation, full build
- second installed sdk for windows 7 and .net 3.5, in the C:\Program Files\Microsoft Visual Studio 9.0\VC folder I made a new folder and called it "PlatformSDK" and installed the sdk in this folder.
- third I installed the directx sdk, august 2009
- fourth the tortoise svn, TortoiseSVN-1.6.6.17493-win32-svn-1.6.6.zip
- fifth i installed the custom made mingw designed for ffdshow.

I installed this wrong the first time, the correct way to install it is to check all the boxes during installation.

It will show a lost of boxes for these programs:
mingw runtime 3.16(2009-08-15)
msys 1.0.11(2009-07-18)
gcc 4.4.1(tdm-2)
binutils 2.19.1(2009-02-03)
win32api 3.13(2008-12-06)
pthreadsapi(2009-07-30)
yasm 0.8.0(2009-04-10)
make 3.81(2009-09-14)
unxutils(2007-03-01)
sdl 1.2.13
just check all the boxes and install in the default location.

- sixth I downloaded yasm; yasm-0.8.0-win32.exe, I renamed this yasm.exe and put this in the C:\Program Files\Microsoft Visual Studio 9.0\VC\bin folder

- seventh I downloaded and installed the innosetup QuickStart Pack: ispack-5.3.7-unicode.exe
I let it install all the add ons available.

- Eighth Then I downloaded the files from the internet and put them on my hard drive. here is how I did that.
I opened windows explorer, file tab, svn checkout.
I used this repository url: https://ffdshow-tryout.svn.sourceforge.net/svnroot/ffdshow-tryout/trunk
I chose where to save the file (c:\ drive) and clicked ok. it's fully recursive and head version.

Now all the sw and files are on the computer and you can start the project
step 1, open visual studio 2008, c++ environment, setup visual studio "tools, options, projects and solutions, vc++ directories"


show directory for executable files (list is from top to bottom, use the arrows to move a line up or down.)
$(WindowsSdkDir)\bin
$(VCInstallDir)bin
C:\Program Files\Intel\Compiler\11.1\054\bin\ia32
$(VSInstallDir)Common7\Tools\bin
$(VSInstallDir)Common7\tools
$(VSInstallDir)Common7\ide
$(ProgramFiles)\HTML Help Workshop
$(FrameworkSDKDir)bin
$(FrameworkDir)$(FrameworkVersion)
$(VSInstallDir)
$(SystemRoot)\SysWow64
$(FxCopDir)
$(PATH)
C:\Documents and Settings\789\Desktop\ffdshow-tryout\bin

show directory for include files (list is from top to bottom, use the arrows to move a line up or down.)
$(ProgramFiles)\Microsoft DirectX SDK (August 2009)\Include
$(WindowsSdkDir)\include
$(VCInstallDir)include
$(VCInstallDir)atlmfc\include
$(FrameworkSDKDir)include

show directory for reference files (list is from top to bottom, use the arrows to move a line up or down.)
$(FrameworkDir)$(FrameworkVersion)
$(VCInstallDir)atlmfc\lib
$(VCInstallDir)lib

show directory for library files (list is from top to bottom, use the arrows to move a line up or down.)
$(ProgramFiles)\Microsoft DirectX SDK (August 2009)\Lib\x86
$(WindowsSdkDir)\lib
$(VCInstallDir)lib
$(VCInstallDir)atlmfc\lib
$(VCInstallDir)atlmfc\lib\i386
$(FrameworkSDKDir)lib
$(VSInstallDir)
$(VSInstallDir)lib
C:\Program Files\Intel\Compiler\11.1\054\lib\ia32

show directory for source files (list is from top to bottom, use the arrows to move a line up or down.)
$(VCInstallDir)atlmfc\src\mfc
$(VCInstallDir)atlmfc\src\mfcm
$(VCInstallDir)atlmfc\src\atl
$(VCInstallDir)crt\src

show directory for exclude directories (list is from top to bottom, use the arrows to move a line up or down.)
$(VCInstallDir)include
$(VCInstallDir)atlmfc\include
$(WindowsSdkDir)\include
$(FrameworkSDKDir)include
$(FrameworkDir)$(FrameworkVersion)
$(VCInstallDir)atlmfc\lib
$(VCInstallDir)lib


step 2. create files

step a. from ffdshow package using mingw "msys".
click Start, all programs, mingw32, msys
A cmd prompt black window will appear with a dollar symbol "$". Copy and paste each directory from the list I will show then press enter, then type "make" and press enter and the file will be created in the C:\ffdshow-tryout\trunk\bin folder
here is a example of what the black msys window will look like:


jeremy@jeremy-A0DCBD577E3 ~
$

Then I paste this line of code showing a directory for a makefile next to the dollar sign like so:


jeremy@jeremy-A0DCBD577E3 ~
$ cd "/c/ffdshow-tryout/trunk/src/imgFilters/KernelDeint"

Then I press enter and the result is shown below:

jeremy@jeremy-A0DCBD577E3 /c/ffdshow-tryout/trunk/src/imgFilters/KernelDeint
$

Then by the dollar sign I type Make, then press enter and it will create the file in the bin directory.
I do this for all the files in the list below:

step 1. built with mingw msys cmd promt

ff_kernelDeint.dll: cd "/c/ffdshow-tryout/src/imgFilters/KernelDeint"
TomsMoComp_ff.dll: cd "/c/ffdshow-tryout/src/imgFilters/TomsMoComp"
xvidcore: cd "/c/ffdshow-tryout/src/codecs/xvidcore"
libmplayer.dll: cd "/c/ffdshow-tryout/src/mplayer"
libavcodec.dll: cd "/c/ffdshow-tryout/src/ffmpeg"
ffmpegmt.dll, ff_theora.dll, ff_x264.dll: cd "/c/ffdshow-tryout/src"
libmpeg2ff: cd "/c/ffdshow-tryout/src/codecs/libmpeg2"


step b. from visual studio create these files in the order shown starting from the top:

ff_acm
ff_liba52
ff_libdts
ff_libfaad2
ff_libmad
ff_realaac
ff_samplerate
ff_tremor
ff_unrar
ff_vfw
ff_wmv9
ffavisynth
ffvdub
flt_ffdshow
rebase
verinc
ffdshow
ffdshowall
makeavis

How do you do this you may be asking?
Open visual studio professional
from the file tab click open project/solution
go to this folder: C:\ffdshow-tryout\trunk, and choose ffdshow_2008.sln
right click the top file from the list and choose configuration manager, set the Active solution configuration to Release unicode, set the active solution platform to win32, click close.
highlight a file from the list shown, for instance ff_acm, then from the build tab choose build only ff_acm. Wait till it's built then look for the newly created file in the C:\ffdshow-tryout\trunk\bin folder
You do this for every file I listed above.
if you do everything correctly then when you build ffdhow you won't get a error, but if you did something wrong like something was not built by visual studio or msys, then you will get a Yasm error when you try to build ffdshow.

Now all the files are built and you can create a ffdshow.exe in step 3.

Step 3.

Go to this folder: C:\ffdshow-tryout\trunk\bin\distrib\InnoSetup, double click this file to open it: ffdshow_installer.iss
Add the info in the first five lines: day made and version number
press f9, then from the build tab click compile and it will make ffdshow.exe and put it in that same folder.

All done ! :)

here is the ffdshow I made using the steps above. Why don't you install it and test to see if it works and tehen post to tell me how you did? :)

link to the file I uploaded for you to test out. (http://www.mediafire.com/?m3ez2yztext)

link to release version of a ffdshow I made (http://www.mediafire.com/?ndwjzjdzoyu) This version uses set's patch. It's best to open ffdshow video configuration, decoder options, uncheck detect soft telecine, uncheck drop frame on delay

_xxl
10th January 2010, 08:39
gcc.exe: CreateProcess: No such file or directory
make: *** [ff_kernelDeint.o] Error 1
...

This error I get when using Clsid's custom MinGW GCC installer.
ff_kernelDeint.dll,libmpeg2_ff.dll and TomsMoComp_ff.dll shouldn't be compiled by MinGW GCC because they are slower than MSVC 2008.

Jeremy Duncan
10th January 2010, 09:22
This error I get when using Clsid's custom MinGW GCC installer.
ff_kernelDeint.dll,libmpeg2_ff.dll and TomsMoComp_ff.dll shouldn't be compiled by MinGW GCC because they are slower than MSVC 2008.

"- fifth i installed the custom made mingw designed for ffdshow.

I installed this wrong the first time, the correct way to install it is to check all the boxes during installation.

It will show a lost of boxes for these programs:
mingw runtime 3.16(2009-08-15)
msys 1.0.11(2009-07-18)
gcc 4.4.1(tdm-2)
binutils 2.19.1(2009-02-03)
win32api 3.13(2008-12-06)
pthreadsapi(2009-07-30)
yasm 0.8.0(2009-04-10)
make 3.81(2009-09-14)
unxutils(2007-03-01)
sdl 1.2.13
just check all the boxes and install in the default location.
"

uninstall the custom mingw, then reinstall it and in the section it asks what to check to install check everything. gcc has a box unchecked and that needs to be checked, and sdl should be checked too.

CruNcher
10th January 2010, 09:48
DXVA doesn't work here i get 33 fps i should get 60 fps like with MPC-HC though that isn't happening XP 32bit VMR7 Nvidia, i activated DXVA in the extra panel tried both ffdshow-mt and libavcodec nothing no acceleration.

Allgemein
Vollständiger Name : I:\wipeoutHD_DE_1080p\WipEout_HD_German_1080p.mp4
Format : MPEG-4
Format-Profil : Base Media / Version 2
Codec-ID : mp42
Dateigröße : 171 MiB
Dauer : 1min 11s
Gesamte Bitrate : 20,0 Mbps
Kodierungs-Datum : UTC 2008-08-01 18:14:03
Tagging-Datum : UTC 2008-08-01 18:14:09

Video
ID : 2
Format : AVC
Format/Info : Advanced Video Codec
Format-Profil : Main@L4.2
Format-Einstellungen für CABAC : Nein
Format-Einstellungen für ReFrame : 2 frames
Codec-ID : avc1
Codec-ID/Info : Advanced Video Coding
Dauer : 1min 11s
Bitraten-Modus : variabel
Bitrate : 19,9 Mbps
Breite : 1 920 Pixel
Höhe : 1 080 Pixel
Bildseitenverhältnis : 16:9
Modus der Bildwiederholungsrate : konstant
Bildwiederholungsrate : 59,940 FPS
Auflösung : 8 bits
Colorimetrie : 4:2:0
Scantyp : progressiv
Bits/(Pixel*Frame) : 0.160
Stream-Größe : 170 MiB (99%)
Sprache : Englisch
Kodierungs-Datum : UTC 2008-08-01 18:13:45
Tagging-Datum : UTC 2008-08-01 18:14:09
colour_primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
transfer_characteristics : BT.709-5, BT.1361
matrix_coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

Audio
ID : 1
Format : AAC
Format/Info : Advanced Audio Codec
Format-Version : Version 4
Format-Profil : LC
Format-Einstellungen für SBR : Nein
Codec-ID : 40
Dauer : 1min 11s
Bitraten-Modus : konstant
Bitrate : 144 Kbps
nominale Bitrate : 160 Kbps
Kanäle : 2 Kanäle
Kanal-Positionen : L R
Samplingrate : 48,0 KHz
Stream-Größe : 1,25 MiB (1%)
Sprache : Englisch
Kodierungs-Datum : UTC 2008-08-01 18:13:44
Tagging-Datum : UTC 2008-08-01 18:14:09

teohhanhui
10th January 2010, 10:48
Build 3194

DXVA disabled:
http://img140.imageshack.us/img140/4858/dxvadisabled.th.png (http://img140.imageshack.us/i/dxvadisabled.png/)

DXVA enabled, not used:
http://img140.imageshack.us/img140/7186/dxvaenabled.th.png (http://img140.imageshack.us/i/dxvaenabled.png/)

Has this been fixed in build 3195?
Fixed : DXVA decoder was still loaded when compatibility mode is set to default and a high profile (incompatible) video is loaded

tal.aloni
10th January 2010, 11:30
Has this been fixed in build 3195?

should be fixed. let us know.

Thanks,
Tal

XhmikosR
10th January 2010, 14:08
Build 3195 (http://www.mediafire.com/?sharekey=3f33c77c2cf9ce25ab1eab3e9fa335ca95e79d7d0540e1e1).

@Jeremy Duncan: Don't take what I'm going to say the wrong way, but please don't pollute this thread with these nonsense posts of yours. No one cares about how you compiled ffdshow. That's why the wiki exists.

Jeremy Duncan
10th January 2010, 14:12
Build 3195 (http://www.mediafire.com/?sharekey=3f33c77c2cf9ce25ab1eab3e9fa335ca95e79d7d0540e1e1).

@Jeremy Duncan: Don't take what I'm going to say the wrong way, but please don't pollute this thread with these nonsense posts of yours. No one cares about how you compiled ffdshow. That's why the wiki exists.

I had questions about building the ffdshow and I asked them here. There is nothing wrong with having done that.

I then found out how and posted it in one single post, not multiple posts as you stated, only one post.

Then xxl_ had a question which I answered.

"No one cares ".
And do you think you speak for everybody as you suggest? You do not speak for me.

clsid
10th January 2010, 15:30
Kerneldeint requires g++ (GCC c++ compiler).

deets
10th January 2010, 16:35
do you guys have any plans to support live streams? seems to work fine on most of my old encodes to mp4/mkv

Casshern
10th January 2010, 17:13
Your experieces compiling are much appreciated. Could you please help to update the wiki?

I had questions about building the ffdshow and I asked them here. There is nothing wrong with having done that.

I then found out how and posted it in one single post, not multiple posts as you stated, only one post.

Then xxl_ had a question which I answered.

"No one cares ".
And do you think you speak for everybody as you suggest? You do not speak for me.

XhmikosR
10th January 2010, 17:34
@Jeremy Duncan: It's pretty clear that you don't have any clue about what you are doing. I'm not saying that I'm an expert, which clearly I'm not, but the wiki instructions are pretty straightforward (although it needs updating since some compilers have changed like xvidcore is built with MSVC and not GCC). So please don't do what Casshern suggests.

Now, that's only my opinion and so you can do whatever you think at the end.

albain
10th January 2010, 18:29
Okay, Jeremy's posts are veryyyyy long, but there are different ways to request things.

FFDShow is complicated to compile, and the wiki needs to be updated so please do so.

We are very few on this project and need motivated newcomers so please let's remain.... uh, welcoming

SamuriHL
10th January 2010, 18:41
There's a wiki page? Son of a!!! :) I set it up blind when I first compiled it for the bitstreaming debugging. Ah well. :)

tal.aloni
10th January 2010, 20:17
There's a wiki page? Son of a!!! :) I set it up blind when I first compiled it for the bitstreaming debugging. Ah well. :)

lol :)

Blight
10th January 2010, 20:28
Just a heads up, I'm not sure if it's a regression issue or just a screw-up with the build numbering, but ffmpeg-mt H.264 decoding is broken in build 3190 (non DXVA decoder), works in build 3189.

hoborg
10th January 2010, 20:40
Hi. I just tested DXVA decoder from beta5 on ATI 4770 cat. 9.12 and Win7 x64 in MPC-HC and
- i bet there is wrong limit in FFDshow decoder, becouse lot of video samples i have didnt play in DXVA, but play OK by using MPC decoder in DXVA mode - MPC decoder can decode 5.1 up to 5 ref. frames in DXVA mode for me (Win7 and WinXP)
- all my samples i have are not working correctly, they are "blue" or have green frame flickering - no problem when using MPC decoder in DXVA mode


Just tested build 3194 and both problems are fixed now, great work!

EDIT:
So soon - videos are still blue if DXVA is off...

markrb
10th January 2010, 21:21
I know some may consider this slightly off topic and I do apologize if it really is.
I am running 3195 build using both Haali and MPC (for m2ts) as splitters.
I am running through MediaPortal as my main player.
I have a Xonar slim card as my audio card. I am using the TMT audio renderer as is suggested.

The following has been a problem since the first HD pass through builds.
I can get DTS-MA and Dolby TRUHD to work with my receiver no problem.
The problem is that once either of those formats plays I cannot get any other audio format to play. It is like my pc codec is locked and will not reset until I close out of the application and restart it. I do not know if this is an issue in ffdshow or Media Portal and honestly I don't know how to find out.

If I leave use PCM first unchecked my HD video will not even start. Checking using Xonar formats has no effect and AC3 encode mode is unchecked.

Thanks for all the great work,
Mark

albain
10th January 2010, 21:27
Just tested build 3194 and both problems are fixed now, great work!

EDIT:
So soon - videos are still blue if DXVA is off...

This should be fixed in rev 3195.

But there may still be issues (green picture), I don't know

Sebastiii
10th January 2010, 22:19
@Seb : thank you, maybe you can tell me if DXVA decoding is working for you ?

Hi,

It works but not complete, i have sometime blue color.
I must set option to "ignore .... " with normal it don't work.
But i must made more test and i'll try 3195 to see what happen :)

But it's great DXVA :)

Seb.