[MAC] VDADecoder performance over HDMI on new Mac Mini?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
Rachel Offline
Senior Member
Posts: 158
Joined: Jun 2009
Reputation: 0
Post: #46
OK this is interesting. I just plugged in my Macbook Pro to the TV (via an Apple Mini-DP->DVI adapter and a standard DVI->HDMI lead).

I saw what looks like the same problem we've been seeing on the Mac Mini. Poor frame rates, in my case the video lagging behind the audio. However see later; it's not *quite* the same...

I had some additional problems I haven't seen with the Mini: For the first time I had to use the video calibration page in XBMC to get all the frame onto the screen. Overscan was enabled in the display manager, but when I turned it off, it picture-framed the desktop so it wouldn't fill the whole screen. (ooh checking something... nope, TV's aspect ratio/zoom settings didn't fix it.)

I also had an intermittent vertical-stretching mode-change happen, but I think that might have been an issue with the connector hanging out of the machine; it stopped when it was properly supported on the desk. Although when I was getting it, it only happened a few seconds into playing a video in xbmc, and only went away when xbmc was quit... oh well. :-)

As before, turning off VDADecoder, so dc:ff-h264 resolves playback speed - it plays correctly except that it's *just* too slow to actually do it reliably.

As per davilla's most recent, on the macbook pro the a/v was within plus-or-minus 0.050 on *software* playback as far as I could tell (the digits change a bit fast). When using VDADecoder it was often there too but sometimes went up as far as 0.2, 0.3.

Throughout the display mode selected was 1080p at 60Hz, which matches the 60Hz claimed by XBMC when viewing on the laptop's own screen.

So it seems there's something about being connected to an actual TV which is hurting VDADecoder? I didn't expect this and I don't have a clue how to explain it, which is why I didn't try it before. After all, the Aspire Revo (also an NVidia 9400M) running XBMC under Ubuntu with VDPAU enabled works just fine with this TV. Better in fact because it can switch refresh rate. :-P Also on the mac mini, playing h.264 movies via quicktime, which presumably is using hardware decoding, is also working fine.

Back to the Mac Mini:

looking again at display preferences there isn't an Overscan checkbox; instead an Underscan slider control going from "Off" to "More". (We love Apple but sometimes...) It's set to Off, which is the default, I haven't touched it.

In playback with VDADecoder on, the differences I saw in comparison to the Macbook Pro connected to the TV (with VDADecoder on):

The video lagging behind the sound was worse. a/v error just kept going up as time went on, still to three decimal places but value quickly went over 1, 2, 3, 4, 5 - up to 12 or so by the time I stopped playback. If those numbers are seconds, it more or less matches my own sense of how far the video is lagging. On the MBP the a/v error rate was worse than with VDADecoder off but more or less stable at below 0.2 for the most part, and the video, while lagging, didn't lag as badly, and presumably just started skipping frames to more or less keep up.

Am now uploading the first 100M of one of my test videos, that's never failed to fail, if you see what I mean. :-) This one's encoded by HandBrake with its High Profile preset, output as MKV, and the first 100M extracted with dd like this:

Code:
dd if=The\ Colour\ of\ Magic\ -\ part\ 1\,\ chap1\,\ high\ profile.mkv of=tcom-100m.mkv bs=100M count=1

It can be downloaded here: http://electronpusher.org/~rachel/tcom-100m.mkv. Here's a screenshot of it playing on the Mac Mini with VDADecoder enabled:

[Image: tcom-100m-small.png]

For comparison, the same thing being played on the TV by the macbook pro. fps is low, but a/v is currently showing 0.012; and though it does peak up to 0.2 or so it's more or less stable:

[Image: tcom-mbp-small.png]

Check out the error% on both as well. Again, on the mac mini that number just keeps going up...
(This post was last modified: 2010-07-12 17:44 by Rachel.)
find
Rachel Offline
Senior Member
Posts: 158
Joined: Jun 2009
Reputation: 0
Post: #47
Couple of other things I can think of to test:

1: Plug the Mac Mini into a computer monitor instead of the TV. Unfortunately the only monitor I have available is a 20" DVI/VGA cheap LG monitor; 1680x1050. But I do have the leads to plug that into either the HDMI or the Mini-DP ports on the Mac Mini.

2: Install Ubuntu and XBMC for Linux on the Mac Mini, check that the hardware is OK, and whether VDPAU likes the GeForce 320M. :-)

