2011/2/16 Jérémie Klein <[email protected]>

> Hi all,
>
> To start making my hand dirty with ffmpeg, i tried to adapt the sample
> available on the site to the git version of ffmpeg
> (using avcodec_decode_video2, sws_alloc_context, sws_init_context and
> sws_scale), but the only thing i obtain at the end is a serie of really
> nice
> black pictures.
>
> When viewing the file in hex format, i obtain the good values for the
> header
> (P6.512 512.255) butthen, the the image is filled with 0x00 until the end
> (which explains the black).
> I must be missing something.
>
> I have tested the examples one month ago and it worked with a mpeg2 file.
Don't you have 5 black images ate the begin of the video ?
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to