Bashwget http://example.com/test.avitail -c+0 test.avi | ffmpeg -i - -vcodec=mpeg4 -acodec copy -y out.mp4