Answer the question
In order to leave comments, you need to log in
Capturing a video stream from a site - problems with converting received files
Good day.
There is a task - to capture a video stream from an online broadcast on the site.
Plugins like DownloadHelper show that the site is constantly downloading mp4 files: 000.mp4, 002.mp4, 004.mp4 and so on, each less than a megabyte in size. Some of these files can be opened in a video player - short video clips. Others do not open. The error message is something like this: Media Player Classic could not render some of the pins in the graph.
It seems to me that by combining all the files you can get a full-fledged video. What program can do this? Is there a way to "collect" these pieces at all?
I tried several popular video-merge utilities - none of them did it - they stumble on "bad" files. It seems to me that here you just need to remove the header of file 002, and add it to file 000, and so on.
Thank you.
Answer the question
In order to leave comments, you need to log in
Try it with VLC, it can view "broken" files. If it works, then it's in the title and you can dig further.
You can also try to find out which protocol is used and look for a grabber for this protocol. For example, write a letter to the site administrator with a question about the protocol.
Try to glue not with utilities, but with your hands. The specific commands are OS dependent. Well, or you can try Avidemux, if he can, then when gluing it, he will immediately show the entire “movie” in its entirety.
These files are most likely cut by a thing called a stream segmenter, it lives on the server side, cuts the video into pieces and adds them to the playlist, which the player recalculates. It is usually done so that you can change the quality of the video on the go by transferring pieces with different bitrates.
inside the "bad" files tried to look? maybe there is no video at all, or there is no title, so the file may be a continuation of some other
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question