Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-1510

FFMpeg installed but not parsing video files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.9
    • parser
    • None
    • FFMPEG, Mac OS X 10.9 with HomeBrew

    Description

      I have FFMPEG installed with homebrew:

      # brew install ffmpeg
      

      I've got some AVI files and have tried to parse them with Tika:

      [chipotle:~/Desktop/drone-vids] mattmann% tika -m SPOT11_000001\ 17.AVI
      Content-Length: 334917340
      Content-Type: video/x-msvideo
      X-Parsed-By: org.apache.tika.parser.EmptyParser
      resourceName: SPOT11_000001 17.AVI
      

      I took a look at the ExternalParser, which is configured for using ffmpeg if it's installed. It seems it only works on:

         <mime-types>
             <mime-type>video/avi</mime-type>
             <mime-type>video/mpeg</mime-type>
           </mime-types>
      

      I'll add video/x-msvideo and see if that fixes it. I also stumbled upon the work by rgauss at Github - Ray I noticed there is no parser in that work:

      https://github.com/AlfrescoLabs/tika-ffmpeg

      But there seems to be metadata extraction code, etc. Ray should I do something with this?

      Attachments

        1. TIKA-1510.Mattmann.052515.patch.txt
          2 kB
          Chris A. Mattmann

        Issue Links

          Activity

            People

              chrismattmann Chris A. Mattmann
              chrismattmann Chris A. Mattmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: