Thanks for these updates.
Works great although it crashed when I clicked back into a previous page; FF randomly started to use up a lot of memory (3GB's) then crashed.
Autoplay enabled?
Thanks for these updates.
Works great although it crashed when I clicked back into a previous page; FF randomly started to use up a lot of memory (3GB's) then crashed.
What game(s) are those from?
Autoplay enabled?
Wow thanks that's one great add-on! Unfortunately though Hover-to-Play is bugged for me :/ When I move the cursor above a WebM it starts playing and looping but it won't pause when I move the cursor away from it. It also won't pause from the right-click menu unless it looped once I'm using Firefox 28 stable and disabled the WebM User Script.
Oh I didn't think about stopping the vid when moving the mouse out of the video. Everything you are seeing is working as designed.
If you do include it, please make it optional as it sounds like a pain in the arse to me.
You can click anywhere on the webm to pause it, no problemo.
Okay so I made a small WebM conversion script that allows you to convert any video to a WebM simply by drag and dropping it onto my .bat file!
I know people might be hesitant to just run a random .bat file so I will just post the code here for anyone to make a .bat out of it:
Code:@echo off echo "WebM Conversion Script v0.3.1 by Skyfireblaze & Skyllz" echo. echo "Specify starting time in hh:mm:ss.mss (for example 00:00:10.000 would equal 10 seconds into the video)" echo. set /p Start= echo. echo "Specify end time in hh:mm:ss.mss (for example 00:00:20.000 would equal 20 seconds into the video)" echo. set /p End= echo. echo "Specify the width of the WebM in pixels (the height will be calculated automatically to maintain the aspect ratio. Type 640 if not sure)" echo. set /p Width= echo. echo "Set the base quality level from 4 to 63 (default is 4, the lower the better)" echo. set /p Quality= echo. echo "Set the maximum allowed bitrate in MBit's/sec (default is 2)" echo. set /p Bit= echo. set /p ANSWER1=Do you want to use the VP8 or VP9 codec? (8/9) (if unsure type 8) IF /i {%ANSWER1%}=={8} (set Codec=libvpx) IF /i {%ANSWER1%}=={9} (set Codec=libvpx-vp9) echo. set /p ANSWER2=Do you want to have audio? (y/n) IF /i {%ANSWER2%}=={y} (set Audio=-c:a libvorbis) IF /i {%ANSWER2%}=={yes} (set Audio=-c:a libvorbis) IF /i {%ANSWER2%}=={n} (set Audio=-an) IF /i {%ANSWER2%}=={no} (set Audio=-an) echo. "%ProgramFiles%\WebM\ffmpeg.exe" -i %1 -ss %Start% -to %End% -c:v %Codec% -crf %Quality% -b:v %Bit%M -vf scale=%Width%:-1 %Audio% %1.converted.webm
The script basically asks you a few questions to fill the variables for you. Now I will give you a step by step guide how to make WebM making forever easy!
1: Okay so first copy the content of the CODE up there into a empty textfile and then save it under any name you like. Next you have to change the extension of the textfile from .txt to .bat, this tells Windows that it's something it can execute.
2: Go to C:\Program Files and create a new folder called WebM. (Don't use Program Files (x86) or it won't work!)
3: Go here and download either the 32bit or 64bit version of ffmpeg depending if you use 32bit or 64bit Windows.
4: After downloading and opening the archive you can pretty much disregard everything but the contents of the bin folder. Inside the bin folder you will find a ffmpeg.exe, just copy that into the WebM folder you created earlier.
5: You are done, from now on you can simply drop any video-file onto my .bat script and it will ask you the questions and make a WebM for you!
Optional Steps:
6: Now if you want to make the process even more convenient, read on! Copy the .bat file also into the WebM folder, right next to ffmpeg.exe
7: Make a shortcut to the .bat file from the right-click menu.
8a (for Windows Vista/7/8): Move the shortcut you made to the following folder:
Code:%APPDATA%\Microsoft\Windows\SendTo
If you wonder what %APPDATA% is, it's just a variable to a folder Windows uses, just paste it like that into the Address Bar of any open folder.
8b (for Windows XP): Move the shortcut you made to the following folder:
Code:C:\Documents and Settingss\SendTo
9: What you have done is to link my WebM script to Windows' "SendTo" function, that means making a WebM file of any video you like is as simple as right-clicking on any video --> SendTo --> WebM
Known issues:
- The script won't work if you place ffmpeg.exe outside the folder mentioned above
- The SendTo steps won't work on Windows XP
- The script doesn't work with .gifs, I will make a extra version for that
If you need help just send me a PM or ask here, I hope my script will help people with making WebM's
And can anyone tell me if it's okay to redistribute ffmpeg.exe? I would make a bundled .zip but I'm not sure I'm allowed to :/
EDITS:
- I updated the script to v0.3 which adds a VP8 and VP9 codec toggle!
- Now we have 0.3.1 which fixes the CRF description, thanks to Havel for pointing this out
- Added instructions for making a SendTo shortcut in Windows XP
What other addons do you have installed? Maybe send me a screenshot of your addon overview page.
Oh I didn't think about stopping the vid when moving the mouse out of the video. Everything you are seeing is working as designed.
Only with controls enabled
edit: actually, a good idea. with controls disabled, clicking the video pauses it until you hover back in again or click it again. Will do that.
I recorded my gameplay vid with RaedonPro.
I followed the steps and I get an error 'No JPEG data found in image'.
:/
Is there a webm Player for ios?
Where do you all host WebMs?
Hey ekim that extension is a nice update although since there is noway to stop the Webm when hover to play is enabled My CPU usage goes up. Also if anybody is having trouble with the WebMs try to allow your spyware - virus protection the upload site of the WebMs.
Could you do me a favor, and hit Ctrl+Shift+J (Or Cmd+Opt+J on Mac) on that options page and tell me if it says anything?
Don't think it matters. Video seems to play back fine despite the errors coming after 'every frame'.Hmm the error isn't coming from my script, it's a ffmpeg error so it might be something with your recorded video that ffmpeg can't process :/ Can you screenshot the error please?
The VLC iOS App from the Appstore can play WebM's.
http://pomf.se/
Right-click the WebM and select pause
Also I added a .gif to WebM conversion script in my earlier post, just follow the link in the first post!
Don't think it matters. Video seems to play back fine despite the errors coming after 'every frame'.
Hey ekim that extension is a nice update although since there is noway to stop the Webm when hover to play is enabled My CPU usage goes up. Also if anybody is having trouble with the WebMs try to set your spyware - virus protection to allow the upload site of the WebMs.
Fixed that. When having no controls enabled and using hover to play, you can now click to pause the video.
https://addons.mozilla.org/de/firefox/addon/webmneogaf/
Maybe you are missing some codecs? I remember reading some post back here on the first pages stating such things.
Okay so I made a small WebM conversion script that allows you to convert any video to a WebM simply by drag and dropping it onto my .bat file!
Ok, i will have a look & go through the first few pages.
What & where would the codecs likely to be though ?
You are awesome, thanks!
Also here are two .gif conversions I made, the Sena one went from 2.something mb to 855kb
http://a.pomf.se/ybency.webm
http://a.pomf.se/yrrnof.webm
any chance of GAF mobile supporting this as a toggle?
Yep lol.Wait wait so the WebM plays fine despite the errors?
Even with the bad source, this shits on any of the .gifs I've seen made of that trailer.
Anyone wanting to play these in iOS, download VLC from the App Store. It'll play them (and just about anything else).
In Safari you can just use 'Open In...' to view it. For some reason Chrome iOS doesn't really support 'Open In...', but I imagine it might not be hard to construct a bookmarklet that opens them in VLC.
h.26x would be a better choice IMO. Much broader support.
What advantages does h.26x have over VP9, other than more support?
Any way to force ffmpeg to use multiple cores for rendering? It's only using a single thread which is ridiculously slow.
If converted from original material, they might have been smaller even, due to the dithering not sitting well with the compression.
Yep lol.
What advantages does h.26x have over VP9, other than more support?