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

AVI and MOV conversions never work #35

Open
manishrcs opened this issue Oct 23, 2015 · 0 comments
Open

AVI and MOV conversions never work #35

manishrcs opened this issue Oct 23, 2015 · 0 comments

Comments

@manishrcs
Copy link

I love this plugin, but AVI/MOV conversions to mp4 always errors out. Anyone know why?

Here's an example of one log file:
[AV] Found ["avconv"], using: Avconv
[AV] Running command: avconv -i "/tmp/0cfcdbeb8752f2f04bae352148788e0020151022-3723-1hezry7.AVI" 2>&1
[paperclip] [transcoder] Transocding supported file /tmp/0cfcdbeb8752f2f04bae352148788e0020151022-3723-1hezry7.AVI
[AV] Adding output parameter ["acodec", "aac"]
[AV] Adding output parameter ["strict", "experimental"]
[AV] Running command: avconv -loglevel quiet -i "/tmp/0cfcdbeb8752f2f04bae352148788e0020151022-3723-1hezry7.AVI" -acodec aac -strict experimental -y "/tmp/0cfcdbeb8752f2f04bae352148788e0020151022-3723-1hezry720151022-3723-xxgxix.mp4"
Av::CommandError: error while running command avconv -loglevel quiet -i "/tmp/0cfcdbeb8752f2f04bae352148788e0020151022-3723-1hezry7.AVI" -acodec aac -strict experimental -y "/tmp/0cfcdbeb8752f2f04bae352148788e0020151022-3723-1hezry720151022-3723-xxgxix.mp4": Command 'PATH=/usr/bin:$PATH; avconv -loglevel quiet -i "/tmp/0cfcdbeb8752f2f04bae352148788e0020151022-3723-1hezry7.AVI" -acodec aac -strict experimental -y "/tmp/0cfcdbeb8752f2f04bae352148788e0020151022-3723-1hezry720151022-3723-xxgxix.mp4"' returned 1. Expected 0
Here is the command output:

    from /var/lib/gems/1.9.1/gems/av-0.8.0/lib/av.rb:32:in `rescue in run'
    from /var/lib/gems/1.9.1/gems/av-0.8.0/lib/av.rb:29:in `run'
    from /var/lib/gems/1.9.1/gems/av-0.8.0/lib/av/commands/base.rb:91:in `run'
    from /var/lib/gems/1.9.1/gems/av-0.8.0/lib/av/cli.rb:19:in `method_missing'
    from /var/lib/gems/1.9.1/gems/paperclip-av-transcoder-0.6.2/lib/paperclip/paperclip_processors/transcoder.rb:66:in `make'
    from /var/lib/gems/1.9.1/gems/paperclip-4.2.1/lib/paperclip/processor.rb:33:in `make'
    from /var/lib/gems/1.9.1/gems/paperclip-4.2.1/lib/paperclip/attachment.rb:522:in `block in post_process_style'
    from /var/lib/gems/1.9.1/gems/paperclip-4.2.1/lib/paperclip/attachment.rb:521:in `each'
    from /var/lib/gems/1.9.1/gems/paperclip-4.2.1/lib/paperclip/attachment.rb:521:in `inject'
    from /var/lib/gems/1.9.1/gems/paperclip-4.2.1/lib/paperclip/attachment.rb:521:in `post_process_style'
    from /var/lib/gems/1.9.1/gems/paperclip-4.2.1/lib/paperclip/attachment.rb:512:in `block in post_process_styles'
    from /var/lib/gems/1.9.1/gems/paperclip-4.2.1/lib/paperclip/attachment.rb:511:in `each'
    from /var/lib/gems/1.9.1/gems/paperclip-4.2.1/lib/paperclip/attachment.rb:511:in `post_process_styles'
    from /var/lib/gems/1.9.1/gems/paperclip-4.2.1/lib/paperclip/attachment.rb:503:in `block (2 levels) in post_process'
    from /var/lib/gems/1.9.1/gems/activesupport-4.1.6/lib/active_support/callbacks.rb:113:in `call'
    from /var/lib/gems/1.9.1/gems/activesupport-4.1.6/lib/active_support/callbacks.rb:113:in `call'

... 3 levels...
from /var/lib/gems/1.9.1/gems/paperclip-4.2.1/lib/paperclip/callbacks.rb:36:in run_paperclip_callbacks' from /var/lib/gems/1.9.1/gems/paperclip-4.2.1/lib/paperclip/attachment.rb:501:inblock in post_process'
from /var/lib/gems/1.9.1/gems/activesupport-4.1.6/lib/active_support/callbacks.rb:82:in run_callbacks' from /var/lib/gems/1.9.1/gems/paperclip-4.2.1/lib/paperclip/callbacks.rb:36:inrun_paperclip_callbacks'
from /var/lib/gems/1.9.1/gems/paperclip-4.2.1/lib/paperclip/attachment.rb:500:in post_process' from /var/lib/gems/1.9.1/gems/paperclip-4.2.1/lib/paperclip/attachment.rb:456:inpost_process_file'
from /var/lib/gems/1.9.1/gems/paperclip-4.2.1/lib/paperclip/attachment.rb:108:in assign' from /var/lib/gems/1.9.1/gems/paperclip-4.2.1/lib/paperclip/has_attached_file.rb:66:inblock in define_setter'
from (irb):7
from /var/lib/gems/1.9.1/gems/railties-4.1.6/lib/rails/commands/console.rb:90:in start' from /var/lib/gems/1.9.1/gems/railties-4.1.6/lib/rails/commands/console.rb:9:instart'
from /var/lib/gems/1.9.1/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb:69:in console' from /var/lib/gems/1.9.1/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb:40:inrun_command!'
from /var/lib/gems/1.9.1/gems/railties-4.1.6/lib/rails/commands.rb:17:in <top (required)>' from bin/rails:4:inrequire'
from bin/rails:4:in `

'irb(main):008:0>

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

1 participant