I am working on a program that allows to assemble to merge several video files into one and run as a whole. I have tried finding on the internet but all I can find is merging text files, I am wondering if it is possible to merge video files in python.
pythonforlife
0
Newbie Poster
Recommended Answers
Jump to PostNot a python question.
In general a file is a stream of bytes. You merge two files by reading them one after the another and writing them.
fo=open("outfile","wb")
fo.write(open("infile1").read())
fo.write(open("infile2").read())
fo.close()Thats the general part of it.
However a file is interpreted by a program. A videofile is interpreted by …
All 4 Replies
slate
241
Posting Whiz in Training
Gribouillis
commented:
true
+13
pythonforlife
0
Newbie Poster
slate
241
Posting Whiz in Training
rudasi
-2
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.