Inspector returns nil for every function #5

Open
AshtonKem opened this Issue Jul 11, 2012 · 1 comment

Comments

Projects
None yet
1 participant
@AshtonKem

I cannot get the Inspector to work in the slightest. I dropped a sample video in my root directory and did the following

irb(main):002:0> system("ffmpeg -i ~/temp.mov")
ffmpeg version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
  built on Jun 12 2012 16:52:09 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x206c7a0] multiple edit list entries, a/v desync might occur, patch welcome

Seems stream 1 codec frame rate differs from container frame rate: 1200.00 (1200/1) -> 57.08 (685/12)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/vagrant/temp.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2012-05-24 01:29:54
  Duration: 00:00:15.62, start: 0.000000, bitrate: 1177 kb/s
    Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16, 96 kb/s
    Metadata:
      creation_time   : 2012-05-24 01:29:54
    Stream #0.1(und): Video: h264 (Main), yuv420p, 720x480 [PAR 1:1 DAR 3:2], 1066 kb/s, 13.67 fps, 57.08 tbr, 600 tbn, 1200 tbc
    Metadata:
      creation_time   : 2012-05-24 01:29:54
At least one output file must be specified
=> false

But when I try using rvideo:

irb(main):004:0> RVideo::Inspector.new(:ffmpeg_binary => "/usr/bin/ffmpeg", :file => "/home/vagrant/temp.mov").container
=> nil
irb(main):005:0> RVideo::Inspector.new(:ffmpeg_binary => "/usr/bin/ffmpeg", :file => "/home/vagrant/temp.mov").duration
=> nil
irb(main):006:0> RVideo::Inspector.new(:ffmpeg_binary => "/usr/bin/ffmpeg", :file => "/home/vagrant/temp.mov").fps
=> nil

rvideo 0.9.3
ffmpeg 0.8.3-4:0.8.3-0ubuntu0.12.04.1

Running on Ubuntu 12.04 in a vagrant vm.

@AshtonKem

This comment has been minimized.

Show comment Hide comment
@AshtonKem

AshtonKem Jul 11, 2012

Also, dropping the :ffmpeg_binary option makes no difference.

Also, dropping the :ffmpeg_binary option makes no difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment