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 8th January 2010, 23:27   #10141  |  Link
crlorentzen
Audio Video Enthusiast
 
Join Date: May 2004
Location: East Coast, USA.
Posts: 34
@albain

1) ffdshow_rev3183_20100105_dbt_dxva_beta5 dbgview
2) 3154 dbgview

DTS pass-through with AC3 encode.
crlorentzen is offline   Reply With Quote
Old 8th January 2010, 23:35   #10142  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Quote:
Originally Posted by crlorentzen View Post
@albain

1) ffdshow_rev3183_20100105_dbt_dxva_beta5 dbgview
2) 3154 dbgview

DTS pass-through with AC3 encode.
THank you, this is what I needed. I have found why it does not work, and this is related to the fact that your audio chip which refuses the connection of SPDIF format.

The solution will be to add another compatibility option in the output section to prevent testing SPDIF formats (but the others yes)

What is your audio chip by the way ?

Last edited by albain; 8th January 2010 at 23:39.
albain is offline   Reply With Quote
Old 9th January 2010, 00:36   #10143  |  Link
hoborg
Registered User
 
Join Date: Nov 2008
Posts: 454
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

FFDshow: (wrong - blue picture)

MPC decoder (rev 1483 DXVA on)


Code:
Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L5.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 5 frames
Muxing mode                      : Container profile=Unknown@5.1
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 7s 480ms
Bit rate                         : 5 024 Kbps
Width                            : 1 920 pixels
Height                           : 816 pixels
Display aspect ratio             : 2.35:1
Frame rate                       : 25.000 fps
Original frame rate              : 23.976 fps
Resolution                       : 8 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.128
Stream size                      : 4.48 MiB (80%)
Language                         : English
__________________
Working machine: Win10x64 + Intel Skull Canyon
My HTPC.

How to start with Bitcoin

Last edited by hoborg; 9th January 2010 at 00:39.
hoborg is offline   Reply With Quote
Old 9th January 2010, 01:22   #10144  |  Link
crlorentzen
Audio Video Enthusiast
 
Join Date: May 2004
Location: East Coast, USA.
Posts: 34
Quote:
Originally Posted by albain View Post
THank you, this is what I needed. I have found why it does not work, and this is related to the fact that your audio chip which refuses the connection of SPDIF format.

The solution will be to add another compatibility option in the output section to prevent testing SPDIF formats (but the others yes)

What is your audio chip by the way ?
Analog Devices, ADI1988B -onboard an ASUS M2N-SLI Deluxe
HDAUDIO\FUNC_01&VEN_11D4&DEV_198B&SUBSYS_104381F6

I wonder if it is an issue that a driver can correct. But I have tried many revisions of the driver and have never seen a change. currently I am running the 6110 release, not that that means anything to you.

Also, if it is my audio device refusing, why does it accept when AC3 encode is unchecked?

Looks to me like the audio hardware is locked by starting the stream before checking for support. EDIT: I'm probably wrong I think the StartStreaming just says we entered a function. Still not sure how to follow all of the code that I am reading in the svn.

encode 3183
Code:
00000373	2.95094848	[2404] TffdshowDecAudio::StartStreaming	
...
00000381	3.31119037	[2404] TaudioParser::checkOutputFormat for codec DTS s/pdif with sample format 16	
...
00000394	3.33679700	[2404] TaudioParser::checkOutputFormat refused for codec DTS s/pdif with sample format 16
no encode 3183
Code:
00000401	1.65489388	[3116] TffdshowDecAudio::StartStreaming	
...
00000409	2.58283281	[3116] TaudioParser::checkOutputFormat for codec DTS s/pdif with sample format 16	
...
00000425	2.59875965	[3116] TaudioParser::checkOutputFormat accepted for codec DTS s/pdif with sample format 16
3183, noencode
3183, encode

Is it possible that AC3 encode is locking the device first and then you cannot check for DTS acceptance because the device is already locked?

Last edited by crlorentzen; 9th January 2010 at 02:33.
crlorentzen is offline   Reply With Quote
Old 9th January 2010, 01:47   #10145  |  Link
tal.aloni
Registered User
 
Join Date: Sep 2008
Posts: 496
@albain
getting better, however, when selecting ffmpeg-mt for AVC it will not load.

Thanks!
tal.aloni is offline   Reply With Quote
Old 9th January 2010, 02:58   #10146  |  Link
mark0077
Registered User
 
Join Date: Apr 2008
Posts: 1,106
Hi all,

This might be a weird question, but I am hoping ffdshow might somehow have this ability using one of its filters. I have been using my Samsung Series 9 in 60hz PC Mode, for over a year now, as non 60hz pc modes display this odd, what looks like interlaced image from time to time. One moment a blu-ray at 24hz for example might look perfect, all of a sudden it will display horizontal combing effect. Only today did I realise, that if I play content, that consistently changes, at over half the rate of the TV, does the TV stop this behaviour.

