• Hey, guest user. Hope you're enjoying NeoGAF! Have you considered registering for an account? Come join us and add your take to the daily discourse.

webm |OT| Welcome to the world of superior gifs

Status
Not open for further replies.

Phoenix

Member
In that case, I guess we'll have to see. If VP9 can get fairly close to H265 it'd be neat to see it widespread.



Not as much as you'd think. For H.265 at least it's something like 20c per device sold capable of encoding/decoding H.265. There are no fees for content, broadcasting, etc.

Even on a per device basis, if we just look at the mobile devices sold in Q3 of last year where 455 million devices were sold. That's 91 million in royalty payments, hardly a small sum to give up.
 

-SD-

Banned
Is it possible to make WebM videos posted on forums loop on Firefox without add-ons?

Is there a working 'loop' setting to insert into videos during encoding? Or does WebM work like that at all?
 

strata8

Member
Yes. I was wondering if a loop tag can be set for WebM, just like it can be set for GIFs.

Not AFAIK, because webm is a video format and designed to be controlled with a player.

Example of a gif embedded in a page:

Code:
<img src="vid.gif">

vs. embedded webm emulating gif behaviour:

Code:
<video src="vid.webm" autoplay=true loop=true controls=false>

You can see it's a lot more complex. Something like animated WebP on the other hand could be embedded like the GIF, with loop set for each image.
 

Dereck

Member
Why is my computer/web browser not lagging or skipping even when playing multiple webms? People were saying there browsers were skipping?
 
Not AFAIK, because webm is a video format and designed to be controlled with a player.

Example of a gif embedded in a page:

Code:
<img src="vid.gif">

vs. embedded webm emulating gif behaviour:

Code:
<video src="vid.webm" autoplay=true loop=true controls=false>

You can see it's a lot more complex. Something like animated WebP on the other hand could be embedded like the GIF, with loop set for each image.
Well, the WebM format allows for metadata, right? You could just bootstrap into one of the existing fields and be like keywords=autoplay;repeat or something alon those lines.
 

red731

Member
Hi there, Andrex.

There seems to be a problem with neogaf embeded webms.
I am using chrome and when I click to play embeded webm, it plays, but pressing fullscreen makes screen black with video in the center, not resized fullscreen.

If you rmb click video to copy link, paste it in the bar and run the video like that, you can fullscreen the video border to border based on ar of the video.
 

FyreWulff

Member
Wish it was built in browsers so you didn't have to rely on people having an extension.

It is.

For forums to support it, they just have to add a bbcode that converts

[video]http://to.webm.url[/video]

to

<video src="http://to.webm.url" loop=true muted autoplay=true>
 

red731

Member
It is.

For forums to support it, they just have to add a bbcode that converts

[video]http://to.webm.url[/video]

to

<video src="http://to.webm.url" loop=true muted autoplay=true>

But it would be pretty crappy for people whose CPU utilization is reaching high levels of usege, wouldn't it? I mean the autoplay=true function in the video tag.

Maybe some overlay text saying "press to play" or something like that. When it isn't playing, it isn't utilizing CPU as when it plays, right?
 

FyreWulff

Member
But it would be pretty crappy for people whose CPU utilization is reaching high levels of usege, wouldn't it? I mean the autoplay=true function in the video tag.

Maybe some overlay text saying "press to play" or something like that. When it isn't playing, it isn't utilizing CPU as when it plays, right?

GIFs are CPU hogs as well.

Just follow the same rules.. don't have too many on the same page
 

jediyoshi

Member
Maybe some overlay text saying "press to play" or something like that. When it isn't playing, it isn't utilizing CPU as when it plays, right?

Having autoplay off in the gaf extensions is pretty necessary for me right now. Pretty unstable between chrome and firefox at the moment.

I'd rather there just be a way to not have them download until you try to play it.
 

MThanded

I Was There! Official L Receiver 2/12/2016
It is.

For forums to support it, they just have to add a bbcode that converts

[video]http://to.webm.url[/video]

to

