Skip to content
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

Could not create the task. ffmpy.FFRuntimeError #43

Closed
ionyshch-prismsl opened this issue Sep 5, 2018 · 3 comments
Closed

Could not create the task. ffmpy.FFRuntimeError #43

ionyshch-prismsl opened this issue Sep 5, 2018 · 3 comments
Labels
question Further information is requested

Comments

@ionyshch-prismsl
Copy link

Built docker image from the latest sources. Created superuser. Getting an error on task creation:

Could not create the task. ffmpy.FFRuntimeError: ffmpeg -i /home/django/data/2/.upload/20170209T193000.000000Z.mp4 -start_number 0 -b:v 10000k -vsync 0 -an -y -q:v 16 /tmp/cvat-p9csbe_h.data/%d.jpg exited with status 1 STDOUT: STDERR:

screen shot 2018-09-05 at 16 22 23

Connected to running cvat container with docker exec -it <container id> /bin/bash and pasted command from error message into terminal. It fails, because folder cvat-* in /tmp doesn't exist.

@ionyshch-prismsl
Copy link
Author

Seems problem is with video file. After I manually created destination folder, got another error: Invalid pts (16) <= last (16).
When omitting all parameters except input and output ffmpeg -i <input file> %d.jpg got output, but with dozen of warnings from ffmpeg

Past duration xxxxxxx too large

Thus workaround in similar situation would be to convert video into images locally and upload images.

@bsekachev
Copy link
Member

FFPMEG just can't process you video file. I don't know reason. You can try to convert it to other video format for example. Also you can send me it for my investigation.

@nmanovic nmanovic added the question Further information is requested label Sep 11, 2018
@nmanovic
Copy link
Contributor

Hi @ionyshch-prismsl ,

Thanks for your report. We are not going to support "bad" videos. Your suggests are correct. Just convert the video into another format or upload images directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants