Planet VideoLAN

Welcome on Planet VideoLAN. This page gathers the blogs and feeds of VideoLAN's developers and contributors. As such, it doesn't necessarly represent the opinion of all the developers, the VideoLAN project, ...

VLC for Android

December 14, 2017

Update on crypto-currency donations at VideoLAN

Ludovic Fauvet

After receiving much requests, the VideoLAN organization finally started accepting Bitcoin donations in February 2014. Since then, we received around 12 BTC. During the past year, the price skyrocketed and today we still hold more than 10 BTC. This unexpected surge of the Bitcoin market price makes it difficult to HODL securely. The volatility adding up to the processing time makes it quite impractical to spend.

The introduction of the Bitcoin whitepaper by Satoshi Nakamoto in 2008 was an amazing breakthrough and is already reshaping the future of payments and banking as a whole but we don’t think BTC (and derivatives) will be the de facto crypto-currency the world will use for daily transactions.

One of the key reason is the transparency of the Bitcoin blockchain. Our donation address being publicly available, the wealth we hold can be easily tracked between addresses and that makes us vulnerable. In the crypto-currency world you are your own bank, therefore you can become a target as soon as you hold enough money. No one else besides you can protect your funds from being stolen using a virtual, or even physical attack. And we don’t want any of our community members to be harmed because of that. We truly think privacy of the blockchain cannot be optional. Encrypting all transaction details: sender, receiver and amount is the most effective way to protect the people in a crypto-currency era.

Also, because of this blockchain transparency, all coins exchanged are not equal. You may think that 1 BTC = any other BTC but let me tell you, this is a wrong assumption. Imagine for a second that you received a payment containing a coin that was previously used (many transactions ago) to trade “stuff” on Silkroad, your coin is now forever tainted and might not be accepted on exchanges or payment processors. This lack of fungibility can make some of your money worth nothing, or worse, you could even be accused of money laundering.

Another major issue we experienced with Bitcoin is the processing time. Anyone dealing with BTC these days can attest that doing a payment is a pain and can easily take hours if not days. Especially if you have a lot of small inputs (like we do). Sending some random amount can costs us more than $100 in fees and can still take days to be processed. We usually end up using a free tx accelerator in order to speed things up. And we’re not alone in this space, few days ago Steam published a blog post saying they are no longer accepting Bitcoin payments for these reasons.

Let’s be honest, it’s the golden age of crypto-currencies: new crypto are launched every day and many of the people investing are betting for huge gains while most don’t care, or are just fooled, about what the technology can effectively bring. But in the end, maybe five years from now, there will only be a handful amount of crypto widely adopted. To be qualified as a possible winner, there are some characteristics to look for:

  • Must be fully open-source
  • Trusted development team
  • Active and sane community
  • Solid technological grounds
  • Scalable while maintaining low fees
  • Private and secure
  • Fungible
  • User-friendly (mobile, hardware wallets, …)
  • Out of pre-mining / ICO / scam

Let me reassure you, we are not yet to a point where we think of launching our own ICO, but if we were about to, we would definitely call it the ConeCoin! ;-)

We believe that there is still no perfect crypto-currency and we’re still quite far from it but we think that one is more in line with our core values and fits most of the critical points raised above: Monero.


Therefore, starting on January 1st, 2018, we will officially support donations in Moneroj (= plural of Monero).

We’re not yet to a point where we’ll stop accepting Bitcoin donations but we think Bitcoin became more a store of value than digital cash and we hope to see more individuals, open-source projects and stores to accept Monero in the future.

Of course, 99% of the donations we receive are still made with fiat money and that’s how we pay for servers, travels, meetings, conferences, hardware, goodies, … and we cannot thank our donators enough for their support!

VLC 3.0 is about to be released and if you too, want to support the VideoLAN project, head to our donation page (soon with Monero though!).

December 14, 2017 03:23 PM

October 02, 2017

Announcing VLC 2.5 release!

Geoffrey Métais

VLC is back on Play Store! Version 2.0 is more than 1 year old and will leave room for 2.5 which brings very interesting evolutions!

VLC for Android releases have been trapped in VLC 3.0 preparation and big media library refactoring black holes. So, there hasn’t been any update for 13 months, but development is still active and cool new stuff is coming!

This post will focus on features, implementations will be detailed in other blog posts (like the DiffUtil intro).

For now, let me introduce you to the new VLC for Android.

Minimum Android version is now Gingerbread.
FroYo support has been abandonned, these devices cannot access Google Play Store anymore.

UX evolutions

New dynamic UI

Video cards have been refactored, we now show you video details over its cover picture. This is a nicer presentation and gives room for displaying more videos at once.

Audio lists have been slightly lifted too. Others lists view have been reworked, like audio media, browsers and history. We got rid of cardview pattern, and got back to a more flat and clean design.

You can now select multiple items at the same time, to start a playlist for example.

Sort options have been spread to Audio and Browser sections.

