[FFmpeg-user] h264 not played by Flash 11.4 (WinXP)

Pablo Rodríguez oinos at web.de
Wed Dec 12 13:24:50 CET 2012


On 12/12/12 09:40, Carl Eugen Hoyos wrote:
> Pablo Rodríguez <oinos <at> web.de> writes:
> 
>> Input #0, avi, from '20121211_2152_34.avi':
>>   Duration: 00:03:26.70, start: 0.000000, bitrate: 5109 kb/s
>>     Stream #0:0: Video: msvideo1 (CRAM / 0x4D415243), rgb555le
> 
>> Output #0, flv, to '20121211_2152_34.flv':
>>   Metadata:
>>     encoder         : Lavf54.37.100
>>     Stream #0:0: Video: h264 ([7][0][0][0] / 0x0007), yuv444p
> 
> As Roger correctly guessed, FFmpeg chose yuv444p as output 
> colour space (to loose as little information as possible) and 
> the flash decoder is incapable of decoding this (valid) output, 
> so use -pix_fmt yuv420p to force a lower-quality output colour 
> space.

A suggestion and a proposal to the developers.

The suggestion would be to enable by default a color space that Flash
can decode with the -vcodec h264 when converting to .flv (or .swf, if
this is possible).

The proposal would be to implement an option (such as --flash-player)
that chooses a color space that the Flash player player can decode when
converting to .mp4 or other container that isn't Flash-specific (and
that Flash can open) using -vcodec h264.

Many thanks for your help,



Pablo
-- 
http://www.ousia.tk


More information about the ffmpeg-user mailing list