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

FFMPEG::Movie.new(path) errors not being surfaced #107

Closed
benwalsh opened this issue Sep 23, 2015 · 1 comment
Closed

FFMPEG::Movie.new(path) errors not being surfaced #107

benwalsh opened this issue Sep 23, 2015 · 1 comment

Comments

@benwalsh
Copy link

  • Setting path of something like /tmp/Rampaging+Ocelot20150923-7319-af1aq3.mov
  • Running FFMPEG::Move.new(path) would "hang" indefinitely with no output in Ruby console, logs, etc.
  • Running ps auxw would show this:
owner     xxxx  0.0  0.0   xxxx   xxxx ?        S    16:03   0:00 sh -c /usr/bin/ffprobe -i /tmp/Rampaging+Ocelot20150923-7319-af1aq3.mov -print_format json -show_format -show_streams -show_error
owner     xxxx  0.0  0.4 xxxx xxxx ?        S    16:03   0:00 /usr/bin/ffprobe -i /tmp/Rampaging+Ocelot20150923-7319-af1aq3.mov -print_format json -show_format -show_streams -show_error
  • Those tasks would also show indefinitely.
  • Running that task as sudo from the command line directly would show the error -- ffprobe does not like the filename:
/tmp/Rampaging+Ocelot20150923-7319-af1aq3.mov: No such file or directory
    "error": {
        "code": -2,
        "string": "No such file or directory"
    }
}
  • Changing the filename to something without reserved URL characters (eg. /tmp/rampaging_ocelot.mov or a SecureRandom.uuid) and it works fine.
  • It would be preferred if it raised an error for a filename it can't process!
@bikeath1337
Copy link
Collaborator

I just volunteered to get some movement on this project. Thanks for the ticket. Be patient while we get up to speed.

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

No branches or pull requests

2 participants