-show_streams - gives info about audio and video streams.-show_format - gives additional info about file format.-sexagesimal - time output format HH:MM:SS.MICROSECONDS.-print_format json - JSON output format allows us to use JSON processor to easily extract data we are interested in.-log_level quiet - other messages are also not important.-hide_banner - hides banner, we do not need it to process file.Take a look on this command: ffprobe -hide_banner -loglevel quiet -print_format json -sexagesimal -show_format -show_streams YOUR_FILE.mp4 You might also use your own scripts, but your description of duplicate is not strict enough to provide bullet-proof answer.įor now on I would stick with ffprobe from ffmpeg package. But that is too easily fooled by changed metadata or a different format like webm vs m4v vs mp4.ĭoes anyone know such a tool? Or is this something, I would have to write myself, if I need it?įor simple exact duplicate finder I would prefer to use fdupes tool. Both of which are sadly GUI programs.Ĭurrently I am using jdupes to delete all byte perfect copies. The only things I found so far were dupeguru and videoduplicatefinder. This tool would have to be usable only with CLI (or as a library), since I would like to run it on the server directly and only let it compare certain subfolders automatically to save time (the whole server would take far too long). Therefore I am looking for a tool, for Linux, that just returns a list of the found duplicates, that I would then process with a simple script myself. These videos are in a complex folder structure and therefore only the duplicate in certain folders can be deleted. Those might be a slightly different encoding, a lower resolution or just changed meta data. I am currently trying to eliminate duplicated videos with minimal changes.
0 Comments
Leave a Reply. |