Humberto
unread,Dec 22, 2008, 11:27:21 AM12/22/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RVideo
Hello:
When reading video files with Rvideo the inspector object seems to be
created correctly, but I can't access its attributes
I installed ffmpeg from svn this is my version "SVN-r16240" and I have
installed Rvideo gem version 0.9.3.
It was working well before I made an update of ffmpeg, so I think
maybe it is a version incompatibility problem.
Here is and example of what is happening:
irb(main):008:0> video = RVideo::Inspector.new(:file => '/var/tmp/
videos/video.m4v')
=> #<RVideo::Inspector:0xb68652fc @full_filename="/var/tmp/videos/
video.m4v", @filename="video.m4v", @ffmpeg_binary="ffmpeg",
@raw_response="FFmpeg version SVN-r16240, Copyright (c) 2000-2008
Fabrice Bellard, et al.\n configuration: --enable-libmp3lame --enable-
libvorbis --disable-mmx --enable-shared --enable-gpl --disable-debug --
enable-libfaad --enable-libfaac --enable-pthreads --enable-libx264\n
libavutil 49.12. 0 / 49.12. 0\n libavcodec 52. 7. 0 / 52. 7.
0\n libavformat 52.23. 1 / 52.23. 1\n libavdevice 52. 1. 0 / 52.
1. 0\n built on Dec 19 2008 19:26:17, gcc: 4.1.1 20070105 (Red Hat
4.1.1-52)\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/tmp/videos/
Mexcaltitlan.m4v':\n Duration: 00:00:04.27, start: 0.000000, bitrate:
1645 kb/s\n Stream #0.0(eng): Video: h264, yuv420p, 640x360, 29.97
tb(r)\n Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16\nAt
least one output file must be specified\n", @path="/var/tmp/videos",
@unknown_format=true>
irb(main):009:0> video.valid?
=> false
irb(main):010:0> video.duration
=> nil
Any ideas about could be happening?
Best regards