isonic1 / flick

A CLI with helpful QA tools for Android (Devices & Emulators) and iOS (Devices).
MIT License
101 stars 26 forks source link

Videos not being renamed/moved correctly after recording. #37

Closed 99heitor closed 6 years ago

99heitor commented 6 years ago

I'm using the following commands

flick video -a start -p android flick video -a stop -p android

I'm getting the following error when trying to stop the recording:

Stopping Recorder!!!
Saving to /home/heitor/a4a2d461.mp4
error: No such file or directory @ rb_file_s_rename - (/home/heitor/.flick/a4a2d461/a4a2d461.mp4, /home/heitor/a4a2d461.mp4). Use --trace to view backtrace

Indeed, the file name left on ~/.flick/a4a2d461 is video-a4a2d461-single.mp4, and not a4a2d461.mp4, as the program seems to expect. The video is perfectly fine, but won't be moved to the directory I chose with --output (or even the default one) because of this.

Am I doing something wrong?

I have ffmpeg and MP4Box installed. I'm on Ubuntu 16.04 and on flick version 0.4.4.

Also, thank you for building this tool.

99heitor commented 6 years ago

I found out what the issue is. Although I had mp4box installed, it was installed as "MP4Box" through the Ubuntu package gpac. I had to create a symlink from mp4box to MP4Box and it works as expected.