WebM is coming

Here is a nice overview of this exciting new development:

http://www.linux-mag.com/cache/7786/1.html

Hmmm, from the article it seems that the "writing is on the wall" for Theora.

I'll wait until WebM and VP8 have officially got into Ffmpeg and Mplayer and do a recompile, but that won't make it into Quirky 1.2.


Posted on 24 May 2010, 17:48


Comments:

Posted on 25 May 2010, 4:59 by playdayz
WebM
This is copied from p.77 of the main Lucid Puppy thread in Puppy Projects.
http://www.murga-linux.com/puppy/viewtopic.php?p=421291#421291

Let's have some fun. This is what we can do with Lucid Puppy. Barry mentions WebM in his blog. It can be found in the Chromium nightly trunk builds this week.
http://bkhome.org/blog/?viewDetailed=01614

Here is where to get the trunk builds--the bottom directory.
http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/

Here is a pet of 5 libraries that you will need
http://www.diddywahdiddy.net/Puppy500/chromium_libs.pet

I don't know if today's build has the WebM. Perhaps someone can let us know. Enjoy.


Posted on 25 May 2010, 13:46 by Terryphi
WebM in Opera
Opera has also produced an experimental WebM build:

http://my.opera.com/desktopteam/blog/2010/05/20/webm-labs-release


Posted on 25 May 2010, 14:11 by Lobster
webM
Yep works OK in Lucid
Chromium + WebPM - runs
http://www.murga-linux.com/puppy/viewtopic.php?p=421401#421401


Posted on 25 May 2010, 19:39 by 01micko
webm ok
I have been playing a bit with webM in chromium and firefox. Though firefox claims it can do fullscreen (well the option is there, good enough for me to be a "claim") it bugged out for me, didn't crash but didn't work. Chromium doesn't claim to do fullscreen and there's no fullscreen option. Of course both were the latest nightly build which I installed to my frugal installation.

On an AMD X2 3GHz with 2 GB RAM, cpu was a fairly constant 15% of the total in Lupu, not bad, RAM use was negligible. Total use before playing a video was 2.8% and while playing fluctuated up to 2.9%.. nothing in that. The figures are from Htop. Tried a couple of videos, used Chromium. (Mozilla annoyed me today, unrelated!).

So it would seem that it is very efficient. Tomorrow I'm going out to the shed to try it on the old P3, on which Lupu runs well. That will be a real test ;-).

Cheers


Posted on 25 May 2010, 22:37 by playdayz
Were they really WebM?
I found that even if you do everything that the article Barry linked says to do, youtube will still often play the video with Flashplayer--as it say I guess--anything with ads it plays with Flashplayer regardless. If you right -click on the video and get the Flashplayer menu then it is Flashplayer. I found one or two that did not give the Flashplayer menu when right-clicked--those were actually WebM I think. I dont' watch youtube much so I didn't know where to look I guess. Thanks.



Posted on 26 May 2010, 8:25 by 01micko
WebM: How to tell
A couple of ways to tell if you are watching WebM...

At the start you will see a small "Html5" logo
There is no fullscreen button, even in firefox, there is instead an arrow pointing down and an arrow pointing right which centralises the image and makes it about 50% bigger
When I searched I searched I put "webm" in the search bar. Of course there isn't a great deal out there yet, but enough to test

It wasn't so great on the old p3, but a bit better than flash, plus chromium wouldn't run, could only use the nightly build of firefox.

Cheers


Posted on 18 Jun 2010, 16:23 by aarf
webM
""aarf wrote:
WebM support for HTML5 video: opera 10.60-6363 still wont play youtube if flashplayer path is wrong.



That's normal, WebM can't work in opera or any other browser in puppy yet. It needs it's one library which isn't in puppy yet. Barry had said that he was going to compile ffmpeg with WebM support but he hasn't done it yet.

