13th week of VideoLAN reports
Yet another week, and yet another weekly report of what’s happening in the VideoLAN community and VLC development teams!
Features and changes
VLC
Another week started with MediaCodec fixes, which went on for a few days and terminated with the addition of hardware accelerated Audio decoding on Android.
libVLC received new events for audio corking, muting, volume changing and audio devices: libvlc_MediaPlayerCorked
, libvlc_MediaPlayerUncorked
, libvlc_MediaPlayerMuted
, libvlc_MediaPlayerUnmuted
, libvlc_MediaPlayerAudioVolume
, libvlc_MediaPlayerAudioDevice
.
I backported the first few to libVLC 2.2.2.
The internal of VLC subtitles were completely rewritten, changing the way we’re passing the text information from demuxers to decoders to text renderers.
We are now passing some structured text around, with styles information attached to it, instead of pseudo-HTML. This allowed to remove a large piece of duplicated code from text renderers, and put the complexity on the parsing side, not on the rendering side.
The H.264 NAL parsing was largely improved to fix the remaining problems of VideoToolbox for OS X and iOS, notably for frame re-ordering.
The VideoToolbox decoder should now be totally usable.
We added a new speech-to-text subtitle renderer for OS X, that speaks the subtitles instead of showing them on the screen. Of course, this is not for everyone, but it should help in accessibility cases for vision-impaired people.
The OS X interface cleanup work was continued during the whole week, by David, and will probably go on the next weeks.
Finally, we got fixes for AudioTrack (once again), notably for SPDIF support; for numerous memory leaks and some uninitialized variables.
Android
This week was rather calm (but not too calm) on the Android side of things, mainly because of the work on the other projects.
First, we integrated the VLC core changes to improve performance. VLC 1.5.1 should be quite competitive on this matter.
Then, we rewrote completely most of the video player advanced options, using icons in a new single panel.
We also improved the integration of vlc://
protocol and the Intents for 3rd party apps and websites when they try to launch VLC.
Finally, we improved the libVLC JNI API to support SurfaceTexture directly.
iOS
The work for VLC for iOS 2.7.0 was continued greatly this week. And VLC 2.6.3 was pushed on the store.
A large amount of work was done to support RTL languages, as it was announced for iOS 9.
This requires more usage of AutoLayout in our code.
Also, the thumbnail cache was improved, the side menu is getting a lift and a few crashes were fixed.
Some important work was done on MobileVLCKit to make it usable as a shared library framework.
Finally, the integration of VideoToolbox was merged for the iOS project.
WinRT
Like last week, the WinRT port received quite a few changes.
Most of the changes are about the interface, to prepare the integration for Windows 10, to get a more consistent interface, and to listen to user’s feedback.
The rest of the changes are on the Direct3D11 hardware decoding.
We’ll see how all this gets merged and released soon.
x264
x264 got a new release, and a bit of code merged in the master branch.
It notably adds:
- NV21 input support,
- Experimental NASM support,
- Fixes for some CAVLC overflow, some memory leaks, and file handle leaks,
- SSSE3 and AVX2 implementations of plane_copy_swap, for NV21 support,
- Support for MSA MIPS architecture, for SIMD on MIPS,
- Early Power8 support.
That’s all for this week! Have fun!
Don’t forget to register now for VDD, this September, in Paris.