Hi,
I build my HTPC especially for playing highdef content on my FullHD display. While playing a 720p h264 mkv file is no problem, 1080p does hardly work if the bitrate goes above ~8mbit. I tried it with XBMC, mplayer and vlc, nothing worked so far.
I did a little researche in the ubuntu forum and found this:
http://ubuntuforums.org/showthread.php?t=629701
It describes how to disable the loopback (filter?) to gain a speedup in decoding h264. (Of course you will lose some quality)
I tried it with the mplayer and it works. Now, is there a possibility to use these parameters in xbmc for decoding 1080p h264 content? I added the parameters to the mplayer.conf file, but they did not have any effect.
My system:
Athon64 X2 5000
Abit AN-M2HD
Onboard Geforce 7050
Jack
GUI setting option to disable inloop deblocking (skip loop filter) for H.264 content?
jack83
Junior Member Posts: 25 Joined: Mar 2008 Reputation: 0 Location: Germany |
|
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2008-04-12 23:45
Post: #2
XBMC for linux doesn't use mplayer.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
Gamester17
Team-XBMC Forum Moderator Joined: Sep 2003 Reputation: 9 Location: Sweden |
2008-04-13 00:38
Post: #3
...and I think you mean "inloop" (or "in-loop") filter, not "loopback" filter.
XBMC for Linux uses XBMC's own in-house developed video-player that we call "DVDPlayer" that is based on FFmpeg. PS! FYI; Elan tested disabling "inloop" filtering for FFmpeg inside DVDPlayer in XBMC for Mac OS X and it did not yeild much speed gain (only one frame per socond or so IIRC). Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
jack83
Junior Member Posts: 25 Joined: Mar 2008 Reputation: 0 Location: Germany |
2008-04-13 04:52
Post: #4
jmarshall Wrote:XBMC for linux doesn't use mplayer.That explains why mplayer.conf is not working @Gamester17 you are right, its called inloop. I don't know where I read "loopback". The available FFmpeg options for this are called: "skiploopfilter=none" "skiploopfilter=bidir" "skiploopfilter=nonref "skiploopfilter=all" I just checkt XBMC's DVDPlayer source code myself, the option is already in there but commented out. It says that the option has nearly no impact on the performance cause of the multi-threading patch that XBMC uses ;( It seems that I have to wait for a big ffmpeg update.
(This post was last modified: 2008-12-27 16:52 by Gamester17.)
|
| find quote |
mpw222
Senior Member Posts: 117 Joined: Mar 2008 Reputation: 0 |
2008-04-13 06:24
Post: #5
I can't play all 1080p content on a Core 2 Duo@2.2Ghz which is probably a bit (~5%) faster than the x2 5000: http://www23.tomshardware.com/cpu_2007.h...&chart=431 shows a 2.13GHz Core 2 Duo basically even with an x2 5000.
I'd be interested to hear if you manage to improve performance, but as far as I know, your CPU may not be fast enough. |
| find quote |
JPSiemer
Senior Member Posts: 128 Joined: May 2008 Reputation: 1 |
I recently discovered that adding lavdopts=skiploopfilter=bidir, or lavdopts=skiploopfilter=all, or lavdopts=skiploopfilter=nonref to the mplayer.conf file turns off different deblocking modes in MPlayer.
My question is: does this affect all codecs or are there only certain ones that this affects? Ideally I would like to have this setting only affect H.264 playback, and all other video playback be unaffected... Also, is there any way we can get this added to the GUI, so the setting can be changed very quickly? This setting drastically improves the playback of H.264 files encoded with the deblocking filter with various changes in quality. the "bidir" setting seems to look the best, while still reducing dropped frames by more than 50%!!! If the file has no deblocking, then it is more likely it will playback better, with no reduced quality. If this were a GUI setting... Skip Deblocking: + None (Default) + BiDir + NonRef + All (BiDir + NonRef) Easy as that... half the H.264 playback issues solved with a simple little setting provided conveniently to the user! Let's push this! |
| find quote |
kraqh3d
Retired Developer Joined: Dec 2003 Reputation: 4 Location: New York City, USA |
2008-06-09 15:26
Post: #7
I think you meant "lavcopts"
![]() But, to answer your question, I'm pretty sure this will affect everything that's decoded using libavcodec (which is a part of ffmpeg.) http://www.mplayerhq.hu/DOCS/HTML/en/men...codec.html **edit** For MPlayer (in XBMC for Xbox) you can create conf files that are used for specific files. If you have moviename.avi, xbmc will look for moviename.avi.conf. Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2008-12-27 17:02 by Gamester17.)
|
| find quote |
JPSiemer
Senior Member Posts: 128 Joined: May 2008 Reputation: 1 |
2008-06-09 18:30
Post: #8
I'm pretty sure I meant "lavdopts", just like the thread title... IDK... maybe they both do the same thing, but a Google search of "lavdopts" yields 450 results, and "lavcopts" only yields 4.
.conf files for each movie is a little overboard IMO. There's no way to only have this turned on during H.264 playback? I'm sure there's a way -- anything is possible! |
| find quote |
Gamester17
Team-XBMC Forum Moderator Joined: Sep 2003 Reputation: 9 Location: Sweden |
2008-06-09 19:04
Post: #9
FYI; the "skiploopfilter" option (to disable in-loop deblocking) has been discussed before here:
http://forum.xbmc.org/showthread.php?tid=23969 and here: http://forum.xbmc.org/showthread.php?tid=32572 and here: http://forum.xbmc.org/showthread.php?tid=27243 PS! IIRC skiploopfilter currenly only affects H.264 decoding in MPlayer/FFmpeg but check mplayerhq.hu and ffmpeg.org to confirm (e-mail their user-list, not the development-list) Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
kraqh3d
Retired Developer Joined: Dec 2003 Reputation: 4 Location: New York City, USA |
2008-06-09 19:36
Post: #10
Apologies. I originally thought that was a typo as I'd never seen it before. A little research shows the lavdopts are just additional libavcodec debugging parameters. According to the man page, this parameter only applies to H264.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)

Search
Help