I think the TV may be disabling this interlacing? / apparantly attempt at de-interlacing?, effect, if I am watching a scene thats consistently got enough motion, to show more than 12fps..... Same for 60hz, if I use reclock to force a movie to display at 30fps or more, the TV stops this weird effect, or apparant attempt to de-interlace the image.

My question is, is this why that alternating white / black square often seen on the corner of TVs, a way of telling the TV the actual frame rate of the content. My question is, has anyone heard of a way to do this on the PC, ie have something small perhaps, flicker at a particular frame rate. At the moment, watching Star Trek blu-ray using 90% of the screen at 24hz, with fast motion video also playing at 24hz in the other 10%, just to keep the TV happy that content is being played on screen that doesn't require de-interlacing.

I hope I am clear enough here, basically asking if such functionality has ever been asked for before. Cheers.
mark0077 is offline   Reply With Quote
Old 9th January 2010, 04:18   #10147  |  Link
Nitrius
Registered User
 
Join Date: Nov 2009
Posts: 19
Which version is recommended? xxl, clsid or albain? Should i give x64 a try? Since am using MPC HC x64 atm?
Nitrius is offline   Reply With Quote
Old 9th January 2010, 04:26   #10148  |  Link
crlorentzen
Audio Video Enthusiast
 
Join Date: May 2004
Location: East Coast, USA.
Posts: 34
@Nitrius,

xxl, clsid and albain builds are all great. I generally stick with clsid but, there isn't really a reason.

For MPC-HC x64 you will need to use an x64 ffdshow build. x64 applications use x64 filters only. The x64 ffdshow builds will not work for any x86 media players, and vice versa. So the easiest thing to do is install an x64 and an x86 build if you are going to use any x86 media players.

Last edited by crlorentzen; 9th January 2010 at 05:19.
crlorentzen is offline   Reply With Quote
Old 9th January 2010, 07:48   #10149  |  Link
dann23
Registered User
 
Join Date: Apr 2009
Posts: 89
@albain since beta 3 I can't play any movies with dxva. Is it possible that ffdshow is trying to use dxva 2 on windows xp?
dann23 is offline   Reply With Quote
Old 9th January 2010, 10:51   #10150  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
@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
albain is offline   Reply With Quote
Old 9th January 2010, 11:49   #10151  |  Link
dann23
Registered User
 
Join Date: Apr 2009
Posts: 89
Quote:
Originally Posted by albain View Post
@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.
dann23 is offline   Reply With Quote
Old 9th January 2010, 13:02   #10152  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Quote:
Originally Posted by dann23 View Post
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
albain is offline   Reply With Quote
Old 9th January 2010, 13:20   #10153  |  Link
dann23
Registered User
 
Join Date: Apr 2009
Posts: 89
Quote:
Originally Posted by albain View Post
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.
dann23 is offline   Reply With Quote
Old 9th January 2010, 13:25   #10154  |  Link
tal.aloni
Registered User
 
Join Date: Sep 2008
Posts: 496
Quote:
Originally Posted by albain View Post
@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
tal.aloni is offline   Reply With Quote
Old 9th January 2010, 13:48   #10155  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Quote:
Originally Posted by tal.aloni View Post
@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/ffd...t.exe/download

Last edited by albain; 9th January 2010 at 13:59.
albain is offline   Reply With Quote
Old 9th January 2010, 14:09   #10156  |  Link
Sebastiii
Registered User
 
Join Date: Oct 2009
Location: France
Posts: 616
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.
__________________
HTPC : i7 920 6Go Win10(x64) / Nvidia 1050Ti / P6T Deluxe / Harman-Kardon AVR-355.
Sebastiii is offline   Reply With Quote
Old 9th January 2010, 14:32   #10157  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Quote:
Originally Posted by crlorentzen View Post
@albain

1) ffdshow_rev3183_20100105_dbt_dxva_beta5 dbgview
2) 3154 dbgview

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 ?
albain is offline   Reply With Quote
Old 9th January 2010, 15:09   #10158  |  Link
VipZ
Registered User
 
Join Date: Jun 2009
Location: London
Posts: 378
@ albain

In every case where DXVA loads I get results like this, tested with rev 3190


I am running Win7 x64, ATI 4870 /w 9.12 Hotfix drivers.
VipZ is offline   Reply With Quote
Old 9th January 2010, 15:25   #10159  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
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.
__________________
MPC-HC 2.2.1
clsid is offline   Reply With Quote
Old 9th January 2010, 15:28   #10160  |  Link
Jeremy Duncan
Didée Fan
 
Jeremy Duncan's Avatar
 
Join Date: Feb 2006
Location: Canada
Posts: 1,079
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?
__________________
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
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 03:11.


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