x264 Encoding Options for Hardware Compatibility & DXVA - Page 9 - AVS Forum | Home Theater Discussions And Reviews
Forum Jump: 
Reply
 
Thread Tools
post #241 of 269 Old 11-27-2008, 06:30 AM
AVS Forum Special Member
 
daMaster's Avatar
 
Join Date: May 2004
Location: Montreal, Canada
Posts: 1,422
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 9 Post(s)
Liked: 14
Quote:
Originally Posted by dthibode View Post

What I do is use mkvmerge to create a small sample, say 3mb in size. Then I run it through XVID4PSP. output to mkv, change the video encoding to x264 Q21 Turbo, Audio sould be set to "copy". Then try the new file. If it works, then run the whole file through the software. It takes about 2 hours for an 8gb file on a dual core machine. Hope that helps!

And there is no quality degradation using XVID4PSP to re-encode?
daMaster is offline  
Sponsored Links
Advertisement
 
post #242 of 269 Old 11-27-2008, 02:36 PM
afx
Senior Member
 
afx's Avatar
 
Join Date: Mar 2006
Posts: 217
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Do I want to be pretty strict about the ref # when it comes to DXVA compliancy? I'm encoding mostly for the Popcorn Hour A-110.

What do ref frames actually do and what sort of symptoms will I get if I don't strictly conform to these rules? What happens if I use more or less than the recommended ref #?

Thanks.
afx is offline  
post #243 of 269 Old 11-27-2008, 03:50 PM
Senior Member
 
dthibode's Avatar
 
Join Date: May 2004
Location: Wisconsin
Posts: 354
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 2 Post(s)
Liked: 11
Quote:
Originally Posted by daMaster View Post

And there is no quality degradation using XVID4PSP to re-encode?

None that I have seen. I've tested both turbo and ultra mode, I prefer turbo because it encodes quicker.
dthibode is offline  
 
post #244 of 269 Old 12-11-2008, 03:20 PM
afx
Senior Member
 
afx's Avatar
 
Join Date: Mar 2006
Posts: 217
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by afx View Post

Do I want to be pretty strict about the ref # when it comes to DXVA compliancy? I'm encoding mostly for the Popcorn Hour A-110.

What do ref frames actually do and what sort of symptoms will I get if I don't strictly conform to these rules? What happens if I use more or less than the recommended ref #?

Thanks.

Does anyone have an answer to this question?
afx is offline  
post #245 of 269 Old 12-11-2008, 03:36 PM
Advanced Member
 
Zagor's Avatar
 
