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 > Hardware & Software > Software players
Register FAQ Calendar Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 9th February 2008, 12:22   #1001  |  Link
Casimir666
Registered User
 
Join Date: Jan 2007
Posts: 455
Whouaaa so many messages about subtitles !

@pdanpdan
DXVA didn't works when there is filters between video decoder and renderer, so ffdshow or DirectVobSub are prohibited if you wan't to use hardware acceleration. Can you PM me a link with a sample that crash mpc?


@donaldtone
Not 100% sure, but I think VMR7 required at least a video card compatible with DirectX 7, and VMR9 at least DirectX9.
__________________
Tired of tearing?
Try this Media Player Classic mod : http://mpc-hc.sourceforge.net
Casimir666 is offline  
Old 9th February 2008, 15:31   #1002  |  Link
3ngel
Registered User
 
Join Date: Mar 2005
Posts: 457
Casimir, can you add to

File->Open File... -> Dub -> Browse

the .AC3, .DTS, .EAC3, .Flac extensions in the "Objects of type" filter of the dialog box?

and

File->Open File... -> Open -> Browse

the .Avs extension in the "Objects of type" filter of the dialog box?

Thanks
3ngel is offline  
Old 9th February 2008, 19:43   #1003  |  Link
jhoff80
Registered User
 
Join Date: May 2004
Posts: 18
On my 3870, DXVA is working GREAT with everything but 1080p files with this. 1080p files just show a green screen. What are the odds of that ever working, or is it just because of the way the files are encoded? (I remember reading something about level 4.1 being the max or something?)

Also, what are the odds that just the filters will be released alone (hopefully in x64 form) so that we can use DXVA on other programs (I mainly want to use it in Media Center.)
jhoff80 is offline  
Old 9th February 2008, 22:14   #1004  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
anyone manages to get rock solid 24.000 FPS ?

I got Reclock running with EVR on XP SP2, resampling 23.976@24 in 48.000 Hz

it's usually fine for 10/15 mins, then it starts oscillating between 23.99x/24.00x and starts dropping frames

If only I had an idea about wtf is up...
leeperry is offline  
Old 10th February 2008, 00:04   #1005  |  Link
Casimir666
Registered User
 
Join Date: Jan 2007
Posts: 455
Quote:
Originally Posted by jhoff80 View Post
On my 3870, DXVA is working GREAT with everything but 1080p files with this. 1080p files just show a green screen. What are the odds of that ever working, or is it just because of the way the files are encoded? (I remember reading something about level 4.1 being the max or something?)

Also, what are the odds that just the filters will be released alone (hopefully in x64 form) so that we can use DXVA on other programs (I mainly want to use it in Media Center.)
I don't think the problem is the resolution (i have some 1080p video that works). Some H264 with 5.1 level works too, but other display black or green screen. I haven't find a solution yet to detect such files and switch automaticly to software mode
__________________
Tired of tearing?
Try this Media Player Classic mod : http://mpc-hc.sourceforge.net
Casimir666 is offline  
Old 10th February 2008, 00:56   #1006  |  Link
Shinigami-Sama
Solaris: burnt by the Sun
 
Shinigami-Sama's Avatar
 
Join Date: Oct 2004
Location: /etc/default/moo
Posts: 1,923
Quote:
Originally Posted by Casimir666 View Post
I don't think the problem is the resolution (i have some 1080p video that works). Some H264 with 5.1 level works too, but other display black or green screen. I haven't find a solution yet to detect such files and switch automaticly to software mode
I thought that it was determed down in the AVC forum that it was the ref_num_size block, and if it exceeded a certain threshold that hardware acceleration broke
__________________
Quote:
Originally Posted by benjust View Post
interlacing and telecining should have been but a memory long ago.. unfortunately still just another bizarre weapon in the industries war on image quality.
Shinigami-Sama is offline  
Old 10th February 2008, 13:51   #1007  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
Quote:
Originally Posted by Casimir666 View Post
I don't think the problem is the resolution (i have some 1080p video that works). Some H264 with 5.1 level works too, but other display black or green screen. I haven't find a solution yet to detect such files and switch automaticly to software mode
If you perform the following checks on the header of the file you will know if the file is DXVA able or not

First check if the SAR is okay:
"only allowed are 1:1/4:3/5:4/16:9"

