6 GB

a single fragment size can't be that large. this script is intended to process client side fragments which will be hardly of few MB in any case. probably you are trying to process the f4f file generated on server side. simply renaming it to f4v or mp4 may work in that case.