Skip to content

Error in finding input video file #2

@preksha12

Description

@preksha12

Whenever I run thingscoop for any video input do I need to store that input file explicitly at some location,if yes what should be the location,currently I saved one video koyaanisqatsi.mp4 in thingscoop directory then after running
thingscoop describe koyaanisqatsi.mp4 -m googlenet_places
query in terminal I am getting following error:-
preksha@preksha:~/thingscoop$ thingscoop describe high.mp4 -m googlenet_places
Traceback (most recent call last):
File "/usr/local/bin/thingscoop", line 52, in
sys.exit(thingscoop.main(args))
File "/home/preksha/thingscoop/thingscoop/init.py", line 104, in main
recreate_index=recreate_index
File "/home/preksha/thingscoop/thingscoop/search.py", line 107, in label_videos
recreate_index=recreate_index
File "/home/preksha/thingscoop/thingscoop/search.py", line 80, in label_video
temp_frame_dir, frames = extract_frames(filename, sample_rate=sample_rate)
File "/home/preksha/thingscoop/thingscoop/utils.py", line 39, in extract_frames
subprocess.check_output(["ffmpeg", "-i", filename, "-vf", "fps="+str(sample_rate), dest])
File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
process = Popen(stdout=PIPE, _popenargs, *_kwargs)
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

Kindly provide me guidance for solving this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions