You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, this is my first issue posting on github, so please if I'm not doing something right, please tell me :)
OK, so we have one project that is working on Linux version of server on AWS, and I use Windows as a OS. When I want to create new attachment using this gem, I get following error:
**Av::CommandError in Api::V1::DigitalProductsController#create
error while running command if command -v avprobe 2>/dev/null; then echo "true"; else echo "false"; fi: Command 'if command -v avprobe 2>/dev/null; then echo "true"; else echo "false"; fi' returned 1. Expected 0 Here is the command output: STDOUT:
STDERR:
-v was unexpected at this time.**
_I'm reporting this as an issue, as gem is working fine on Linux, but on Windows it is not good. _
I have tried to do everything that others users reported similar problems, but without any success. Also, on stack or Google, there is no search result with my issue, like nobody has this problem :(
Please can you see if there is an issue for real, or there are some things that are too obvious that I have missed. I'm sending some screens just in order to have full picture.
Thank you.
The text was updated successfully, but these errors were encountered:
Hi, I have "fixed" av-0.9.0 gem by ignoring validation self.detect_command('ffmpeg') and have only ffmpeg command available as a choice, and now it works also on windows. This was kind of dirty method of removing the issue, but it works.
So for anybody that will face same issue, go to installed copy of av gem and find file:
av/cli.rb
then in that file remove line 7 "found << 'avconv' if self.detect_command('avprobe')"
then remove in line 8 validation "if self.detect_command('ffmpeg')"
BUT please ensure that you have ffmpeg working before you do this!
I'm writing this here only to help windows developers as this is a problem that will appear using this gem.
Hi, this is my first issue posting on github, so please if I'm not doing something right, please tell me :)
OK, so we have one project that is working on Linux version of server on AWS, and I use Windows as a OS. When I want to create new attachment using this gem, I get following error:
**Av::CommandError in Api::V1::DigitalProductsController#create
error while running command if command -v avprobe 2>/dev/null; then echo "true"; else echo "false"; fi: Command 'if command -v avprobe 2>/dev/null; then echo "true"; else echo "false"; fi' returned 1. Expected 0 Here is the command output: STDOUT:
STDERR:
-v was unexpected at this time.**
_I'm reporting this as an issue, as gem is working fine on Linux, but on Windows it is not good. _
I have tried to do everything that others users reported similar problems, but without any success. Also, on stack or Google, there is no search result with my issue, like nobody has this problem :(
Please can you see if there is an issue for real, or there are some things that are too obvious that I have missed. I'm sending some screens just in order to have full picture.
Thank you.
The text was updated successfully, but these errors were encountered: