Perl 6 - the future is here, just unevenly distributed

IRC log for #openframeworks, 2015-01-12

| Channels | #openframeworks index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:49 kylemcd joined #openframeworks
01:09 dantheman joined #openframeworks
01:56 kritzikratzi joined #openframeworks
02:52 ar_tama joined #openframeworks
03:13 w4ffles joined #openframeworks
03:28 dantheman haha jvcleave word
03:37 dantheman left #openframeworks
04:53 reqshark joined #openframeworks
07:16 billautomata joined #openframeworks
07:38 bilderbuchi joined #openframeworks
08:09 mhashmi joined #openframeworks
08:45 bilderbuchi left #openframeworks
08:57 ar_tama joined #openframeworks
10:06 ofzach joined #openframeworks
10:43 barzi joined #openframeworks
10:50 barzi joined #openframeworks
11:20 mhashmi joined #openframeworks
11:56 mhashmi_ joined #openframeworks
13:01 oneironaut joined #openframeworks
14:24 w4ffles joined #openframeworks
14:29 dantheman joined #openframeworks
15:07 dantheman left #openframeworks
15:08 dantheman joined #openframeworks
15:18 fuerstP joined #openframeworks
15:25 reqshark joined #openframeworks
15:33 dantheman joined #openframeworks
15:57 w4ffles joined #openframeworks
16:26 vade joined #openframeworks
16:27 vade hey @dantheman you make any progress with the HLS stuff? I had other shit to tend to. I can play the file but I cant get OF to display the frames, but I AM vending frames
16:27 dantheman nope
16:27 vade something stupid deep in ofTexture and the renderer
16:27 vade I can hear the audio
16:27 dantheman oh cool
16:27 vade want me to push my branch to see the diffs?
16:27 vade I mean, its not PR material but
16:27 dantheman I just saw that someone added in parsing to handle is
16:27 dantheman so I was testing it
16:27 dantheman and tried to fix it
16:28 vade I saw the rtsp:// URL sceme
16:28 dantheman but cool push what you have to a branch so I can check it out
16:28 dantheman yeah
16:28 vade that strikes me as very very very  niave
16:28 vade you should check file URLs and then send everything else to normal URLs
16:28 dantheman I wonder if a transport stream would just work
16:28 dantheman rather than a m3u8 playlist
16:28 vade otherwise if you dont spec the protocol you assume file
16:28 dantheman ahh
16:28 dantheman ok
16:29 vade yea its well intentioned but easily broken if you do anything not already thought of
16:29 vade I didnt fix that in my branch because yea
16:39 neue_ joined #openframeworks
16:44 dantheman word
16:49 vade a;lskdfj
16:49 w4ffles joined #openframeworks
16:51 dantheman joined #openframeworks
16:51 dantheman thanks vade
16:51 dantheman had to reboot
16:51 vade no worries
16:52 vade you prob have a better idea about the OF internals wrt to that issue
16:52 vade it plays now, but I get no video
16:52 vade I imagine its something fucking stupid
16:52 * vade shrug
17:02 barzi joined #openframeworks
17:08 dantheman vade: word
17:08 dantheman when I have time I'll peek
17:09 dantheman I'm busy on a Rpi project
17:09 dantheman that isn't working correctly
17:09 barzi joined #openframeworks
17:09 dantheman cause you know
17:09 dantheman embedded development
17:09 dantheman embedded developers are masochists
17:11 vade :D
17:11 vade what are you working on with RPI?
17:11 vade Im curious because ive continued to fiddle with my Pi a bit. Im amazed at how… fucking annoying everything is all the time on that platform.
17:29 DrCode joined #openframeworks
17:30 barzi joined #openframeworks
17:37 dantheman joined #openframeworks
17:41 pizthewiz joined #openframeworks
17:53 dantheman vade: something for Jamie Z
17:53 dantheman just video playback
17:53 dantheman but synced sort of
17:53 dantheman I haven't touched the pi in a while
17:53 dantheman vade: but yeah
17:53 dantheman was trying to use the PiTFT
17:54 dantheman but its annoyingly slow
17:54 dantheman and difficult to use
17:55 dantheman http://www.adafruit.com/products/1601
17:55 dantheman this sucker
17:55 dantheman vade: ^^
17:55 vade Ah Ive been using :
17:56 vade https://www.adafruit.com/products/2260
17:56 vade its super nice.
17:56 dantheman yeah
17:56 dantheman looks like it
17:56 dantheman we're switching to something else
17:57 dantheman the rca video ones
17:57 vade Ah
17:57 dantheman no touch
17:57 vade cool
17:57 dantheman yeah
17:57 dantheman the PiTFT is just tooooo slow
17:57 dantheman and wonky
18:00 vade Its crazy, a lot of shit on the Pi is super slow, at it really shouldnt be.
18:00 vade I dont know if its the libraries or what but
18:00 vade even 8Mhz SPI via Python cant drive an OLED at > 15 fps
18:00 vade 128x64 pixels
18:00 vade THATS INSANELY FUCKING SLOW
18:06 barzi joined #openframeworks
18:12 w4ffles joined #openframeworks
18:18 pizthewiz Yeah, the frame buffer copying required on some of the displays is a real bummer
18:19 Beliq joined #openframeworks
18:20 pizthewiz I think we ended up using this one for a project, minus the enclosure: https://www.adafruit.com/products/946
18:34 w4ffles joined #openframeworks
18:36 pizthewiz joined #openframeworks
18:46 _pizthewiz joined #openframeworks
18:48 _pizthewiz joined #openframeworks
18:49 barzi joined #openframeworks
18:52 kylemcd joined #openframeworks
18:53 kylemcd left #openframeworks
19:01 w4ffles joined #openframeworks
19:13 w4ffles joined #openframeworks
19:14 dantheman jvcleave: you around?
19:14 jvcleave yessir
19:14 dantheman you can't set the position in OMXPlayer can you
19:14 dantheman like I can say start at foobar time
19:15 jvcleave should be able to - texture or non texture?
19:15 dantheman oh
19:15 dantheman ok
19:16 dantheman I don't see a call to setPostion
19:16 jvcleave well in texture  you have the texture - you can do whatever
19:16 dantheman right
19:16 dantheman I mean
19:16 jvcleave non-texture i just added this
19:16 jvcleave https://github.com/jvcleave/ofxOMXPlayer/blob/master/example-displayrect/src/ofApp.cpp
19:17 dantheman video.setPosition(TIME)
19:17 jvcleave oh - you mean time position
19:17 dantheman yes
19:17 jvcleave it doesn’t work that well
19:17 dantheman ok
19:18 jvcleave the regular omxplayer kinda does it by basically reloading the movie with a specific start time
19:19 dantheman right
19:19 dantheman that's all I need
19:19 jvcleave (and internally rebuilding the engine)
19:19 jvcleave but it is pretty slow
19:19 jvcleave and inaccurate
19:19 dantheman enn that doesn't matter this is art
19:19 dantheman haha
19:19 dantheman I just need to be able to loop sections
19:19 dantheman of video
19:20 dantheman I don't care how accurate it is down to the MS just like ok this looped the first 10mins
19:20 jvcleave best best is to cut up the video
19:21 dantheman https://github.com/jvcleave/ofxOMXPlayer/blob/master/src/ofxOMXPlayerEngine.cpp#L21
19:21 dantheman yeah jvcleave can't do that cause the videos are dymanic
19:21 dantheman dynamic*
19:21 dantheman so I should get make that editable?
19:22 jvcleave you can try it but there is a bunch of other operations that may effect
19:22 jvcleave flushing streams, etc
19:22 dantheman k
19:23 dantheman k
19:24 dantheman basically just omxplayer --pos N
19:24 dantheman I wonder what it does internally
19:25 jvcleave it starts the file at that point if libav says it can
19:26 jvcleave if an exisiting movie is play (and you call jump to position) it destroys the internals and basically relaunch the player with the start time
19:27 jvcleave the cleanup of that is what is tricky
19:27 dantheman lol
19:27 jvcleave you have the clock and all the existing packets to deal with as well as the omx components
19:27 dantheman jvcleave omx just seeks at startup
19:27 dantheman to that pos
19:30 dantheman https://github.com/huceke/omxplayer/blob/dae98a8bba9dc7410b0621134f6ebdb406adb1bd/omxplayer.cpp#L779
19:30 dantheman see
19:31 jvcleave yeah - that’s on start
19:31 jvcleave if you do it on an already playing movie it does this
19:31 jvcleave https://github.com/popcornmix/omxplayer/blob/master/omxplayer.cpp#L1488
19:36 barzi_ joined #openframeworks
19:37 barzi left #openframeworks
19:38 pizthewiz joined #openframeworks
19:40 halfdanj joined #openframeworks
19:56 _pizthewiz joined #openframeworks
19:58 pizthewi_ joined #openframeworks
20:05 vade dear god thats ugly
20:05 vade you cant just flush the pipeline and seek to the nearest GOP beginning frame near the time?
20:06 vade AVFoundation has a tolerance factor and will do a decode of all the frames it needs to should you specify a 0 tolerance so you land on the exact frame you want.
20:06 vade its more expensive, but 100% accurate if you init your asset with PrefersPreciseTime
20:07 jvcleave i’ve tried a bunch of things - it has either broken other functionality, been really slow or turned everything into glitch art
20:07 vade thats such a shame
20:08 jvcleave too many black boxes
20:08 dantheman haha
20:08 dantheman jvcleave:
20:08 dantheman setting the seek time
20:08 dantheman waits until the clock get there lol
20:08 dantheman or something
20:08 vade you said it. too many black boxes.
20:08 vade http://www.youtube.com/watch?v=GutJf9umD9c
20:08 dantheman the frame just sits until the time reaches it
20:12 jvcleave so much stuff relies on libav/ffmpeg nowadays - probably needs to be rewritten
20:14 jvcleave I’m in the same camp - I have no idea how to look at a file and figure out how to map a timestamp from a file read
20:16 vade I wish we could install iOS on RPI
20:16 * vade sighs
20:17 dantheman haha
20:17 vade :P
20:17 dantheman vade: just slap android on it
20:17 vade fuuuuccckkkkkk that
20:17 * dantheman runs and hides
20:17 jvcleave i tried a youtube RTSP stream and suprised it still worked with ofxOMXPlayer
20:17 dantheman haha
20:17 dantheman jvcleave: cause ffmpeg will play anything
20:18 jvcleave also I didn’t know you can get RTSP from any youtube video
20:34 pizthewiz joined #openframeworks
20:39 jvcleave I am kinda at a stand still with updating 0.9 for the RPi - I’ll see if I can getting seeking to work
20:44 davidnunez joined #openframeworks
20:44 vade joined #openframeworks
20:50 barzi joined #openframeworks
20:51 bigpet joined #openframeworks
20:56 _pizthewiz joined #openframeworks
21:17 pizthewiz joined #openframeworks
21:29 sebllll joined #openframeworks
21:30 barzi left #openframeworks
21:31 GuidovanPossum joined #openframeworks
21:32 pizthewiz joined #openframeworks
21:33 barzi joined #openframeworks
21:43 micr0 joined #openframeworks
21:55 dantheman jvcleave: push what you have?
21:55 dantheman jvcleave: yah you can
21:56 dantheman http://gdata.youtube.com/feeds/api/videos/{video-id}
21:57 dantheman http://dss.macosforge.org/ :D
21:57 dantheman jvcleave: ^^
21:57 jvcleave haven’t seen that in a while - i thought that was dead for years
21:57 pizthewiz joined #openframeworks
22:01 jvcleave push what I have seeking wise? nothing to push really
22:03 kylemcd joined #openframeworks
22:03 kylemcd left #openframeworks
22:07 micr0 joined #openframeworks
22:10 billautomata joined #openframeworks
22:11 micr0 joined #openframeworks
22:19 dantheman jvcleave: ok
22:25 dantheman lol
22:25 dantheman haha this is awesome jvcleave
22:25 dantheman rtsp just working on the pi
22:31 dantheman left #openframeworks
23:05 fuerstP joined #openframeworks
23:16 vade joined #openframeworks
23:23 billautomata joined #openframeworks
23:23 w4ffles joined #openframeworks
23:24 dantheman joined #openframeworks
23:30 pizthewiz joined #openframeworks
23:44 vade joined #openframeworks
23:49 billautomata joined #openframeworks
23:50 _pizthewiz joined #openframeworks
23:51 billautomata joined #openframeworks

| Channels | #openframeworks index | Today | | Search | Google Search | Plain-Text | summary