On 23/12/2020, Gopi Nath <[email protected]> wrote: > Hello, > > i am trying to convert png images to avi which is working fine, but the > video is not showing the background transparency (png images has) > > this is what my statement > ffmpeg -r 30 -start_number 1 -f image2 -i "imagespath" -y -pix_fmt yuv420p > -q:v 1 "output.avi" > > after reading from forum, i tried adding png codec > ffmpeg -r 30 -start_number 1 -f image2 -i "imagespath" -vcodec png -y > -pix_fmt yuv420p -q:v 1 "output.avi" > > then it shows the error > Incompatible pixel format 'yuv420p' for codec 'png', auto-selecting format > 'rgb24' > > so, i removed pix_fmt, then it creates video with transparency, but i am > able to open this video ONLY in VLC player, not any other players supported > this codec > ffmpeg -r 30 -start_number 1 -f image2 -i "imagespath" -vcodec png -y -q:v > 1 "output.avi" > > please suggest me any working method.
first update your version of ffmpeg to latest PNG image inside avi/mov are not support in all plays, it is commonly intermediate format what are trying to do? > > Regards, > Gopi. > _______________________________________________ > ffmpeg-user mailing list > [email protected] > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