<video src="http://to.webm.url" loop=true muted autoplay=true>
I think enabling webm embed support would be a terrible idea. These things are pretty terribly optimized and render differently depending on the browser you are one. Also it seems that looping may not be automatic. Though gifs are old and lame they at least behave consistently once you get the file downloaded.
 

D4Danger

Unconfirmed Member
But it would be pretty crappy for people whose CPU utilization is reaching high levels of usege, wouldn't it?

Maybe some overlay text saying "press to play" or something like that. When it isn't playing, it isn't utilizing CPU as when it plays, right?

right. There's ways to do it that it would require almost no resources until you start the video. It would be a lot better than embedding a bunch of youtube videos for example.
 

red731

Member
Having autoplay off in the gaf extensions is pretty necessary for me right now. Pretty unstable between chrome and firefox at the moment.

I'd rather there just be a way to not have them download until you try to play it.

Yeah. I don't know why it buffers even tho you won't play it.
Like imagine seeing youtube thumbnails buffering the videos - like the predicted page something in Chrome etc.
 

FyreWulff

Member
I think enabling webm embed support would be a terrible idea. These things are pretty terribly optimized and render differently depending on the browser you are one. Also it seems that looping may not be automatic. Though gifs are old and lame they at least behave consistently once you get the file downloaded.

WebMs can/are GPU accelerated. GIFs cannot be. The only way to optimize GIFs would be to convert them to videos internally in the browser before display.

The software will catch up in a matter of a year or two with optimizations. It's still much better than loading an entire Flash plugin just to a) decode video the browser can render already and b) be limited to 30fps. It's a bit of a chicken and egg scenario, but once people start using them more, the situation will resolve shortly.

It's kind of like how the level of JS use didn't explode until Google released V8. It ignited an arms race in JS speed and now a bunch of stuff that was a cute toy in JS demos at programming conferences became real sites.
 

Coreda

Member
by default videos will buffer. There's a preload attribute that overrides this.

http://www.stevesouders.com/blog/2013/04/12/html5-video-preload/ (a little out of date but you get the idea)

Pretty sure a large number of the videos embedded here preload even though I've set the attribute to 'metadata' only, as the tab often continues to load well after everything else. I've read setting it to 'none' helps, but then the browser doesn't grab the metadata/thumbnail. Kinda lame considering the benefit it could bring.
 

squicken

Member
Can anyone recommend decent video editing software for Windows? Don't need the pro stuff that is $300+, but would like something better than the free stuff that's available. Thanks for any suggestions!
 

Filth

Member
I know webm doesn't work for ios but is it possible safari gets patched to let them play normally? Seems like such wasted potential :(
 

D4Danger

Unconfirmed Member
Pretty sure a large number of the videos embedded here preload even though I've set the attribute to 'metadata' only, as the tab often continues to load well after everything else. I've read setting it to 'none' helps, but then the browser doesn't grab the metadata/thumbnail. Kinda lame considering the benefit it could bring.

what about setting them all to none and then loading the metadata if they're in view? here's a quick test.
 

Coreda

Member
what about setting them all to none and then loading the metadata if they're in view? here's a quick test.

Interesting concept, nice little demo. One thing I noticed is the thumbnails go blank again after scrolling back up after a while and it can take a while for them to appear, although it seems to work for not loading anything more than the metadata, as far as I can tell.

Wish I knew of an app to monitor how much data is loaded when the metadata is being fetched, as when scrolling through GAF WebM pages some videos seem to be preloading something larger than the metadata (maybe it's a certain way it's encoded?) because if I press 'Esc' to cancel the page loading they can go from displaying thumbnail to 'Video MIME type not supported' or some such, while others instantly show and retain their thumbnails.

WebMs have a rather odd behavior around here, as really all it should fetch imo is just the length and thumbnail and nothing else which it sometimes does but not other times - or perhaps it's just something on my end :p
 
This is going to sound strange, but

Any other firefox users getting webm videos when they see some videos on PornHub now? Using firefox webm extension for neogaf

Not complaining as that's less the plugin container accessing my PC.
 
Status
Not open for further replies.
Top Bottom