Hello, I have installed ffmpeg-0.7.13 and dependency packages in my invenio 1.1.1 server. I still got the error message below when I upload a demo video, even I upload a mp4 video.
Your video could not be processed. The file might be corrupted or its codec(s) might not be supported by Invenio. Please verify your video or see the video submission guidelines. According to the guide http://invenio-software.org/wiki/Development/Modules/BibEncode# I modified my invenio-local.conf CFG_BIBSCHED_NODE_TASKS = { 'invenio.ihep.ac.cn' : ["bibindex", "bibupload", "bibreformat", "webcoll", "bibtaskex", "bibrank", "oaiharvest", "oairepositoryupdater", "inveniogc", "webstatadmin", "bibclassify", "bibexport", "dbdump", "batchuploader", "bibauthorid", "bibtasklet"], 'invenio.ihep.ac.cn' : ['bibencode',] } CFG_PATH_FFMPEG = /usr/local/bin/ffmpeg CFG_PATH_FFPROBE = /usr/local/bin/ffprobe CFG_PATH_MEDIAINFO = /usr/local/bin/mediainfo CFG_BIBSCHED_MAX_NUMBER_CONCURRENT_TASKS = 10 if I have the only node runing my invenio. how do I configure the var 'CFG_BIBSCHED_NODE_TASKS' ? Here is what I did after modify my local config file. sudo -u apache /opt/invenio/bin/inveniocfg --update-all service httpd restart Should I startup bibencode deamon? I tried sudo -u apache /opt/invenio/bin/bibencode -s5m This is faild. Could you please give me an example of 'sudo -u apache /opt/invenio/bin/bibencode ......' if it is needed to start bibencode deamon ? Could you please give me some clues about debug the problem ? Thank you very much!! Regards, Lanxin ________________________________________ From: Jerome Caffaro Sent: 07 January 2013 10:00 To: Lanxin Ma Cc: project-invenio-general (Invenio users) Subject: Re: vedio upload Dear Lanxin, On 01/04/2013 08:02 AM, Lanxin Ma wrote: > I am installing invenio 1.1.1. I encouter a problem when I submit a new > record of vedio. BibEncode is a young module in Invenio. It therefore still lacks documentation, including the video submission guidelines. The bottom line is that BibEncode uses ffmpeg behind the scene, such that any input supported by ffmpeg would be supported by BibEncode. It also consequently requires that you have ffmpeg available on your Invenio server, as described in the INSTALL guide: <http://invenio-software.org/repo/invenio/tree/INSTALL?h=maint-1.1#n233> Since ffmpeg interface is not always stable over versions, it is required that a specific version of ffmpeg is installed (version 0.7 tested). If you are willing to use for eg. the ffmpeg 0.6 series you can tweak your encoding profile as described here: <http://invenio-software.org/repo/personal/invenio-jerome/commit/?h=bibencode-ffmpeg-0.6-encoding-profile-parameters&id=6788a0b2f3e8fe841142092b089a3c671c368a48> If the encoding fails an email should be sent to the admin with some useful debugging information. See also some incomplete musings: <http://invenio-software.org/wiki/Development/Modules/BibEncode> Best regards -- Jerome Caffaro ** CERN Document Server ** <http://cds.cern.ch/>

