Monday, October 27th, 2014, 01:33 UTC | ||
[01:33:21] | rmeden1 (rmeden1!~Robert@107-131-101-38.lightspeed.rcsntx.sbcglobal.net) has joined #mythtv | |
[01:34:46] | rmeden (rmeden!~Robert@107-131-101-38.lightspeed.rcsntx.sbcglobal.net) has quit (Ping timeout: 258 seconds) | |
[02:39:43] | jya: | peper03: the AudioFramework::buffer always aim to have at least 500ms of hardware buffer. |
[02:41:48] | jya: | any value over that is a bonus, another regression introduced with lvr patches by the look of it… maybe we should just revert the entire thing related to the visualiser.. too many problems |
[03:19:57] | aloril (aloril!~aloril@dsl-tkubrasgw2-50defd-78.dhcp.inet.fi) has quit (Remote host closed the connection) | |
[03:24:22] | arescorpio (arescorpio!~arescorpi@190.190.244.100) has quit (Quit: Leaving.) | |
[03:40:15] | peper03_ (peper03_!~peper03@mythtv/developer/peper03) has joined #mythtv | |
[03:44:05] | peper03 (peper03!~peper03@mythtv/developer/peper03) has quit (Ping timeout: 265 seconds) | |
[03:44:05] | peper03_ is now known as peper03 | |
[03:46:36] | gregL (gregL!~greg@cpe-74-76-121-109.nycap.res.rr.com) has quit (Ping timeout: 244 seconds) | |
[03:56:19] | espes__: | jya: might be of interest: https://github.com/espes/Slave-in-the-Magic-Mirror |
[03:56:57] | jya: | espes__: Apple has removed the check on FairPlay being supported? |
[03:57:17] | espes__: | no. I just implement airplay by emulating the code from airtunesd |
[03:57:19] | espes__: | fairplay* |
[03:57:34] | aloril (aloril!~aloril@dsl-tkubrasgw2-50defd-78.dhcp.inet.fi) has joined #mythtv | |
[03:57:36] | espes__: | (which is actually what all the commercial apps do aswell) |
[03:58:01] | jya: | that’s pretty much why I never implemented it… mirror only works if we report FairPlay in the bonjour announcement, and that breaks both audio (airtune) and video playback |
[03:58:44] | jya: | yeah, but AFAIK, none of them implemented airtunes. |
[03:59:08] | espes__: | is it different? mirroring audio goes over airtunes |
[03:59:15] | gregL (gregL!~greg@108.62.48.53) has joined #mythtv | |
[04:00:28] | jya: | see: you do : 'et': u'0,3', #supported encryption types |
[04:00:34] | jya: | the ‘3’ is FairPlay |
[04:00:40] | jya: | rather than ‘1’ which is RSA |
[04:00:57] | jya: | so unless you do support FairPlay, audio only will not work any longer |
[04:00:59] | espes__: | 'no' as in apple hasn't removed the check |
[04:01:09] | espes__: | like I said, I implement fairplay |
[04:01:20] | jya: | where did you get the key? |
[04:01:22] | espes__: | (by emulating code from airtunesd) |
[04:02:34] | espes__: | it doesn't use anything in-hardware |
[04:03:06] | jya: | well, you are using a key… |
[04:03:13] | jya: | and that won’t pass mythtv OSS requirements |
[04:03:30] | jya: | but very cool nonetheless |
[04:03:50] | jya: | been waiting to find someone who implemented fairplay for a while |
[04:03:55] | jya: | didn’t it had been hacked |
[04:04:01] | jya: | didn’t know that is |
[04:04:51] | espes__: | not hacked, just emulated :/ |
[04:05:07] | espes__: | I was looking at REing it but it's all retardedly obfuscated |
[04:05:31] | jya: | unless, I don’t read your code properly, you have embbeded a key in there |
[04:05:35] | espes__: | so how does mythtv provide the RSA private key? does it need it? |
[04:05:40] | jya: | that key has to got from somewhere |
[04:05:44] | jya: | it doesn't |
[04:06:03] | jya: | it checks if the user has created a particular file that contains a RSA key |
[04:06:16] | jya: | we only check if it’s a valid RSA key. |
[04:06:26] | jya: | myth source code contains no key whatsoever |
[04:06:31] | espes__: | sure |
[04:06:45] | espes__: | so the same could work with providing a copy of airtunesd :P |
[04:07:18] | jya: | does that work with a real iPhone or mac mirror? |
[04:07:24] | jya: | or only with airtunes client? |
[04:07:39] | espes__: | ? |
[04:07:40] | espes__: | like |
[04:07:41] | espes__: | https://github.com/espes/Slave-in-the-Magic-M . . . aster/drm.py |
[04:08:13] | espes__: | airtunesd is the airtunes daemon from appletvs, right |
[04:08:35] | jya: | well, goog work extracting that key nevertheless |
[04:08:48] | espes__: | no key extracted! |
[04:09:17] | espes__: | lterally just call the code from airtunesd to do the decryption |
[04:10:10] | jya: | what do you mean you call airtunesd to do the decryption? |
[04:10:52] | espes__: | https://github.com/espes/Slave-in-the-Magic-M . . . r/drm.py#L92 |
[04:11:11] | jya: | so your code only works on an ATV2 ? |
[04:11:35] | espes__: | no, there's an arm emulator |
[04:12:00] | jya: | and you run the original ATV binary image? |
[04:12:04] | espes__: | yeah |
[04:12:09] | jya: | that’s fancy ! |
[04:18:30] | jya: | espes__: wait.. you emulate the ATV AFP code in python? |
[04:18:36] | espes__: | yup :P |
[04:18:57] | jya: | and how did you get the ATV AFP code? |
[04:19:12] | jya: | surely, if you got that far, you could reimplement it all |
[04:19:15] | jya: | no need to emulate |
[04:19:24] | espes__: | it's really obfuscated |
[04:19:44] | jya: | this is insane ! |
[04:19:44] | espes__: | so you can easilly extract airtunesd from the ATV firmware |
[04:20:12] | espes__: | need the firmware decryption key rhough |
[04:20:23] | jya: | and how do you get that one? |
[04:21:14] | espes__: | https://ipsw.me/keys/AppleTV2,1/9A334v |
[04:21:16] | espes__: | :P |
[04:32:27] | andreaz (andreaz!~andre_000@p5DD14F38.dip0.t-ipconnect.de) has quit (Read error: Connection reset by peer) | |
[04:40:34] | fetzerch (fetzerch!~quassel@unaffiliated/fetzerch) has quit (Ping timeout: 250 seconds) | |
[05:20:04] | robink (robink!~quassel@unaffilated/robink) has quit (Ping timeout: 255 seconds) | |
[05:22:15] | robink (robink!~quassel@unaffilated/robink) has joined #mythtv | |
[06:36:50] | Roklobsta (Roklobsta!~Roklobsta@ppp118-209-100-197.lns20.mel4.internode.on.net) has joined #mythtv | |
[06:47:36] | dekarl1 (dekarl1!~dekarl@p4FCEF179.dip0.t-ipconnect.de) has joined #mythtv | |
[06:50:19] | dekarl (dekarl!~dekarl@p4FE84BA7.dip0.t-ipconnect.de) has quit (Ping timeout: 244 seconds) | |
[06:58:39] | SteveGoodey (SteveGoodey!~steve@host86-162-40-164.range86-162.btcentralplus.com) has joined #mythtv | |
[07:00:40] | dekarl1 is now known as dekarl | |
[07:08:34] | SteveGoodey (SteveGoodey!~steve@host86-162-40-164.range86-162.btcentralplus.com) has quit (Quit: Konversation terminated!) | |
[08:53:18] | brfransen (brfransen!~brfransen@24-197-128-95.dhcp.spbg.sc.charter.com) has quit (Ping timeout: 258 seconds) | |
[08:55:27] | brfransen (brfransen!~brfransen@24-197-128-95.dhcp.spbg.sc.charter.com) has joined #mythtv | |
[08:55:46] | joki- (joki-!~joki@p54860559.dip0.t-ipconnect.de) has quit (Ping timeout: 265 seconds) | |
[09:00:36] | joki- (joki-!~joki@p5486131D.dip0.t-ipconnect.de) has joined #mythtv | |
[09:07:02] | stuarta: | morning all |
[09:30:51] | fetzerch (fetzerch!~quassel@unaffiliated/fetzerch) has joined #mythtv | |
[09:32:10] | len_ (len_!~quassel@75-168-45-25.mpls.qwest.net) has quit (Read error: Connection reset by peer) | |
[09:40:10] | rsiebert_ (rsiebert_!~quassel@g225119084.adsl.alicedsl.de) has joined #mythtv | |
[09:42:53] | rsiebert (rsiebert!~quassel@g225158169.adsl.alicedsl.de) has quit (Ping timeout: 244 seconds) | |
[10:15:17] | Merlin83b (Merlin83b!~Daniel@office.34sp.com) has joined #mythtv | |
[10:33:51] | peper03: | jya: I'm not sure what other commits were made but determining the amount of audio data buffered based on time rather than bytes seems sensible to me. I know I've encountered situations in the past where many seconds of audio data were buffered (something like 8 or 10). |
[10:34:26] | jya: | 1s certainly seems like a reasonable amount |
[10:34:43] | peper03: | Apart from situations where the music is blaring out and you can't turn the volume down straight away, that's an awful lot of lag. |
[10:35:06] | jya: | well, that’s only true with software audio |
[10:35:14] | jya: | software volume I mean |
[10:35:42] | jya: | with a proper mixer wouldn’t matter how much we buffered |
[10:35:50] | peper03: | Of course. |
[10:36:58] | peper03: | But that's also why I wanted to check that lowering the maximum buffer size in time wouldn't break some setup I don't have or haven't thought about. |
[10:38:25] | jya: | i can’t think of any |
[10:38:36] | jya: | which at this time of day and with my current cold doesn’t mean much :) |
[10:39:38] | peper03: | Are there any big differences between LiveTV in master and 0.27 at the moment? I know you did quite a bit of work a while back but I'm not sure how much of it was backported. |
[10:40:23] | peper03: | From my testing over the weekend, it seemed like LiveTV was often playing just a fraction too close to the end of the file. |
[10:41:23] | peper03: | Not always but quite often. Pausing just for a fraction of a second usually seemed to be enough. |
[10:44:13] | peper03: | Admittedly, it's rare that I use LiveTV (usually only for some radio channels) but I would have thought others would have complained on the mailing list or forum if 0.27 had the same issues. |
[11:43:38] | Roklobsta (Roklobsta!~Roklobsta@ppp118-209-100-197.lns20.mel4.internode.on.net) has quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) | |
[11:47:57] | Warped (Warped!~Warped@108.85.160.119) has joined #mythtv | |
[11:57:48] | Seeker`: | peper03: it causes stuttering? I'm running quite close to the head of master and i'm not seeing any problems |
[12:09:39] | dekarl-work (dekarl-work!51c8c614@gateway/web/freenode/ip.81.200.198.20) has joined #mythtv | |
[12:13:58] | dekarl-work (dekarl-work!51c8c614@gateway/web/freenode/ip.81.200.198.20) has quit (Ping timeout: 246 seconds) | |
[12:35:14] | brfransen (brfransen!~brfransen@24-197-128-95.dhcp.spbg.sc.charter.com) has quit (Ping timeout: 245 seconds) | |
[12:36:34] | brfransen (brfransen!~brfransen@24-197-128-95.dhcp.spbg.sc.charter.com) has joined #mythtv | |
[12:42:12] | peper03: | Seeker`: Not always and if it does, it's only mild (of course, that's bad enough). I added some logging to RingBuffer::WaitForAvail to output when the ringbuffer stalls and it spits out quite a bit. It's not always associated with stuttering but it gives the impression that it's probably not far off. |
[12:43:39] | peper03: | Pausing playback briefly seems to fix it, which backs up my suspicion that we might be just a little bit too close to live. |
[12:49:50] | stuartm: | there's a balancing act between starting livetv and changing channel as fast as possible, but still having enough buffered to avoid starvation |
[12:51:38] | stuartm: | which is patently obvious |
[12:52:06] | stuartm: | in other news the Sky is blue, and apples fall from trees |
[12:54:20] | jheizer (jheizer!~jheizer@73.51.93.177) has joined #mythtv | |
[12:55:44] | ** stuarta repaints sky purple and hands stuartm a rainbow coloured apple ** | |
[12:59:46] | stuartm: | got to run, but I did have a more serious question to ask about how we decide that we've buffered enough to start playback |
[13:16:42] | peper03: | stuartm: I'm not entirely sure. I'm having a heck of a time working out how it all works. There is a variable 'secs_min' in RingBuffer::CalcReadAheadThresh that has the comment 'minimum seconds of buffering before allowing read'. |
[13:18:55] | peper03: | It's currently set to 0.3. I've tried increasing it but it doesn't always seem to have the expected effect. It seems like there's a difference between starting LiveTV and changing channels. I've bumped that value up to two or three seconds and still seen the OSD show that playback was barely more than a second behind live. |
[13:20:07] | Jordack (Jordack!~Jordack@75-151-31-172-Michigan.hfc.comcastbusiness.net) has joined #mythtv | |
[13:57:39] | gregL (gregL!~greg@108.62.48.53) has quit (Ping timeout: 255 seconds) | |
[14:14:15] | gregL (gregL!~greg@cpe-74-76-121-109.nycap.res.rr.com) has joined #mythtv | |
[15:08:54] | tgm4883: | If there is ever an argument for taking away tools from the users, it's this guy right here http://ubuntuforums.org/showthread.php?t=2248 . . . post13152502 |
[15:23:01] | jpharvey_ (jpharvey_!~jpharvey@host109-148-114-137.range109-148.btcentralplus.com) has joined #mythtv | |
[15:24:10] | stuarta: | that's extreme hacking. i admire the skill level required to do that |
[15:26:33] | jpharvey__ (jpharvey__!~jpharvey@host109-148-114-137.range109-148.btcentralplus.com) has quit (Ping timeout: 260 seconds) | |
[15:27:28] | Chutt__ is now known as Chutt | |
[15:28:20] | tgm4883: | stuarta: eh, perhaps. But it seems like taking a nuke to kill an ant to me |
[15:31:22] | stuarta: | there is only 1 upside to doing it that way, if the endpoint ever changes ip address, that method will continue to work |
[15:32:29] | jheizer: | That's dedication to not upgrading or building from source. |
[15:33:09] | stuarta: | yeah, 0.21? positively antique |
[15:41:51] | moparisthebest (moparisthebest!~quassel@gateway/tor-sasl/moparisthebest) has joined #mythtv | |
[16:12:37] | sheedy-away is now known as sheedy | |
[16:31:25] | andreaz (andreaz!~Andreaz@tmo-106-156.customers.d1-online.com) has joined #mythtv | |
[16:42:12] | dekarl-work (dekarl-work!51c8c678@gateway/web/freenode/ip.81.200.198.120) has joined #mythtv | |
[16:43:43] | dekarl-work: | anybody up for some custom recording rule examples? (record on any channel but x, y, z) https://forum.mythtv.org/viewtopic.php?f=9&t=427 maybe add it to https://www.mythtv.org/wiki/Custom_Recording too |
[16:57:24] | skd5aner (skd5aner!~skd5aner@114.sub-70-198-66.myvzw.com) has quit (Ping timeout: 244 seconds) | |
[17:08:52] | dekarl-work (dekarl-work!51c8c678@gateway/web/freenode/ip.81.200.198.120) has quit () | |
[17:12:45] | skd5aner (skd5aner!~skd5aner@21.sub-70-198-68.myvzw.com) has joined #mythtv | |
[17:25:55] | Seeker` (Seeker`!~cjo20@unaffiliated/seeker) has quit (Ping timeout: 255 seconds) | |
[17:32:20] | Seeker` (Seeker`!~cjo20@unaffiliated/seeker) has joined #mythtv | |
[17:46:44] | Jordack (Jordack!~Jordack@75-151-31-172-Michigan.hfc.comcastbusiness.net) has quit () | |
[18:00:20] | Merlin83b (Merlin83b!~Daniel@office.34sp.com) has quit (Quit: Leaving) | |
[18:16:08] | Warped (Warped!~Warped@108.85.160.119) has quit (Quit: ChatZilla 0.9.91 [Firefox 33.0.1/20141023194920]) | |
[18:32:55] | natanojl (natanojl!~jonatan@mythtv/developer/natanojl) has joined #mythtv | |
[19:05:24] | sheedy is now known as sheedy-away | |
[19:11:46] | andreaz (andreaz!~Andreaz@tmo-106-156.customers.d1-online.com) has quit (Read error: Connection reset by peer) | |
[19:28:21] | jpabq: | stuarta: are you able to set me up an account on mythtv.org? I need to tweak the theme packaging. |
[19:43:40] | tgm4883 (tgm4883!uid23806@ubuntu/member/tgm4883) has quit (Ping timeout: 272 seconds) | |
[19:45:33] | tgm4883 (tgm4883!uid23806@gateway/web/irccloud.com/x-sfvugejykygqstad) has joined #mythtv | |
[19:52:08] | len_ (len_!~quassel@75-168-45-25.mpls.qwest.net) has joined #mythtv | |
[19:59:02] | Roklobsta (Roklobsta!~Roklobsta@ppp118-209-100-197.lns20.mel4.internode.on.net) has joined #mythtv | |
[20:02:07] | MartinT (MartinT!~smuxi@46-18-104-220.static.vivaciti.org) has joined #mythtv | |
[20:02:32] | MartinT (MartinT!~smuxi@46-18-104-220.static.vivaciti.org) has quit (Remote host closed the connection) | |
[20:26:23] | Roklobsta (Roklobsta!~Roklobsta@ppp118-209-100-197.lns20.mel4.internode.on.net) has quit (Quit: Changing server...) | |
[20:27:02] | Roklobsta (Roklobsta!~Roklobsta@ppp118-209-100-197.lns20.mel4.internode.on.net) has joined #mythtv | |
[20:34:24] | stuartm: | jpabq: sorry, I meant to redirect you to stuarta last night |
[20:34:56] | jpabq: | NP. After thinking about it, I realized he was the right person to ping. |
[20:36:02] | stuartm: | I've got the perms, but he's the expert |
[20:37:31] | jpabq: | I figured that was the case. |
[20:46:17] | andreaz (andreaz!~andre_000@p5DD14F38.dip0.t-ipconnect.de) has joined #mythtv | |
[21:29:54] | Roklobsta (Roklobsta!~Roklobsta@ppp118-209-100-197.lns20.mel4.internode.on.net) has quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) | |
[22:02:42] | gregL (gregL!~greg@cpe-74-76-121-109.nycap.res.rr.com) has quit (Ping timeout: 265 seconds) | |
[22:16:00] | gregL (gregL!~greg@cpe-74-76-121-109.nycap.res.rr.com) has joined #mythtv | |
[22:21:01] | sheedy-away is now known as sheedy | |
[22:57:38] | gregL (gregL!~greg@cpe-74-76-121-109.nycap.res.rr.com) has quit (Ping timeout: 255 seconds) | |
[23:20:59] | andreaz (andreaz!~andre_000@p5DD14F38.dip0.t-ipconnect.de) has quit (Read error: Connection reset by peer) | |
[23:21:05] | gregL (gregL!~greg@173.234.157.213) has joined #mythtv | |
[23:29:31] | natanojl (natanojl!~jonatan@mythtv/developer/natanojl) has quit (Ping timeout: 255 seconds) | |
[23:30:26] | tris (tris!tristan@2001:1868:a00a::4) has joined #mythtv |
IRC Logs collected by
BeirdoBot.
Please use the above link to report any bugs.