If SAR is okay, then check the resolution and ref frames with the following calculation:

For resolutions higher than 720x576
mod16 width X mod16 height X ref frames <= 8355840

For resolutions equal or lower than 720x576
mod16 width X mod16 height X ref frames <= 4561920

If SAR is not okay, default to software mode
If width or height is not mod16 default to software mode
If calculated values are higher than the maximum number default to software mode
In other cases enable DXVA

See here for more details : http://forum.doom9.org/showpost.php?...&postcount=199

Last edited by tetsuo55; 10th February 2008 at 14:59. Reason: Complete rewrite of post, much simpler now
tetsuo55 is offline  
Old 10th February 2008, 15:59   #1008  |  Link
Casimir666
Registered User
 
Join Date: Jan 2007
Posts: 455
Quote:
Originally Posted by tetsuo55 View Post
First check if the SAR is okay:
"only allowed are 1:1/4:3/5:4/16:9"
Ok this is the easiest things to check.

Quote:
Originally Posted by tetsuo55 View Post
For resolutions higher than 720x576
mod16 width X mod16 height X ref frames <= 8355840

For resolutions equal or lower than 720x576
mod16 width X mod16 height X ref frames <= 4561920
Hum... all broken files i had respect your rule :
- Sample1 : 640*480*8 = 2457600 < 4561920
- Sample2 : 720*416*6 = 1797120 < 4561920

I have read part of the thread, the incompatility rules seems not so clear
__________________
Tired of tearing?
Try this Media Player Classic mod : http://mpc-hc.sourceforge.net
Casimir666 is offline  
Old 10th February 2008, 16:05   #1009  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
Could you post the avinaptic output of these samples?

(the other fail reasons are not so easy to detect)

Last edited by tetsuo55; 10th February 2008 at 16:10.
tetsuo55 is offline  
Old 10th February 2008, 16:54   #1010  |  Link
Casimir666
Registered User
 
Join Date: Jan 2007
Posts: 455
Quote:
Originally Posted by tetsuo55 View Post
Could you post the avinaptic output of these samples?

(the other fail reasons are not so easy to detect)
Sample 1 : crash ATI Driver
====================
Quote:
Originally Posted by sample1
[ Generic infos ]

