Hi Lanxin,

In data mercoledì 16 gennaio 2013 10:15:32, Lanxin Ma ha scritto:
> 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.

Actually, you will probably have to compile ffmpeg by hand, with at least the 
following arguments to your ./configure:

$ ./configure --enable-gpl \
              --enable-version3 \
              --enable-nonfree \
              --enable-libfaac \
              --enable-libtheora \
              --enable-libvorbis \
              --enable-libvpx \
              --enable-libx264 \
              --enable-libopenjpeg

The bibencode module is really highly experimental.
 
> 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',] }

> if I have the only node runing my invenio. how do I configure the var
> 'CFG_BIBSCHED_NODE_TASKS' ?

Yep, actually also this multi-node is highly experimental. Additionally if you 
have only one node, than simply do:
> CFG_BIBSCHED_NODE_TASKS = {
>     'invenio.ihep.ac.cn' : ["bibindex", "bibupload", "bibreformat",
>          "webcoll", "bibtaskex", "bibrank",
>          "oaiharvest", "oairepositoryupdater", "inveniogc",
>          "webstatadmin", "bibclassify", "bibexport",
>          "dbdump", "batchuploader", "bibauthorid",
>          "bibtasklet", 'bibencode',] }


 
> 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.  

How? What was the error message?

> Could you please give me an example of  'sudo -u apache
> /opt/invenio/bin/bibencode ......' if it is needed to start bibencode
> deamon ?

Additionally, in order to run bibencode in daemon mode you will need to 
schedule:

$ sudo -u www-data /opt/invenio/bin/bibencode --mode=daemon -s5m 

but it will work only after it will find a correctly installed ffmpeg, 
according to the above ./configure recommendation.

Cheers!
        Samuele
-- 
Samuele Kaplun
Invenio Developer ** <http://invenio-software.org/>

Reply via email to