Tracking-with-darkflow
Tracking-with-darkflow copied to clipboard
AVAssetWriter status: Cannot create file
When using a .mp4 file format with run.py I get the following error:
OpenCV: FFMPEG: tag 0x44495658/'XVID' is not supported with codec id 12 and format 'mp4 / MP4 (MPEG-4 Part 14)'
OpenCV: FFMPEG: fallback to use tag 0x7634706d/'mp4v'
2019-02-11 15:50:23.099 Python[53789:715434] AVF: AVAssetWriter status: Cannot create file
And later the final ValueError: not enough values to unpack (expected 3, got 2)
which I assume is just the result of opencv not being able to read the files I'm passing to it
What are the limitations on compatible video formats? (p.s. I tried .avi and .mov too)
I have that same issue, anyone?
Using .avi format instead of mp4 makes this (OpenCV: FFMPEG: tag 0x44495658/'XVID' is not supported with codec id 12 and format 'mp4 / MP4 (MPEG-4 Part 14)') go away, but it still shows AVF: "AVAssetWriter status: Cannot create file".
If anyone knows how to solve this, do help!
I had the same issue and what worked for me was to make sure all the directories of the destination path already exist. The format warning still appears but the files are being created.