Both of these are doable but quite hard work (the former because I'm recovering from an injury and moving equipment around is hard, the second because I have yet to work out how to install Ubuntu on a Mac with no optical drive - live-disc usb images don't work on macs). So I'll hold to see if a developer (davilla for instance?) thinks it's got a good enough chance of revealing something useful to be worth making that effort.

(Hmm. I have Ubuntu installed in a partition on the macbook pro. I could possibly get harsh and dd that partition's content into a partition on the mac mini... :-D)
find
snowdrift Offline
Senior Member
Posts: 213
Joined: Aug 2009
Reputation: 0
Post: #48
D-tyme Wrote:Pretty much the same, but very inconsistent. My Avatar and 2012 source rips play fine, for the most part, with VDA (there are occasional dips in frame rate). But my Righteous Kill and The Crazies (VC-1) source rips are unwatchable.

I could be wrong, but doesn't VDADecoder only support AVC/H.264 and not VC-1 at the moment, so that may be why...? XBMC hardware acceleration blog post by Davilla

Quote:The VDADecoder API will handle all H.264 video content including that in m2ts containers. The last bit is very important as it means accelerated video decoding of decrypted Bluray m2ts files that are in H.264 format. Bluray can be one of three formats, VC1, MPEG-2 and H.264, with about 75 percent being in H.264 format. There is no word yet on accelerated VC1 decoding but since VDADecoder interfaces to low level Nvidia VP3 functions which can handle H.264 AND VC1/MPEG-2 content, we might see VC1/MPEG-2 support added to VDADecoder API at later date.
find
D-tyme Offline
Senior Member
Posts: 267
Joined: Jan 2010
Reputation: 0
Post: #49
snowdrift Wrote:I could be wrong, but doesn't VDADecoder only support AVC/H.264 and not VC-1 at the moment, so that may be why...?

True, but VC-1 played like crap regardless if VDA was turned on or not.
find
D-tyme Offline
Senior Member
Posts: 267
Joined: Jan 2010
Reputation: 0
Post: #50
D-tyme Wrote:So since I use b-pyramid with my 1080p encodes, I will start using the following:

bframes=3 & ref=3.

But...I'm not 100% sure why some h.264 sources won't play fine.

OK, I did a transcode of 2012 using bframes=3;ref=3 and its a no-go. The A/V peeked and sustained at around 12.x. Almost every frame was dropped.

That said, I'm almost out of ideas. I'm going to see what the differences is with my Avatar source (that I believe plays fine with VDA) and the rest of my sources that won't play correctly naively with VDA. Then worry about transcoding.
find
Rachel Offline
Senior Member
Posts: 158
Joined: Jun 2009
Reputation: 0
Post: #51
D-tyme Wrote:OK, I did a transcode of 2012 using bframes=3;ref=3 and its a no-go. The A/V peeked and sustained at around 12.x. Almost every frame was dropped.

That said, I'm almost out of ideas. I'm going to see what the differences is with my Avatar source (that I believe plays fine with VDA) and the rest of my sources that won't play correctly naively with VDA. Then worry about transcoding.

ok, i found the hard drive i put my avatar untranscoded mkv on and brought it back into the vault. (have more drives than sockets for them!)

It plays perfectly with VDADecoder. Same as you're finding.

Hell, would it be simpler to keep the bluray rips online (ie: available to my home network) and just purge my vault of all the stuff I know in my heart i'm never gonna get around to watching? :-}

Mind you that reminds me; having brought the rip back online I ran it through handbrake again with high profile. Better check that...

Yep, fails in the same way as the others.

Just trying the other bluray non-transcoded rips now I have them back up... It answers one question: No it won't solve the problem to just use the Bluray rips as in fact more of them still fail than succeed.

OK (actually perfect): Avatar, Cars, Casino Royale, Cloudy with a Chance of Meatballs, Moon, The Water Horse, District 9, Enchanted, Sunshine (but VDADecoder causing ugly pixellation artefacts with some into-the-sun shots, ff-h264 gets it right, ff-h264_vdpau-vdpau on Linux-XBMC gets it right)

NOT OK (same symptoms as described): Gladiator, Ponyo, Quantum of Solace, Up, Wall-E, 2012, A Single Man, Alice in Wonderland, Bolt, Bridge to Terabithia, The Colour of Magic, The Italian Job, Monsters Inc, The Road, Kung Fu Panda

OTHERS: The Golden Compass, Pan's Labyrinth, Slumdog Millionaire, Where The Wild Things Are, 2001, Coraline, The Fall, Serenity are VC1 (use ff-vc1) and alternate between OK and poor framerate, some with hardly any problem at all, but this is a different issue. 50 First Dates is ff-mpeg2video and plays perfectly!

After trying to play Ponyo for the first time, XBMC started failing: All movies including those played successfully before now only play audio. Attempt to quit crashed, needed a forced quit.

After the restart it wouldn't use VDADecoder, always falling back to ff-h264, which as usual works but not quite fast enough. *rebooted computer* to resume...

Similar thing happened after trying to play Bolt for the first time too.

There's a few others like Star Trek, Ratatouille and Planet Earth which I didn't keep the rips on disk for, so I'd have to re-rip them to try them. (I think it's because they were the first of my collection I ripped at all, before I started *keeping* the rips after running through handbrake.)

