[PATCH] Global AV delay support via advancedsettings.xml
negge
Fan Posts: 416 Joined: Dec 2010 Reputation: 5 Location: Finland |
2012-02-19 20:04
Post: #81
@DDDamian: have you seen this thread: http://forum.xbmc.org/showthread.php?tid=82896? I wonder if there's something similar going on. I guess I could try remuxing a file that lags to see if it makes it any better.
|
| find quote |
DDDamian
Team-XBMC Developer Joined: Sep 2011 Reputation: 252 Location: Canada |
2012-02-19 20:25
Post: #82
Hi negge - I do know some of the background to it, and the issues with the time stamps. It's part of the joy of so many rippers/muxers/recoders being out there that it's hit and miss as to whether the sync frames are correct.
If you have the patience to try remuxing some problematic files, please do. The more info on what works/what doesn't the better! System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer - Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System If I have been able to help feel free to add to my reputation +/- below - thanks! |
| find quote |
Hack_kid
Fan Posts: 567 Joined: Jan 2007 Reputation: 2 |
2012-02-19 22:27
Post: #83
dude its all files, trust me i have spend 100s of hours beating my head against the wall on this one, save the brain cells (and your walls) no other apps do it (some might on files thatactually do have a timestamp problem but not to the consisitanty of xbmc this patch totally fixes it it just has a small bug about clearing its settings from memory so if you use it for anything other then 250ms 24htz oos bug its pointless but.... hey it works
|
| find quote |
sebj
Senior Member Posts: 171 Joined: Nov 2008 Reputation: 0 |
2012-02-23 06:18
Post: #84
https://github.com/xbmc/xbmc/pull/713
New patch? Tried to apply this : https://github.com/xbmc/xbmc/pull/713.patch got a compile error Quote: APPLY PATCH: packages/mediacenter/xbmc/patches/xbmc-1fef727-002-av-delay.patch
(This post was last modified: 2012-02-23 07:48 by sebj.)
|
| find quote |
a11599
Team-XBMC Member Posts: 254 Joined: Sep 2010 Reputation: 2 Location: Budapest, Hungary |
2012-02-23 08:05
Post: #85
Try this one, this is a single patch of all the commits in that pull: http://pastebin.com/rxjDVyL3. Or you can also get this single diff here: https://github.com/xbmc/xbmc/pull/713.diff
Also make sure to change your advancedsettings as described in the pull before testing. No new functionality in this patch, just a refactor. But it is always nice to have test reports. My patches (source code) :: Windows installer builds These builds are unofficial! If you find a bug, make sure it is also present in a recent official build and you can reproduce it before filing a ticket.
(This post was last modified: 2012-02-23 08:07 by a11599.)
|
| find quote |
sebj
Senior Member Posts: 171 Joined: Nov 2008 Reputation: 0 |
2012-02-23 15:40
Post: #86
Ok, I'll test this, but it's still not compiling for either :
I'm using the patches in openelec and it's prerty easy I have to drop this in a file and it compiles, butit chokes. Trying to applythis directly on 1fef727 xbmc beta 3 main Anyways, adding .diff rather than .patch to the url gives this : APPLY PATCH: packages/mediacenter/xbmc/patches/xbmc-1fef727-002-av-delay.patch patching file xbmc/cores/VideoRenderers/RenderManager.cpp patching file xbmc/cores/VideoRenderers/RenderManager.h patching file xbmc/cores/dvdplayer/DVDPlayer.cpp Hunk #1 succeeded at 2424 (offset -9 lines). patching file xbmc/cores/dvdplayer/DVDPlayerVideo.cpp Hunk #1 succeeded at 1108 (offset -3 lines). patching file xbmc/settings/AdvancedSettings.cpp Hunk #1 FAILED at 540. Hunk #2 succeeded at 1046 (offset -3 lines). 1 out of 2 hunks FAILED -- saving rejects to file xbmc/settings/AdvancedSettings.cpp.rej patching file xbmc/settings/AdvancedSettings.h Hunk #3 succeeded at 313 (offset -1 lines). make: *** [release] Error 1 |
| find quote |
a11599
Team-XBMC Member Posts: 254 Joined: Sep 2010 Reputation: 2 Location: Budapest, Hungary |
2012-02-23 15:57
Post: #87
Something in mainline is conflicting with the diff. Maybe something was changed in between that does not allow the patch to be applied directly to current master. You can just insert the rejected part manually.
My patches (source code) :: Windows installer builds These builds are unofficial! If you find a bug, make sure it is also present in a recent official build and you can reproduce it before filing a ticket. |
| find quote |
sebj
Senior Member Posts: 171 Joined: Nov 2008 Reputation: 0 |
2012-02-23 17:29
Post: #88
You can't just insert the rejected part manually as far as I know it unpacks the source just runs the patches and aborts.
It's actually pretty slick and they've done a cool job of programming the build process. Is your branch that different from master? |
| find quote |
negge
Fan Posts: 416 Joined: Dec 2010 Reputation: 5 Location: Finland |
2012-02-24 12:32
Post: #89
I did some testing the other day but I haven't found anything by looking at the logs as to what is causing the delay on some files and not on some others. I also tried remuxing a video that was known to have issues with the newest mkvmerge but it had no effect.
What someone should try: 1. Find a video clip that has delay issues. 2. Try any of the following: * remux with different options in mkvmerge * remuxing to a different container (like AVI) * playing file without hardware acceleration (to rule out whether it's e.g. a VDPAU-specific issue) * anything There must be something that is causing this aside from the refresh rate change as I have a few videos which do not have any issues even though they play at 24fps.
(This post was last modified: 2012-02-24 12:36 by negge.)
|
| find quote |
sebj
Senior Member Posts: 171 Joined: Nov 2008 Reputation: 0 |
https://github.com/xbmc/xbmc/pull/713#is...nt-4162815
Quote:elupus merged commit 9a60f0c into xbmc:master from a11599:audiodelay 6 minutes ago Does this mean the feature has now hit eden?
|
| find quote |

Search
Help