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

shandy706

Member
First try at this, Forza 5.

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

Quality isn't as good as I hoped. Need to do some adjustments. Doesn't look bad in Chrome and embedded on Neogaf though.


Edit** Is there anything that can be done about CPU usage? Any word? LOL

I load (the OP) page CPU = 100%....close page CPU= 6%....wow
 

jediyoshi

Member
Comparison between encoding

an ffmpeg script
http://a.pomf.se/ogtfvh.webm

vlc's converter
http://a.pomf.se/lnhbof.webm

vlc was 3-4x faster, but about a meg difference and it looks like it drops some frames at the end

There aren't any 60fps videos on youtube. Youtube encodes everything at 30fps and compresses things until they look like shit. Gamersyde keeps the source video's framerate and encodes them at a maximum of 35Mbps.

Then again, the internet at large does a good job at shittily encoding things themselves. I'd be surprised if the majority of player recorded footage is even done at 1080p60 to begin with.
 

CTLance

Member
Same here with Opera (Greasemonkey script off userstyles.org). Random videos will simply fail to show up. I'm suspecting the host is getting weak at the knees, last time I tried to download a file to watch it since it wouldn't embed properly it gave me 3.5KB/s. I'm on a 80MBit/s line...
 

Coreda

Member
I'm suspecting the host is getting weak at the knees.

Sometimes pomf.se can act up, but checking back at a different time usually works. whitehawk could probably update the OP with some of these alternative hosts to fill the list:

Some alternative hosts: Webmup.com, Mediacru.sh, GfyCat (apparently you can now use the 'Do not resize' option to prevent re-encoding), Puu.sh (heard they support it, requires registration however).

I can also recommend the recently made imgur-esque WebM Zone. No idea which of the hosts will be longer-term solutions, which I suppose is why some stick to pomf.se.
 

Coreda

Member
Just noticed this on Tyler Malka's twitter:

Z1OgPUS.png


soyou'resayingthere'sachance.webm
 
Is there a guide anywhere that can explain to a five year hold how to turn an .avi into a webm?

ffmpeg
photoshop
webm converter

I've given up. I've got no idea what it is that I'm doing wrong.
 

-SD-

Banned
Is there a guide anywhere that can explain to a five year hold how to turn an .avi into a webm?
This is how I do it, these days. Two-pass, Google VP 9 codec, 3Kbps bit rate (just an example bit rate). Works for videos with or without audio.

1. Copy or move the AVI file to \ffmpeg\bin\ folder
2. Rename the file to a.avi
3. Run \ffmpeg\ff-prompt.bat
4. Copy and paste the following for the first pass (press y to overwrite, if asked):
ffmpeg -i a.avi -c:v libvpx-vp9 -crf 3 -b:v 3072K -pass 1 -f webm NUL
5. Second pass:
ffmpeg -i a.avi -c:v libvpx-vp9 -crf 3 -b:v 3072K -pass 2 a.webm

The finished WebM is located in \ffmpeg\bin\.

I don't actually copy/paste the commands anymore since I have made batch files (.bat) in \ffmpeg\bin\ for various bit rates.
 

Coreda

Member
This is how I do it, these days. Two-pass, Google VP 9 codec, 3Kbps bit rate (just an example bit rate). Works for videos with or without audio.

Some nice steps, although he did ask for the 5 year-old explanation :p

Came across WebM-Converter recently (not to be confused with others sharing the same name) which uses 2-pass encoding by default. Haven't tested it yet, but the dev appears to have included some decent settings behind the scenes. Just needs a copy of the ffmpeg.exe in the same folder to work.

JZeVoQG.png


Also, while I'm here may as well post a neat project called WebMCam that copies the spirit of GifCam, and allows one to capture video directly to WebM.

1fm3i07.png


Thank god for that Media Preview, I was having trouble keeping track of these webbums.

Works perfectly for VP8 after adding webm as a custom filetype, but I found VP9 encoded WebMs lack thumbnails.
 

Rest

All these years later I still chuckle at what a fucking moron that guy is.
Avast just updated for me and now it's detecting all these webms as a threat. Is anyone else getting this?

I'm not seeing any alerts, but a bunch of them have never worked for me. I'm wondering if my antivirus software doesn't allow them to play but doesn't have a way to tell me about it.
 

Coreda

Member
Ehh... that's kind of stupid. The kid should just enable hosting for media files only.

There have been various malicious exploits using media files before, but limiting uploads to non-executables would certainly prevent the majority of crap.
 

