There are a few words in this article, that is, I want to talk about a problem of today's research.
Recently, a security system needs to obtain stream data from the camera and store it as a file. Our project uses the cameras of multiple merchants, and the types of files stored are different. One of them says that their data is h264, but VLC cannot be broadcast, I used a hex system to view my parsed video files. It fully complies with the h264 standard. on the official website, VLC also said that it fully supports h264 standard files, so it is a situation where playback is not possible.
After a long time, I found this sentence on the Forum (of course, my dear csdn): The VLC version does not support h264 raw data files .... depressed, I thought the VLC version was too low, but it did not support h264 files, so I got the latest 1.1.x. According to this statement on the Forum, the 0.9.6 version was immediately launched and found that it was actually okay... (PS: Can someone tell me what the higher version does not support h264 raw data files, and the lower version does ?)
The solution is to use RTP to package h264 and send it to the client for playback, which is completed by a senior student. According to the statement "VLC high version does not support h264 raw data files, I hope that the VLC can play the h264 data processed by RTP packaging.