Comparative MediaInfo dumps for some of the OK and NOT OK movies above to follow - can't easily do that from this iPad... :-)
find
Rachel Offline
Senior Member
Posts: 158
Joined: Jun 2009
Reputation: 0
Post: #52
MediaInfo for Avatar which worked:

Code:
General
Complete name                    : /Volumes/media/Vault/MKV Bluray Rips/Avatar/title00.mkv
Format                           : Matroska
File size                        : 39.4 GiB
Duration                         : 2h 41mn
Overall bit rate                 : 34.9 Mbps
Encoded date                     : UTC 2010-05-29 11:36:52
Writing application              : MakeMKV v1.5.6 beta linux(x64-release)
Writing library                  : libmakemkv v1.5.6 beta (0.7.7/0.8.1) x86_64-linux-gnu

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 2 frames
Muxing mode                      : Container profile=Unknown@4.1
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 2h 41mn
Width                            : 1 920 pixels
Height                           : 1 080 pixels
Display aspect ratio             : 16:9
Frame rate                       : 23.976 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive

Audio #1
ID                               : 2
Format                           : DTS
Format/Info                      : Digital Theater Systems
Format profile                   : MA
Codec ID                         : A_DTS
Duration                         : 2h 41mn
Bit rate mode                    : Variable
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Bit depth                        : 24 bits
Title                            : HD Lossless
Language                         : English

Audio #2
ID                               : 3
Format                           : DTS
Format/Info                      : Digital Theater Systems
Codec ID                         : A_DTS
Duration                         : 2h 41mn
Bit rate mode                    : Constant
Bit rate                         : 1 510 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Bit depth                        : 24 bits
Stream size                      : 1.71 GiB (4%)
Title                            : 3/2+1
Language                         : English

Audio #3
ID                               : 4
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Codec ID                         : A_AC3
Duration                         : 2h 41mn
Bit rate mode                    : Constant
Bit rate                         : 448 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Stream size                      : 518 MiB (1%)
Title                            : 3/2+1
Language                         : English

Text
ID                               : 5
Format                           : PGS
Codec ID                         : S_HDMV/PGS
Codec ID/Info                    : The same subtitle format used on BDs/HD-DVDs
Language                         : English

Menu
00:00:00.000                     : en:Chapter 00
00:06:17.960                     : en:Chapter 01
00:07:53.598                     : en:Chapter 02
00:12:04.890                     : en:Chapter 03
00:14:00.464                     : en:Chapter 04
00:20:00.574                     : en:Chapter 05
00:24:00.230                     : en:Chapter 06
00:26:53.278                     : en:Chapter 07
00:31:41.899                     : en:Chapter 08
00:33:33.428                     : en:Chapter 09
00:35:43.849                     : en:Chapter 10
00:43:31.859                     : en:Chapter 11
00:49:23.627                     : en:Chapter 12
00:54:29.974                     : en:Chapter 13
00:59:56.050                     : en:Chapter 14
01:05:10.197                     : en:Chapter 15
01:11:36.417                     : en:Chapter 16
01:15:11.006                     : en:Chapter 17
01:20:29.115                     : en:Chapter 18
01:24:41.910                     : en:Chapter 19
01:36:04.800                     : en:Chapter 20
01:37:55.786                     : en:Chapter 21
01:44:33.099                     : en:Chapter 22
01:48:15.488                     : en:Chapter 23
01:53:53.868                     : en:Chapter 24
01:55:32.884                     : en:Chapter 25
01:58:38.819                     : en:Chapter 26
02:02:05.568                     : en:Chapter 27
02:05:33.859                     : en:Chapter 28
02:10:01.835                     : en:Chapter 29
02:16:07.283                     : en:Chapter 30
02:19:50.840                     : en:Chapter 31
02:25:50.324                     : en:Chapter 32
02:31:14.064                     : en:Chapter 33
02:35:05.295                     : en:Chapter 34
02:41:40.690                     : en:Chapter 35