Play duration: 00:24:30 (1469.888 s)
Container type: matroska
Creation time: 7/12/2007 23:27:22 UTC
Number of streams: 4
Type of stream nr. 1: video (V_MPEG4/ISO/AVC) {...}
Type of stream nr. 2: audio (A_VORBIS) {2.0 Vorbis}
Type of stream nr. 3: subtitle (S_TEXT/ASS) {ASS}
Type of stream nr. 4: subtitle (S_TEXT/UTF8) {SRT}
Audio streams: 1
Muxing Application: libebml v0.7.7 + libmatroska v0.8.1
Writing Application: mkvmerge v2.0.2 ('You're My Flame') built on Feb 21 2007 23:40:55

[ Relevant data ]

Resolution: 640 x 480
Width: multiple of 32
Height: multiple of 32

[ Video track ]

Codec ID: V_MPEG4/ISO/AVC
Resolution: 640 x 480
Frame aspect ratio: 4:3 = 1.333333
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 4:3 = 1.333333
Framerate: 23.975986 fps

[ Audio track ]

Codec ID: A_VORBIS
Channels (container): 2
Sample rate: 48000 Hz

[ About H.264 encoding ]

User data: x264
User data: core 45 svn-485M
User data: H.264/MPEG-4 AVC codec
User data: Copyleft 2005
User data: http://www.videolan.org/x264.html
User data: cabac=1
User data: ref=5
User data: deblock=1:0:0
User data: analyse=0x3:0x133
User data: me=umh
User data: subme=7
User data: brdo=1
User data: mixed_ref=1
User data: me_range=24
User data: chroma_me=1
User data: trellis=2
User data: 8x8dct=1
User data: cqm=0
User data: chroma_qp_offset=0
User data: slices=2
User data: nr=0
User data: bframes=3
User data: b_pyramid=1
User data: b_adapt=1
User data: b_bias=0
User data: direct=1
User data: wpredb=1
User data: bime=0
User data: keyint=250
User data: keyint_min=25
User data: scenecut=40
User data: rc=2pass
User data: bitrate=857
User data: ratetol=1.0
User data: rceq='blurCplx^(1-qComp)'
User data: qcomp=0.60
User data: qpmin=10
User data: qpmax=51
User data: qpstep=4
User data: cplxblur=20.0
User data: qblur=0.5
User data: ip_ratio=1.40
User data: pb_ratio=1.30
SPS id: 0
Profile: High@L5.1
Num ref frames: 8
Chroma format idc: YUV 4:2:0
PPS id: 0 (SPS: 0)
Entropy coding type: CABAC
Weighted prediction: No
Weighted bipred idc: B slices - implicit weighted prediction
8x8dct: Yes

[ Profile compliancy ]

Profile to check: MTK PAL 6000
Resolution: Ok
Framerate: 23.975986 <> 25
Warning: If you need a more complete report, then click on "DRF analysis"

[ Attachment nr. 1 ]

Name: AVGARDNEclipse.ttf
MIME Type: application/x-truetype-font
Size: 56,924 bytes
UID: 1723722417

[ Attachment nr. 2 ]

Name: Alberta Italic.ttf
MIME Type: application/x-truetype-font
Size: 60,648 bytes
UID: 816201406

[ Attachment nr. 3 ]

Name: Alberta Regular.ttf
MIME Type: application/x-truetype-font
Size: 58,772 bytes
UID: 412550843

Sample 2 : green screen
==================
Quote:
Originally Posted by sample2
[ Generic infos ]

Play duration: 00:24:30 (1469.929 s)
Container type: matroska
Creation time: 30/11/2007 12:38:38 UTC
Number of streams: 4
Type of stream nr. 1: video (V_MPEG4/ISO/AVC) {...}
Type of stream nr. 2: audio (A_VORBIS) {2.0 Vorbis}
Type of stream nr. 3: subtitle (S_TEXT/ASS) {ASS}
Type of stream nr. 4: subtitle (S_TEXT/UTF8) {SRT}
Audio streams: 1
Muxing Application: libebml v0.7.7 + libmatroska v0.8.1
Writing Application: mkvmerge v2.0.2 ('You're My Flame') built on Feb 21 2007 23:40:55

[ Relevant data ]

Resolution: 640 x 480
Width: multiple of 32
Height: multiple of 32

[ Video track ]

Codec ID: V_MPEG4/ISO/AVC
Resolution: 640 x 480
Frame aspect ratio: 4:3 = 1.333333
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 4:3 = 1.333333
Framerate: 23.975986 fps

[ Audio track ]

Codec ID: A_VORBIS
Channels (container): 2
Sample rate: 48000 Hz

[ About H.264 encoding ]

User data: x264
User data: core 54 svn-635M
User data: H.264/MPEG-4 AVC codec
User data: Copyleft 2005
User data: http://www.videolan.org/x264.html
User data: cabac=1
User data: ref=5
User data: deblock=1:0:0
User data: analyse=0x3:0x133
User data: me=umh
User data: subme=7
User data: brdo=1
User data: mixed_ref=1
User data: me_range=24
User data: chroma_me=1
User data: trellis=2
User data: 8x8dct=1
User data: cqm=0
User data: deadzone=21,11
User data: chroma_qp_offset=0
User data: threads=2
User data: nr=0
User data: decimate=1
User data: mbaff=0
User data: bframes=3
User data: b_pyramid=1
User data: b_adapt=1
User data: b_bias=0
User data: direct=1
User data: wpredb=1
User data: bime=1
User data: keyint=250
User data: keyint_min=25
User data: scenecut=40(pre)
User data: rc=2pass
User data: bitrate=857
User data: ratetol=1.0
User data: rceq='blurCplx^(1-qComp)'
User data: qcomp=0.60
User data: qpmin=10
User data: qpmax=51
User data: qpstep=4
User data: cplxblur=20.0
User data: qblur=0.5
User data: ip_ratio=1.40
User data: pb_ratio=1.30
User data: aq=1:1.0:15.0
SPS id: 0
Profile: High@L5.1
Num ref frames: 8
Chroma format idc: YUV 4:2:0
PPS id: 0 (SPS: 0)
Entropy coding type: CABAC
Weighted prediction: No
Weighted bipred idc: B slices - implicit weighted prediction
8x8dct: Yes

[ Profile compliancy ]

Profile to check: MTK PAL 6000
Resolution: Ok
Framerate: 23.975986 <> 25
Warning: If you need a more complete report, then click on "DRF analysis"

[ Attachment nr. 1 ]

Name: Vogue_Bold.TTF
MIME Type: application/x-truetype-font
Size: 33,536 bytes
UID: 2081959055

[ Attachment nr. 2 ]

Name: BOD_BI.TTF
MIME Type: application/x-truetype-font
Size: 85,308 bytes
UID: 2561216676

[ Attachment nr. 3 ]

Name: AVGARDNEclipse.ttf
MIME Type: application/x-truetype-font
Size: 56,924 bytes
UID: 445150875

[ Attachment nr. 4 ]

Name: Alberta Italic.ttf
MIME Type: application/x-truetype-font
Size: 60,648 bytes
UID: 78096267

[ Attachment nr. 5 ]

Name: Alberta Regular.ttf
MIME Type: application/x-truetype-font
Size: 58,772 bytes
UID: 3072692916

[ Chapters ]

Prologue: 00:00:00,000 - 00:00:33,000
Opening: 00:00:33,000 - 00:02:13,000
Clannad 09: Until the Very : 00:02:13,000 - 00:22:20,100
Ending: 00:22:20,100 - 00:23:50,100
Preview: 00:23:50,100 - [undefined]

By the way, how did you compute the limit value 8355840, because i have also seen 8294400 (1920*1080*4) in your thread?
__________________
Tired of tearing?
Try this Media Player Classic mod : http://mpc-hc.sourceforge.net
Casimir666 is offline  
Old 10th February 2008, 16:56   #1011  |  Link
Casimir666
Registered User
 
Join Date: Jan 2007
Posts: 455
Quote:
Originally Posted by Casimir666 View Post
By the way, how did you compute the limit value 8355840, because i have also seen 8294400 (1920*1080*4) in your thread?
Oups i'm stupid it's 1920x1088*4
__________________
Tired of tearing?
Try this Media Player Classic mod : http://mpc-hc.sourceforge.net
Casimir666 is offline  
Old 10th February 2008, 17:06   #1012  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
That limit is based on the real HD resolution 1920x1088

Well from your problem descriptions its obvious that DXVA is enabled, otherwise you would not be seeing the crash/green screen

Now as too why the files do not work, there are 2 issues i can see here.

Issue 1, mkv problems, you can try remuxing the video's with the latest version of mkvmerge.

Issue 2, Those files where made with old to very old versions of x264, it is actually known that these older versions contain a bug that break DXVA.

(Issue 3, the level is wrong, but this does not matter for your player, if you change the level to 3.1 you can test them with the cyberlink decoder)



This is not something you can easily test the file for, maybe its a good idea to report these non working files in the dxva problem thread, and see what the others have to say about it.

I say we ignore these for now, as a new encode with the latest version of x264 should work(as proven in the dxva problem thread)

Last edited by tetsuo55; 10th February 2008 at 17:09.
tetsuo55 is offline  
Old 10th February 2008, 17:26   #1013  |  Link
Xin-Hong
Registered User
 
Join Date: May 2006
Location: France
Posts: 29
Quote:
Originally Posted by pdanpdan View Post
It's already unchecked, and the subtitles are not loading in the mplayerc (not HC).
Also, all files play OK with mplayerc (not HC) with or without susbtitles enabled (x264 decoded by ffdshow).
The subtitles are included in the MKV files, not external.
I had the same problem too with subtitles in MKV. I have to delete the key "HKEY_CURRENT_USER\Software\Gabest\Media Player Classic" in the registry, reconfigure MPC HC and then, I have subtitles.
Xin-Hong is offline  
Old 11th February 2008, 08:26   #1014  |  Link
Casshern
Registered User
 
Join Date: Apr 2007
Posts: 220
Hi,
on my machine with r396 mpc hc some files do not work with DXVA which work fine with cyberlink h264 decoder in DXVA mode. These are mainly 25fps h264 sky captures (these show black and white / half screen garbled in MPC HC) and some files show just green/black screen. So it seems apart from level 4.1 compliance there is something cyblerlink does, which sets up the ATI drivers to properly do DXVA acceleration - maybe it sets some additional parameters.
One other thing: Is there a way to make m2ts or evo files show up in the file requesters by default - i always have to set it to "show all files"... is this configurable?
Casshern is offline  
Old 11th February 2008, 08:58   #1015  |  Link
juffi
Registered User
 
Join Date: Jul 2007
Posts: 16
Quote:
Originally Posted by Casimir666 View Post
@pdanpdan
DXVA didn't works when there is filters between video decoder and renderer, so ffdshow or DirectVobSub are prohibited if you wan't to use hardware acceleration.
What is the way of getting subtitles and still have DXVA?
juffi is offline  
Old 11th February 2008, 08:59   #1016  |  Link
Shinigami-Sama
Solaris: burnt by the Sun
 
Shinigami-Sama's Avatar
 
Join Date: Oct 2004
Location: /etc/default/moo
Posts: 1,923
Quote:
Originally Posted by juffi View Post
What is the way of getting subtitles and still have DXVA?
use a renderer that supports subtitles
like
vrm9 renderless and, haali, and evr
__________________
Quote:
Originally Posted by benjust View Post
interlacing and telecining should have been but a memory long ago.. unfortunately still just another bizarre weapon in the industries war on image quality.
Shinigami-Sama is offline  
Old 11th February 2008, 14:24   #1017  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
Haalis renderer supports DXVA now???

Quote:
Originally Posted by Casshern View Post
Hi,
on my machine with r396 mpc hc some files do not work with DXVA which work fine with cyberlink h264 decoder in DXVA mode. These are mainly 25fps h264 sky captures (these show black and white / half screen garbled in MPC HC) and some files show just green/black screen. So it seems apart from level 4.1 compliance there is something cyblerlink does, which sets up the ATI drivers to properly do DXVA acceleration - maybe it sets some additional parameters.
One other thing: Is there a way to make m2ts or evo files show up in the file requesters by default - i always have to set it to "show all files"... is this configurable?
Most probably a MBAFF Decoding problem how it sounds seems this kind of decoding has to be specialy triggered in Nvidias and ATis APIs to work in DXVA, especialy in combination with their Motion Adaptive Deinterlacing Stuff.
__________________
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; 11th February 2008 at 14:30.
CruNcher is offline  
Old 11th February 2008, 14:29   #1018  |  Link
jaybox
Registered User
 
Join Date: Feb 2008
Posts: 2
hi forumashi
I've just changed icon groups
v6.4.9.1 mpc hc 1.0.11.4

icon sizes:
high res:
16x16
32x32
48x48
and 16x16 [256 colors]


http://rapidshare.com/files/90911167...lassic.7z.html
Attached Images
   
jaybox is offline  
Old 11th February 2008, 19:45   #1019  |  Link
Casimir666
Registered User
 
Join Date: Jan 2007
Posts: 455
Quote:
Originally Posted by Casshern View Post
Hi,
on my machine with r396 mpc hc some files do not work with DXVA which work fine with cyberlink h264 decoder in DXVA mode. These are mainly 25fps h264 sky captures (these show black and white / half screen garbled in MPC HC) and some files show just green/black screen.
Is it interlaced video? I think there is a problem with such video at the moment.
__________________
Tired of tearing?
Try this Media Player Classic mod : http://mpc-hc.sourceforge.net
Casimir666 is offline  
Old 11th February 2008, 21:40   #1020  |  Link
Shinigami-Sama
Solaris: burnt by the Sun
 
Shinigami-Sama's Avatar
 
Join Date: Oct 2004
Location: /etc/default/moo
Posts: 1,923
Quote:
Originally Posted by CruNcher View Post
Haalis renderer supports DXVA now???



Most probably a MBAFF Decoding problem how it sounds seems this kind of decoding has to be specialy triggered in Nvidias and ATis APIs to work in DXVA, especialy in combination with their Motion Adaptive Deinterlacing Stuff.
from what i've read it appears to, but I might be wrong, I kinda suck with renderers
__________________
Quote:
Originally Posted by benjust View Post
interlacing and telecining should have been but a memory long ago.. unfortunately still just another bizarre weapon in the industries war on image quality.
Shinigami-Sama is offline  
Closed Thread

Tags
dxva, h264, home cinema, media player classic, mpc-hc


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


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