Good evening. I need to find frames similar to other frames of a video in order to cut and merge and make it as seamless as possible. I have been using the following FFMpeg script but it outputs everything to the CMD window but I have been unable to redirect it to a text file. I have tried '|' pipe, 2>&1 >, -null > and I have found no method. I know this is probably easy but i need the output in a searchable text file.
Also is there any way to prevent Everything from listing and output just the matches?
Script:
Output:Code:ffmpeg.exe -i video.mp4 -loop 1 -i output.jpg -an -filter_complex "blend=difference:shortest=1,blackframe=99:32" -f null -
Thanks in advance to anyone who can help on this!frame= 4384 fps=151 q=-0.0 size=N/A time=00:03:02.66 bitrate=N/A speed=6.28x
frame= 4460 fps=151 q=-0.0 size=N/A time=00:03:05.83 bitrate=N/A speed=6.28x
frame= 4536 fps=151 q=-0.0 size=N/A time=00:03:09.00 bitrate=N/A speed=6.28x
frame= 4611 fps=151 q=-0.0 size=N/A time=00:03:12.12 bitrate=N/A speed=6.28x
frame= 4687 fps=151 q=-0.0 size=N/A time=00:03:15.29 bitrate=N/A speed=6.28x
frame= 4763 fps=151 q=-0.0 size=N/A time=00:03:18.45 bitrate=N/A speed=6.28x
frame= 4839 fps=151 q=-0.0 size=N/A time=00:03:21.62 bitrate=N/A speed=6.28x
[Parsed_blackframe_1 @ 078c4c40] frame:4847 pblack:99 pts:18176250 t:201.958333
type:P last_keyframe:4820
[Parsed_blackframe_1 @ 078c4c40] frame:4848 pblack:99 pts:18180000 t:202.000000
type:P last_keyframe:4820
[Parsed_blackframe_1 @ 078c4c40] frame:4849 pblack:100 pts:18183750 t:202.041667
type:P last_keyframe:4820
[Parsed_blackframe_1 @ 078c4c40] frame:4850 pblack:99 pts:18187500 t:202.083333
type:P last_keyframe:4820
frame= 4914 fps=151 q=-0.0 size=N/A time=00:03:24.75 bitrate=N/A speed=6.28x
frame= 4990 fps=151 q=-0.0 size=N/A time=00:03:27.91 bitrate=N/A speed=6.28x
frame= 5066 fps=151 q=-0.0 size=N/A time=00:03:31.08 bitrate=N/A speed=6.28x
frame= 5141 fps=151 q=-0.0 size=N/A time=00:03:34.20 bitrate=N/A speed=6.28x
frame= 5183 fps=151 q=-0.0 Lsize=N/A time=00:03:35.95 bitrate=N/A speed=6.28x
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 3 of 3
Thread
-
-
Just add "2> output.txt" to the end of the command.
Code:ffmpeg.exe -i video.mp4 -loop 1 -i output.jpg -an -filter_complex "blend=difference:shortest=1,blackframe=99:32" -f null - 2>output.txt
-
Thx... That works. I still get all the header info even specifying no header, quiet, etc. No biggy but I get all lines with only a Carriage Return (hex 0D) instead of CRLF (0D0A). The CMD command 'findstr' doesn't seem to recognize this so all lines before the actual match are considered as the same line. I just takes an extra step to convert before seeking,but again I can make it work.
Strange the 2>&1 does not work but 2> does... hmmm'
Thanks for the information.
Similar Threads
-
Need help with missing text in image based subs due to distortion
By Concept in forum SubtitleReplies: 2Last Post: 6th Feb 2019, 16:39 -
Pot player remove text crawl below image url from You Tube
By loninappleton in forum Software PlayingReplies: 4Last Post: 4th Apr 2017, 14:23 -
Staxrip Image Output Mod: What does it affect?
By rgDino in forum Video ConversionReplies: 2Last Post: 17th Sep 2016, 00:16 -
Detect duplicate frames and write to text file
By nesburf in forum Video ConversionReplies: 15Last Post: 27th Aug 2015, 08:09 -
Help! Problem with the location of text
By OVA GAIDEN in forum EditingReplies: 9Last Post: 30th Sep 2014, 06:09