And for Alice:

Code:
General
Complete name                    : /Volumes/media/Vault/MKV Bluray Rips 2/Alice_in_Wonderland/title00.mkv
Format                           : Matroska
File size                        : 19.7 GiB
Duration                         : 1h 48mn
Overall bit rate                 : 25.9 Mbps
Encoded date                     : UTC 2010-07-07 10:18:39
Writing application              : MakeMKV v1.5.6 beta linux(x64-release)
Writing library                  : libmakemkv v1.5.6 beta (0.7.7/0.8.1) x86_64-linux-gnu

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 4 frames
Muxing mode                      : Container profile=Unknown@4.1
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 1h 48mn
Bit rate                         : 23.6 Mbps
Width                            : 1 920 pixels
Height                           : 1 080 pixels
Display aspect ratio             : 16:9
Frame rate                       : 23.976 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.474
Stream size                      : 17.9 GiB (91%)
Color 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 #1
ID                               : 2
Format                           : DTS
Format/Info                      : Digital Theater Systems
Format profile                   : ES
Codec ID                         : A_DTS
Duration                         : 1h 48mn
Bit rate mode                    : Constant
Bit rate                         : 1 510 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Bit depth                        : 24 bits
Stream size                      : 1.15 GiB (6%)
Title                            : 3/2+1
Language                         : English

Audio #2
ID                               : 3
Format                           : AC-3
Format/Info                      : Audio Coding 3
Format profile                   : Dolby Digital
Mode extension                   : CM (complete main)
Codec ID                         : A_AC3
Duration                         : 1h 48mn
Bit rate mode                    : Constant
Bit rate                         : 320 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Stream size                      : 249 MiB (1%)
Title                            : 2/0
Language                         : English

Text #1
ID                               : 4
Format                           : PGS
Codec ID                         : S_HDMV/PGS
Codec ID/Info                    : The same subtitle format used on BDs/HD-DVDs
Language                         : English

Text #2
ID                               : 6
Format                           : PGS
Codec ID                         : S_HDMV/PGS
Codec ID/Info                    : The same subtitle format used on BDs/HD-DVDs
Language                         : English

Menu
00:00:00.000                     : en:Chapter 00
00:04:24.889                     : en:Chapter 01
00:10:36.886                     : en:Chapter 02
00:18:13.509                     : en:Chapter 03
00:24:44.316                     : en:Chapter 04
00:28:41.344                     : en:Chapter 05
00:36:51.125                     : en:Chapter 06
00:46:15.731                     : en:Chapter 07
00:52:44.786                     : en:Chapter 08
01:04:05.049                     : en:Chapter 09
01:10:02.198                     : en:Chapter 10
01:15:36.490                     : en:Chapter 11
01:23:39.264                     : en:Chapter 12
01:34:12.688                     : en:Chapter 13
01:36:58.354                     : en:Chapter 14
01:40:12.131                     : en:Chapter 15
find
Rachel Offline
Senior Member
Posts: 158
Joined: Jun 2009
Reputation: 0
Post: #53
Cars, which worked:

Code:
General
Complete name                    : /Volumes/media/Vault/MKV Bluray Rips/CARS_GBR/title00.mkv
Format                           : Matroska
File size                        : 20.4 GiB
Duration                         : 1h 56mn
Overall bit rate                 : 25.0 Mbps
Encoded date                     : UTC 2010-05-27 09:42:17
Writing application              : MakeMKV v1.5.6 beta linux(x64-release)
Writing library                  : libmakemkv v1.5.6 beta (0.7.7/0.8.1) x86_64-linux-gnu

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 2 frames
Muxing mode                      : Container profile=Unknown@4.1
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 1h 56mn
Bit rate                         : 23.2 Mbps
Width                            : 1 920 pixels
Height                           : 1 080 pixels
Display aspect ratio             : 16:9
Frame rate                       : 23.976 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.467
Stream size                      : 18.9 GiB (93%)

Audio #1
ID                               : 2
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Codec ID                         : A_AC3
Duration                         : 1h 56mn
Bit rate mode                    : Constant
Bit rate                         : 640 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Stream size                      : 534 MiB (3%)
Title                            : 3/2+1
Language                         : English

