2011/2/17 Gilles Maire <[email protected]> > 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 ? >
Hello, thank you for your prompt answer. I first thought of it, so i checked with frames beetwen the 10000th and 15000th but i got the same issue. I thought that maybe the video i was using had something wrong, so i made my own video (using ffmpeg) with flat images but the result is still the same (black images). Jérémie Klein _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
