Hello,
I compiled ffmpeg by hand. I ran the comand line below
ffmpeg -i testvideo.mp4 testvideo.webm
it works, and the file "testvideo.webm" can display if I use google browser to
open it.
However, when I do demo video submission, it still give the error
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.
In order to debug the error, I would see log messsage in invenio.log. But I do
not find any messeges about this error in log file.
Is it possible to get deep level debug messages in invenio log file?
When I ran
sudo -u apache /opt/invenio/bin/bibencode -s5m
I have got the message,
You have to specify a mode using '-m MODE'
There are different kind of mode, i.e.'meta', 'encode', 'extract', 'daemon',
'batch'
For video upload, Which mode should I use ?
Thank you very much!!
Regards,
Lanxin
________________________________________
From: Samuele Kaplun
Sent: 17 January 2013 09:43
To: Lanxin Ma
Cc: Jerome Caffaro; project-invenio-general (Invenio users)
Subject: Re: vedio upload
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/>