0

Any tool in ruby or Command line interface to get all the metadata associated with a video file.

I need to store the metadata in the table for indexing purposes.

I tried using ffmpeg and but the metadata is not formatted.

Sarvesh
  • 1,152
  • 2
  • 11
  • 25
  • Check this link: http://snippets.aktagon.com/snippets/136-How-to-extract-video-metadata-with-mplayer-and-Ruby – Niloct Jul 15 '11 at 22:33

1 Answers1

1

ffmpeg -i normally gets the job done, however, there's a Ruby tool that manipulates metadata; It will even output the data as xml, which can be useful

See here

Fredrik Pihl
  • 44,604
  • 7
  • 83
  • 130
  • When I used ffmpeg for this purpose, I got a warning that ffmpeg is deprecated in favor of avconv. This command worked exactly the same after installation: `avconv -i filename.mpg` – asciimo Sep 12 '13 at 19:15
  • 1
    See e.g. http://stackoverflow.com/a/9477756/297323 That error message is very missleading. – Fredrik Pihl Sep 12 '13 at 19:40