I use the following python code to split a FLV video file into a set of parts ,when finished ,only the first part video can be played ,the other parts are corrupted.I wonder why and Is there some correct ways to split video files
the code format is mussy here please see the formated code here
Data formats consist normally of "two" (multiple) things. A container and a codec. One handles the way a data is aligned and put together, while the second handles the payload and its compression or representation only.
What you did was basically to just cut the data into separate chunks without really understanding how the data is aligned, formatted and encoded (as the others have commented).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.