RSATom / WebChimera.js

[ABANDONED] libvlc binding for Electron
GNU Lesser General Public License v2.1
661 stars 105 forks source link

ffmpeg instead of VLC #111

Closed romaincointepas closed 3 years ago

romaincointepas commented 7 years ago

I was curious as to why ffmpeg can't be a replacement to VLC?

RSATom commented 7 years ago

It can. It just require some amount of work to do it.

romaincointepas commented 7 years ago

Got it. While there are probably many pros and cons for using ffmpeg instead of VLC, one (small) potential advantage I see would be reducing the size of webchimera.js (ffmpeg can be built to not include decoders and other features not needed by webchimera.js, ending up with a filesize of around 10-15MB). VLC is currently at ~75MB in the current webchimera.js, making the resulting node-webkit/electron app pretty big.

Can VLC also be compiled for "decoding" only, hence reducing the size of the embedded VLC dependency in webchimera.js?

RSATom commented 7 years ago

You could remove unnecessary VLC plugins to reduce app size. I can't do it since I don't know what plugins are required by your app.

romaincointepas commented 7 years ago

In the current VLC build embedded with webchimera.js, are there any dependencies that can't be used by webchimera.js at all? (I'm thinking encoders and such).

I'm thinking that even if video formats support needs may vary between apps, anything than webchimera.js can't use could be stripped at from the VLC embedded by default with webchimera.js.

Maybe I'm not seeing the bigger picture here, apologies if that's the case!

RSATom commented 7 years ago

I've already removed some useless modules, but can't be sure I've removed all.

jbkempf commented 7 years ago

@RSATom do you recompile VLC yourself? If so, configure with --disable-sout. Else, you should be able to remove a lot more modules than what you have. Have you looked at our Android blacklist?

RSATom commented 7 years ago

@RSATom do you recompile VLC yourself?

No, I prefer to use vanilla VLC packages from downloads.videolan.org

Have you looked at our Android blacklist?

No, I didn't. But it's good hint for others.

RSATom commented 3 years ago

Closed as too old.