ElTorro

I wanted to dominate the living room. Then I took an ESRAM in the knee.
A shame iPad doesn't support them.

There is nothing preventing us from using h264-encoded videos instead. They play everywhere and have widespread hardware support. The codec is not patent-free, but in practice there is hardly anything that is more interoperable at that level of quality.

Allowing the HTML5 <video> element with autoplay/loop/mute for embedding h264 videos would kill GIFs on GAF with certainty.
 
There is nothing preventing us from using h264-encoded videos instead. They play everywhere and have widespread hardware support. The codec is not patent-free, but in practice there is hardly anything that is more interoperable at that level of quality.

Allowing the HTML5 <video> element with autoplay/loop/mute for embedding h264 videos would kill GIFs on GAF with certainty.


Someone just has to make it. I am too awaiting the day where mp4/webms destroy GIFs on GAF
 

Coreda

Member
Hope pomf.se holds up. It seems the dev possibly attempted suicide last December, based on a series of Tweets a month ago and a former pomf.se team member timeline. One user who has been keeping an eye on the site notes the creator has developed depression and drug issues (PCP), making it more difficult to reach him and cooperate.

From Alexa's stats the site has a ranking of 5,915 in the US (20,547 globally), with 3,300,000+ unique users, 800k uploaded files, and 100TB monthly data transfer. The transparency records he publishes on the site show the monthly bills in the past to have been around US$100, but it's several months out of date and according to tweets has been difficult maintaining. Don't disappear on us pomf.se :(
 
Ok I have read a lot in this thread and on the web and I simply can't find a good awnser to this question about webm.

Can you ADD an AUDIO file to a existing webm or is there a problem that you can import a .gif and add audio file and create a .webm out of it?

I read all kinds of things for grabbing the audio from a webm that has audio but nothing about adding audio.

Anyone?

Thanks in advance.
 

Coreda

Member
Can you ADD an AUDIO file to a existing webm or is there a problem that you can import a .gif and add audio file and create a .webm out of it?

You can mux Vorbis audio (.ogg/.flac) to an existing WebM file with ffmpeg (a command line encoder tool). Compiled Windows builds can be found here with VPx (WebM) support. The following command will add audio to a video, outputting to a new file:

Code:
ffmpeg -i audio.ogg -i video.webm -acodec copy -vcodec copy output.webm

In the above command the audio file is named 'audio.ogg' and the video 'video.webm', and will output the muxed (combined) file to 'output.webm'. Audio from the input video (if any exists previously) will be replaced by the input audio in the output file (not the original btw). Keep in mind that only Vorbis (and possibly Opus) encoded audio is possible to be added to WebM. MP3/AAC, other formats aren't supported.

Also the audio will have to be either exactly the same length as the video clip, or shorter or else the audio will continue past the video (not really a problem but the last frame will simply be seen longer until the video ends).

As for the second part of the question I'm guessing you mean 'program' not 'problem', none that I'm aware of but there are plenty of WebM encoder front-ends on Github and elsewhere so one may be around that converts gifs and adds audio.
 
You can mux Vorbis audio (.ogg/.flac) to an existing WebM file with ffmpeg (a command line encoder tool). Compiled Windows builds can be found here with VPx (WebM) support. The following command will add audio to a video, outputting to a new file:

Code:
ffmpeg -i audio.ogg -i video.webm -acodec copy -vcodec copy output.webm

In the above command the audio file is named 'audio.ogg' and the video 'video.webm', and will output the muxed (combined) file to 'output.webm'. Audio from the input video (if any exists previously) will be replaced by the input audio in the output file (not the original btw). Keep in mind that only Vorbis (and possibly Opus) encoded audio is possible to be added to WebM. MP3/AAC, other formats aren't supported.

Also the audio will have to be either exactly the same length as the video clip, or shorter or else the audio will continue past the video (not really a problem but the last frame will simply be seen longer until the video ends).

As for the second part of the question I'm guessing you mean 'program' not 'problem', none that I'm aware of but there are plenty of WebM encoder front-ends on Github and elsewhere so one may be around that converts gifs and adds audio.
Thanks for the update I really appreciate that a lot!