Audio #2
ID                               : 3
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Codec ID                         : A_AC3
Duration                         : 1h 56mn
Bit rate mode                    : Constant
Bit rate                         : 640 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Stream size                      : 534 MiB (3%)
Title                            : 3/2+1
Language                         : English

Text #1
ID                               : 4
Format                           : PGS
Codec ID                         : S_HDMV/PGS
Codec ID/Info                    : The same subtitle format used on BDs/HD-DVDs
Language                         : English

Text #2
ID                               : 6
Format                           : PGS
Codec ID                         : S_HDMV/PGS
Codec ID/Info                    : The same subtitle format used on BDs/HD-DVDs
Language                         : English

Text #3
ID                               : 8
Format                           : PGS
Codec ID                         : S_HDMV/PGS
Codec ID/Info                    : The same subtitle format used on BDs/HD-DVDs
Language                         : English

Text #4
ID                               : 10
Format                           : PGS
Codec ID                         : S_HDMV/PGS
Codec ID/Info                    : The same subtitle format used on BDs/HD-DVDs
Language                         : English

And Up, which didn't:

Code:
General
Complete name                    : /Volumes/media/Vault/MKV Bluray Rips/Up_(Disc_1)/title06.mkv
Format                           : Matroska
File size                        : 19.7 GiB
Duration                         : 1h 36mn
Overall bit rate                 : 29.4 Mbps
Encoded date                     : UTC 2010-05-29 10:46:04
Writing application              : MakeMKV v1.5.6 beta linux(x64-release)
Writing library                  : libmakemkv v1.5.6 beta (0.7.7/0.8.1) x86_64-linux-gnu

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 4 frames
Muxing mode                      : Container profile=Unknown@4.1
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 1h 36mn
Width                            : 1 920 pixels
Height                           : 1 080 pixels
Display aspect ratio             : 16:9
Frame rate                       : 23.976 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Color 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 #1
ID                               : 2
Format                           : DTS
Format/Info                      : Digital Theater Systems
Format profile                   : MA
Codec ID                         : A_DTS
Duration                         : 1h 36mn
Bit rate mode                    : Variable
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Bit depth                        : 24 bits
Title                            : HD Lossless
Language                         : English

Audio #2
ID                               : 3
Format                           : DTS
Format/Info                      : Digital Theater Systems
Format profile                   : ES
Codec ID                         : A_DTS
Duration                         : 1h 36mn
Bit rate mode                    : Constant
Bit rate                         : 1 510 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Bit depth                        : 24 bits
Stream size                      : 1.01 GiB (5%)
Title                            : 3/2+1
Language                         : English

Chapter offsets removed to shorten the post enough for the forum to let me post it.

I can't see a pattern between the ones that work and the ones that don't.
(This post was last modified: 2010-07-15 21:04 by Rachel.)
find
Rachel Offline
Senior Member
Posts: 158
Joined: Jun 2009
Reputation: 0
Post: #54
Actually yes I do see a difference. Confirmed by running MediaInfo over all the other bluray rips already tested.

All those that worked:

Code:
Format settings, ReFrames        : 2 frames

And all those that didn't...

Code:
Format settings, ReFrames        : 4 frames
...
Color 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

Checking out a random selection of those transcoded versions I've had problems with, some have ReFrames : 4 frames some have ReFrames: 2 frames, which seems to correlate with files created using HandBrake's High Profile and Normal presets, but they all seem to have those colour primaries/transfer characteristics/matric coefficients, so it's probably standard HandBrake behaviour to include them. Those lines are there even on HandBrake rips of originals that didn't have them, so presumably it's generating them itself rather than just passing them through.

Could that be it? Whatever that is? :-)

