Im trying to run the flvsplit.py i found here
i have downloaded a fresh of copy flvsplit.py and reinstalled python.
#sudo ./split.py orignial output
gives me
total duration: 599916 writing 'output-000.flv' (0-599916)... Traceback (most recent call last): File "./split.py", line 94, in <module> if __name__ == "__main__": sys.exit(main(sys.argv)) File "./split.py", line 89, in main force=force, debug=debug) File "./split.py", line 41, in flvsplit processor.process_flv(parser, audiosink, videosink, ranges=ranges) File "/usr/local/lib/python2.7/dist-packages/vnc2flv/video.py", line 334, in process_flv data = parser.get_data(i) File "/usr/local/lib/python2.7/dist-packages/vnc2flv/flv.py", line 389, in get_data data = self.read(length) File "/usr/local/lib/python2.7/dist-packages/vnc2flv/flv.py", line 119, in read raise EOFError EOFError
thanks in advance for any assistance
EDIT: Solved
I found this thread with TeoBigusGeekus:
Let’s say that your file (video.flv) is 15minutes long and you want to split it to 3 parts of 5minutes each.
Code:
ffmpeg -i video.flv -ss "00:00:00" -t "00:05:00" part1.flv ffmpeg -i video.flv -ss "00:05:00" -t "00:05:00" part2.flv ffmpeg -i video.flv -ss "00:10:00" part3.flv
The -ss switch controls the seek option and the -t switch controls the duration option.