https://wiki.multimedia.cx/api.php?action=feedcontributions&user=MarcoGerards&feedformat=atomMultimediaWiki - User contributions [en]2024-03-28T17:34:54ZUser contributionsMediaWiki 1.39.5https://wiki.multimedia.cx/index.php?title=FFmpeg_Summer_Of_Code_2007&diff=7569FFmpeg Summer Of Code 20072007-04-03T15:28:18Z<p>MarcoGerards: /* THP Playback System */</p>
<hr />
<div>Google is sponsoring their third annual [http://code.google.com/soc/ Summer of Code] for the summer of 2007. This entails sponsoring students to work on assorted open source projects as well as sponsoring mentors in those same projects. Everyone wins.<br />
<br />
[[FFmpeg]] was a Summer of Code participant in the [http://code.google.com/soc/2006/ffmpeg/about.html summer of 2006] (here is the [[FFmpeg Summer Of Code|corresponding Wiki page]]).<br />
<br />
[[User:Multimedia Mike|Mike Melanson]] (mike -at- multimedia.cx) is the administrator and main point of contact for matters relating to the FFmpeg Summer of Code.<br />
<br />
== How to apply ==<br />
<br />
Before you can apply make sure you are qualified enough to apply. Last year 50% of the applicants weren't qualified for the task they applied for.<br />
<br />
* You have to know how to program in C fairly well.<br />
* We would like you to submit a patch that fixes a bug or adds a feature to FFmpeg. By doing that we will know that you are qualified for the task or not. On this page there is a list of [[Summer Of Code 2007#Qualification_tasks|Qualification Tasks]] that can be done. But you are free to submit anything you feel might be of value to FFmpeg. The qualification task can be done after you have filed you application (up until around April 7 as the list of accepted students is scheduled to be posted by Google on April 9).<br />
* Submit a good application through the formal Google Summer of Code process during the application timeframe (March 14-24, 2007).<br />
* You have to have >35 hours per week to put into the project.<br />
* You can't have another job at the same time as the SoC project.<br />
<br />
== Current Status ==<br />
* March 5-12, 2007: Application period for mentoring organizations.<br />
* March 6, 2007: Mike Melanson submitted FFmpeg mentoring application.<br />
* March 14, 2007: Google are now accepting student Applications.<br />
* March 15, 2007: FFmpeg got accepted as mentoring organization; now accepting student applications until March 24, 2007. Note that this is '''NOT''' the deadline to complete a qualification task; final student selections are to be made by April 9.<br />
<br />
== Project Proposals ==<br />
<br />
=== Overview ===<br />
Qualifications for a good Summer of Code proposal:<br />
* discrete, well-defined, modular<br />
* comprised of a series of measurable sub-goals<br />
* based on open specs that are available free of charge<br />
* based on complete specs<br />
An example of a good proposal is the implementation of a decoder or demuxer for an as yet unsupported multimedia format, or an encoder or muxer for a format that can already be demuxed/decoded by FFmpeg.<br />
<br />
An example of a less desirable proposal is one that's not as measurable, such as refactoring APIs. Bad proposals tend to be ones that would require touching a lot of core code.<br />
<br />
To re-iterate:<br />
* Localized/isolated code projects = ''good''<br />
* Global code refactoring = ''bad''<br />
<br />
=== Note ===<br />
THIS LIST IS NOT THE PROPOSALS WE ARE SUBMITTING!<br />
<br />
Most of this list is just some ideas we are kicking around.<br />
<br />
=== Projects with Mentors (official projects) ===<br />
<br />
==== QCELP Decoder ====<br />
<br />
* Specification: QCELP decoder [http://www.3gpp2.org/Public_html/specs/alltsgscfm.cfm spec] is c.s0020 and source is c.r0020<br />
* Sample files: http://samples.mplayerhq.hu/A-codecs/qclp/<br />
<br />
''Mentor: Benjamin Larsson''<br />
<br />
==== Matroska Muxer ====<br />
<br />
* Specification: http://www.matroska.org/technical/specs/index.html<br />
* Sample files: http://samples.mplayerhq.hu/Matroska/<br />
<br />
''Mentor: Aurelien Jacobs; Backup mentors: Steve Lhomme, Ronald S. Bultje''<br />
<br />
==== MPEG TS/DVB Muxer ====<br />
* Specification: ISO 13818-1<br />
<br />
''Mentor: Baptiste Coudurier''<br />
<br />
==== MXF Muxer ====<br />
* Specification: SMPTE 377M<br />
<br />
''Mentor: Baptiste Coudurier''<br />
<br />
==== RV40 Decoder ====<br />
* [[RealVideo 4]] is steadily being reverse engineered and should be a reasonable candidate for re-implementation by the summer.<br />
<br />
''Mentor: Mike Melanson''<br />
<br />
==== PAFF decoding for H.264/AVC ====<br />
* Specification: [http://www.itu.int/rec/T-REC-H.264-200503-I/en ITU-T]<br />
* Sample files: http://samples.mplayerhq.hu/V-codecs/h264/PAFF/<br />
<br />
''Mentor: Loren Merritt''<br />
<br />
==== Dirac Encoder AND Decoder ====<br />
* Website: http://dirac.sf.net<br />
* Specification: http://dirac.sourceforge.net/specification.html<br />
<br />
''Mentor: Luca Barbato''<br />
<br />
==== E-AC3 Decoder ====<br />
* Specification: http://www.atsc.org/standards/a_52b.pdf<br />
* Samples: http://samples.mplayerhq.hu/evob/MAININTRO.EVO<br />
<br />
''Mentor: Justin Ruggles''<br />
<br />
<br />
<br />
=== Ideas for more projects to be determined ===<br />
<br />
==== JPEG2000 ====<br />
* Specifications: [http://www.itu.int/rec/T-REC-T/e As ITU-T recommendations], [http://isotc.iso.org/livelink/livelink/fetch/2000/2489/Ittf_Home/PubliclyAvailableStandards.htm ISO publicly available standards]<br />
* Sources: [http://www.ece.uvic.ca/~mdadams/jasper/ JasPer], [http://www.openjpeg.org/ OpenJpeg], [http://jj2000.epfl.ch/ JJ2000 (in Java)]<br />
* Samples: http://samples.mplayerhq.hu/jpeg2000/<br />
<br />
==== Monkey's Audio Decoder (APE) ====<br />
* Sources: [http://www.monkeysaudio.com/files/MAC_SDK_399.zip original sources], [http://sourceforge.net/projects/mac-port/ original sources port for non-win32 platforms], [http://jmac.sourceforge.net/ LGPLed Java implementation]<br />
<br />
==== Finish LC-AAC decoder and implement HE-AAC decoder (LGPL) ====<br />
* LGPL code: http://svn.mplayerhq.hu/aac/<br />
* GPL decoder (libfaad2): http://www.audiocoding.com<br />
* Possible AAC+ sub-project:<br />
** [http://www.codingtechnologies.com/products/sbr.htm SBR (Spectral Band Replication)] decoder (aacPlus v1 support)<br />
** [http://www.codingtechnologies.com/products/paraSter.htm PS (Parametric Stereo)] decoder (for aacPlus v2 support)<br />
<br />
==== GSM Decoder ====<br />
* Specification + sample implementation: http://kbs.cs.tu-berlin.de/~jutta/toast.html<br />
* Samples: http://samples.mplayerhq.hu/A-codecs/GSM/<br />
<br />
==== i263 Decoder ====<br />
* Specification: [[I263 | I263 Format Specification at MultimediaWiki]]<br />
* Sources: [http://multimedia.cx/I263Src.zip GPLed I263 decoder]<br />
* Sample files: http://samples.mplayerhq.hu/V-codecs/I263/<br />
<br />
==== VP6 Encoder ====<br />
* Specification: [[On2 VP6]]<br />
* Samples: http://samples.mplayerhq.hu/V-codecs/VP6/<br />
<br />
==== NUT Muxer ====<br />
* General improvements and enhancements<br />
<br />
==== DPX/Cineon Encoder AND Decoder ====<br />
* Specification: SMPTE 268M<br />
* http://en.wikipedia.org/wiki/DPX<br />
* Sources: [http://cinepaint.cvs.sourceforge.net/cinepaint/cinepaint-project/cinepaint/plug-ins/cineon/ CinePaint implementation] , [http://linuxmovies.org/ linuxmovies.org list of open source film tools]<br />
* Samples: ftp://ftp.graphicsmagick.org/pub/dpx/<br />
<br />
==== OpenEXR Encoder AND Decoder ====<br />
* Website and open source tools: http://openexr.com/<br />
* License: modified BSD<br />
* http://en.wikipedia.org/wiki/OpenEXR<br />
* Sources: [http://cinepaint.cvs.sourceforge.net/cinepaint/cinepaint-project/OpenEXR/ CinePaint implementation] , [http://linuxmovies.org/ linuxmovies.org list of open source film tools]<br />
<br />
==== HD Photo Encoder AND Decoder ====<br />
* Sources and specification: http://www.microsoft.com/whdc/xps/hdphotodpk.mspx<br />
* http://en.wikipedia.org/wiki/HD_Photo<br />
<br />
==== mp3PRO & aacPlus & MPEG Surround decoders ====<br />
* [http://www.codingtechnologies.com/products/mp3pro.htm mp3PRO] decoder. Note: mp3PRO decoding means MP3 + [http://www.codingtechnologies.com/products/sbr.htm SBR (Spectral Band Replication)] demuxing/decoding. (Standard MP3 decoders can decode mp3PRO encoded files/streams but without [http://www.codingtechnologies.com/products/sbr.htm SBR] you do not get the full quality. By adding a [http://www.codingtechnologies.com/products/sbr.htm SBR] decoder to FFmpeg and coupling it with the existing MP3 decoder you could playback mp3PRO at full quality? A [http://www.codingtechnologies.com/products/sbr.htm SBR] decoder could be shared with a aacPlus decoder as aacPlus also uses [http://www.codingtechnologies.com/products/sbr.htm SBR]).<br />
* [http://www.codingtechnologies.com/products/aacPlus.htm aacPlus] (a.k.a. AAC+) decoder. Note: aacPlus v1 decoding means HE-AAC + [http://www.codingtechnologies.com/products/sbr.htm SBR (Spectral Band Replication)] demuxing/decoding, and aacPlus v2 decoding means HE-AAC + [http://www.codingtechnologies.com/products/sbr.htm SBR (Spectral Band Replication)] + [http://www.codingtechnologies.com/products/paraSter.htm PS (Parametric Stereo)] demuxing/decoding. (Standard HE-AAC decoders can decode aacPlus encoded files/streams but without [http://www.codingtechnologies.com/products/sbr.htm SBR] and [http://www.codingtechnologies.com/products/paraSter.htm PS] you do not get the full quality. By adding a [http://www.codingtechnologies.com/products/sbr.htm SBR] decoder and a [http://www.codingtechnologies.com/products/paraSter.htm PS] decoder to FFmpeg and coupling it with an existing HE-AAC decoder you could playback aacPlus at full quality? A [http://www.codingtechnologies.com/products/sbr.htm SBR] decoder could be shared with a mp3PRO decoder as mp3PRO also uses [http://www.codingtechnologies.com/products/sbr.htm SBR]).<br />
* [http://www.mpegsurround.com MPEG Surround] decoder/parser (for all audio but especially MP3/mp3PRO and AAC/aacPlus as those are in use today). [http://www.codingtechnologies.com/products/mpgsrnd.htm MPEG Surround technology] share similar characteristics with [http://www.codingtechnologies.com/products/sbr.htm SBR (Spectral Band Replication)] and [http://www.codingtechnologies.com/products/paraSter.htm PS (Parametric Stereo)] demuxing/decoding, which [http://www.codingtechnologies.com/products/mp3pro.htm mp3PRO] and [http://www.codingtechnologies.com/products/aacPlus.htm aacPlus] decoders also use, so if SBR and PS decoders was added to FFmpeg then those could probebly share common code with a [http://www.mpegsurround.com MPEG Surround] decoder/parser. ([http://www.divx.com DivX Inc.] is one company that uses MPEG Surround technology to achieve 5.1 channel surround sound in smaller files).<br />
<br />
==== Native DirectShow support ====<br />
Option to build FFmpeg decoder/encoder/demuxer/muxer and post-processing filters for the DirectShow API for Windows by Microsoft, (so FFmpeg has native support to be compiled for DirectShow and thus be used directly by players that use DirectShow)<br />
* http://en.wikipedia.org/wiki/DirectShow<br />
http://en.wikipedia.org/wiki/Ffdshow<br />
* Specifications: http://msdn2.microsoft.com/en-us/library/ms783323.aspx<br />
**http://msdn2.microsoft.com/en-us/library/ms788119.aspx<br />
* Sources: http://sourceforge.net/projects/ffdshow-tryout/<br />
<br />
==== DirectX Video Acceleration (DXVA) 1.0 AND 2.0 for video decoding ====<br />
Support Microsoft DirectX VA (DXVA) API nativly for GPU assisted decoding under Windows. <br />
Note! For this, native support for the above mentioned DirectShow API is needed first.<br />
* http://en.wikipedia.org/wiki/DXVA<br />
* DXVA 1.0 (DirectX SDK) specifications: http://msdn2.microsoft.com/en-us/library/ms798379.aspx<br />
* DXVA 2.0 (Windows SDK) specifications: http://msdn2.microsoft.com/en-us/library/ms788119.aspx<br />
http://download.microsoft.com/download/5/b/9/5b97017b-e28a-4bae-ba48-174cf47d23cd/MED134_WH06.ppt<br />
<br />
==== Additional subtitle support ====<br />
* Create a common 'subtitles parser library' (and/or an API system for adding support for additional subtitle formats?) - a common sub-library to FFmpeg with all subtile decoders/demuxers/parsers gathered (similar to the libpostproc and libavutils). Call it "libsubs" (or "libsub", "libsubtitles" or whatever). Move FFmpeg's existing VobSub and DVBsub code there, so no matter if they are bitmap or text-based subs all existing and future subtile code is collected there. This will help reduce future code replication by sharing common code, thus making it easier to add support for additional subtitles. <br />
**Maybe use MPlayer's recently added "'''libass'''" (SSA/ASS subtile reader) as a base for such a common library?<br />
* Support for advanced SSA/ASS rendering<br />
**Possible source are libass or the asa library <br />
* Support bold, italic, underline, RGB colors, size changes and font changes for a whole line or part of one line<br />
* [http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=284541 Line 23 signal (a.k.a. "Wide-screen signal")] detecting and use for DVD-Video (VobSub)<br />
* Support for the subtitles HTML tags<br />
* Capability of displaying subtitles with no video enabled (for example for audio-books)<br />
* Support for Karaoke subtitles (for kar and cdg, etc.)<br />
* Dual-subtitle-display (display two subtitles/languages at the same time, one at the bottom as normal plus one at the top of the screen)<br />
* Capability of moving the subtitles in the picture (freetype renderer)<br />
*Support more subtitle formats (text and bitmap-based):<br />
** [http://en.wikipedia.org/wiki/Closed_captioning Closed captioning (CC)] subtile support - (Closed captions for the deaf and hard of hearing, also known as "Line 21 captioning", uses VobSub bitmaps)<br />
***[http://www.xinehq.de xine] have a SPU decoder for subpictures and Closed Captions software decoding<br />
** DirectVobSub (VSFilter) - standard VobSubs (DVD-Video subtitles) embedded in AVI containers<br />
** [http://en.wikipedia.org/wiki/DivX#DivX_Subtitles_.28XSUB.29 DivX Subtitles (XSUB)] display/reader/decoder (Note: bitmap based subtitle, similar to VobSub)<br />
** [http://en.wikipedia.org/wiki/SubRip SubRip (.srt)] subtile support (Note: simple text-based based subtitle with timestamp)<br />
** Subviewer (.sub) subtile support (Note: simple text-based based subtitle with timestamp)<br />
** MicroDVD (.sub) subtile support (Note: simple text-based based subtitle with timestamp<br />
** [http://en.wikipedia.org/wiki/Sami_%28subtitle_tool%29 Sami (.smi)] subtile support (Note: simple text-based based subtitle with timestamp)<br />
** [http://en.wikipedia.org/wiki/SubStation_Alpha SubStation Alpha (.ssa+.ass)] subtile support (Note: advanced text-based based subtitle with timestamps and XY location on screen)<br />
** [http://en.wikipedia.org/wiki/Synchronized_Multimedia_Integration_Language RealText (.rt)] subtile support<br />
** PowerDivx (.psb) subtile support<br />
** [http://en.wikipedia.org/wiki/Universal_Subtitle_Format Universal Subtitle Format (.usf)] subtile support<br />
** Structured Subtitle Format (.ssf) subtile support<br />
<br />
==== libstream (a common 'stream client' library) ====<br />
* Create a common 'stream demuxer/parser library' for the client-side (and/or API for adding support for additional streaming formats?) - a LGPL'ed sub-library in FFmpeg with all stream demuxers/parsers gathered (similar to the libpostproc and libavutil). Call it "libstream" (or "stream" or whatever). Move FFmpeg's existing stream code there like HTTP and RTSP/RTP. This will help reduce future code replication by sharing common code, thus making it easier to add support for additional streaming formats. All togther making it super easy for audio/video players using FFmpeg to add all-in-one streaming support to their player.<br />
**Maybe use either [http://www.mplayerhq.hu MPlayer]'s "''stream''" library structure, [http://www.live555.com LIVE555], or probebly the better [http://streaming.polito.it/client/library libnms] (from [http://streaming.polito.it/client NeMeSi]) as a base for such a common library?<br />
*Add support for additional streaming protocols (on the client side) and improve/enhance support for existing protocols:<br />
** HTTP (Hypertext Transfer Protocol) client<br />
** UDP (User Datagram Protocol) client<br />
** RTSP - Real-Time Streaming Protocol (RFC2326) client<br />
** RTP/RTCP - Real-Time Transport Protocol/RTP Control Protocol (RFC3550) client<br />
** RTP Profile for Audio and Video Conferences with Minimal Control (RFC3551) client<br />
** RealMedia RTSP/RDT (Real Time Streaming Protocol / Real Data Transport) client<br />
** SDP (Service Discovery Protocol) / SSDP (Simple Service Discovery Protocol) client<br />
** MMS (Microsoft Media Services) client<br />
<br />
== Qualification tasks ==<br />
<br />
Add a note if you choose to work on a Qualification task to avoid duplicate work.<br />
<br />
=== Quicktime IMA ADPCM encoder ===<br />
* Specification: ffmpeg decoder source, libavcodec/adpcm.c<br />
* Samples: http://samples.mplayerhq.hu/A-codecs/ima-adpcm/<br />
<br />
=== TIFF encoder ===<br />
* Specification: http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf <br />
* Samples: http://samples.mplayerhq.hu/mov/tiff/<br />
''Kamil Nowosad is working on this''<br />
<br />
''Bartlomiej Wolowiec is working on this''<br />
<br />
=== Vivo demuxer ===<br />
* Specification: look at the [[MPlayer]] [[vivo]] demuxer [http://svn.mplayerhq.hu/mplayer/trunk/libmpdemux/demux_viv.c?revision=22301&view=markup] <br />
* Samples: http://samples.mplayerhq.hu/vivo/<br />
''Alex Kalouguine is working on this task.''<br />
<br />
=== IFF/8SVX 8-bit audio demuxer ===<br />
* Specification: http://netghost.narod.ru/gff/vendspec/iff/iff.txt, http://sox.sourceforge.net/AudioFormats-11.html, and [http://xine.cvs.sourceforge.net/xine/xine-lib/src/demuxers/demux_iff.c?view=markup xine demuxer] <br />
* Samples: http://aminet.net/mods/smpl/<br />
<br />
''Tyler Williams is working on this task.''<br />
<br />
=== Port SGI image support to new API ===<br />
* Code: http://svn.mplayerhq.hu/ffmpeg/trunk/libavformat/sgi.c?revision=7867&view=markup&pathrev=7972<br />
FFmpeg changed image format APIs, but the SGI file format was never ported to the new API.<br />
**patch pending on ffmpeg-devel<br />
<br />
=== Optimize some code ===<br />
Do you think some code in FFmpeg could be made to run faster? We always love to get faster decoders or encoders. Note that this will require some ASM (assembly) skills and using timer code to benchmark and compare. Please make sure that any new code do not break compiling for other platforms.<br />
<br />
Speedups via optimizations (like SIMD for [http://en.wikipedia.org/wiki/3DNow%21 3DNow], [http://en.wikipedia.org/wiki/MMX MMX/MMX2], [http://en.wikipedia.org/wiki/Streaming_SIMD_Extensions SSE/SSE2/SSE3] and [http://en.wikipedia.org/wiki/AltiVec AltiVec]) are needed in FFmpeg's:<br />
* [[H.264]] video decoder<br />
* [[VC-1]] video decoder<br />
* [[AAC|AAC (LE-AAC and HE-AAC)]] audio decoder<br />
* cat libavcodec/*.c | grep -i optimize for more files that need optimization.<br />
**''Andrew Savchenko is working on this''<br />
<br />
=== BFI Playback System ===<br />
Add FFmpeg playback capability for the [[BFI]] format. This entails writing a new file demuxer and simple video decoder.<br />
<br />
''DrV said he was working on this.''<br />
<br />
=== THP Playback System ===<br />
Add FFmpeg playback capability for the [[THP]] format. This entails writing a new file demuxer and leveraging existing JPEG and ADPCM decoders to handle the video and audio data inside.<br />
<br />
''Marco Gerards is working on this (one patch applied, one patch pending)''<br />
<br />
=== Bethsoft VID ===<br />
Add FFmpeg playback capability for the [[Bethsoft VID]] format (new demuxer, new video decoder).<br />
: <small>Looks like I might be able to get this...sorry for anyone who wanted it. --[[User:Gatoatigrado|Gatoatigrado]] 01:12, 24 March 2007 (EDT)</small><br />
<br />
=== Other Game Formats ===<br />
Several game formats are documented in this Wiki, but not yet implemented in FFmpeg. Investigate via the [[:Category:Game Formats]] page.<br />
<br />
=== Theora in Matroska ===<br />
The current mkv demuxer supports Vorbis but not Theora. Add support for Theora. This requires parsing the matroska extradata to extract the three header packets, and correctly passing these to the Theora decoder. You might want to read [http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2006-September/046120.html this thread] on the MPlayer list:<br />
<br />
''David Conrad is working on this''<br />
<br />
==See Also==<br />
*[[FFmpeg Wishlist]] for more tasks or ideas.<br />
*[[FFmpeg Summer Of Code|FFmpeg's Google SoC (Summer of Code) 2006 list of tasks]]<br />
*[http://bugzilla.mplayerhq.hu/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=FFmpeg&content= FFmpeg bugs] for ffmpeg bugs.</div>MarcoGerardshttps://wiki.multimedia.cx/index.php?title=FFmpeg_Summer_Of_Code_2007&diff=7530FFmpeg Summer Of Code 20072007-03-27T09:21:31Z<p>MarcoGerards: /* THP Playback System */</p>
<hr />
<div>Google is sponsoring their third annual [http://code.google.com/soc/ Summer of Code] for the summer of 2007. This entails sponsoring students to work on assorted open source projects as well as sponsoring mentors in those same projects. Everyone wins.<br />
<br />
[[FFmpeg]] was a Summer of Code participant in the [http://code.google.com/soc/2006/ffmpeg/about.html summer of 2006] (here is the [[FFmpeg Summer Of Code|corresponding Wiki page]]).<br />
<br />
[[User:Multimedia Mike|Mike Melanson]] (mike -at- multimedia.cx) is the administrator and main point of contact for matters relating to the FFmpeg Summer of Code.<br />
<br />
== How to apply ==<br />
<br />
Before you can apply make sure you are qualified enough to apply. Last year 50% of the applicants weren't qualified for the task they applied for.<br />
<br />
* You have to know how to program in C fairly well.<br />
* We would like you to submit a patch that fixes a bug or adds a feature to FFmpeg. By doing that we will know that you are qualified for the task or not. On this page there is a list of [[Summer Of Code 2007#Qualification_tasks|Qualification Tasks]] that can be done. But you are free to submit anything you feel might be of value to FFmpeg. The qualification task can be done after you have filed you application (up until around April 7 as the list of accepted students is scheduled to be posted by Google on April 9).<br />
* Submit a good application through the formal Google Summer of Code process during the application timeframe (March 14-24, 2007).<br />
* You have to have >35 hours per week to put into the project.<br />
* You can't have another job at the same time as the SoC project.<br />
<br />
== Current Status ==<br />
* March 5-12, 2007: Application period for mentoring organizations.<br />
* March 6, 2007: Mike Melanson submitted FFmpeg mentoring application.<br />
* March 14, 2007: Google are now accepting student Applications.<br />
* March 15, 2007: FFmpeg got accepted as mentoring organization; now accepting student applications until March 24, 2007. Note that this is '''NOT''' the deadline to complete a qualification task; final student selections are to be made by April 9.<br />
<br />
== Project Proposals ==<br />
<br />
=== Overview ===<br />
Qualifications for a good Summer of Code proposal:<br />
* discrete, well-defined, modular<br />
* comprised of a series of measurable sub-goals<br />
* based on open specs that are available free of charge<br />
* based on complete specs<br />
An example of a good proposal is the implementation of a decoder or demuxer for an as yet unsupported multimedia format, or an encoder or muxer for a format that can already be demuxed/decoded by FFmpeg.<br />
<br />
An example of a less desirable proposal is one that's not as measurable, such as refactoring APIs. Bad proposals tend to be ones that would require touching a lot of core code.<br />
<br />
To re-iterate:<br />
* Localized/isolated code projects = ''good''<br />
* Global code refactoring = ''bad''<br />
<br />
=== Note ===<br />
THIS LIST IS NOT THE PROPOSALS WE ARE SUBMITTING!<br />
<br />
Most of this list is just some ideas we are kicking around.<br />
<br />
=== Projects with Mentors (official projects) ===<br />
<br />
==== QCELP Decoder ====<br />
<br />
* Specification: QCELP decoder [http://www.3gpp2.org/Public_html/specs/alltsgscfm.cfm spec] is c.s0020 and source is c.r0020<br />
* Sample files: http://samples.mplayerhq.hu/A-codecs/qclp/<br />
<br />
''Mentor: Benjamin Larsson''<br />
<br />
==== Matroska Muxer ====<br />
<br />
* Specification: http://www.matroska.org/technical/specs/index.html<br />
* Sample files: http://samples.mplayerhq.hu/Matroska/<br />
<br />
''Mentor: Aurelien Jacobs; Backup mentors: Steve Lhomme, Ronald S. Bultje''<br />
<br />
==== MPEG TS/DVB Muxer ====<br />
* Specification: ISO 13818-1<br />
<br />
''Mentor: Baptiste Coudurier''<br />
<br />
==== MXF Muxer ====<br />
* Specification: SMPTE 377M<br />
<br />
''Mentor: Baptiste Coudurier''<br />
<br />
==== RV40 Decoder ====<br />
* [[RealVideo 4]] is steadily being reverse engineered and should be a reasonable candidate for re-implementation by the summer.<br />
<br />
''Mentor: Mike Melanson''<br />
<br />
==== PAFF decoding for H.264/AVC ====<br />
* Specification: [http://www.itu.int/rec/T-REC-H.264-200503-I/en ITU-T]<br />
* Sample files: http://samples.mplayerhq.hu/V-codecs/h264/PAFF/<br />
<br />
''Mentor: Loren Merritt''<br />
<br />
==== Dirac Encoder AND Decoder ====<br />
* Website: http://dirac.sf.net<br />
* Specification: http://dirac.sourceforge.net/specification.html<br />
<br />
''Mentor: Luca Barbato''<br />
<br />
==== E-AC3 Decoder ====<br />
* Specification: http://www.atsc.org/standards/a_52b.pdf<br />
* Samples: http://samples.mplayerhq.hu/evob/MAININTRO.EVO<br />
<br />
''Mentor: Justin Ruggles''<br />
<br />
<br />
<br />
=== Ideas for more projects to be determined ===<br />
<br />
==== JPEG2000 ====<br />
* Specifications: [http://www.itu.int/rec/T-REC-T/e As ITU-T recommendations], [http://isotc.iso.org/livelink/livelink/fetch/2000/2489/Ittf_Home/PubliclyAvailableStandards.htm ISO publicly available standards]<br />
* Sources: [http://www.ece.uvic.ca/~mdadams/jasper/ JasPer], [http://www.openjpeg.org/ OpenJpeg], [http://jj2000.epfl.ch/ JJ2000 (in Java)]<br />
* Samples: http://samples.mplayerhq.hu/jpeg2000/<br />
<br />
==== Monkey's Audio Decoder (APE) ====<br />
* Sources: [http://www.monkeysaudio.com/files/MAC_SDK_399.zip original sources], [http://sourceforge.net/projects/mac-port/ original sources port for non-win32 platforms], [http://jmac.sourceforge.net/ LGPLed Java implementation]<br />
<br />
==== Finish LC-AAC decoder and implement HE-AAC decoder (LGPL) ====<br />
* LGPL code: http://svn.mplayerhq.hu/aac/<br />
* GPL decoder (libfaad2): http://www.audiocoding.com<br />
* Possible AAC+ sub-project:<br />
** [http://www.codingtechnologies.com/products/sbr.htm SBR (Spectral Band Replication)] decoder (aacPlus v1 support)<br />
** [http://www.codingtechnologies.com/products/paraSter.htm PS (Parametric Stereo)] decoder (for aacPlus v2 support)<br />
<br />
==== GSM Decoder ====<br />
* Specification + sample implementation: http://kbs.cs.tu-berlin.de/~jutta/toast.html<br />
* Samples: http://samples.mplayerhq.hu/A-codecs/GSM/<br />
<br />
==== i263 Decoder ====<br />
* Specification: [[I263 | I263 Format Specification at MultimediaWiki]]<br />
* Sources: [http://multimedia.cx/I263Src.zip GPLed I263 decoder]<br />
* Sample files: http://samples.mplayerhq.hu/V-codecs/I263/<br />
<br />
==== VP6 Encoder ====<br />
* Specification: [[On2 VP6]]<br />
* Samples: http://samples.mplayerhq.hu/V-codecs/VP6/<br />
<br />
==== NUT Muxer ====<br />
* General improvements and enhancements<br />
<br />
==== DPX/Cineon Encoder AND Decoder ====<br />
* Specification: SMPTE 268M<br />
* http://en.wikipedia.org/wiki/DPX<br />
* Sources: [http://cinepaint.cvs.sourceforge.net/cinepaint/cinepaint-project/cinepaint/plug-ins/cineon/ CinePaint implementation] , [http://linuxmovies.org/ linuxmovies.org list of open source film tools]<br />
* Samples: ftp://ftp.graphicsmagick.org/pub/dpx/<br />
<br />
==== OpenEXR Encoder AND Decoder ====<br />
* Website and open source tools: http://openexr.com/<br />
* License: modified BSD<br />
* http://en.wikipedia.org/wiki/OpenEXR<br />
* Sources: [http://cinepaint.cvs.sourceforge.net/cinepaint/cinepaint-project/OpenEXR/ CinePaint implementation] , [http://linuxmovies.org/ linuxmovies.org list of open source film tools]<br />
<br />
==== HD Photo Encoder AND Decoder ====<br />
* Sources and specification: http://www.microsoft.com/whdc/xps/hdphotodpk.mspx<br />
* http://en.wikipedia.org/wiki/HD_Photo<br />
<br />
==== mp3PRO & aacPlus & MPEG Surround decoders ====<br />
* [http://www.codingtechnologies.com/products/mp3pro.htm mp3PRO] decoder. Note: mp3PRO decoding means MP3 + [http://www.codingtechnologies.com/products/sbr.htm SBR (Spectral Band Replication)] demuxing/decoding. (Standard MP3 decoders can decode mp3PRO encoded files/streams but without [http://www.codingtechnologies.com/products/sbr.htm SBR] you do not get the full quality. By adding a [http://www.codingtechnologies.com/products/sbr.htm SBR] decoder to FFmpeg and coupling it with the existing MP3 decoder you could playback mp3PRO at full quality? A [http://www.codingtechnologies.com/products/sbr.htm SBR] decoder could be shared with a aacPlus decoder as aacPlus also uses [http://www.codingtechnologies.com/products/sbr.htm SBR]).<br />
* [http://www.codingtechnologies.com/products/aacPlus.htm aacPlus] (a.k.a. AAC+) decoder. Note: aacPlus v1 decoding means HE-AAC + [http://www.codingtechnologies.com/products/sbr.htm SBR (Spectral Band Replication)] demuxing/decoding, and aacPlus v2 decoding means HE-AAC + [http://www.codingtechnologies.com/products/sbr.htm SBR (Spectral Band Replication)] + [http://www.codingtechnologies.com/products/paraSter.htm PS (Parametric Stereo)] demuxing/decoding. (Standard HE-AAC decoders can decode aacPlus encoded files/streams but without [http://www.codingtechnologies.com/products/sbr.htm SBR] and [http://www.codingtechnologies.com/products/paraSter.htm PS] you do not get the full quality. By adding a [http://www.codingtechnologies.com/products/sbr.htm SBR] decoder and a [http://www.codingtechnologies.com/products/paraSter.htm PS] decoder to FFmpeg and coupling it with an existing HE-AAC decoder you could playback aacPlus at full quality? A [http://www.codingtechnologies.com/products/sbr.htm SBR] decoder could be shared with a mp3PRO decoder as mp3PRO also uses [http://www.codingtechnologies.com/products/sbr.htm SBR]).<br />
* [http://www.mpegsurround.com MPEG Surround] decoder/parser (for all audio but especially MP3/mp3PRO and AAC/aacPlus as those are in use today). [http://www.codingtechnologies.com/products/mpgsrnd.htm MPEG Surround technology] share similar characteristics with [http://www.codingtechnologies.com/products/sbr.htm SBR (Spectral Band Replication)] and [http://www.codingtechnologies.com/products/paraSter.htm PS (Parametric Stereo)] demuxing/decoding, which [http://www.codingtechnologies.com/products/mp3pro.htm mp3PRO] and [http://www.codingtechnologies.com/products/aacPlus.htm aacPlus] decoders also use, so if SBR and PS decoders was added to FFmpeg then those could probebly share common code with a [http://www.mpegsurround.com MPEG Surround] decoder/parser. ([http://www.divx.com DivX Inc.] is one company that uses MPEG Surround technology to achieve 5.1 channel surround sound in smaller files).<br />
<br />
==== Native DirectShow support ====<br />
Decoder/encoder/demuxer/muxer and post-processing filter API for Windows by Microsoft<br />
* http://en.wikipedia.org/wiki/DirectShow<br />
http://en.wikipedia.org/wiki/Ffdshow<br />
* Specifications: http://msdn2.microsoft.com/en-us/library/ms783323.aspx<br />
**http://msdn2.microsoft.com/en-us/library/ms788119.aspx<br />
* Sources: http://sourceforge.net/projects/ffdshow-tryout/<br />
<br />
==== DirectX Video Acceleration (DXVA) 1.0 AND 2.0 for video decoding ====<br />
Note! For this native the above DirectShow support is first needed<br />
* http://en.wikipedia.org/wiki/DXVA<br />
* DXVA 1.0 (DirectX SDK) specifications: http://msdn2.microsoft.com/en-us/library/ms798379.aspx<br />
* DXVA 2.0 (Windows SDK) specifications: http://msdn2.microsoft.com/en-us/library/ms788119.aspx<br />
http://download.microsoft.com/download/5/b/9/5b97017b-e28a-4bae-ba48-174cf47d23cd/MED134_WH06.ppt<br />
<br />
==== Additional subtitle support ====<br />
* Create a common 'subtitles parser library' (and/or an API system for adding support for additional subtitle formats?) - a common sub-library to FFmpeg with all subtile decoders/demuxers/parsers gathered (similar to the libpostproc and libavutils). Call it "libsubs" (or "libsub", "libsubtitles" or whatever). Move FFmpeg's existing VobSub and DVBsub code there, so no matter if they are bitmap or text-based subs all existing and future subtile code is collected there. This will help reduce future code replication by sharing common code, thus making it easier to add support for additional subtitles. <br />
**Maybe use MPlayer's recently added "'''libass'''" (SSA/ASS subtile reader) as a base for such a common library?<br />
* Support for advanced SSA/ASS rendering<br />
**Possible source are libass or the asa library <br />
* Support bold, italic, underline, RGB colors, size changes and font changes for a whole line or part of one line<br />
* [http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=284541 Line 23 signal (a.k.a. "Wide-screen signal")] detecting and use for DVD-Video (VobSub)<br />
* Support for the subtitles HTML tags<br />
* Capability of displaying subtitles with no video enabled (for example for audio-books)<br />
* Support for Karaoke subtitles (for kar and cdg, etc.)<br />
* Dual-subtitle-display (display two subtitles/languages at the same time, one at the bottom as normal plus one at the top of the screen)<br />
* Capability of moving the subtitles in the picture (freetype renderer)<br />
*Support more subtitle formats (text and bitmap-based):<br />
** [http://en.wikipedia.org/wiki/Closed_captioning Closed captioning (CC)] subtile support - (Closed captions for the deaf and hard of hearing, also known as "Line 21 captioning", uses VobSub bitmaps)<br />
***[http://www.xinehq.de xine] have a SPU decoder for subpictures and Closed Captions software decoding<br />
** DirectVobSub (VSFilter) - standard VobSubs (DVD-Video subtitles) embedded in AVI containers<br />
** [http://en.wikipedia.org/wiki/DivX#DivX_Subtitles_.28XSUB.29 DivX Subtitles (XSUB)] display/reader/decoder (Note: bitmap based subtitle, similar to VobSub)<br />
** [http://en.wikipedia.org/wiki/SubRip SubRip (.srt)] subtile support (Note: simple text-based based subtitle with timestamp)<br />
** Subviewer (.sub) subtile support (Note: simple text-based based subtitle with timestamp)<br />
** MicroDVD (.sub) subtile support (Note: simple text-based based subtitle with timestamp<br />
** [http://en.wikipedia.org/wiki/Sami_%28subtitle_tool%29 Sami (.smi)] subtile support (Note: simple text-based based subtitle with timestamp)<br />
** [http://en.wikipedia.org/wiki/SubStation_Alpha SubStation Alpha (.ssa+.ass)] subtile support (Note: advanced text-based based subtitle with timestamps and XY location on screen)<br />
** [http://en.wikipedia.org/wiki/Synchronized_Multimedia_Integration_Language RealText (.rt)] subtile support<br />
** PowerDivx (.psb) subtile support<br />
** [http://en.wikipedia.org/wiki/Universal_Subtitle_Format Universal Subtitle Format (.usf)] subtile support<br />
** Structured Subtitle Format (.ssf) subtile support<br />
<br />
==== libstream (a common 'stream client' library) ====<br />
* Create a common 'stream demuxer/parser library' for the client-side (and/or API for adding support for additional streaming formats?) - a LGPL'ed sub-library in FFmpeg with all stream demuxers/parsers gathered (similar to the libpostproc and libavutil). Call it "libstream" (or "stream" or whatever). Move FFmpeg's existing stream code there like HTTP and RTSP/RTP. This will help reduce future code replication by sharing common code, thus making it easier to add support for additional streaming formats. All togther making it super easy for audio/video players using FFmpeg to add all-in-one streaming support to their player.<br />
**Maybe use either [http://www.mplayerhq.hu MPlayer]'s "''stream''" library structure, [http://www.live555.com LIVE555], or probebly the better [http://streaming.polito.it/client/library libnms] (from NeMeSi) as a base for such a common library?<br />
*Add support for additional streaming protocols (on the client side) and improve/enhance support for existing protocols:<br />
** HTTP (Hypertext Transfer Protocol) client<br />
** UDP (User Datagram Protocol) client<br />
** RTSP - Real-Time Streaming Protocol (RFC2326) client<br />
** RTP/RTCP - Real-Time Transport Protocol/RTP Control Protocol (RFC3550) client<br />
** RTP Profile for Audio and Video Conferences with Minimal Control (RFC3551) client<br />
** RealMedia RTSP/RDT (Real Time Streaming Protocol / Real Data Transport) client<br />
** SDP (Service Discovery Protocol) / SSDP (Simple Service Discovery Protocol) client<br />
** MMS (Microsoft Media Services) client<br />
<br />
== Qualification tasks ==<br />
<br />
Add a note if you choose to work on a Qualification task to avoid duplicate work.<br />
<br />
=== TIFF encoder ===<br />
* Specification: http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf <br />
* Samples: http://samples.mplayerhq.hu/mov/tiff/<br />
''Kamil Nowosad is working on this''<br />
<br />
''Bartlomiej Wolowiec is working on this''<br />
<br />
=== Vivo demuxer ===<br />
* Specification: look at the [[MPlayer]] [[vivo]] demuxer [http://svn.mplayerhq.hu/mplayer/trunk/libmpdemux/demux_viv.c?revision=22301&view=markup] <br />
* Samples: http://samples.mplayerhq.hu/vivo/ <br />
<br />
=== IFF/8SVX 8-bit audio demuxer ===<br />
* Specification: http://netghost.narod.ru/gff/vendspec/iff/iff.txt, http://sox.sourceforge.net/AudioFormats-11.html, and [http://xine.cvs.sourceforge.net/xine/xine-lib/src/demuxers/demux_iff.c?view=markup xine demuxer] <br />
* Samples: http://aminet.net/mods/smpl/<br />
<br />
''Tyler Williams is working on this task.''<br />
<br />
=== Port SGI image support to new API ===<br />
* Code: http://svn.mplayerhq.hu/ffmpeg/trunk/libavformat/sgi.c?revision=7867&view=markup&pathrev=7972<br />
FFmpeg changed image format APIs, but the SGI file format was never ported to the new API.<br />
**patch pending on ffmpeg-devel<br />
<br />
=== Optimize some code ===<br />
Do you think some code in FFmpeg could be made to run faster? We always love to get faster decoders or encoders. Note that this will require some ASM (assembly) skills and using timer code to benchmark and compare. Please make sure that any new code do not break compiling for other platforms.<br />
<br />
Speedups via optimizations (like SIMD for [http://en.wikipedia.org/wiki/3DNow%21 3DNow], [http://en.wikipedia.org/wiki/MMX MMX/MMX2], [http://en.wikipedia.org/wiki/Streaming_SIMD_Extensions SSE/SSE2/SSE3] and [http://en.wikipedia.org/wiki/AltiVec AltiVec]) are needed in FFmpeg's:<br />
* [[H.264]] video decoder<br />
* [[VC-1]] video decoder<br />
* [[AAC|AAC (LE-AAC and HE-AAC)]] audio decoder<br />
* cat libavcodec/*.c | grep -i optimize for more files that need optimization.<br />
**''Andrew Savchenko is working on this''<br />
<br />
=== BFI Playback System ===<br />
Add FFmpeg playback capability for the [[BFI]] format. This entails writing a new file demuxer and simple video decoder.<br />
<br />
''DrV said he was working on this.''<br />
<br />
=== THP Playback System ===<br />
Add FFmpeg playback capability for the [[THP]] format. This entails writing a new file demuxer and leveraging existing JPEG and ADPCM decoders to handle the video and audio data inside.<br />
<br />
''Marco Gerards is working on this''<br />
<br />
=== Bethsoft VID ===<br />
Add FFmpeg playback capability for the [[Bethsoft VID]] format (new demuxer, new video decoder).<br />
: <small>Looks like I might be able to get this...sorry for anyone who wanted it. --[[User:Gatoatigrado|Gatoatigrado]] 01:12, 24 March 2007 (EDT)</small><br />
<br />
=== Other Game Formats ===<br />
Several game formats are documented in this Wiki, but not yet implemented in FFmpeg. Investigate via the [[:Category:Game Formats]] page.<br />
<br />
=== Theora in Matroska ===<br />
The current mkv demuxer supports Vorbis but not Theora. Add support for Theora. This requires parsing the matroska extradata to extract the three header packets, and correctly passing these to the Theora decoder. You might want to read [http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2006-September/046120.html this thread] on the MPlayer list:<br />
<br />
''David Conrad is working on this''<br />
<br />
==See Also==<br />
*[[FFmpeg Wishlist]] for more tasks or ideas.<br />
*[[FFmpeg Summer Of Code|FFmpeg's Google SoC (Summer of Code) 2006 list of tasks]]<br />
*[http://bugzilla.mplayerhq.hu/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=FFmpeg&content= FFmpeg bugs] for ffmpeg bugs.</div>MarcoGerards