Stas Oskin wrote: > Hi. > > Does your issue arise when using ffmpeg binary ? > > No, it happens when I use libavcodec. > The video arrives as RGB or YUV frames, which I later encode. > > It gave me an idea though - does the binary support raw YUV files as input? > I can try encoding a raw file via binary and see what it produces.
Sure, you have to specify the pixel format, the resolution and the frame rate: ffmpeg -pix_fmt <value> -r <frame_rate> -s <wxh> -i <file.yuv> ... I notice pixel formats are not mentioned in ffmpeg -formats :( A patch for this would be welcome. What format is yuv file ? yuv 420 planar then it should be -pix_fmt yuv420p -- Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA checking for life_signs in -lkenny... no FFmpeg maintainer http://www.ffmpeg.org _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
