[FFmpeg-devel] [PATCH] snowenc: Fix encoding of GRAY8 videos
Michael Niedermayer
michaelni at gmx.at
Thu Dec 29 21:35:34 CET 2011
On Thu, Dec 29, 2011 at 01:33:47PM -0500, Derek Buitenhuis wrote:
> On 29/12/2011 10:25 AM, Michael Niedermayer wrote:
> >ffmpeg_g -i ~/videos/matrixbench_mpeg2.mpg -pix_fmt gray -vcodec snow -vstrict experimental test.avi
> >
> >just segfaults
>
> This is turning out to be a more complicated fix that I imagined.
>
> >also how should this be matched to snow.txt ?
>
> I'm not sure what you mean?
the snow spec doesnt say a word about grayscale, so its not clear how
to encode grayscale based on it. It would be trivial to extend the
snow spec of course
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111229/9e659e16/attachment.asc>
More information about the ffmpeg-devel
mailing list