XBMC Community Forum
ATV2 and XBMC bufferring - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: iOS support (/forumdisplay.php?fid=137)
+---- Thread: ATV2 and XBMC bufferring (/showthread.php?tid=93514)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29


- papampi - 2011-10-19 23:41

What r yr audio setup?


- g-off - 2011-10-20 00:03

psimondo Wrote:I am running nightly xbmc-20111015-56d8d46-master-atv2.

Everything is pretty great, except for MKV playback. I only have 720p MKV files in my library (no 1080p). Some MKVs play absolutely perfectly. But others, (even 420p SD) stutter like crazy. I don't think it's the bitrate of the files as some high bitrate files play fine while some SD, low bitrate files don't.

MKV handling just seems flaky.

If any devs would like logs I can post some or links to files that have issues?

There is nothing flaky with mkv support - just with the content in them.
If you want to play hd files, make sure they are encoded in h264/AVC/MPEG4 part 10.
Post logfiles or mediainfo for the files you have problems with.


- Nasp - 2011-10-20 15:39

uomiarz Wrote:According to information here:
http://blog.firecore.com/4144

there is no difference in seas0npass and greenpois0n.
I believe this is the website for actual seas0npass developers.
So it is kind of strange that it worked for you but definitely worth trying.


What seems to fix my buffering issues with ATV2 was setting up samba server correctly. It was mention by RaginBajin few post above where he talks about setting opportunistic locks. I added two lines to my samba config file
Code:
kernel oplocks = No
oplocks = No
and did not see usual buffering since.
I definitely need to do more testing.



Works for me too! Smile

On my unRaid Server, i edited the smb-extra-conf with this two options, and works great now!!!


- kitus_san - 2011-10-23 19:59

kitus_san Wrote:Hi there,
Looking forward to his take on this then.

Thanks
Hello there,

davilla, can you possibly give some more details?

The log file I uploaded is still valid because I haven't modified a thing and playback is still choppy http://pastebin.com/pyFw7tcW

I'm adding the mediainfo output of the other movie that I have with same format:

Code:
General
ID                                       : 0 (0x0)
Complete name                            : 00002.m2ts
Format                                   : BDAV
Format/Info                              : Blu-ray Video
File size                                : 27.7 GiB
Duration                                 : 1h 48mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 36.4 Mbps
Maximum Overall bit rate                 : 48.0 Mbps

Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : 27
Duration                                 : 1h 48mn
Bit rate mode                            : Variable
Bit rate                                 : 29.8 Mbps
Maximum bit rate                         : 35.0 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 fps
Standard                                 : NTSC
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.599
Stream size                              : 22.6 GiB (82%)
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                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Format profile                           : MA / Core
Muxing mode                              : Stream extension
Codec ID                                 : 134
Duration                                 : 1h 48mn
Bit rate mode                            : Variable
Bit rate                                 : 2 017 Kbps / 1 510 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossless / Lossy

Audio #2
ID                                       : 4353 (0x1101)
Menu ID                                  : 1 (0x1)
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Format profile                           : MA / Core
Muxing mode                              : Stream extension
Codec ID                                 : 134
Duration                                 : 1h 48mn
Bit rate mode                            : Variable
Bit rate                                 : 1 561 Kbps / 1 510 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossless / Lossy

Audio #3
ID                                       : 4354 (0x1102)
Menu ID                                  : 1 (0x1)
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Format profile                           : MA / Core
Muxing mode                              : Stream extension
Codec ID                                 : 134
Duration                                 : 1h 48mn
Bit rate mode                            : Variable
Bit rate                                 : 1 558 Kbps / 1 510 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossless / Lossy

both files present playback problems.

Regards


- davilla - 2011-10-23 20:24

@kitus_san, cut me a 50-100MB sample and dropbox it.


- themagicrat - 2011-11-02 15:00

Memphiz Wrote:The problem is. ATV2 is not able to hardware decode xvide mpeg4 (only h.264 is hardware decoded). Your file is something like 720p (with cut off black bars). The ATV2 CPU has not enough power for decoding this in software.

Xvid works on SD resolutions. Thats your problem. Use H.264 encoded videos if they are bigger then SD...

Not sure if I understand this correctly. Are you saying that any divx / xvid file that I have which is 720p will not play properly and ATV2?

I just purchased an ATV2 for use with XBMC, majority of my films, 300 or so are divx format. The thought of breaking out my dvds and starting over just isn't appealing to me.

If the above is true. Is there a fast way of converting my divx files to H.264 without losing any additional quality?


- Memphiz - 2011-11-02 15:23

themagicrat Wrote:Not sure if I understand this correctly. Are you saying that any divx / xvid file that I have which is 720p will not play properly and ATV2?

I just purchased an ATV2 for use with XBMC, majority of my films, 300 or so are divx format. The thought of breaking out my dvds and starting over just isn't appealing to me.

If the above is true. Is there a fast way of converting my divx files to H.264 without losing any additional quality?

Yes you are right. But do you have 300 xvid movies with 720p resolution? I doubt it. Xvid is good as long as it has not HD resolution ...


- themagicrat - 2011-11-02 15:31

Memphiz Wrote:Yes you are right. But do you have 300 xvid movies with 720p resolution? I doubt it. Xvid is good as long as it has not HD resolution ...

Hmm. I guess they are not all at 720p. I'll give you an example. My Lord of the Rings DVD (from box set) plays no problem. My copy of Nine (from) DVD does not. Is it possible that Nine was a bigger/better file than Lord of the Rings? Seems strange no?

C


- themagicrat - 2011-11-02 18:42

Sorry, one more thing. All of my divx files are from DVD rips from my library. Is it not impossible to have a 720p dvd rip. Don't DVDs max out at 420? If that is the case, is my above concern / problem, not valid?

Thanks again


- Memphiz - 2011-11-02 19:19

yep ... maybe interlacing is the problem then ...