View Source

*Title*
FFMPEG as Video Transcoder.

*Detailed description*
[FFMPEG |http://ffmpeg.org/] is a free software project that provides cross-platform tools and libraries for converting and playing video formats, including the libavcodec audio/video codec library.

28GB seems excessively large for an 18 minute video, considering entire movies are sold commercially on 9.4GB DVDs. The particular test file used was a 1950s promotional movie for Ford, and the quality was about what would be expected given the age of the film.

The ffmpeg.exe command line tool was used to convert the original to a variety of formats. The chosen formats were:

* Motion JPEG 2000 - an emerging archival standard format, based upon the JPEG 2000 still image format
* MPEG2 - the standard DVD format
* h264 - the high definition format supported by Blu Ray players

It should be noted that the FFMPEG Motion JP2K codec is only experimental at the moment.

The FFMPEG settings used to generate these formats is shown in the tool / code link below.

*Solution Champion*
[~dominic]

*Corresponding Issue(s)*

_"__[SPR:Storage and compression of AVI files from Film and Video Collection]_


*Tool/code link*

{code:title=FFMPEG command to produce Motion JPEG 2000 | borderStyle=solid}
ffmpeg -i <input_file> -map 0 -c:v j2k -strict experimental -c:a copy <output_file>
{code}

{code:title=FFMPEG command to produce MPEG-2 I Frame only highest quality encoding | borderStyle=solid}
ffmpeg -i <input_file> -vcodec mpeg2video -pix_fmt yuv422p -qscale 1 -qmin 1 -intra -acodec mp2 -ab:131072 -fvob <output_file>
{code}

{code:title=FFMPEG command to produce h.264 | borderStyle=solid}
ffmpeg -i <input_file> -vcodec h264 -cqp 1 -intra -coder ac <output_file>
{code}

*[Tool Registry Link|http://wiki.opf-labs.org/display/TR/Home]*
_[FFMPEG Tool Registry page |http://wiki.opf-labs.org/display/TR/FFmpeg]_

*Evaluation*
_Any notes or links on how the solution performed._