-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Object has no attribute 'format' #20
Comments
Encountered same problem, but I found it can run only when you did not specify any parameter.
|
Hi! I had also faced this problem. Would you please tell me what should I do to solve this? |
Try deleting the existing output file that was created. Must be naive to solve. |
I made some attempts and found that it has strict requirements on the format of the command. It seems that the parameter needs to be entered before the bagfile name. In addition, there cannot already be an MP4 file with the same name in the folder. |
I think this cmd can solve the broken pipe issue if video_fmt == MJPEG_VIDEO: |
Was able to reproduce this faulty behaviour. Cause of Issue 🐛This is typically caused by the fact that a file of the same name ffmpeg is writing to exist. When attempting to overwite the existing output video file, it will result in the following error captured in this thread: BrokenPipeError: [Errno 32] Broken pipe The error Solution [Short-Term] 🩹Just remove the output video file with the same name in the directory you are running If unsure which video is it, please remove all video files in the directory in question. Solution [Long-Term] 🟢Will write up a Pull Request with a modification to generate timestamped output video file name by default to generate uniquely-named output video file. Will update here once done. |
I installed the code and I run it. There was no problem but no video has been generated. After that, I installed the following dependencies and tried to run the python code again and an error occurred.
sudo apt install python3-roslib python3-sensor-msgs python3-opencv
The error is as follows:
The text was updated successfully, but these errors were encountered: