• 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.

Ran rp

Member
Is there a way to auto unmute webms with audio?

edit: Oh, I can just hit the icon before playing it. That's fine.
 

Fuzzy

I would bang a hot farmer!
PSY・S;107222222 said:
Is there a way to auto unmute webms with audio?

edit: Oh, I can just hit the icon before playing it. That's fine.
You can also edit the script to change it. Just change video.muted = true; to video.muted = false;
 

Coreda

Member
Just realized PotPlayer (a Windows video player) includes an in-built WebM video capture. Testing... Can disable audio, set framerate, speed, bitrate, and resolution - oh and use either VP8/9 codecs. PotPlayer ftw.

http://a.pomf.se/qkblia.webm

Starcraft II: Heart of the Swarm trailer cinematic cut. 640x480 @ 1000kps. 3.4MB, no sound.
 

ponpo

( ≖‿≖)
Hm, I always get an error while trying to rehost something to either pomf or gyfcat, either through uploading or URL fetching.
 

Scrooged

Totally wronger about Nintendo's business decisions.
You say this replaces gifs but I don't see any moving images in this thread.
 

jman2050

Member
Google and Mozilla have been working on it for a while.

Remember all that ado about h.264 and patents? This is what they were fighting for. Seamless, effortless, (and royalty free) internet video embedding.

A shame that it seems Apple isn't going to relent on this without a fight.

Having native iOS support without having to use VLC or whatnot would be amazing.
 
It was 4chan,

It was fucking 4chan that sent the ball rolling.

Well it makes sense that the place with porn gifs would be the chosen one.
Google and Mozilla have been working on it for a while.

Remember all that ado about h.264 and patents? This is what they were fighting for. Seamless, effortless, (and royalty free) internet video embedding.

I'm blown away because I have terrible internet and a gif heavy page would take minutes to load fully yet this looks so much better loads fast.
 

psylah

Member
Does anyone have any solutions for thumbnails?

Folders full of *ahem* webm files have no thumbnails and are difficult to go through without opening every single one.
 

Ninja Dom

Member
Apple Mac and iOS user here.

I understand that we're not gonna see this goodness on iOS devices but are there any plans to get this running in Safari on OSX??

Can an extension be made as Safari OSX supports extensions.
 

Rootbeer

Banned
I never thought 4chan adding webm would immediately skyrocket its popularity and catapult it into the mainstream... but hopefully it is! great format and gifs are horrible quality. let's get with the modern times!
 

Jarmel

Banned
Keep getting this error:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Convert.ToDouble(String value)
at webm.Form1.button3_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1022 (RTMGDR.030319-1000)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
webm
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Jarmel/Downloads/FFmpeg/webm.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1002 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1001 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1001 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 

amnesiac

Member
Is a page full of WebM more efficient than a page full of GIFs? My computer gets slow sometimes on GIF heavy pages.
 

psylah

Member
We need a webm Penny, but a super high frame rate 4k version to herald the encroaching genderless dystopia.

I'd do it but I have no source video,
 

riotous

Banned
I wrote a modification to the Chrome extension.

It:
- Disables autobplay.
- Enables the controls.
- Creates virtual resize "buttons". The top "button" is the top half of the video. The bottom "button" is the lower half of your video. Clicking the top half makes the video larger (no limit, have fun), clicking the bottom half makes the video smaller (reasonable minimum size)

If you want to install this, edit the file at this location:

C:\Users\$YourUserName$\AppData\Local\Google\Chrome\User Data\Default\Extensions\gcjkaaggachnbhepejjhfacpldjflffl\1.0_0\extensions.js

Completely replace the files contents with the following:

Code:
'use strict';



var videos = document.querySelectorAll('.post a'),
  link, video;

for (var i = 0; i < videos.length; i++) {
  link = videos[i].href;
  if (link.indexOf('.webm') === link.length - 5) {
    video = document.createElement('video');
    video.src = link;
    video.autoplay = false
    video.loop = false;
    video.muted = true;
    video.height = 300;
    video.controls = true;
    video.addEventListener('click',
function()
{
	var minHeight = 300;
	var currentH = this.height;
	var top = 0;
	var obj=this;
	var topOfControlsOffset = currentH - 35;
      
	var middleOfControlsOffset = (topOfControlsOffset / 2); 
	do
	{
		top += obj.offsetTop; 
	}
	while(obj=obj.offsetParent)
	
	var mouseY = event.pageY;
	middleOfControlsOffset += top;
	topOfControlsOffset += top;

	if (mouseY < middleOfControlsOffset)
	{
		this.height +=50;
	}
	else if(mouseY < topOfControlsOffset && minHeight<this.height)
	{
		this.height -=50;
	}
},false);    
    videos[i].parentNode.replaceChild(video, videos[i]);
  }
}

The formatting is kind of terrible, I only have notepad on this computer. Got tired of fixing tabbing lol.
 
Status
Not open for further replies.
Top Bottom