![]() Take a sample of videos and label them: are they "pixelated" or not? This is nothing that an algorithm can simply decide for you. You have to decide what that threshold is. Of course, it'd be easier if you had access to the original video to compare with, but I assume that is not the case. That means: decode the video and analyze the pixels whether you can detect errors stemming from packet/slice losses (what you are calling "pixelation"). That means you're going to either need some threshold as to how many packet errors are acceptable, or a more detailed analysis on the pixel level. At some point, of course, a human will definitely notice these problems. ![]() the ffmpeg log), but it will decode just fine, and a human viewer will not be likely to notice the error. So, a file may only have few lost packets, and you'd consider it as faulty when looking at the bitstream only (i.e. This depends on the decoder some to better than others here. The "problem" is that decoding is somewhat robust against losses, and errors from lost frames or parts of frames can be concealed by the decoder. Is there a mismatch or decoding error? Then your file has probably been corrupted. I am already running a script that reads a log and finds information on the log to tell me about packet drops in a stream, so if you know how I output such log that tells if there is pixelation, or if the debug log has certain information that tells this, please let me know.Īny lost packet will inadvertently lead to decoding errors (both in video/audio streams), so in principle you already have your solution if you inspect the debug log while decoding. However, I am finding it difficult to find documentation on how to detect pixelation.ĭo you guys know if there a way to tell that a video file may have pixelation, even through a log output of the video? I know that I can use str, std, to print out the debug logs. However, I want to be able to tell if a video file has a pixelation. I also use ffprobe on a video to see if it throws out an error like moov atom not found to know if the video is corrupted. If there is a file, it uses MediaInfo command-line to extract the encoding of the video and audio. ![]() ![]() I am trying to identify if a video file has pixelation or not,Ĭurrently, I have a watch folder where videos are dropped, I have a trigger every 120 seconds that check the folder to see if there are any video files. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |