FFmpeg Wishlist: Difference between revisions

From MultimediaWiki
Jump to navigation Jump to search
(MLP decoder is already in the bugtracker as wish)
(remove completed things, try to remove entire list or port it to small tasks page...)
 
(30 intermediate revisions by 8 users not shown)
Line 1: Line 1:
Temporary FFmpeg wish/todo list. This list is deprecated, please '''do not''' add new items to this list, use instead the bugtracker [https://roundup.mplayerhq.hu/roundup/ffmpeg/issue?%40search_text=&title=&%40columns=title&topic=&id=&%40columns=id&creation=&activity=&%40columns=activity&%40sort=activity&priority=5&%40group=priority&type=&status=-1%2C1%2C2&%40columns=status&substatus=&%40pagesize=50&%40startwith=0&%40action=search wishlist]
The various desired features for FFmpeg can be found in the following pages:
or the [http://svn.mplayerhq.hu/ffmpeg/trunk/doc/TODO?view=co TODO] file in the source tree. Also, send a message to the mailing list before implementing one of those items. They could be work-in-progress or not wanted anymore.
* [https://roundup.mplayerhq.hu/roundup/ffmpeg/issue?%40&%40columns=title&%40columns=topic&id=&%40columns=id&%40columns=activity&%40sort=activity&%40columns=priority&%40group=priority&type=2&status=2&%40columns=substatus&%40pagesize=50&%40startwith=0&%40action=search Open feature requests in the issue tracker]
* [http://svn.mplayerhq.hu/ffmpeg/trunk/doc/TODO?view=co TODO file in the SVN tree]
* [[FFmpeg Summer Of Code]] pages
* Finish and commit any code not yet commited at the [http://svn.mplayerhq.hu/soc/ SoC FFmpeg tree]
 
Also, other features requests can be found in:
* [https://roundup.mplayerhq.hu/roundup/ffmpeg/issue?%40&%40columns=title&%40columns=topic&id=&%40columns=id&%40columns=activity&%40sort=activity&%40columns=priority&%40group=priority&type=2&status=1&%40columns=substatus&%40pagesize=50&%40startwith=0&%40action=search Feature requests marked as "new"]
* Below in this page (mostly deprecated items)
 
 
See also the discussion about [[Ffmpeg audio api|Audio API]] TODOs.
 
 
 
 
 
 
= Old list =
 
The following is deprecated, please '''do not''' add new items to this list, use instead the issue tracker. Also, send a message to the mailing list before implementing one of those items. They could be work-in-progress or not wanted anymore.
 
Moving any of these items to a '''proper''' feature request in the issue tracker is welcome.


== FFmpeg module refactoring==
Multimedia programs tend to be highly modular in design and FFmpeg is no exception. However, it does not make the best use of independent modules. The major task in refactoring FFmpeg modules will be to reorganize code so that each individual codec or muxer/demuxer module can be easily enabled and disabled at compile time. This task also entails creating a test suite that can automatically enable each module, one at a time, and validate that FFmpeg still builds and works.


== Decoders ==
== Decoders ==
* [[H.264|H.264 (MPEG-4 AVC)]] decoder improvements/enhancements:
**Assembly 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])
* [[VC-1]] (a.k.a. Microsoft Windows Media Video 3 or 9) decoder improvements/enhancements:
**Assembly 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])
**Also add a aac parser so -acodec copy to mp4/mov will work
**Assembly 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])
* [http://www.codingtechnologies.com/products/aacPlus.htm aacPlus] (a.k.a. AAC+) decoder Note: aacPlus v1 is HE-AAC + [http://www.codingtechnologies.com/products/sbr.htm SBR], aacPlus v2 is HE-AAC + [http://www.codingtechnologies.com/products/sbr.htm SBR] + [http://www.codingtechnologies.com/products/paraSter.htm PS].
* [http://www.codingtechnologies.com/products/mp3pro.htm mp3PRO] decoder (Note: mp3PRO is MP3 + [http://www.codingtechnologies.com/products/sbr.htm SBR]. 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.
* [http://www.mpegsurround.com MPEG Surround] decoder/parser (for all audio but especially MP3/mp3PRO and AAC/aacPlus as those are in use today).
* ffsvq3 (FFmpeg SVQ3) decoder improvements/enhancements:
** add b-frame support to the ffsvq3 decoder
* [[AMR]] decoder
* integrate [[Speex]] (glue code or native)
* g723.1/rtp decoder
* g729/rtp decoder
* [[AMV]] encoder
* integer only [[Vorbis]] decoder (to replace tremor)
* Fix "[rv20 @ 009C8BF0]unknown bit3 set" in [[RV20]] decoder
* [[Indeo 4]] decoder and [[Indeo 5]] decoder
* [[xeb|XEB]] - the [[RatDVD]] video codec (stored in [[xvo|XVO]] container format)
* [[xeb|XEB]] - the [[RatDVD]] video codec (stored in [[xvo|XVO]] container format)
* VNC decoder, files created by vncrec. Re-use code from [[VMware Video]] decoder http://www.sodan.org/~penny/vncrec/
* VNC decoder, files created by vncrec. Re-use code from [[VMware Video]] decoder http://www.sodan.org/~penny/vncrec/
* RealAudio [[RealAudio sipr|Sipro]] decoder
* Fix distortion in [[QDM2]] decoder
* Implement alternate entropy coding method in [[VP6]] decoder [https://roundup.mplayerhq.hu/roundup/ffmpeg/issue104]
* Additional game formats support:
* Additional game formats support:
** [[VQA]] v3 support, see http://www.gamers.org/pub/idgames2/planetquake/planetcnc/cncdz/
** [[VQA]] v3 support, see http://www.gamers.org/pub/idgames2/planetquake/planetcnc/cncdz/
** [[Gremlin Digital Video]]
** [[Gremlin Digital Video]]
** [[ARMovie|ARMovie/RPL]]
** [[ESCAPE]]
** [[M95]]
** [[M95]]
** [[XMV]] / FMV (Xbox Media Video) decoder/demuxer (for the first Microsoft Xbox game-console, based on WMV8)
*** Working legal source code for a decoder/demuxer can be found here but it is copyrighted and without open source licence: http://sourceforge.net/tracker/index.php?func=detail&aid=1097094&group_id=53761&atid=471491 also look at http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/25207/focus=25224 and http://www.maxconsole.net/?mode=news&newsid=411 for hints/tips


== Demuxers ==
== Demuxers ==
*  [[IFF]] demuxer (with anim and sound decoding)
** mark cox (melbournemark at gmail dot com) is currently working on this.
** [http://www.xinehq.de xine] has a demuxer/decoder for iff. Manfred Tremmel the author of the xine code has agreed to relicence his xine code as LGPL to allow easier use in ffmpeg. Thanks Manfred.
** Werner Randelshofer the author of [http://www.randelshofer.ch/multishow/ multishow] has also granted permission for his iff code to be relicenced as LGPL. Thanks Werner.
** Xanim also contains code to support iff, it may contain some formats not available in xine.
*  g723.1 / rtp demuxer
*  g729 / rtp demuxer
*  [[Vivo]] demuxer, look at the mplayer vivo demuxer for reference
* [[XMV]] / FMV (Xbox Media Video) demuxer (from Microsoft and based on [[WMV8]])
** Open source and legal demuxer/decoder but copyrighted source/specification:
http://sourceforge.net/tracker/index.php?func=detail&aid=1097094&group_id=53761&atid=471491 also look at http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/25207/focus=25224 and http://www.maxconsole.net/?mode=news&newsid=411 for hints/tips
*  [[AMV]] muxer
* [[FluxDVD]] / [[RatDVD]] demuxer for [[xvo|XVO]] files (Note! [[RatDVD]] is the predecesor of [[FluxDVD]])
* [[FluxDVD]] / [[RatDVD]] demuxer for [[xvo|XVO]] files (Note! [[RatDVD]] is the predecesor of [[FluxDVD]])


Line 66: Line 47:
* NSA muxer
* NSA muxer


== Microsoft DirectShow and DirectX and MediaFoundation==
=== Native DirectShow support ===
Option to build FFmpeg decoder/encoder/demuxer/muxer and post-processing filters for the DirectShow API for Windows by Microsoft, (the native DirectX 8/9 Direct3D overlay for video playback), so that FFmpeg has native support to be compiled for DirectShow and thus be used directly by players that use DirectShow. It should be noted that there are already one very popular fork of FFmpeg available that has native DirectShow support and that is '''[http://en.wikipedia.org/wiki/Ffdshow FFdshow]''', (a other DirectShow implementation of FFmpeg is available as "'''drffmpeg'''" which is part of the '''[http://sourceforge.net/projects/drdivx/ DrDivX]''' project).
* DirectShow headers and compiling support http://en.wikipedia.org/wiki/DirectShow
** Specifications: http://msdn2.microsoft.com/en-us/library/ms783323.aspx
**http://msdn2.microsoft.com/en-us/library/ms788119.aspx
** Sources: http://sourceforge.net/projects/ffdshow-tryout/
*Native GUI for codecs/filter configuration like FFDshow
**http://en.wikipedia.org/wiki/Ffdshow
** Sources: http://sourceforge.net/projects/ffdshow-tryout/ (FFdshow),
http://sourceforge.net/projects/drdivx/ (drffmpeg)


=== Native MediaFoundation support===
Microsoft Windows Vista™ has new audio (EVR) and audio (SAR) renderers that FFmpeg needs output modules for 
*Microsoft Media Foundation API usage for optimized digital media playback on Microsoft Windows Vista
** http://msdn2.microsoft.com/en-us/library/ms694197.aspx
** http://msdn2.microsoft.com/en-us/library/ms788119.aspx
** http://download.microsoft.com/download/5/b/9/5b97017b-e28a-4bae-ba48-174cf47d23cd/MED134_WH06.ppt
*Multimedia Class Scheduler Service (MMCSS) class
*Enhanced Video Renderer (EVR) class
*Streaming Audio Renderer (SAR) class


=== DirectX Video Acceleration (DXVA) ===
== Features ==
DirectX Video Acceleration (DXVA) 1.0 AND 2.0 support, (for GPU accelerated video decoding under Windows).<br>
Note! Native DirectShow support in FFmpeg is before DirectX VA (DXVA) video decoding support can be added!
* DXVA 1.0 (DirectX SDK) specifications: http://msdn2.microsoft.com/en-us/library/ms798379.aspx
** http://en.wikipedia.org/wiki/DXVA
* DXVA 2.0 (Windows SDK) specifications: http://msdn2.microsoft.com/en-us/library/ms788119.aspx
http://download.microsoft.com/download/5/b/9/5b97017b-e28a-4bae-ba48-174cf47d23cd/MED134_WH06.ppt


== Features ==
* Improved existing documentation and add additional means to document
*  Create a new audio API system
*  radix-4 fft routines
*  Grabbing from video devices under windows
** Apply [[Interesting Patches#Microsoft Video for Windows capture support|this]] VFW capture patch
** Create a DirectShow patch
*  -[h|v]flip options for ffplay
* Improved exition documentation and add additional means to document
**Web
**Web
**WIKI
**WIKI
**manpage
**manpage
* Add XING and/or VBRI header parsing support to the MP3 decoder/parser (for VBR encoded audio files)
**Possibly port code from this MPlayer patch: http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2007-March/050609.html
* Add GAIN ([http://mp3gain.sourceforge.net MP3Gain]) header parsing support to the MP3 decoder/parser
** Also add GAIN ([http://mp3gain.sourceforge.net AACGain]) header parsing support to the AAC decoder/parser
== Subtitles ==
*  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.
**Maybe use MPlayer's recently added "'''libass'''" (SSA/ASS subtile reader) as a base for such a common library?
* Support for advanced SSA/ASS rendering
**Possible source are libass or the asa library
* Support bold, italic, underline, RGB colors, size changes and font changes for a whole line or part of one line
* [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)
* Support for the subtitles HTML tags
* Capability of displaying subtitles with no video enabled (for example for audio-books)
* Support for Karaoke subtitles (for kar and cdg, etc.)
* 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)
* Capability of moving the subtitles in the picture (freetype renderer)
*Support more subtitle formats (text and bitmap-based):
**  [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)
***[http://www.xinehq.de xine] have a SPU decoder for subpictures and Closed Captions software decoding
**  DirectVobSub (VSFilter) - standard VobSubs (DVD-Video subtitles) embedded in AVI containers
**  [http://en.wikipedia.org/wiki/DivX#DivX_Subtitles_.28XSUB.29 DivX Subtitles (XSUB)] display/reader/decoder (Note: bitmap based subtitle, similar to VobSub)
**  [http://en.wikipedia.org/wiki/SubRip SubRip (.srt)] subtile support (Note: simple text-based based subtitle with timestamp)
**  Subviewer (.sub) subtile support (Note: simple text-based based subtitle with timestamp)
**  MicroDVD (.sub) subtile support (Note: simple text-based based subtitle with timestamp
**  [http://en.wikipedia.org/wiki/Sami_%28subtitle_tool%29 Sami (.smi)] subtile support (Note: simple text-based based subtitle with timestamp)
**  [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)
**  [http://en.wikipedia.org/wiki/Synchronized_Multimedia_Integration_Language RealText (.rt)] subtile support
**  PowerDivx (.psb) subtile support
**  [http://en.wikipedia.org/wiki/Universal_Subtitle_Format Universal Subtitle Format (.usf)] subtile support
**  Structured Subtitle Format (.ssf) subtile support
== Misc ==
* Add a aac parser so -acodec copy to mp4/mov will work
* Clean up the h263 rtp [[Interesting Patches#H.263 rtp patch|patch]].


== Streaming Media Network Protocols ==
== Streaming Media Network Protocols ==
Line 176: Line 88:


==See Also==
==See Also==
*[[Summer Of Code 2007|FFmpeg's Google SoC (Summer of Code) 2007 list of tasks]] for more suggestions/requests (ideas for developers).
*[[FFmpeg Summer Of Code]] for more suggestions/requests (ideas for developers).
*[[FFmpeg Summer Of Code|FFmpeg's Google SoC (Summer of Code) 2006 list of tasks]] for more suggestions/requests (ideas for developers).
*[http://bugzilla.mplayerhq.hu/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=FFmpeg&content= FFmpeg bugs] for bugs in FFmpegs (codecs) that you can help fix or add addition information/samples to.
*[http://bugzilla.mplayerhq.hu/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=FFmpeg&content= FFmpeg bugs] for bugs in FFmpegs (codecs) that you can help fix or add addition information/samples to.
*[[:Category:Formats_missing_in_FFmpeg]] for formats not implemented in ffmpeg yet
*[[:Category:Formats missing in FFmpeg]] for formats not implemented in ffmpeg yet
 
[[Category:FFmpeg]]

Latest revision as of 05:37, 4 October 2011

The various desired features for FFmpeg can be found in the following pages:

Also, other features requests can be found in:


See also the discussion about Audio API TODOs.




Old list

The following is deprecated, please do not add new items to this list, use instead the issue tracker. Also, send a message to the mailing list before implementing one of those items. They could be work-in-progress or not wanted anymore.

Moving any of these items to a proper feature request in the issue tracker is welcome.


Decoders

Demuxers

Muxers

  • DVB (MPEG-TS) muxer inside DVB containers
    • MPEG-1/2 video-streams inside DVB containers
    • MPEG-4 ASP video-streams inside DVB containers
    • MPEG-4 AVC (H.264) video-streams inside DVB containers
    • AC3 audio-streams inside DVB containers
      • Mutiple AC3 audio-streams inside DVB containers
    • MP3 audio-streams inside DVB containers
      • Mutiple MP3 audio-streams inside DVB containers
  • NSV muxer
  • NSA muxer


Features

  • Improved existing documentation and add additional means to document
    • Web
    • WIKI
    • manpage

Streaming Media Network Protocols

Streaming Media Network Protocols (client and server-side) improvements/enhancements and related ideas for new features/functions.

  • Create a common 'stream demuxer/parser library' for the client-side to receive input streams (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.
    • Maybe use either MPlayer's "stream" library structure, LIVE555, cURL, or probebly the better libnms (from NeMeSi) as a base for such a common library?
  • Add support for additional streaming protocols (on the client side) and improve/enhance support for existing protocols:
    • HTTP (Hypertext Transfer Protocol) client
      • plus a SSL (Secure Sockets Layer) client support for HTTPS
    • UDP (User Datagram Protocol) client
    • RTSP - Real-Time Streaming Protocol (RFC2326) client
    • RTP/RTCP - Real-Time Transport Protocol/RTP Control Protocol (RFC3550) client
    • RTP Profile for Audio and Video Conferences with Minimal Control (RFC3551) client
    • RealMedia RTSP/RDT (Real Time Streaming Protocol / Real Data Transport) client
    • SDP (Service Discovery Protocol) / SSDP (Simple Service Discovery Protocol) client
    • MMS (Microsoft Media Services) client
      • including the subprotocol mmsh (MMS over HTTP) and mmst (MMS over TCP)
  • FFServer (streaming server) updating and improving:
    • FFServer code hasn't been update for quite a while
    • Support for RTSP interleaved RTP media
    • RTSP over HTTP tunneling
    • SLL (Secure Sockets Layer) support
    • TLS (Transport Layer Security) support
    • SCTP (Stream Control Transmission Protocol) support
      • including tunnel SCTP over UDP
    • Per-asset accounting options
    • Profiling and performance improvements of the RTSP, HTTP and RTP server code
    • Streaming to clients like WMP 9, 10 and 11 is broken
    • MMS server streaming support in FFServer, (especially for Linux).

See Also