Join Date: Jan 2003
Posts: 923
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 1 Post(s)
Liked: 12
Less reference frames?, no problem. More reference frames? lot of problems usually black screen (it won't play at all).

You want to be safe? Use 3 reference frames for 1080p encodes and 8 reference frames for 720p encodes. You can go less (why would you want to?) but definately don't go more.
Zagor is offline  
post #246 of 269 Old 12-11-2008, 06:46 PM
afx
Senior Member
 
afx's Avatar
 
Join Date: Mar 2006
Posts: 217
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Thanks for the reply.

In Layman's, what do the reference frames do? Why 3 and 8? Is there a maximum? Is there a minimum? -- why not just use 1 ref frame? Sorry for all the questions, but I really want to weed out my files. Thanks.
afx is offline  
post #247 of 269 Old 02-04-2009, 08:08 AM
Senior Member
 
Jay_S's Avatar
 
Join Date: Sep 2006
Posts: 355
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by ExDeus View Post

The MeGUI DXVA-HD-HQ profile options:

--level 4.1 --ref 4 --mixed-refs --bframes 3 --b-rdo --bime --weightb --direct auto --filter -1:-1 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --vbv-bufsize 50000 --vbv-maxrate 50000 --me umh

The MeGUI DXVA-SD-HQ profile options:

-level 3.1 --ref 8 --mixed-refs --bframes 3 --b-rdo --bime --weightb --direct auto --filter -1:-1 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --vbv-bufsize 14000 --vbv-maxrate 17500 --me umh

Sorry for the noob question - but MeGUI's DXVA-HD-HQ and DXVA-SD-HQ profiles have a lot more stuff in them than what you've posted above. Am I supposed to REMOVE the "extra" switches (or whatever they're called) from the existing profiles so that they look exactly like what you've posted? Or just make sure that the switches in the existing profiles match what you've posted, and leave everything else as-is?
Jay_S is offline  
post #248 of 269 Old 02-04-2009, 10:21 AM
AVS Forum Special Member
 
SeeMoreDigital's Avatar
 
Join Date: Jul 2003
Location: Nott'm, UK
Posts: 2,541
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Quoted: 467 Post(s)
Liked: 197
Quote:
Originally Posted by afx View Post

Thanks for the reply.

In Layman's, what do the reference frames do? Why 3 and 8? Is there a maximum? Is there a minimum? -- why not just use 1 ref frame? Sorry for all the questions, but I really want to weed out my files. Thanks.

Here you go: -

http://en.wikipedia.org/wiki/Reference_frame_(video)

I SUPPORT 'FAIR USE'. MY MORALS PREVENT ME FROM HELPING ANYONE WHO OBTAINS COPYRIGHTED CONTENT ILLEGITIMATELY
I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout and A/V Gear
SeeMoreDigital is online now  
post #249 of 269 Old 02-22-2009, 05:01 PM
Newbie
 
d33mb33's Avatar
 
Join Date: Jan 2008
Posts: 6
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Apologies if this is old news but I have just installed the latest 182.06 drivers from NVidia and now MPC-HC is able to accelerate ALL my mkvs.

This includes encodes with a high number of reference frames that previously were unable to be accelerated.
d33mb33 is offline  
post #250 of 269 Old 02-25-2009, 05:41 PM - Thread Starter
Advanced Member
 
ExDeus's Avatar
 
Join Date: Jan 2005
Location: Uptown
Posts: 601
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by Jay_S View Post

Sorry for the noob question - but MeGUI's DXVA-HD-HQ and DXVA-SD-HQ profiles have a lot more stuff in them than what you've posted above. Am I supposed to REMOVE the "extra" switches...?

No - you can just use the profile as-is. I just showed the switches that will have a material effect on output.

Get WMC Recording Storage Pooler 1.1.0.

Get ATI HD Registry Tweaks 0.16. Updated 2009-12-31.

Get Firewire drivers for DVRs. Updated 2009-02-25.
ExDeus is offline  
post #251 of 269 Old 06-23-2009, 03:39 PM
Newbie
 
spdsktr's Avatar
 
Join Date: Jun 2009
Posts: 2
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
I think I'm on the right track but I'm not sure.

I have a slower laptop that doesn't readily play HD video (1.6ghz Intel Atom). I do have an NVIDIA GeForce 9300M GS that should be capable of utilizing DXVA.

So let's say I have an .mkv x264 file that will not utilize DXVA. Does what I've read so far say that I can use the IDC Changer to re-encode my .mkv file so that I can now utilize DXVA and have smooth playback with audio and video in sync?

I tried double clicking the IDC Changer and got an error (This application failed to initialize properly), then I dragged my .mkv file on top of it and got the same error. Is that because I don't have .net installed? If so, the link to the .dll files is not working.

Basically, all I want to know is what I have to do to get smooth HD playback on this little laptop and if there's anything I can do when I come across a file that is not DXVA encoded.
spdsktr is offline  
post #252 of 269 Old 06-29-2009, 10:46 PM
Newbie
 
bhairavp's Avatar
 
Join Date: Oct 2003
Location: Bombay,India.
Posts: 10
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by spdsktr View Post

I think I'm on the right track but I'm not sure.

I have a slower laptop that doesn't readily play HD video (1.6ghz Intel Atom). I do have an NVIDIA GeForce 9300M GS that should be capable of utilizing DXVA.

So let's say I have an .mkv x264 file that will not utilize DXVA. Does what I've read so far say that I can use the IDC Changer to re-encode my .mkv file so that I can now utilize DXVA and have smooth playback with audio and video in sync?

I tried double clicking the IDC Changer and got an error (This application failed to initialize properly), then I dragged my .mkv file on top of it and got the same error. Is that because I don't have .net installed? If so, the link to the .dll files is not working.

Basically, all I want to know is what I have to do to get smooth HD playback on this little laptop and if there's anything I can do when I come across a file that is not DXVA encoded.

The very first post in this thread describes this issue. If your .h264 stream is actually encoded at level 4.1 or lower, then the IDC Changer should work. Otherwise, there are some more steps involved.

What's a sig?
bhairavp is offline  
post #253 of 269 Old 08-29-2009, 08:44 AM
AVS Forum Special Member
 
Robert Simandl's Avatar
 
Join Date: Mar 2000
Location: St. Peters, MO
Posts: 3,133
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 185 Post(s)
Liked: 87
Quote:
Originally Posted by ExDeus View Post

No - you can just use the profile as-is. I just showed the switches that will have a material effect on output.

Using the profile as-is gave me an error message of "no mbtree" so I checked "use MB-tree."

Currently converting a 1080i MPEG-2 episode of The Unit I recorded earlier this year to 1080p x264 mkv.

Using brand new Core i7, 6 gigs of Corsair Dominator 1600 DDR3. Vista Ultimate 64-bit edition. CPU usage is hovering about 25%, MeGUI is going at about 8.5 fps on first pass. Do these values sound normal? I no longer have my Core2Quad 6700 PC to compare to (motherboard died), but I thought the speeds on that were similar to this and was expecting a bit faster on this machine.

Thanks for any input!

Bob Simandl ... somewhere near St. Louis
Robert Simandl is offline  
post #254 of 269 Old 08-31-2009, 12:07 AM
AVS Forum Special Member
 
rebkell's Avatar
 
Join Date: Sep 2006
Location: East Tennessee
Posts: 5,108
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 413 Post(s)
Liked: 283
Quote:
Originally Posted by Robert Simandl View Post

Using the profile as-is gave me an error message of "no mbtree" so I checked "use MB-tree."

Currently converting a 1080i MPEG-2 episode of The Unit I recorded earlier this year to 1080p x264 mkv.

Using brand new Core i7, 6 gigs of Corsair Dominator 1600 DDR3. Vista Ultimate 64-bit edition. CPU usage is hovering about 25%, MeGUI is going at about 8.5 fps on first pass. Do these values sound normal? I no longer have my Core2Quad 6700 PC to compare to (motherboard died), but I thought the speeds on that were similar to this and was expecting a bit faster on this machine.

Thanks for any input!

What does your avs script look like? It can slow you down considerably, unless your using the MT stuff, it will be single threaded and can turn into a bottleneck quickly
rebkell is offline  
post #255 of 269 Old 09-01-2009, 09:38 PM
AVS Forum Special Member
 
Robert Simandl's Avatar
 
Join Date: Mar 2000
Location: St. Peters, MO
Posts: 3,133
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 185 Post(s)
Liked: 87
Here it is, and it's a short one:

#Recode 1080i to 1080p for AVCHD

# SOURCE
MPEG2Source("CSI.NY.s03e12.Silent.Night.1080i.d2v")

# IVTC TIVTC
# Note: Use this filter ONLY if source was originally 24fps film
tfm().tdecimate()


# CROPPING & RESIZING
# Note: Use the line below that matches your original resolution
#Lanczos4Resize(1920,1088,0,0,1920,1080)
#Lanczos4Resize(1280,720,0,0,1280,1080)
#Lanczos4Resize(1280,720,0,0,1440,1080)


When I posted about the apparent lack of speed from my new Core i7 system, the encoding job I mentioned was still in its first pass.

I've since noticed the 2nd pass goes a LOT faster than the first pass, and a LOT faster than it did with the Quad 6700. Total time of first and second pass together is now about half what it was with the quad 6700.

Now THAT's what I built the Core i7 system for (well, also because the motherboard the Quad 6700 was on died a while back)!

But if anyone has suggestions on how to alter the above script to make the encoding job faster, I'd love to hear them!

Thanks!

Bob Simandl ... somewhere near St. Louis
Robert Simandl is offline  
post #256 of 269 Old 09-01-2009, 09:56 PM
AVS Forum Special Member
 
rebkell's Avatar
 
Join Date: Sep 2006
Location: East Tennessee
Posts: 5,108
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 413 Post(s)
Liked: 283
Quote:
Originally Posted by Robert Simandl View Post

Here it is, and it's a short one:

#Recode 1080i to 1080p for AVCHD

# SOURCE
MPEG2Source("CSI.NY.s03e12.Silent.Night.1080i.d2v")

# IVTC TIVTC
# Note: Use this filter ONLY if source was originally 24fps film
tfm().tdecimate()


# CROPPING & RESIZING
# Note: Use the line below that matches your original resolution
#Lanczos4Resize(1920,1088,0,0,1920,1080)
#Lanczos4Resize(1280,720,0,0,1280,1080)
#Lanczos4Resize(1280,720,0,0,1440,1080)


When I posted about the apparent lack of speed from my new Core i7 system, the encoding job I mentioned was still in its first pass.

I've since noticed the 2nd pass goes a LOT faster than the first pass, and a LOT faster than it did with the Quad 6700. Total time of first and second pass together is now about half what it was with the quad 6700.

Now THAT's what I built the Core i7 system for (well, also because the motherboard the Quad 6700 was on died a while back)!

But if anyone has suggestions on how to alter the above script to make the encoding job faster, I'd love to hear them!

Thanks!

Looks fine for the script, I have a quad core 3.0 GHz AMD and I normally encode 1080i down to 1280x720, but here's a tip for the avs script, it won't make it any faster, but haven't noticed any slowdown either.

Try this:
tfm()
saved=last
CropBottom(384)
tdecimate(clip2=saved)

this will only compare the upper 2/3 of the video frames and will prevent the stuttering effect that happens lots of the time when the on screen animated logos come on, mostly when the shows resume from commercial. It just helps match up the correct parts and tdecimate doesn't get confused on which frames need to be dropped.

For 720P stuff, I use this script for the same purpose of eliminating the glitchy, stuttery stuff that happens when the animated logos pop up during the shows
saved=last
CropBotton(240)
tdecimate(clip2=saved,CycleR=3)
rebkell is offline  
post #257 of 269 Old 09-01-2009, 11:24 PM
Member
 
jrsdsl's Avatar
 
Join Date: Nov 2003
Location: SF Bay Area
Posts: 31
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by Robert Simandl View Post

Here it is, and it's a short one:

#Recode 1080i to 1080p for AVCHD

# SOURCE
MPEG2Source("CSI.NY.s03e12.Silent.Night.1080i.d2v")

# IVTC TIVTC
# Note: Use this filter ONLY if source was originally 24fps film
tfm().tdecimate()


# CROPPING & RESIZING
# Note: Use the line below that matches your original resolution
#Lanczos4Resize(1920,1088,0,0,1920,1080)
#Lanczos4Resize(1280,720,0,0,1280,1080)
#Lanczos4Resize(1280,720,0,0,1440,1080)


When I posted about the apparent lack of speed from my new Core i7 system, the encoding job I mentioned was still in its first pass.

I've since noticed the 2nd pass goes a LOT faster than the first pass, and a LOT faster than it did with the Quad 6700. Total time of first and second pass together is now about half what it was with the quad 6700.

Now THAT's what I built the Core i7 system for (well, also because the motherboard the Quad 6700 was on died a while back)!

But if anyone has suggestions on how to alter the above script to make the encoding job faster, I'd love to hear them!

Thanks!

From a post on Doom9 Forum

I setup a new rig to encode faster, on my 1st job I noticed the 2nd pass is more than twice as fast as the 1st (17fps vs 7fps). Using AVCHD preset (x264), turbo checked. On my old rig the 1st pass was always a lot faster than the 2nd pass, what am I doing wrong.

Source is from HDTV capture. here is the AVS file

DGDecode_mpeg2source("movie.d2v", info=3)
ColorMatrix(hints=true, interlaced=true, threads=0)
tfm(order=1).tdecimate()
crop( 0, 134, 0, -130)
AddBorders(0, 134, 0, 130)


It is a bug of megui, turbo is not working
jrsdsl is offline  
post #258 of 269 Old 01-23-2010, 09:06 AM
AVS Forum Special Member
 
Robert Simandl's Avatar
 
Join Date: Mar 2000
Location: St. Peters, MO
Posts: 3,133
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 185 Post(s)
Liked: 87
I see in the OP all the settings that should appear at the bottom of the configuration dialog, but am having trouble finding all the things to check or uncheck to get them that way.

I don't suppose someone who has these settings all correct could post screenshots of each tab of the configuration dialog for DXVA-HD-HQ and DXVA-SD-HQ?

Thanks!

Bob Simandl ... somewhere near St. Louis
Robert Simandl is offline  
post #259 of 269 Old 01-23-2010, 10:36 AM
Senior Member
 
[Europe]Boogiem's Avatar
 
Join Date: May 2002
Location: Sweden
Posts: 275
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 31 Post(s)
Liked: 19
I have now given up the HD2600XT dream of getting it to work for 1080p and 720 + HDMI HD audio becuase it just craves to much work becaus of:
- AGP-version
- XP SP2

I got it to flow fine for either 720p or 1080 - HDMI sound I never tried.

I have now went on ATI once again (HD5770) and this time they promised video deconding and HD-sound over HDMI (BOTH bitstream and PCM).

So far video decoding rocks.
Streaming four 720p videos from NAS simoultaneousle (mkv) i get about 10 % load on each core (prcessor Phenom II945 X4) and everything runs supersmooth.
1080 doesnt load a lot more either so hardware decoding works.

HDMI sound is next - got to get a new receiver first though
Have been tested to work (after new driver) and anandtech or if it was tomshardware, so i have my hopes up this time

Regards
Boogie

Livingroom: JVC DLA-X30 @ 4m wide curved 2.35:1 Studiotek
Marantz AV7702, Primare A30.7 + Emotiva XPA-5, Oppo BDP-93,PS-3,HTPC, Samsung digital box
JBL TiK Sub, Ti6K, Ti2K, Ti1K, XTi20, XTi10, REL Q150E
Bedroom: Pioneer KRP-500M, Denon AVR3805
QLN 603,601MK2,Wharfdale DFS
[Europe]Boogiem is offline  
post #260 of 269 Old 02-15-2010, 01:39 PM
Newbie
 
derron7's Avatar
 
Join Date: Feb 2010
Posts: 2
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
HI! Very helpful thread. I'm very confused about my DXVD tests with my new ATI HD3450 graphic card. May be you can give me some tips - I have a mkv that doesn't works hardware accelerated (I.) but after conversion with GOTsent 24b7 to .mp4 the hardware acceleration with DXVD works.
Can somone explain me, why??
Both files seems to be flagged correct (High@L4.1, ref images: 4)

Source File:

[ About file ]

Name: zzg-st6-1080p.mkv
Date: 2/05/2009 12:47:45
Size: 8,531,079,962 bytes (8135.872 MB)

[ Generic infos ]

Play duration: 01:49:59 (6598.592 s)
Container type: matroska
Creation time: 2/05/2009 09:38:58 UTC
Number of streams: 5
Type of stream nr. 1: video (V_MPEG4/ISO/AVC)
Type of stream nr. 2: audio (A_AC3)
Type of stream nr. 3: audio (A_AC3)
Type of stream nr. 4: subtitle (S_TEXT/UTF8)
Type of stream nr. 5: subtitle (S_TEXT/UTF8)
Audio streams: 2
Muxing Application: libebml v0.7.7 + libmatroska v0.8.1
Writing Application: mkvmerge v2.7.0 ('Do It Again') built on Apr 15 2009 00:27:10

[ Relevant data ]

Resolution: 1920 x 824
Width: multiple of 32
Height: multiple of 8

[ Video track ]

Codec ID: V_MPEG4/ISO/AVC
Resolution: 1920 x 824
Frame aspect ratio: 240:103 = 2.330097 (~2.35:1)
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 240:103 = 2.330097 (~2.35:1)
Framerate: 23.975986 fps

[ Audio track nr. 1 ]

Codec ID: A_AC3
Channels (container): 6
Sample rate: 48000 Hz
Mode: 3 front, 2 rear, 1 LFE

[ Audio track nr. 2 ]

Codec ID: A_AC3
Channels (container): 6
Sample rate: 48000 Hz
Mode: 3 front, 2 rear, 1 LFE

[ About H.264 encoding ]

User data: x264
User data: core 67 r1145 d2e1e1c
User data: H.264/MPEG-4 AVC codec
User data: Copyleft 2003-2009
User data: http://www.videolan.org/x264.html
User data: cabac=1
User data: ref=4
User data: deblock=1:0:0
User data: analyse=0x3:0x133
User data: me=umh
User data: subme=7
User data: psy_rd=1.0:0.0
User data: mixed_ref=1
User data: me_range=16
User data: chroma_me=1
User data: trellis=1
User data: 8x8dct=1
User data: cqm=0
User data: deadzone=21,11
User data: chroma_qp_offset=-2
User data: threads=6
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: keyint=250
User data: keyint_min=25
User data: scenecut=40
User data: rc=2pass
User data: bitrate=9061
User data: ratetol=1.0
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.00
SPS id: 0
Profile: High@L4.1
Num ref frames: 4
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: 1920 x 824 > 720 x 576
Framerate: 23.975986 <> 25
Warning: If you need a more complete report, then click on "DRF analysis"

(18-11-2007) on 15 feb 2010, h 21:22:31

#####################################
After "conversion":
#####################################


[ About file ]

Name: zzg.st6..001.mp4
Date: 13/02/2010 21:42:16
Size: 2,764,482,202 bytes (2636.416 MB)

[ Generic infos ]

Play duration: 00:42:02 (2521.935 s)
Container type: MP4/MOV
Major brand: ISO Base Media version 1
Compatible brands: JVT AVC
Creation time: 12/02/2010 20:36:31 UTC
Modification time: 12/02/2010 20:36:31 UTC
Number of streams: 2
Type of stream nr. 1: audio (AAC Low complexity) {GPAC ISO Audio Handler}
Type of stream nr. 2: video (avc1) {GPAC ISO Video Handler}
Audio streams: 1

[ Relevant data ]

Resolution: 1920 x 824
Width: multiple of 32
Height: multiple of 8

[ Video track ]

Codec: avc1
Resolution: 1920 x 824
Frame aspect ratio: 240:103 = 2.330097 (~2.35:1)
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 240:103 = 2.330097 (~2.35:1)
Framerate: 23.976023 fps
Number of frames: 60466
Bitrate: 8602.798876 kbps

[ Audio track ]

Codec: AAC Low complexity
Bitrate: 162.798452 kbps
Channels: 2
Sample rate: 48000 Hz

[ About H.264 encoding ]

User data: x264
User data: core 67 r1145 d2e1e1c
User data: H.264/MPEG-4 AVC codec
User data: Copyleft 2003-2009
User data: http://www.videolan.org/x264.html
User data: cabac=1
User data: ref=4
User data: deblock=1:0:0
User data: analyse=0x3:0x133
User data: me=umh
User data: subme=7
User data: psy_rd=1.0:0.0
User data: mixed_ref=1
User data: me_range=16
User data: chroma_me=1
User data: trellis=1
User data: 8x8dct=1
User data: cqm=0
User data: deadzone=21,11
User data: chroma_qp_offset=-2
User data: threads=6
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: keyint=250
User data: keyint_min=25
User data: scenecut=40
User data: rc=2pass
User data: bitrate=9061
User data: ratetol=1.0
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.00
SPS id: 0
Profile: High@L4.1
Num ref frames: 4
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: 1920 x 824 > 720 x 576
Framerate: 23.976023 <> 25
Warning: If you need a more complete report, then click on "DRF analysis"

(18-11-2007) on 15 feb 2010, h 21:21:22
derron7 is offline  
post #261 of 269 Old 03-13-2010, 04:01 PM
AVS Forum Club Gold
 
mrvideo's Avatar
 
Join Date: Jun 2003
Location: Madison, WI
Posts: 7,129
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 583 Post(s)
Liked: 325
I don't know when the --b-pyramid option syntax changed, but with build r1471 it is now:
Code:
--b-pyramid 
    none: disabled
    strict: strictly hierarchical pyramid
    normal: non-strict (not Blu-ray compatible)
It seems that the default is now --b-pyramid normal, making the output non-Blu-ray compatible. It looks like --b-pyramid strict needs to be added to the first posting. It seems that --no-b-pyramid doesn't exist as an option anymore, being replaced with --b-pyramid none.

If using --b-pyramid strict, does the --ref value still need to be decremented by one, or has the issue been resolved over the last year?

Does --b-pyramid none result in non-Blu-ray compatibility?

When it comes to interlaced to progressive conversion of 2:3 pulldown material, I use the following AVISynth script for 1080i:
Code:
LoadPlugin("C:\\Program Files\\DGAVCDecNV\\DGMultiDecodeNV.dll")
dgmultisource("=DRIVE=\\=FILENAME=.dgi")
assumetff()
telecide(post=0,y0=750,y1=1079)
decimate()
#crop
LanczosResize(1280,720) # Lanczos (Sharp)
When it comes to 720p59.94 2:3 pulldown to 720p23.976, I use the following AVISynth script:
Code:
LoadPlugin("C:\\Program Files\\DGAVCDecNV\\DGMultiDecodeNV.dll")
dgmultisource("=DRIVE=\\=FILENAME=.dgi")
TFM(y0=400,y1=719)
TDecimate(cycle=5,cycleR=3)
Replace =DRIVE=\\=FILENAME= with appropriate path and filename.

H.264 source material reguires a new program to decode and frameserve it, and that is done with the new DGDecNV tools. It also works with MPEG-2 and VC1 video sources. So it is an all-in-one decoder and frameserver. It isn't free, but neither is it expensive.

"You're Sherlock Holmes, wear the damn hat!" - Watson to Sherlock
Sherlock - The Abominable Bride - 1/01/16
Mr. Video
My Geek Images
mrvideo is offline  
post #262 of 269 Old 03-14-2010, 12:29 PM
AVS Forum Club Gold
 
mrvideo's Avatar
 
Join Date: Jun 2003
Location: Madison, WI
Posts: 7,129
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 583 Post(s)
Liked: 325
Quote:
Originally Posted by ExDeus View Post

The MeGUI DXVA-HD-HQ profile options:

--level 4.1 --ref 4 --mixed-refs --bframes 3 --b-rdo --bime --weightb --direct auto --filter -1:-1 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --vbv-bufsize 50000 --vbv-maxrate 50000 --me umh

I'm assuming that the current MeGUI DXVA-HD-HQ profile settings have changed, since the --b-rdo --bime options no longer exist and will cause x264 to bail.

"You're Sherlock Holmes, wear the damn hat!" - Watson to Sherlock
Sherlock - The Abominable Bride - 1/01/16
Mr. Video
My Geek Images
mrvideo is offline  
post #263 of 269 Old 06-04-2010, 06:29 PM
Member
 
kiwijunglist's Avatar
 
Join Date: Jul 2004
Location: New Zealand
Posts: 191
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 71 Post(s)
Liked: 16
Quote:
Originally Posted by ExDeus View Post

Retrofitting MKVs or other H.264 videos
Existing MKV, MP4, TS or AVI files that work with DXVA, but do not play back smoothly, can have their level_idc value changed, if the H.264 video stream actually complies with Profile High@L4.1 (HD) or L3.1 (SD).

Thanks for your summary / guide.

What about the following situation

Exisiting 720P/1080P MKVs rips that are non DXVA compliant, guide to re-encoding them to making them DXVA compliant.

Thanks
Kiwi

HTPC (MediaPortal) / Pioneer SC LX87 / Wharfedale Jade 7 Fronts, 5 Rears, 2c Center / DIY Sub
kiwijunglist is offline  
post #264 of 269 Old 06-21-2010, 12:33 AM
Member
 
putana's Avatar
 
Join Date: Sep 2002
Posts: 26
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by kiwijunglist View Post

Exisiting 720P/1080P MKVs rips that are non DXVA compliant, guide to re-encoding them to making them DXVA compliant.

This would be great! I have over 500Gb of MKV's which I suspect are not DXVA compliant. I'm going to be using an ION/Atom 330 machine as a frontend for MythTV and would like to be able to play all these back.

If I can recode them without loosing any noticeable quality that'd be great.
putana is offline  
post #265 of 269 Old 05-29-2011, 03:35 PM
AVS Forum Special Member
 
msgohan's Avatar
 
Join Date: Dec 2007
Location: Alberta, Canada
Posts: 2,895
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 1 Post(s)
Liked: 16
Is there a more up-to-date thread on this?

I'm testing 59.94 fps content with this command line, which is modified from the OP's "MeGUI" line to remove the two options that no longer exist.

Code:
x264 --level 3.1 --sar 1:1 --ref 8 --mixed-refs --bframes 3 --weightb --direct auto --filter -1:-1 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --vbv-bufsize 14000 --vbv-maxrate 17500 --me umh --frames 1000 --bitrate 1462 "%filepath%.avs" -o "%filepath% V.mp4"
Decoding this with DXVA produces garbled output with my Radeon HD 4350 when the video's resolution is 720x544 or above (720x576). On the other hand, 720x480 works okay. Level 3.1 is supposed to support 720x576 up to 66.7 fps, so what am I missing?

Panasonic CX850 (TC-55CX850U, 2015)
PS3, WD TV Live
Denon AVR-890 (2009)
msgohan is offline  
post #266 of 269 Old 06-02-2011, 05:48 PM
AVS Forum Special Member
 
msgohan's Avatar
 
Join Date: Dec 2007
Location: Alberta, Canada
Posts: 2,895
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 1 Post(s)
Liked: 16
I solved the corruption. Level 3.1 and --ref 5 is all that is needed, no VBV limits or anything else needs to be specified. Higher values of reframes causes garbled DXVA.

Panasonic CX850 (TC-55CX850U, 2015)
PS3, WD TV Live
Denon AVR-890 (2009)
msgohan is offline  
post #267 of 269 Old 07-22-2011, 02:13 AM
Member
 
bordin's Avatar
 
Join Date: Oct 2005
Posts: 26
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Hi there,

I'm trying to find an explaination whether hardware-based playback (dxva) still requires proper encoding ? A friend of mine told me that, if my hardware is compatible, all players can do it regardless of the movie source. I doubt this is true.

I also came across someone said "they did add DXVA decode of h.264 in ffdshow.", in this thread last Jan.
bordin is offline  
post #268 of 269 Old 07-22-2011, 03:09 PM
AVS Forum Special Member
 
msgohan's Avatar
 
Join Date: Dec 2007
Location: Alberta, Canada
Posts: 2,895
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 1 Post(s)
Liked: 16
Nothing has changed. You still need to have encodes that comply with the Levels, and a decoder that supports DXVA.

Panasonic CX850 (TC-55CX850U, 2015)
PS3, WD TV Live
Denon AVR-890 (2009)
msgohan is offline  
post #269 of 269 Old 11-03-2011, 03:45 PM
Advanced Member
 
billqs's Avatar
 
Join Date: Jan 2003
Posts: 815
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Quoted: 291 Post(s)
Liked: 171
Just as a request for update, I saw a post where NVidia was allegedly able to decode any h.264 file via hardware even if it didn't match the scripts presented in this thread.

Has ATI/AMD also advanced to the point where a rigid limit on number of ref frames is still needed to have hardware playback?

Thanks

JVC RS500, Denon 7200WA, 7.2.4 Atmos/DTSX dedicated Theater. 133" Dalite 1.3 screen. M&K S150 + K7 ear level, 4 Tannoy DC overheads.
billqs is offline  
Sponsored Links
Advertisement
 
Reply Home Theater Computers



Forum Jump: 

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off