I'm thinking about compiling ffmpeg from git with WebM support but I can't be sure whether it will brake something else, I'll have to find the options Barry is using. Anyway if I won't find them I'll compile it with the default options and release it but it will be big in size. I'll check it later tonight.""http://www.murga-linux.com/puppy/viewtopic.php?p=427648#427648

opera 10,60 beta says it has webM


Posted on 18 Jun 2010, 17:36 by BarryK
Configure ffmpeg
Well, the last time that I compiled ffmpeg in Quirky, this was the configure options:

# ./configure --prefix=/usr --cpu=i486 --arch=i486 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-libfaad --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libdc1394 --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-mmx --disable-mmx2 --disable-sse --disable-ssse3 --disable-amd3dnow

You might want to change some of those, for example set the architecture to 'i686' -- for anything less than i686 the 'configure' script disables mmx support, even if you have '--enable-mmx' -- I hacked the configure script to allow it for a i486 architecture.

I don't think the '--enable-nonfree' is needed anymore, but perhaps someone knows more about that than I do.



Posted on 19 Jun 2010, 9:14 by 01micko
ffmpeg
That is almost the same configure options I used in lupu.

I think the non-free option is deprecated because the proprietary amr module is replaced with libopencore-amrnb and libopencore-amrwb. This is support for mobile phone video codecs.

There would be new options now with webM, I know you will need --enable-lib264 and something for the vp8 codec, which would need the appropriate library support and possible dependencies. I need to do some homework on that.

I might have a crack at it over the weekend.

Cheers


Posted on 19 Jun 2010, 11:19 by 01micko
ffmpeg-0.6
Well it compiled ok in luci-204.
./ffmpeg -v

FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
built on Jun 19 2010 13:03:34 with gcc 4.4.3
configuration: --enable-libvpx --prefix=/usr --disable-ffserver --enable-swscale --enable-pthreads --enable-small --disable-ffplay --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libmp3lame --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-armvfp --disable-iwmmxt --disable-yasm --enable-gpl --source-path=/mnt/sda7/ffmpeg-0.6 --enable-version3 --disable-debug --cpu=i686 --enable-nonfree
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.11. 0 / 0.11. 0


--enable-nonfree is needed for faac support.

I compiled i686, maybe it will be a good add on for Lupu.

Fortunately the Ubuntu devs have the vp8 lib, libvpx, else it would need to be compiled in Quirky/wary I guess.

I'll give it a spin and if it's ok I'll upload for testing, dependencies will be needed. I'll provide the links.

Ha, I guess I better learn how to use it with the web5 stuff! Probably need a capable player.

Cheers


Posted on 19 Jun 2010, 13:43 by 01micko
ffmpeg pet uploaded
Hi there

info at the forum
http://www.murga-linux.com/puppy/viewtopic.php?p=428349#428349

webm and ffmpeg seem to work well.

Cheers



Posted on 19 Jun 2010, 18:53 by BarryK
mplayer at ffmpeg
01micko,
You might be interested to know that the ffmpeg people maintain their own mplayer source:

http://git.ffmpeg.org/

...click 'tree' link to download a snapshot tarball.

I haven't tried to compile it yet. It seems to be synced with latest mplayer source. It is particularly interesting, as the official mplayer source has some difficulties compiling with latest external ffmpeg libs.



Posted on 13 Dec 2010, 24:11 by linuxcbon
libavcodec
I posted this to the ffmpeg user mailing list :
Hi,
I have a /usr/lib/libavcodec.so.52.77.0 which size is 3.5Mb.
I need to have it smaller.
So I need to know what are the 5 most used codecs ?
And how can I compile it to have it smaller ?
thanks in advance.


Posted on 26 May 2011, 15:13 by linuxcbon
libavcodec
http://ffmpeg.org/pipermail/ffmpeg-user/2011-May/000981.html

YOU must know what codecs you use and all other are not needed in your binary

configure --enable-small --disable-decoders --disable-encoders --enable-decoder= ... --enable-encoder

that is you can deselect all the decoders and encoders, and explicitely select only the ones you need.