Ffmpeg pipe stream glitch -
i want process ffmpeg raw video stream, , can't understand why code produces glitches. what's wrong?
ffmpeg -i in.mp4 -f image2pipe -pix_fmt rgb24 -vcodec rawvideo - | ffmpeg -f rawvideo -vcodec rawvideo -s 1980x1080 -pix_fmt rgb24 -r 24 -i - -an out.avi
thanks!
for rawvideo
streams, have have correct size set, need change invocation of ffmpeg
to:
ffmpeg -i in.mp4 -f image2pipe -pix_fmt rgb24 -vcodec rawvideo - | ffmpeg -f rawvideo -vcodec rawvideo -s 1920x1080 -pix_fmt rgb24 -r 24 -i - -an out.avi
this assuming in.mp4
file full hd file.
Comments
Post a Comment