09:26Started talking in webapps on Wednesday 25/04/2007 09:26:50 AM
Room topic is: Web applications | The chat about the <video> element is TODAY! \o/. Details at http://my.opera.com/WebApplications/blog/show.dml/943945
10:49-> thomfo has joined webapps
-> babox has joined webapps
10:50aleksanteri\o/ host is here
10:51Remco
-> EspenAO has joined webapps
<- babox has left webapps
-> babox has joined webapps
EspenAOHello all
RemcoMore Opera people
10:52aleksanterihey babox
baboxhi aleksanteri
andyoOpera for president!
profitOf what?..
10:53RemcoEverything of course
10:54profitOpera that has taken over the world... Dreams, dreams..
aleksanterilol
nicomenbetter than nightmares
aleksanteriwoo 5 minutes to go
10:55profitNighmare for MS ..
nicomen sets user mode +o: thomfo is now a room operator
nicomen sets user mode +o: EspenAO is now a room operator
aleksanteri5 minutes is too much
10:56Gautam sets user mode +o: olli is now a room operator
10:57Aux<:
AuxI made a mess of my friend in Q3
10:58Auxso now I can talk (:
-> howcome has joined webapps
10:59ReWizjust another post about Opera-video: http://my.opera.com/ResearchWizard/blog/experimental-opera-video-build-with-native-ogg-theora-support
-> GothicWizard has joined webapps
aleksanteriwelcome Håkon
silaha, the man of the hour arrives.
<- profit has disconnected (Ping timeout)
howcomeSo, we all agree then, video is important?
aleksanteriyep
andyo
11:00silyes.
howcomeGood!
Auxand we need slider to move video forward and backward (:
-> Guille has joined webapps
howcomere. slider, yes. Should it be one of the basic widgets that you can get withoug porgramming JavaScript?
11:01silI'd say to not embed a slider, because then it's more difficult to theme later, personally.
andyoI agree
aleksanteriyeah me too
11:02silAlthough the big problem here is getting everyone to agree on a format, as per our huge discussion on the whatwg list
howcomeThe spec currently states: "User agents may provide controls to affect playback of the media resource (e.g. play, pause, seeking, and volume controls),..."
silhowcome: I thought "may" was a weird thing to say there, because that means that a site designer can't know whether the browser's already provided controls or whether she has to do it herself
ReWizThe slider shout either be basic or with simple (predefined) JS.
11:03howcomeRe format: yes, that's the probem.
aleksanteri pokes nicomen
Auxooh!
Auxattributes!
-> runeh has joined webapps
aleksanterihello runeh
ChanServ sets user mode +o: runeh is now a room operator
ChanServ sets user mode +a runeh
Aux<video type="video" src="movie.ogg" />
<- runeh has left webapps
Aux<video type="play_button" />
-> runeh has joined webapps
ChanServ sets user mode +o: runeh is now a room operator
ChanServ sets user mode +a runeh
Auxand so on
Auxand CSS will help us!
11:04Aux<video type="slider_bar"><video type="slider" /></video> (:
Auxsomething like that
howcomeCSS is part of the picture. One of the reasons why I want a new <video> tag instead of <object> is that I'd like to say: video { display: none }
11:05silAux: then it's not a <video> element, though; it's a whole series of <video> elements each of which provides a different widget, at which point you're surely just reinventing HTML5.
aleksanteri<input type="range">
Auxinput maybe (:
aleksanteri/> *
Auxor <videocontrol type="blabla" />
<- Kleevah has disconnected (Ping timeout)
howcomeWhat to people think of Ogg Theora? Have you used it?
-> profit has joined webapps
Aux<videocontrol type="foo" for="bar" />
Auxjust like <label>
aleksanteriyeah that'd work too
aleksanterihowcome: i'd say no
-> Kleevah has joined webapps
11:06howcomeNO?
AuxNO!
silOgg's good for on-the-web video, reasonably sized, and most importantly *can* be implemented anywhere (Apple's concerns about submarine patents not withstanding)
aleksanterihm
Auxvideo should be ALLWAYS full screen
AuxALWAYS porn
Orcinusobject[type^="video"] { display: none; }
Auxand nonskipable
Aux(:
aleksanteriAux: what about all those coolio documentatiories? =( (ok i admit i don't watch documentatiories on the web)
11:07howcome
Orcinus: your solution depen on people remembering the attribute -- often they don't
Auxme too
silThere isn't an equivalent format that could even theoretically go into all browsers, which means that if we "let the market decide" we'll end up with mp4 or wmv and some people will be left out in the cold.
Orcinushowcome: that's not really an excuse
aleksanterihmmm on that point ogg should be put
Auxhmmm...
ReWizhowcome: With my tests of Opera-video I experienced some performance issues with Ogg Theora
Auxsince everyone is just crazy about XML then why not make XML-based video?
11:08howcomeOrincus, you mean real world experiece shouldn't be taken into account
Auxwith binary stream encoded as HTML entities (:
OrcinusThe fact that people still like to code HTML and CSS by hand is something the original authors of the specs did not expect. These things were meant to be easy for a program to create based on user's desires.
RemcoReWiz: I've seen that here too, I couldn't even play the abba video without it being choppy
howcomeReWiz: people have reported performance issues, but our developers don't agree. Could you elaborate?
11:09Remco100% does the trick here
Remco*CPU
ReWizhowcome: uses pretty high CPU, even with being not fullscreen
howcomeOrincus: you're right, TimBL thought we'd all be using high-levele editors. They don't, though.
aleksanteriyeah
andyohowcome: will there be a "video-build" for linux any time soon?
ReWizhowcome: I made some remarks about this in my post
Orcinushowcome: Creating new elements doesn't make that goal any easier
howcomeReWiz: have you compared it with VLC's CPU usage?
11:10howcomeReWiz, could you send the URL to your post?
Remcohttp://my.opera.com/ResearchWizard/blog/experimental-opera-video-build-with-native-ogg-theora-support
RemcoThat one
ReWizhowcome: Yes, while Opera was pretty bad VLC did a better job still using pretty high CPU
ReWizRemco: thanks
11:11howcomeandyo: I'd like to get a linux build out -- I've just installed Ununtu Feisty on the machine I'm typing this on...
andyo
howcomeRemco: great post!
11:12ReWizhowcome: thanks
howcomeAny views on Dirac?
profithowcome, Experimental video build of Opera used a huge SDL framwork for playing Ogg. Are you playing to implement codecs for Ogg (theora) of your own, or going to keep on with SDL ?
11:13silhowcome: pretty brave depending on something that ain't ready yet. GStreamer's got a reasonable implementation in Schroedinger, so there are implementations out there, but they haven't finished optimising it yet afaik?
andyohowcome: when, do you think, can we expect <video> in opera? v.10?
howcomeAlso, I'd like to discuss how we can get more Ogg content out there. It's great that Wikipedia has chosen it. When people can't see Wikipedia in their browser, they may reconsider.
11:14Auxkhm, we have a blog with short movies in Latvia
Kleevahhowcome: make a youtube ripoff...
Auxand we may use ogg
Auxright now it is FLV
andyoyes.. wikipedia will be perfect for this.. I personally love that they have ogg on their pages
Auxthe question is: is OGG smaller then FLV?
howcomeI leave it our implementors to decide which codes to use and how to wrap i up. I'm more interested in the markup and formats myself. It's a big enough job in itself
11:15ReWizOne small thing would be video-albums with my.opera.com
silhowcome: talk to YouTube is one way to do it, certainly. There's another video site (can't remember the name! begins in b!) which uses FLV but also makes theora available.
Auxnice idea ReWiz
Auxvideo blogging at my.opera.com - nice!
profitHmm, AFAIK SDL is OpenSource, and can have some limititationsd about using it in closed source (not sure)..
11:16silprofit: nope, SDL is LGPL licenced, so using it in closed source products is OK.
profitI thought that was the reason why you LGPLed that build..
profitAha.. See know.
howcomeandyo: Re: <video> in opera: we've been very clear that our support for <video> is experimental. Also, the spec has changed since we did our initial implementation. We'll continue talking to Mozilla and others to build support. I don't know when we will be shipping.
andyook
11:17Auxhowcome: will there be any possibility for some effects on video like CSS opacity and so on?
RemcoThe example already has that
11:18andyowow way cool
profit is much more interested about combining video with SVG..
silhowcome: difficult to know whether we need <video> support in browsers first or video out there to view. I'm inclined to say get support in browsers (at least somehow) first, so then sites using <video> can say "install XYZ to get these videos easily"
profitOr canvas, maybe..
howcomeWe have to be careful not to ship things until there is rough consensus. Otherwise, people could mistake us for being MS
sil laughs
andyohaha
11:19-> albertrosa has joined webapps
howcomeI can see the use of opacity. Anything else?
AuxOpera Corporation have taken over the world, everyone is obliged to watch OGG (:
Auxkhm, does OGG support semi-transparent areas?
Auxthat would bevery nice (:
11:20silclipping might be useful.
andyoskewing!
Auxbuilt-in photoshop?
Aux<:
profitSVG-filters!..
aleksanterihey albertrosa
aleksanteriyeah! SVG!!
olli<blink><video src="damer.ogg#></blink> would this work? hmm
-> Mitchman has joined webapps
11:21howcomeprofit: Yes, we are supporting video in SVG as well
Aux<marquee><video src="damer.ogg#></marquee> (:
Gautam sets user mode +o: Mitchman is now a room operator
Guillehowcome: are you planning to recommend a ogg format to the audio element too?
profit sees a whole new front for flashing, blinking and annoying ads here..
aleksanterihi Mitchman
olliprofit: yeah
aleksanteriGautam: you forgot the main one
Gautam sets user mode +o: howcome is now a room operator
andyoprofit: content-blocking ftw
Kleevahvorbis? are there others?
11:22silKleevah: flac.
howcomeGuille: the HTML5 spec says: User agents should support Ogg Theora video and Ogg Vorbis audio, as well as the Ogg container format.
Kleevahah
andyowould the audio and video be separate then?
-> Toman- has joined webapps
andyoI mean, could it be seperatly controlled?
howcomeYes, there is a separate audio element
11:23howcomehttp://www.whatwg.org/specs/web-apps/current-work/#video
Auxhowcome: I think that it would be nice to have some HTML attribute inside <video> to mark one frame which will be shown like a video previewimage on YouTube
howcomehttp://www.whatwg.org/specs/web-apps/current-work/#audio
aleksanteri<audio>, <video>, what's next?
silhowcome: if the user agent doesn't provide *configurable* widgets (like sliders, etc) then there barely is any markup, is there? Just a video element with a src and a type and that's it...
profit<smell> ?
aleksanterilol
Auxaleksanteri: <game> (:
Kleevah<4d>
aleksanteri that'd be too great
11:24aleksanteri<game> i mean
howcomeAux: that may be a good idea. Unless you specify the last frame
olliAux: thats canvas
Aux(:
aleksanterioh yeah forgot <canvas>
Aux<canvas> on top <video>?
Remcoolli: But still missing 3D support
olliRemco: for you yes
silah, yeah, the autoplay stuff etc in the spec, I forgot about that.
ReWizinstead of a selected frame to show a seperate image might do an even better job
Remcoolli: Yeah
nicomenaleksanteri: what?
-> aquarius has joined webapps
11:25aleksanterinicomen: a *bit* too late
andyohowcome: can the buffering be controlled with javascript?
silReWiz: it would, although then you have to think about how to specify it; it's not really fallback content, but it could be useful to use it as such.
<- aquarius has disconnected (Quit: leaving)
11:26profitI think buffering and other HW things should e transparent for browser and js..
ReWizsil: not as fallback, that has to be there additionally
howcomeandyo: you mean that the JS should specify how much buffer space should be allocated?
<- Zzoli has disconnected (Connection reset by peer)
andyoyes, and stop/start the buffering as pleased
11:27howcomewhy would you want to stop buffering?
andyothere's nothing worse than having to rebuffer in the middle of the movie
silReWiz: agreed, but: imagine that there's, say, a singleframe attribute that displays a frame for the video before it plays. You might well want that as fallback content for non-<video>-supporting browsers, which means that you'd have to do <video src="foo.ogg" singleframe="myvideo.png"><img src="myvideo.png"></video>, which seems a bit redundant
11:28andyohowcome: ok maybe not... but yeah setting the buffer size
howcomePerhaps your use case could be solved by giving JS access to how much has been buffered so that playing doesn't start too early?
andyoah that's a good solution
11:29silandyo: if you implement that sort of thing then it nails down the API a lot harder on what the "plugin" has to provide to the browser: Opera have baked Theora support in, but I can see MS implementing <video> using Media Player under the covers and just shipping Theora support. Opening up the API to JS is an impediment to getting it implemented, although that's not a showstopper.
Auxhowcome: I just read about video on whatwg and I think that title attribute is missing
ReWizhowcome: sounds like streaming will soon be supported (or does it work already?)
11:30silAux: title's supported on everything, isn't it? Doesn't <video> just "inherit" it?
howcomeaux: titles, yes we should hav titles -- make a comment!
aleksanteriyeah titles
RemcoReWiz: It was working, sort of... Opera's servers were the bottleneck
Auxhowcome: how and where?
11:31dantesoftvideo buffer control is a must. i hate the pages with flash clips.. when i see that one i'm not interested in, i want to save the bandwidth/CPU and go to the next
howcomeAux: in the whatwg mailing list
Auxhowcome: thx
howcomeit may be that title is allowed everywhere, htough, I'd have to check
aleksanterititles are a must too
11:32howcomedatnesoft: you're saying you don't want the browser to prefetch the video?
ReWizRemco: I found a different opinion: http://www.avencius.nl/?q=node/556
11:33dantesofthowcome: exactly. no prefetch. and ability to start buffering in mid-clip (jumping around a boring show) and ability to stop fetching.
silIs fallback content designed both for agents that don't support <video> at all *and* agents that do support it but have it "turned off" or the video file isn't found, so it works like alt?
dantesofti imagine a full page of those videos...
howcomedantesoft: stop fetching without stopping playing?
RemcoReWiz: The videos were still downloading here while I was watching them, so if that's not streaming...
11:34dantesofthowcome: yes.. i downloaded the content. i should see it if i want.
silerm? theora supports streaming.
andyothat would sort of disallow javascript to play and stop it
howcomesil: good question, this has been discussed. I'm unsure how the issue was resolved -- if it has been resolved. It seems like a good idea
11:35Kleevahthere needs to be a local cache for easy "archiving"...
aleksanteri somehow doesn't understand a half of what's going around now
dantesoftKleevah: yes
ReWizdantesoft: it sounds that you just don't want an automatic prefetch - which seems to be independend of buffering during playback
11:36silyeah, having fallback be displayed for all of "URL returns error", "video elements are disabled", and "I don't support video elements" would be ideal, I think (and (3) comes for free anyway :))
<- Guille has disconnected (Ping timeout)
howcomeandyo: understood. We have to make sure the UI doens't get too cluttered, though. One stop button many be enough. Of course, if JavaScript gets access to all hte infor people can build their own interfaces...
andyoyes
11:37aleksanteriyeah
aleksanterijavascript for <video> is a must for me
howcomeCan I convince any of you con contribute video to Wikipedia?
ReWizKleevah: local cache for easy "archiving" could contradict the (IMHO stupid) requirements of some content providers
howcomeThat is, I believe, the best way to support Ogg Theora on the web.
11:38KleevahReWiz: DRM-style?
howcomeWe also need to convince Wikipedia to start using <video>, though.
andyoI think it would be a good idea with a "preview frame" of the video clip, that can be set to display at a custom time/frame
aleksanteriand IE and FF to support <video>
dantesoftReWiz: nothing prefetched. i click play. buffering. on skipping 5 minutes into the video the buffering stops and skips those 5 minutes. on stopping the video, the buffering stops. on resume video, buffering resumes only when i'm about to see new content (i.e. no new fetching)
aleksanterialthough i don't know if IE will
olliand youtube to use <video>
ollithat would help
silhowcome: I would do if I had appropriate video clips. We made the talk videos for last year's LugRadio Live conference available as Theora; for the videos this year I might even do a page which uses <video> to display them.
ReWizKleevah: that might be an additional requirement
11:39Kleevahyeah, i guess.. :\
howcomealeksanteri: yes, JS will be given access -- there's a whole API described in the WHAT WG spec. There should also be a simple UI available if JS is turned off of if the video element demands it...
aleksanteriok
howcomeMost of us hvave video cameras in out pockets, go out and film something!
11:40aleksanteri has not
andyoI have no video camera
dantesofthowcome: Wikipedia has a Java control for OGG videos. it's very small. oggcodecs_0.71.0946 for direct show are also small. why is the experimental Opera video setup so biiig ?
howcomeI've given a tech talk at Google, so the YouTube people know about it...
howcomeIs Opera's setup so biiig?
11:41MitchmanYes, I have no idea what build settings where used on it
-> Guille has joined webapps
howcomesorry, I was exaggerating. A webcam should do it, htough
ReWizhowcome: just another idea to spread Theora on the Web, if there are just not enough browsers able to play Theora there should be a Plugin solution
ReWizand I think Opera may do a pretty good job being such a plugin itself (also for non-video things)
11:42agonybut not everyone knows how to encode to theora
howcomeI don't think the Ogg support added much to its size. How big is the Java control?
howcomeencoding theora is quite simple, at least on linux ffmpegtotheora
agonyyes
andyo
11:43silReWiz: the Fluendo Cortado Java applet is a plugin solution, although it's quite difficult from JS to detect whether the user agent supports Java without starting up Java
howcomeffmpeg2theora
-> pffYussupov has joined webapps
aleksanterihow long will it be until <video> is avaivable?
ollialeksanteri: wir
Auxthe best way to quickly promote OGG in browsers is to make a site with a lot of newfree movies viewable online
aleksanteriheh
agonyi preffer mencoder for that
agony,_,
andyoaleksanteri: andyo: Re: <video> in opera: we've been very clear that our support for <video> is experimental. Also, the spec has changed since we did our initial implementation. We'll continue talking to Mozilla and others to build support. I don't know when we will be shipping.
howcome<video> is available now! (in the experimental build)
11:44aleksanteriah
ReWizagony: I provided a small howto in my post http://my.opera.com/ResearchWizard/blog/experimental-opera-video-build-with-native-ogg-theora-support
KleevahVLC should also be able to convert to theora with no problems
dantesofthowcome http://tools.wikimedia.de/~gmaxwell/jorbis/cortado-ovt-stripped-0.2.2.jar is less than 200KB.
andyocan wmp play theora without additional codecs?
silandyo: no.
dantesoftop950_8762_video_repack_with_lgpl_signed has some 4MB extra
11:45howcomepart of the problem with ogg is that none of the established players support it
silthere is no video format, not one, that will play out of the box on Windows, Linux, and Mac.
agonyraw avi
andyohehe
agony:>
Aux(:
aleksanteri
andyotrue
silagony: s/video format/sane video format/. Animated gifs work everywhere, too.
Kleevahmpeg?
howcomedantesoft: the extra size is not due to Ogg, it's probably due to size optimization not turned on...
Auxmpeg, yep
howcomeapng
agonybut the sound is not so good in gif :>
11:46aleksanteri has never heard of apng
silMPEG isn't supported out-of-the-box on Linux because mpeg is patent-encumbered.
andyobut what I mean is.. if you open an ogg file in wmp.. does it download the codecs itself?
Kleevahagony: gotto sync it with the .mid...
agonyhehe
silandyo: mine doesn't. It tries and fails.
andyook
howcomehttp://wiki.mozilla.org/APNG_Specification
silhowcome: agreed that theora has a problem of support but then...what's the alternative? Baking WMV format into Opera?
11:47agonynever!
silagony: precisely.
aleksanterinever ever!
silplus, this is back to the formats argument and not the markup argument
Auxhowcome: maybe your webdevs should make video-blogging section for trying out <video> support?
howcomesil: no, there is no universal format to fall back on. We need to establish a baseline format.
Auxkhm, about conversion. i just thought about online service for converting video to ogg
11:48ReWizKleevah: I just gave VLC a try to convert to Theora - it crashed. Though it should be possible but it is not really easier.
howcomeaux: yes, online conversion is helpful -- didn't someone do this already?
profitIn fact, WMV would be pretty good (especially in comopression). If we will just leave alone the fact it is its MS-made..
Kleevahoh
silhowcome: which is why the whatwg discussion was so frustrating, since Apple don't seem interested in any baseline format that they don't already support.
11:49aleksanteriprofit: never WMV :/
howcomesil: it seems that none of the big vendors are interested in adding support for new formats. Their arguments make sense to some people.
andyohm,... a video-element could be used to make video conferancing relatively easy on the web, am I right?
11:50howcomesil: The only way to change their attitude is to make sure there's video content out there!
KleevahReWiz: i just tried to convert a small mpeg clip and that worked fine.. :\
howcome(in Ogg Theora, that is)
Auxhowcome: i'll try make this online conversion tool next week - right now i have too much workto complete
howcomeKleevah: did you use VLC?
Kleevahyeah
howcomeHow do you tell VLC to output?
11:51nicomenhm there are some question in the Pony queue, anyone going to show them?
silhowcome: true. Chicken and egg, but I agree with you entirely. Wikipedia will help; archive.org as well, perhaps? The BBC would be great (although they're trying to get Dirac off the ground; perhaps loko at Dirac as baseline just because the BBC will be pushing it hard 2 years from now?)
Kleevahon the bottom part of the open dialog there is a stream/save option
silhowcome: File > Wizard in VLC takes you through output options
howcomeany way to specify it on the commant line?
Kleevahyeah
11:52agonyI think mencoder or ffmpeg is better for that
Kleevah10sec
agonyalways had problems with vlc
howcomesil: I think we should keep the door open for Dirac, yes
11:53Kleevahhowcome: :sout=#transcode{vcodec=theo,vb=1024,scale=1,acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=file,mux=ogg,dst="output.ogg"}}
11:54-> grafio has joined webapps
aleksanterihi grafio
grafiohi
aleksanteria *bit* late
howcomeI think the format conversion issue can be handled. I think all technical issues can be handled. But we need to teach web users about the need for open standards. Again and again it seems
aleksanterihowcome: impossible task
dantesofthowcome: are there some issues with OGG regarding resolution, FPS, etc? re: http://en.wikipedia.org/wiki/Image:NTSC-PAL-SECAM.svg
Auxhowcome: i'm wondering now if browsers like IE will have plug-in then will plug-in be able to determine Z-index of video tag? or maybe someattribute like Flash's wparam will be needed?
howcomeKleevah: you're Kleevah!
andyoit should be taught in schools
Kleevah
11:55andyoinstead of german
andyo
agonywhat?
agony:>
11:56howcomeDantesoft: I don't know about any issues
-> ASCHE has joined webapps
ReWizhowcome: what I just read about it Dirac seems to have some strong technical advantages while Theora tools have grown further so far
11:57howcomeAux: one of the benefits of decoding video natively is that we can use things like CSS with its z-index to control the presentation. That's harder to do whey you have to go through a plugin interface.
dantesofthowcome http://daringfireball.net/2007/04/wee_bit_more_on_aac OGG is "an ugly patent lawsuit waiting to happen."
<- ASCHE has left webapps
Auxhowcome: I understand, but what for first-time usage? i don't think that MS will implement support next week
11:58howcomeReWiz: yes, the dirac people seem clever
howcomeAux: no, MS will not add support until they're forced to.
sildantesoft: that's been Apple's argument on the whatwg list. "The consensus" that Ogg *must* violate some patents is in no way a consensus. Apple certainly believe it; whether others do is a different question entirely.
aleksanterihowcome: that's why they suck
11:59Auxsorry guys, I need to go. thanks for nice and useful chat!
howcomePerhaps we should start Acid3 with a <video> element?
silhowcome: do the whole test as a video.
aleksanterilol
<- Aux has disconnected (Quit: Infected...)
andyoI have to go to.. Kleevah: keep a log for me..
12:00dantesoftstick out the tongue of all is a-o-k
andyothanks for good answers howcome .. bye
<- andyo has left webapps
howcomeGreat to talk to y'all, I have to run, too!
aleksanteri19:00 ^__^
Orcinus
aleksanteribye Håkon
silthanks, howcome. Useful chat!
dantesoftcheers
ReWizhowcome: thanks for being here
aleksanteribtw Håkon how has your day been otherwise?
12:01aleksanterijust a side q
OrcinusI had questions in Pony yet...
baboxbye Håkon, thanks