Creating a log file for my ffmpeg output
23,757
ffmpeg logs to stderr, so you have to check that. Since you're already outputting to stdout, you have to redirect stderr to a file, for example:
ffmpeg … 2> log.txt
Related videos on Youtube
Comments
-
Andrew Simpson almost 2 years
I am trying to find out why my rtsp dos command using FFMPEG is 'freezing'. Ihave been told I would have more luck on SuperUser but I have been told to produce a log file 1st.
I have looked and I have tried several things to produce this log file.
My original command line was this:
ffmpeg.exe -i rtsp://admin:[email protected]:554/video_1 -an -f image2pipe -vf fps=fps=6 -qscale 0 -
and changed it to this:
ffmpeg.exe -i rtsp://admin:[email protected]:554/video_1 -an -f image2pipe -vf fps=fps=6 -qscale 0 - > log.txt
But the DOS does not get beyond this:
and the log file is empty.
Please can someone advise?
Thanks
-
slhck over 9 yearsffmpeg logs to stderr, so you have to check that. Redirect 2> to a file.
-
Andrew Simpson over 9 yearsI am sure I tried that already but will give it another go when I am back. Thanks
-
slhck over 9 yearsWell, I guess it worked.
-
slhck over 9 yearsNo problem :) I just wasn't sure as I didn't have a Windows instance to test.
-
-
user25 about 6 yearswhat about android?