Man that seems hard, I think creating a webm is already very very hard (I'm not at all a command line guy.
Will try out what you typed but for me right now it might as well be an alien language :p

Yeah I meant program it was late in my timezone when I typed that.
 

Coreda

Member
Thanks for the update I really appreciate that a lot!

Man that seems hard, I think creating a webm is already very very hard (I'm not at all a command line guy. Will try out what you typed but for me right now it might as well be an alien language :p

Don't worry too much :) For regular video to video conversion it's pretty easy, as there are plenty of apps that do straight WebM conversion (most of which are front-end graphical apps that link with the ffmpeg program behind the scenes).

If you're looking to convert mostly GIFs to WebM there are a number of sites that offer this (found a Windows app too by the same guy who makes a neat WebM screen capture tool I use).

Adding sound to GIF-converted WebMs is a bit of an unusual use which is why it probably isn't built into any of the dedicated WebM convertor's I've seen. Hence using ffmpeg via the command line is the first thing that came to mind :p There are dedicated muxing apps which provide an interface for this though.

The easiest way to use FFMpeg via the command line:


  1. Download it from the link above.
  2. Copy the ffmpeg.exe from the 'bin' folder and place it with your audio and video file in a single folder.
  3. Assuming you've converted the audio to OGG first*, rename the audio file 'audio.ogg' and the video file 'video.webm'.
  4. Shift+right-click the open folder window that contains the files and select 'Open the command prompt here'
  5. Lastly in the prompt right-click to paste in the command. Hit enter and away it will mux, saving to 'output.webm' within the same folder.

* Here's an open source encoder front-end I use if you need it converted to OGG.
 
Don't worry too much :) For regular video to video conversion it's pretty easy, as there are plenty of apps that do straight WebM conversion (most of which are front-end graphical apps that link with the ffmpeg program behind the scenes).

If you're looking to convert mostly GIFs to WebM there are a number of sites that offer this (found a Windows app too by the same guy who makes a neat WebM screen capture tool I use).

Adding sound to GIF-converted WebMs is a bit of an unusual use which is why it probably isn't built into any of the dedicated WebM convertor's I've seen. Hence using ffmpeg via the command line is the first thing that came to mind :p There are dedicated muxing apps which provide an interface for this though.

The easiest way to use FFMpeg via the command line:


  1. Download it from the link above.
  2. Copy the ffmpeg.exe from the 'bin' folder and place it with your audio and video file in a single folder.
  3. Assuming you've converted the audio to OGG first*, rename the audio file 'audio.ogg' and the video file 'video.webm'.
  4. Shift+right-click the open folder window that contains the files and select 'Open the command prompt here'
  5. Lastly in the prompt right-click to paste in the command. Hit enter and away it will mux, saving to 'output.webm' within the same folder.

* Here's an open source encoder front-end I use if you need it converted to OGG.
Thanks for all the updates and all the patience you have for me I really appreciate that a lot! :)

Will check out your response asap and respond back here
Maybe thanks again!
 

Coreda

Member
The remains of pomf.se rise from the ashes. Micro-update.

- Archive.org has been mirroring all the old pomf.se content for the past few months.

- Two new pomf-like sites are up: mixtape.moe (100MB max) and maxfile.ro (50MB max, not hosted by @nekunekus).
 

Mman235

Member
Has WebM for Neogaf for Chrome broke Google for anyone else lately? Over the last few days Google searches just haven't shown up most of the time, but I noticed that it worked in Incognito mode, so I knew an extension must be the cause, and with a bit of testing I found it's this. This has applied across all three of my computers that use it, so it can't be a system specific thing.

Thing is it hasn't had a version update or anything as far as I can tell, so maybe something in a Chrome update broke it? I tried the non-beta Chrome but it doesn't seem to work there either.

Edit: Uninstalled it and reinstalled it as a final test, searching worked once or twice so I thought it was fixed initially but then it broke again.

Edit 2: Actually now it's breaking without it so I guess it's something else.
 

lednerg

Member
Has WebM for Neogaf for Chrome broke Google for anyone else lately? Over the last few days Google searches just haven't shown up most of the time, but I noticed that it worked in Incognito mode, so I knew an extension must be the cause, and with a bit of testing I found it's this. This has applied across all three of my computers that use it, so it can't be a system specific thing.

Thing is it hasn't had a version update or anything as far as I can tell, so maybe something in a Chrome update broke it? I tried the non-beta Chrome but it doesn't seem to work there either.

Edit: Uninstalled it and reinstalled it as a final test, searching worked once or twice so I thought it was fixed initially but then it broke again.

Edit 2: Actually now it's breaking without it so I guess it's something else.

I'm using YouTube Me Again, which handles all sorts of embedded videos, including webm. Works just fine. You'll need Tampermonkey installed first, which you can get from here.
 
Status
Not open for further replies.
Top Bottom