ffmpeg._run.Error: ffprobe error (see stderr output for detail)
Better369 opened this issue · 3 comments
run "python scripts/live-demo.py --camera_id 0" can be able to succeed.
But run "python scripts/live-demo.py --filename 2.mp4" will be displayed "ffmpeg._run.Error: ffprobe error (see stderr output for detail)"
Hi, could you share the entire error message?
From the short description you provided, if the program is crashing here
simple-HRNet/scripts/live-demo.py
Line 35 in 2de1176
the error is probably caused by a wrong file path (option
--filename
) or by the file not being saved in a proper video format.Hi @Better369 , unfortunately I cannot see any of your attachments. You should attach them while adding your response on the github website (instead of answering via email).
Could you try replacing the line
simple-HRNet/scripts/live-demo.py
Line 35 in 2de1176
with the following code
rotation_code = None
and let me know if that solves the issue with ffmpeg? It should only be used to check the video rotation, but you can skip that step and everything else should work (if ffmpeg is actually the issue).