(BTW I didn't check exhaustively if the *values* on those lines are the same everywhere; the pattern of whether a file works or not appears to be on whether those lines are there at all.)
find
Rachel Offline
Senior Member
Posts: 158
Joined: Jun 2009
Reputation: 0
Post: #55
More observations:

The handbrake transcodes from non-h.264 sources (specifically the vc1 ones) also have those lines and also show the same problem. The mpeg2 source one I'll have to re-encode as I did it wrong and made a broken file. But I don't expect anything different.

BUT - I also transcode recordings (made by EyeTV) from BBC HD (in fact they're probably the majority of my vault) and they get run through HandBrake with exactly the same presets as I use to transcode the bluray sources.

MediaInfo also shows those colour primary etc. lines, but the transcodes seem to play perfectly at a nice steady 25fps; whether encoded with Normal or High Profile presets. Just the occasional glitch which is probably a different problem (refresh-rate related?)

Differences? The sources are 1080i 50Hz and 1440x1080 with anamorphism used to fill the 1080 frame. The actual frame sizes in pixels in the file being played are smaller than the bluray rips.

<shrug/>

Example:
Code:
General
Complete name                    : /media/Vault/Testing/High Profile Tests/Doctor Who/Season 4/16 The Waters of Mars.m4v
Format                           : MPEG-4
Format profile                   : Base Media / Version 2
Codec ID                         : mp42
File size                        : 2.15 GiB
Duration                         : 1h 1mn
Overall bit rate                 : 4 967 Kbps
Encoded date                     : UTC 2010-07-11 01:50:23
Tagged date                      : UTC 2010-07-11 06:05:55
Writing application              : HandBrake svn3428 2010070501

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.0
Format settings, CABAC           : Yes
Format settings, ReFrames        : 4 frames
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 1h 1mn
Bit rate mode                    : Variable
Bit rate                         : 4 414 Kbps
Width                            : 1 440 pixels
Height                           : 1 072 pixels
Display aspect ratio             : 16:9
Frame rate mode                  : Variable
Frame rate                       : 24.970 fps
Minimum frame rate               : 1.467 fps
Maximum frame rate               : 25.000 fps
Resolution                       : 8 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.115
Stream size                      : 1.91 GiB (89%)
Writing library                  : x264 core 100 r1659 57b2e56
Encoding settings                : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date                     : UTC 2010-07-11 01:50:23
Tagged date                      : UTC 2010-07-11 06:05:55
Color 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 #1
ID                               : 2
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Codec ID                         : 40
Duration                         : 1h 1mn
Bit rate mode                    : Variable
Bit rate                         : 165 Kbps
Maximum bit rate                 : 244 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Stream size                      : 72.9 MiB (3%)
Language                         : English
Encoded date                     : UTC 2010-07-11 01:50:23
Tagged date                      : UTC 2010-07-11 06:05:54

Audio #2
ID                               : 3
Format                           : AC-3
Format/Info                      : Audio Coding 3
Codec ID                         : ac-3
Duration                         : 1h 1mn
Bit rate mode                    : Constant
Bit rate                         : 384 Kbps
Channel(s)                       : 5 channels
Channel positions                : Front: L C R, Side: L R
Sampling rate                    : 48.0 KHz
Resolution                       : 16 bits
Stream size                      : 170 MiB (8%)
Language                         : English
Encoded date                     : UTC 2010-07-11 01:50:23
Tagged date                      : UTC 2010-07-11 06:05:54

edit: it did eventually show the same problem; but after about 40 minutes of play, during which there were a few short moments where it also showed the problem; but eventually the video went go-slow and stayed that way just like the others.
(This post was last modified: 2010-07-15 23:25 by Rachel.)
find
pecinko Online
Donor
Posts: 3,761
Joined: Dec 2008
Reputation: 51
Location: Prague / Belgrade
Post: #56
Looks like I'll have to delay buying new mini for a while..

My skins:

Amber
Quartz

find
D-tyme Offline
Senior Member
Posts: 267
Joined: Jan 2010
Reputation: 0
Post: #57
Great Report...

I'm currently ripping Book of Eli (vc-1 :sadSmile and Brooklyn's Finest. I have a couple of more things I want to try out. One being, MP4Box-ing the h.264 stream + AC3 + Sub + Chapters to a .m4v and setup XBMC to use Quicktime for .m4v files. If I can pull that off, QT should use hardware acceleration native.
find
RckStr Offline
Senior Member
Posts: 172
Joined: Dec 2009
Reputation: 0
Post: #58
Well I just bought two new minis and haven't encountered any problems yet so I wouldn't hold it off because a few ppl have trouble with home encodes.
find
D-tyme Offline
Senior Member
Posts: 267
Joined: Jan 2010
Reputation: 0
Post: #59
RckStr Wrote:Well I just bought two new minis and haven't encountered any problems yet so I wouldn't hold it off because a few ppl have trouble with home encodes.

I wouldn't consider our "sources" as home encodes.
find
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,478
Joined: Feb 2008
Reputation: 64
Post: #60
Spend a few hours testing VDADecoder with 2.4GHz Al MacBook (10.6.4) with nvidia 9400M hooked up to a real 1080p HDTV via displayport -> DVI -> HDMI. Worked like a champ. It seems this issue is related to the nvidia 320M chipset.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find
Thread Closed