Hi,
I got two videos. One is mp4. The other is mkv. But I can easily extract the video strem or remux it to any container if needed.
I want to find - even manually - the same frame and then to be able to see the exact difference in frames. Any suggestions how to do it?
I don't need any automated tool as this is one time job for me.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 5 of 5
Thread
-
-
Open both with two instances of VirtualDub2.
Find same frame.
Number of frame is shown under scrollbar.
Subtract. -
If it is hard to find which frame is exactly like the image, I find it manually. Just create an image that you wish to find:
Code:ffmpeg -ss 04.333 -i new.mp4 -vframes 1 -q:v 2 text.jpg
creates image such as:
[Attachment 61297 - Click to enlarge]
Now run cmd script:
Code:ffmpeg.exe -i video.mp4 -loop 1 -i image.jpg -an -filter_complex "blend=difference:shortest=1,blackframe=99:32" -f null - 2> text.txt
You will get some gobble-di-gook that windows throws in and then the line showing blackframe similarity of 100% at frame 130:
[Parsed_blackframe_1 @ 06f12000] frame:130 pblack:100 pts:4333329 t:4.333329 type:P last_keyframe:0
frame= 603 fps=342 q=-0.0 Lsize=N/A time=00:00:20.09 bitrate=N/A speed=11.4x
video:240kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Depending on if the image is taken from the original video or not you might be able to substitute 100 for 99 or some other Percentage depending if the video is lighter or darker. -
are you wanting to get the time difference between two different frame numbers
-or-
are you wanting to get the visual difference between the pixels that look similar such as from two copies of the same or similar video?
Similar Threads
-
MPC-BE how to display exact time of a frame?
By vhwul62 in forum Software PlayingReplies: 6Last Post: 13th Jun 2020, 02:01 -
Advice on converting UK TV Channel5HD freeview videos & finding current br?
By Emanef in forum Video ConversionReplies: 40Last Post: 3rd Mar 2020, 23:07 -
Avisynth, merge two videos, but I want to delay audio of one only.
By attackworld in forum EditingReplies: 3Last Post: 25th Mar 2019, 13:57 -
Unable to sync AC-3 track with mkv (frame rate and audio delay issues)
By Revec in forum Newbie / General discussionsReplies: 18Last Post: 8th Jun 2018, 23:10 -
Looking for software to cut at exact frame
By axeon73 in forum Newbie / General discussionsReplies: 10Last Post: 2nd Dec 2016, 13:51