Info page has also been redesigned with a fancy collapse effect for thumbnail or cover.

According to Material design principles, application has also become a bit more dynamic.

video grid

songs scrolling

New Audio Player Style

Audio player background is now a blurred version of current art cover if available.

player list player cover

Picture-In-Picture mode

VLC implements PiP support for Oreo devices and even Nougat Android TVs. You can activate it from video advanced options during playback.

We also added an option to automatically continue video playback in PiP or background mode (audio only) while multitasking.
Go in VLC settings to activate it and video playback will switch to PiP when you’ll press HOME button.

player cover

Android TV

TV interface had its own minor lifting too. Background is filled with blurred covers and colors are warmer. Also I made long media titles scroll, I heard your (justified) frustration :)

video grid

audio player

Android Auto

This release will bring Android Auto compatibility.
You’ll be able to use VLC as your travel music player with easy browsing into you audio library, with the minimum possible distraction from driving.

auto player

auto menu

VLC also supports voice actions on Android Auto:
You can ask “play Daft Punk (with VLC)” and Google Assistant will recognize whether it’s an artist, an album or a song you’re asking for and command VLC to play it.

auto voice

Chrome OS support

VLC has been tested and adapted for latest Chrome OS running Android apps. You now have an awesome media application ready for your chromebook!

Chrome OS

360° Videos support

VLC now supports 360° videos, you can change viewpoint by swiping or with remote control arrows.

video 360

Cardboard/VR mode is not available yet but we are working on it.

Search

Search has been split in two modes:

  • First step, the text you type in triggers a filtering in the current view. Exactly like in current playlist view.
  • If you want to do a global search, click on the SEARCH IN ALL MEDIALIBRARY button to show the new search view. This will bring detailed results grouped by video/artist/album/songs/genres/playlist.

search global

Bonus: VLC is now compatible with voice search.
Asking Google Now “Search Artic Monkeys in VLC” will trigger a Arctic Monkeys search and show you this new search result screen.

search voice

Miscellaneous new features

  • DayNight mode integration
  • Audio boost in video
  • Equalizer custom presets
  • Save and resume position for podcasts & audiobooks
  • Restored double/long click on remote play to skip songs
  • Removed sound lowering on notification
  • Force previous song on audioplayer swipe
  • Fix audioplayer layout for black theme and RTL
  • Save subtitles delay and optionally audio delay for each file.
  • Support for devices with large aspect ratio, like G6 and S8 phones

Under the hood

MediaLibrary

That’s the most important change in this update, because it affects the whole application, but you should barely notice it…

VLC now uses medialibrary like VLC for Tizen (other VLC ports will follow).
It’s a C++ library, written by Hugo Beauzée-Luyssen, which parses storages for video/audio files and manages a sqlite database to model your media library (with album, artist, genre classification, etc..). It replaces the old system we had on Android which just saved media files with their metadata, we had no proper structure for media library.
Categories lists are now faster to show up, we don’t have to generate them at runtime. And this is all native code, which is faster than Java.
Beside this speed improvement, one of the main benefits of this medialibrary is to provide better search results.

For now we are focusing on the first scan performance to make it at least as fast as the previous system.

So, this library is aimed to be a common module of all VLC ports, wich means all debugging, performance and any improvement will benefit other platforms.

Next steps for this library will be media scrapping, and network scan:

  • Medialibrary will get information and illustrations for your media, so we’ll be able to present you a nice collection instead of an uncheerful files list. We will also group media by shows/seasons et genre/release year/whatever
  • You will be able to scan your NAS content to access your media easily.

This will make VLC a fully featured media center!

Playback performance & formats support

VLC core team worked hard too to bring performance improvements and some new features. Here are some highlights:

  • Adaptive (HLS/Dash) & TS playback improved
  • OpenGLES 2.0 is now used to render video (for software decoders & mediacodec)
  • Support for VP8/9/10 in MP4
  • HDMI passthrough

Future

We also plan to implement a feature to download media on your device, in order to sync your series episodes or songs from your NAS to your device.

We’d like to support videos playlists like we do with videos grouped by their common name prefix.

As previously stated, medialibrary will help VLC to turn into a real media center with fancy movies/tv shows presentation, and better artists/albums artworks.

At last, I started an extension API to help everyone eager to develop android applications that can provide content to VLC, and benefit from VLC Auto and TV implementation. As a start, we will release (with sources of course) extensions for podcasts subscriptions and Google Drive access.

October 02, 2017 12:00 AM

July 25, 2017

Using requests with xmlrpc

Rémi Duraffort

Using XML-RPC with Python3 is really simple. Calling system.version on http://localhost/RCP2 is as simple as:

import xmlrpc.client

proxy = xmlrpc.client.ServerProxy("http://localhost/RPC2")
print(proxy.system.version())

However, the default client is missing many features, like handling proxies. Using requests for the underlying connection allows …

July 25, 2017 08:33 AM