Changes between Initial Version and Version 1 of SponsoringPrograms/GSoC/2019

Jan 16, 2019, 9:45:58 PM (20 months ago)

Blind import from 2018 - Needs updating


  • SponsoringPrograms/GSoC/2019

    v1 v1  
     4= Introduction =
     6FFmpeg is the universal multimedia toolkit: a complete, cross-platform solution to record, convert, filter, and stream audio and video. It is used by a number of media players (including VLC and MPlayer), video websites (including !YouTube and Vimeo), web browsers (including Google !Chrome/Chromium and Firefox), social media (including Facebook and Twitter) and countless other software projects in the multimedia field and beyond.
     8This is our ideas page for [ Google Summer of Code 2018]. See the [ GSoC Timeline] for important dates.
     10At the end of the program you can find all the results on the [[2018/Results|results page]].
     13= Information for Students =
     15== Getting Started ==
     171. '''Get to know FFmpeg.''' If you are a student interested in contributing to FFmpeg, it is recommended to start by subscribing to the [ ffmpeg-devel] mailing-list, visiting our !FreeNode IRC channels (''#ffmpeg-devel'' and ''#ffmpeg'' although you will find most developers on the first one), and exploring both the codebase and the development workflow. Feel free to [#ContactingFFmpeg contact us] if you have any questions. Also do not hesitate to answer questions from other students on our IRC channel if you know the answer to something.
     192. '''Find a project.''' Listed on this page are mentored and un-mentored projects. Mentored projects are well-defined and mentor(s) have already volunteered. Un-mentored projects are additional ideas you may want to consider, but you will have to contact us to find a mentor. You can also propose your own project, if you can think of one that better fits your interest and skill level. If a project description is unclear or you have any questions, please get in touch with its mentor and/or join our IRC channel at ''#ffmpeg-devel''.
     213. '''Contact us.''' If you decide on a project, get in touch with the community and let us know. If you want to work on a qualification task, let the respective mentor know so we can avoid duplicated efforts.
     234. '''Apply.''' Students should apply by March 27th at the very latest. The "work" period begins on May 14th and ends in August. Take a look at [ GSoC timeline] for additional information. Note, make sure you apply to Google before the 27th even if you have not yet finished your qualification task. And please apply as soon as possible: Applications can be improved until the 27th but not afterwards!
     26#!div style="border: 1pt dotted; margin: 1em; background-color: #fffff9;"
     27'''Note''': A friendly reminder that while the application to GSoC is important for you and GSoC, FFmpeg mentors will not base their decision solely on the GSoC application. We will judge the applicant based on their abilities in coding, learning the tools, communication skills etc. So please do not worry about your application being perfect for us. Although it is very important to follow GSoC's application rules so they can pay you.
     30== Qualification Tasks ==
     32In order to get accepted you normally have to complete a small qualification task. FFmpeg development can be quite challenging and the qualification task helps us figure out whether you are motivated enough and have the potential to deliver successfully.
     34The qualification tasks are usually shown in the project description. Contact the respective mentor(s) for assistance on getting a related qualification task or if you want to propose your own. You can also browse the [ FFmpeg Bug Tracker] for qualification task ideas. In general qualification tasks should include submitting a patch to the [ ffmpeg-devel mailing list] which passes review and is accepted into the FFmpeg codebase. It will be common for such patches to need multiple iterations of submissions and reviews, so don't wait too long with the first submission! Note, please avoid picking a qualification task which another student is already working on, each student should work on a different qualification task.
     36== Contacting FFmpeg ==
     38If you have questions or comments feel free to contact us via our mailing list, IRC channel, or e-mail one of the FFmpeg GSoC admins:
     40* '''Mailing-list:''' [ ffmpeg-devel]
     41* '''IRC:''' ''#ffmpeg-devel'' on [ Freenode]
     42* '''FFmpeg GSoC Admins:''' Michael Niedermayer (''michaelni'' in #ffmpeg-devel on Freenode IRC,, Reynaldo Verdejo (''reynaldo'' in #ffmpeg-devel on Freenode IRC, R Verdejo on g mail), Carl Eugen Hoyos (''cehoyos'' in #ffmpeg-devel on Freenode IRC, ceffmpeg at gmail dot com), Thilo Borgmann (thilo.borgmann at mail dot de)
     45You may also contact a mentor directly if you have questions specifically related to one of the projects listed on this page.
     49= Mentored Projects =
     51This section lists well-defined projects that have one or more available mentors. If you are new to FFmpeg, and have relatively little experience with multimedia, you should favor a mentored project rather than propose your own. Contact the respective mentor(s) to get more information about the project and the requested qualification task.
     53== Cineform improvements ==
     55'''Description:''' Improve Cineform decoder. The Cineform decoder was previously reverse engineered but now GoPro have open sourced Cineform so we can add missing features and make the existing decoder fast.
     57'''Expected results:''' Support reading as many features of the format as possible.
     59'''Prerequisites:''' Good C coding skills, basic familiarity with git. Knowledge of assembly desirable but can be learnt.
     61'''Qualification Task:''' Fix, and
     63'''Mentor:''' Kieran Kunhya (''kierank'' in #ffmpeg-devel on Freenode IRC)
     65'''Backup Mentor:''' Rostislav Pehlivanov (atomnuker [at] gmail [dot] com)
     67== DICOM support ==
     69'''Description:''' FFmpeg currently does not support DICOM files although this is a widely used image format that is often passed to patients who have no access to DICOM equipment.
     71'''Expected results:''' Support reading as many features of the format as possible.
     73'''Prerequisites:''' Good C coding skills, basic familiarity with git
     75'''Qualification Task:''' Write a simple demuxer for a format currently unsupported by FFmpeg. The following tickets contain possible tasks, not all of them are equally simple / difficult, some may turn out to be less useful: #5154, #4748, #4519, #3986 (this may be too difficult or impossible), #3720, #2956, #2662 and #2176. Not all possible features of a demuxer have to be implemented (the more the better) but at least auto-detection and video decoding (and remuxing) should be possible to implement for all of them.
     77'''Mentor:''' Carl Eugen Hoyos (''cehoyos'' in #ffmpeg-devel on Freenode IRC, ceffmpeg at gmail dot com)
     79'''Backup Mentor:''' Thilo Borgmann (thilo.borgmann AT mail de)
     81== HEIF support ==
     83'''Description:''' FFmpeg currently does not support reading HEIF/HEIC files although this is a format with increasing usage in mobile devices.
     85'''Expected results:''' Support reading the sample files that are attached to ticket #6521.
     87'''Prerequisites:''' Good C coding skills, basic familiarity with git
     89'''Qualification Task:''' See the list of tickets for the DICOM project above.
     91'''Mentor:''' Carl Eugen Hoyos (''cehoyos'' in #ffmpeg-devel on Freenode IRC, ceffmpeg at gmail dot com)
     93'''Backup Mentor:'''
     95== MPEG-4 ALS codec improvements ==
     97'''Description:''' The implementation for MPEG-4 ALS is still missing some features and known bugs exist. This project aims to add missing features to the decoder and possibly the encoder as well as raising compatibility with the reference encoders.
     99'''Expected results:''' Improve FFmpeg's ALS native decoder by implementing one or more of the following subtasks:
     100* Add RLS-LMS prediction to the decoder / encoder
     101* Add FATE regression tests for RLS-LMS if appropriate
     102* Add floating-point support to the encoder
     103* Validate comptibility with reference codecs RM22/RM23
     104* Fix system dependent bugs to make FATE "green"
     105* Optimize FATE test samples in size and test coverage
     106* Solve known bugs in the codec
     108'''Prerequisites:''' C coding skills, basic familiarity with git.
     110'''Qualification Task:''' Fix one of the known bugs of ALS listed in our [ bugtracker].
     112'''Mentor:''' Mohammad Umair (''omerjerk'' in #ffmpeg-devel on Freenode IRC,
     114'''Backup mentor:''' Thilo Borgmann (thilo.borgmann AT mail de)
     117== Super Resolution filter ==
     119'''Description:'''  Use machine learning super resolution techniques to implement an upscaling filter. The student must evaluate the best suited method based on state of the art methods
     121'''Expected results:''' A working super resolution filter, which could be trained for specific content.
     123'''Prerequisites:''' Good C coding skills, knowledge of machine learning and convolutional neural networks, basic familiarity with git, familiarity with one machine learning framework.
     125'''Qualification Task:''' Implement a ffmpeg filter which performs the [ SRCNN] 2x upscale, pre-trained weights will be provided.
     127'''Wiki page:''' [[SponsoringPrograms/GSoC/2018/SR|Super Resolution]]
     129'''Mentor:''' Pedro Souza (bygrandao [at] gmail [dot] com)
     131'''Backup Mentor:''' Michael Niedermayer (
     133== 360° video filter ==
     135'''Description:'''  Write filter which will be supporting all projections (equirectangular, cubemap, etc), as output and input, found on Internet.
     137'''Expected results:''' A working, full featured 360° video transformation filter which will also allow to extract FoV and do roll/yaw/pitch.
     139'''Prerequisites:''' Good C coding skills, basic familiarity with git.
     141'''Qualification Task:'''  Find filter posted on FFmpeg development mailing list which deals with two kind of projections and extend it.
     143'''Mentor:''' Paul B Mahol (onemda [at] gmail [dot] com)
     145'''Backup Mentor:''' Thilo Borgmann (thilo.borgmann AT mail de)
     147== Motion search on the GPU using Vulkan ==
     149'''Description:'''  Write a filter which will perform block-matching on the GPU with variable block sizes and will report back the motion vectors. This is a very important and costly operation done in many applications, from framerate interpolation to encoding to deinterlacing. Will involve reading research papers.
     151'''Expected results:''' A partially-working block-matching algorithm done using shaders via the Vulkan framework in FFmpeg.
     153'''Prerequisites:''' Basic familiarity with git, good C coding skills, familiarity with GLSL and some basic knowledge of motion estimation
     155'''Qualification Task:''' Write a filter of your choice (though ask if its okay first) using the Vulkan filtering infrastructure.
     157'''Mentor:''' Rostislav Pehlivanov (atomnuker [at] gmail [dot] com)
     159'''Backup Mentor:''' Thilo Borgmann (thilo.borgmann AT mail de)
     162== Video filtering with OpenCL ==
     165Write video filters to perform useful common operations on the GPU.
     167Currently FFmpeg has good support for offloading decoding and encoding from the CPU (with support for DXVA2, D3D11, VAAPI, VDPAU, V4L2-M2M, and then many manufacturer-specific APIs), but not such good support for doing anything else with that video without using the CPU.  There is interop support for mapping between APIs so that generic methods like OpenCL which can be run on any GPU can be used together with specific video APIs for decoding and encoding, but currently there are only a few operations which can actually use this so many use-cases require expensive additional steps to download frames from the GPU and then upload them again later after performing some processing on the CPU.  Therefore, we would like to add more OpenCL filter support to libavfilter so that more operations can be offloaded.
     169In particular:
     170* Scaler, supporting a choice of scaling algorithms.
     171* Deinterlacer, probably based on an existing filter such as yadif or bwdif.
     172* Colour conversion, for both RGB and YUV, supporting different ranges and colour spaces.
     173* Any other video filters you would find useful!
     175There are also some related tasks which may be helpful:
     176* Adding more interop modes if you have a device which isn't currently supported.
     177* Adding support for testing GPU filters.  Currently the regression test suite only runs in software, extending it to be able to test the functionality of GPU filters would allow better testing - this is especially helpful given the wide variety of different devices it can run on.
     179'''Expected results:'''
     180More filters which can run on the GPU, increasing the scope of operations which can be offloaded to the GPU and the pipelines which can run on the GPU only.
     183* C coding ability and familiarity with git.
     184* Some knowledge of GPU concepts and programming (need not be OpenCL, much is transferrable so easy to learn).
     185* OpenCL-compatible GPU - easiest with Intel or AMD devices running on Linux or Windows; likely possible with many others.  More than one from different manufacturers would be helpful for testing.  CPU implementations can also be tested, but should be avoided for the main implementation work because they have very different performance properties.
     187'''Qualification task:'''
     188Implement a new video filter for libavfilter which uses OpenCL.  This can be a copy of any existing CPU-only filter or a new filter of your choice (it need not be efficient or do anything complex).
     190'''Mentor:'''  Mark Thompson (''jkqxz'' in #ffmpeg-devel, <>)
     192'''Backup mentor:'''  Rostislav Pehlivanov (atomnuker [at] gmail [dot] com)
     195== Replacement for ffserver ==
     198The ffserver project has been unmaintained for a while and therefore has been removed. A rewrite which uses only the public API could provide better maintainability and would (at least for now) use recent APIs. Obviously the number of features would be limited at first. A possibility would be to fork [ mkvserver_mk2] and work from there. This far only http video-live-streaming in matroska is supported and no runtime configuration can be done.
     200'''Expected results:'''
     201* Configuration file support
     202* DASH support
     203* HLS support
     204* RTP support
     205* ...
     207'''Qualification task:'''
     210'''Mentor:''' Rostislav Pehlivanov (atomnuker [at] gmail [dot] com)
     214= Unmentored Projects =
     216This is a list of projects that students are encouraged to consider if a mentored project is unavailable or not within the students skill or interests. The student will have to find a mentor for the project. A student can also [#YourOwnProjectIdea propose their own project].
     218== VC-1 interlaced ==
     220'''Description:''' The FFmpeg VC-1 decoder has improved over the years, but many samples are still not decoded bit-exact and some real-world interlaced streams show artefacts. This task is difficult.
     222'''Expected results:'''
     223* Implement missing parts of interlacing
     224* Make more reference samples bit-exact
     226'''Prerequisites:''' C coding skills, basic familiarity with git, ability to read and understand the vc1 specification and align that knowledge with the existing code
     228'''Qualification Task:''' Find a bug in the current decoder implementation and fix it.
     230== JPEG 2000 ==
     232'''Description:''' FFmpeg contains a native JPEG 2000 encoder and decoder. Both are missing many features, see also the FFmpeg bug tracker for some unsupported samples. This task is difficult
     234'''Expected results:''' A jpeg 2000 decoder which can decode more samples and / or an encoder that achieves higher compression.
     236'''Qualification Task:''' Fix an issue (for example from the bug tracker) to show that you are capable of improving the codec implementation.
     238'''Prerequisites:''' C coding skills, basic familiarity with git, good knowledge of Jpeg-2000
     242== Your Own Project Idea ==
     244A student can propose a project. Ideas can also be found by browsing bugs and feature requests on our bug tracker. The work should last the majority of the GSoC internship duration, the task must be approved by the developers, and a mentor must be assigned.
     246Students can discuss an idea in the [ ffmpeg-devel] mailing-list, the #ffmpeg-devel IRC channel, or contact the FFmpeg GSoC admins for more information.