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

Reply
 
Thread Tools Search this Thread Display Modes
Old 10th January 2010, 07:58   #10181  |  Link
Jeremy Duncan
Didée Fan
 
Jeremy Duncan's Avatar
 
Join Date: Feb 2006
Location: Canada
Posts: 1,079
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.sourcefor...w-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"

Code:
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:

Code:
jeremy@jeremy-A0DCBD577E3 ~
$
Then I paste this line of code showing a directory for a makefile next to the dollar sign like so:

Code:
jeremy@jeremy-A0DCBD577E3 ~
$ cd "/c/ffdshow-tryout/trunk/src/imgFilters/KernelDeint"
Then I press enter and the result is shown below:
Code:
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
Code:
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.

link to release version of a ffdshow I made 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
__________________
When I get tired during work with dvd stuff i think of River Tamm (Summer Glau's character). And the beauty that is Serenity.

Last edited by Jeremy Duncan; 10th January 2010 at 13:19. Reason: section two files made by msys and visual studio tweaked
Jeremy Duncan is offline   Reply With Quote
Old 10th January 2010, 08:39   #10182  |  Link
_xxl
ffdshow user
 
_xxl's Avatar
 
Join Date: Oct 2005
Location: Romania
Posts: 818
Quote:
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.
_xxl is offline   Reply With Quote
Old 10th January 2010, 09:22   #10183  |  Link
Jeremy Duncan
Didée Fan
 
Jeremy Duncan's Avatar
 
Join Date: Feb 2006
Location: Canada
Posts: 1,079
Quote:
Originally Posted by _xxl View Post
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.
__________________
When I get tired during work with dvd stuff i think of River Tamm (Summer Glau's character). And the beauty that is Serenity.
Jeremy Duncan is offline   Reply With Quote
Old 10th January 2010, 09:48   #10184  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
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
__________________
all my compares are riddles so please try to decipher them yourselves :)

It is about Time

Join the Revolution NOW before it is to Late !

http://forum.doom9.org/showthread.php?t=168004

Last edited by CruNcher; 10th January 2010 at 09:53.
CruNcher is offline   Reply With Quote
Old 10th January 2010, 10:48   #10185  |  Link
teohhanhui
Registered User
 
Join Date: Dec 2009
Posts: 3
Colour off with ffdshow DXVA Video Decoder

Build 3194

DXVA disabled:


DXVA enabled, not used:


Has this been fixed in build 3195?
Quote:
Fixed : DXVA decoder was still loaded when compatibility mode is set to default and a high profile (incompatible) video is loaded
teohhanhui is offline   Reply With Quote
Old 10th January 2010, 11:30   #10186  |  Link
tal.aloni
Registered User
 
Join Date: Sep 2008
Posts: 496
Quote:
Originally Posted by teohhanhui View Post
Has this been fixed in build 3195?
should be fixed. let us know.

Thanks,
Tal
tal.aloni is offline   Reply With Quote
Old 10th January 2010, 14:08   #10187  |  Link
XhmikosR
Registered User
 
Join Date: Mar 2007
Location: Hellas (Greece)
Posts: 543
Build 3195.

@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.
__________________
My Specs
XhmikosR is offline   Reply With Quote
Old 10th January 2010, 14:12   #10188  |  Link
Jeremy Duncan
Didée Fan
 
Jeremy Duncan's Avatar
 
Join Date: Feb 2006
Location: Canada
Posts: 1,079
Quote:
Originally Posted by XhmikosR View Post
Build 3195.

@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.
__________________
When I get tired during work with dvd stuff i think of River Tamm (Summer Glau's character). And the beauty that is Serenity.

Last edited by Jeremy Duncan; 10th January 2010 at 14:14.
Jeremy Duncan is offline   Reply With Quote
Old 10th January 2010, 15:30   #10189  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,642
Kerneldeint requires g++ (GCC c++ compiler).
__________________
MPC-HC 2.1.7.2
clsid is offline   Reply With Quote
Old 10th January 2010, 16:35   #10190  |  Link
deets
Registered User
 
Join Date: Jan 2005
Location: london, england
Posts: 509
do you guys have any plans to support live streams? seems to work fine on most of my old encodes to mp4/mkv
deets is offline   Reply With Quote
Old 10th January 2010, 17:13   #10191  |  Link
Casshern
Registered User
 
Join Date: Apr 2007
Posts: 220
Your experieces compiling are much appreciated. Could you please help to update the wiki?

Quote:
Originally Posted by Jeremy Duncan View Post
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.
Casshern is offline   Reply With Quote
Old 10th January 2010, 17:34   #10192  |  Link
XhmikosR
Registered User
 
Join Date: Mar 2007
Location: Hellas (Greece)
Posts: 543
@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.
__________________
My Specs
XhmikosR is offline   Reply With Quote
Old 10th January 2010, 18:29   #10193  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
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
albain is offline   Reply With Quote
Old 10th January 2010, 18:41   #10194  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
There's a wiki page? Son of a!!! I set it up blind when I first compiled it for the bitstreaming debugging. Ah well.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 10th January 2010, 20:17   #10195  |  Link
tal.aloni
Registered User
 
Join Date: Sep 2008
Posts: 496
Quote:
Originally Posted by SamuriHL View Post
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
tal.aloni is offline   Reply With Quote
Old 10th January 2010, 20:28   #10196  |  Link
Blight
Software Developer
 
Blight's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 1,005
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.
__________________
Yaron Gur
Zoom Player . Lead Developer
Blight is offline   Reply With Quote
Old 10th January 2010, 20:40   #10197  |  Link
hoborg
Registered User
 
Join Date: Nov 2008
Posts: 454
Quote:
Originally Posted by hoborg View Post
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...
__________________
Working machine: Win10x64 + Intel Skull Canyon
My HTPC.

How to start with Bitcoin

Last edited by hoborg; 10th January 2010 at 20:46.
hoborg is offline   Reply With Quote
Old 10th January 2010, 21:21   #10198  |  Link
markrb
Old fart
 
markrb's Avatar
 
Join Date: Oct 2001
Posts: 3,589
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
__________________
Oh no Mr. Bill!
markrb is offline   Reply With Quote
Old 10th January 2010, 21:27   #10199  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Quote:
Originally Posted by hoborg View Post
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
albain is offline   Reply With Quote
Old 10th January 2010, 22:19   #10200  |  Link
Sebastiii
Registered User
 
Join Date: Oct 2009
Location: France
Posts: 615
Quote:
Originally Posted by albain View Post
@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.
__________________
HTPC : i7 920 6Go Win10(x64) / Nvidia 1050Ti / P6T Deluxe / Harman-Kardon AVR-355.
Sebastiii is offline   Reply With Quote
Reply

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


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