New submission from Meskalin <[email protected]>: Oh i still play with ffmpeg library...One of the strange thing i face up is, i) i decode mp4 video in yuv420 format ii) i can successfully encode that frame into h264 iii) But if i convert my origainal yuv frame into rgb24 format and encode it to h2614 i got an strange error: " input picture width (320) is greater than stride(0)" iv) By the way my original pic width is 640 not 320
So inorder to encode a frame in h264, should it be Yuv? Can not encode rgb frame directly? Best Wishes ---------- messages: 12903 priority: normal status: new substatus: new title: encode RGG frame to H264 problem: input picture width is greater than stride ________________________________________________ FFmpeg issue tracker <[email protected]> <https://roundup.ffmpeg.org/issue2415> ________________________________________________
