Dear Jerome,
> Dear Genis, > > If 'mp4' encoding works but not 'webm', you might face the need to > update the 'webm' encoding parameters that are used by Invenio when > calling ffmpeg. > > The encoding parameters are defined in /opt/invenio/etc/bibencode > /encoding_profiles.json: > <http://invenio- > software.org/repo/invenio/tree/modules/bibencode/etc/encoding_profiles. > json> > The content of local '/opt/invenio/etc/bibencode/encoding_profiles.json' (attached) is identical to <http://invenio- software.org/repo/invenio/tree/modules/bibencode/etc/encoding_profiles.json> > See for eg. a branch that update the parameters for ffmpeg v0.6 > (instead of default-supported ffmpeg v0.7): > <http://invenio-software.org/repo/personal/invenio- > jerome/commit/?h=bibencode-ffmpeg-0.6-encoding-profile-parameters> > > By default BibEncode would use for eg: > $ sudo -u www-data /usr/bin/ffmpeg -y -i /opt/invenio/var/tmp- > shared/video_upload_1363616410_17082_tmposjXcd -acodec libvorbis - > vcodec libvpx -ab 128000 -b 1000000 -s 854x480 -ac 2 -g 320 -qmax 63 > /opt/invenio/var/data/files/g0/208/content.CERN-MOVIE-2011-192;webm > > Running ffmpeg as the Apache user might have an impact. But I use ffmpeg v.1.1.3! Is it not default-supported? > > It is also possible that 'webm' encoding is not triggered in your > specific worklflow (it should be enabled in the case of the demo > Atlantis video workflow. See also > CFG_BIBENCODE_TEMPLATE_BATCH_SUBMISSION > and parameter 'batch_template' of the WebSubmit function > 'Video_Processing' in your submission workflow, in case it has been > modified). > <http://invenio- > software.org/repo/invenio/tree/modules/bibencode/etc/batch_template_su > b > mission.json> I used the demo Atlantis video workflow without modification. > > You can also check the logs of the created BibEncode task, which > details each encoding job (there are 7 jobs per BibEncode task in > default Atlantis Demo Video setup, 2x webm, 2x mp4, 3x frames > extractions). > A detailed email titled "Error during BibEncode batch processing" > should be sent to CFG_SITE_ADMIN_EMAIL in case of failure, and another > one "Problem during the processing of your video" to the submitter. > The BibEncode tasks created by the BibEncode daemon will be marked as > "DONE" even in case of failure. Here is e-mail: ***** "Hello: Your video submission A demo video was successfully processed. The file you uploaded was kazakov1.avi. Your video is now available here: <http://lt-jds.jinr.ru/record/113> http://lt-jds.jinr.ru/record/113. If the videos quality is not as expected, you might want to take a look at the video guidelines and modify or redo your submission. Best regards " ***** And content of Bidsched task-log file: *************** 2013-03-11 22:35:13 --> Task #47 started. 2013-03-11 22:35:13 --> ----------- Handling Master ----------- 2013-03-11 22:35:13 --> Creating BibDoc for Kazakov1 2013-03-11 22:35:13 --> Adding Kazakov1 master to the BibDoc 2013-03-11 22:35:17 --> ----------- Job 1 of 3 ----------- 2013-03-11 22:35:17 --> Extracting frames to temporary directory 2013-03-11 22:35:17 --> Extraction of frames was successful 2013-03-11 22:35:17 --> Creating new bibdoc for Kazakov1_POSTER 2013-03-11 22:35:17 --> Adding Kazakov1_POSTER jpg;None to BibDoc 2013-03-11 22:35:17 --> Removing temporary directory 2013-03-11 22:35:17 --> ----------- Job 2 of 3 ----------- 2013-03-11 22:35:17 --> Extracting frames to temporary directory 2013-03-11 22:35:18 --> Extraction of frames was successful 2013-03-11 22:35:18 --> Creating new bibdoc for Kazakov1_06 2013-03-11 22:35:18 --> Adding Kazakov1_06 jpg;big to BibDoc 2013-03-11 22:35:18 --> Creating new bibdoc for Kazakov1_04 2013-03-11 22:35:18 --> Adding Kazakov1_04 jpg;big to BibDoc 2013-03-11 22:35:18 --> Creating new bibdoc for Kazakov1_08 2013-03-11 22:35:18 --> Adding Kazakov1_08 jpg;big to BibDoc 2013-03-11 22:35:18 --> Creating new bibdoc for Kazakov1_10 2013-03-11 22:35:18 --> Adding Kazakov1_10 jpg;big to BibDoc 2013-03-11 22:35:18 --> Creating new bibdoc for Kazakov1_09 2013-03-11 22:35:18 --> Adding Kazakov1_09 jpg;big to BibDoc 2013-03-11 22:35:18 --> Creating new bibdoc for Kazakov1_02 2013-03-11 22:35:18 --> Adding Kazakov1_02 jpg;big to BibDoc 2013-03-11 22:35:18 --> Creating new bibdoc for Kazakov1_01 2013-03-11 22:35:18 --> Adding Kazakov1_01 jpg;big to BibDoc 2013-03-11 22:35:18 --> Creating new bibdoc for Kazakov1_07 2013-03-11 22:35:18 --> Adding Kazakov1_07 jpg;big to BibDoc 2013-03-11 22:35:18 --> Creating new bibdoc for Kazakov1_03 2013-03-11 22:35:18 --> Adding Kazakov1_03 jpg;big to BibDoc 2013-03-11 22:35:18 --> Creating new bibdoc for Kazakov1_05 2013-03-11 22:35:18 --> Adding Kazakov1_05 jpg;big to BibDoc 2013-03-11 22:35:18 --> Removing temporary directory 2013-03-11 22:35:18 --> ----------- Job 3 of 3 ----------- 2013-03-11 22:35:18 --> Extracting frames to temporary directory 2013-03-11 22:35:19 --> Extraction of frames was successful 2013-03-11 22:35:19 --> Creating new bibdoc for Kazakov1_06 2013-03-11 22:35:19 --> Adding Kazakov1_06 jpg;small to BibDoc 2013-03-11 22:35:19 --> Creating new bibdoc for Kazakov1_04 2013-03-11 22:35:19 --> Adding Kazakov1_04 jpg;small to BibDoc 2013-03-11 22:35:19 --> Creating new bibdoc for Kazakov1_08 2013-03-11 22:35:19 --> Adding Kazakov1_08 jpg;small to BibDoc 2013-03-11 22:35:19 --> Creating new bibdoc for Kazakov1_10 2013-03-11 22:35:19 --> Adding Kazakov1_10 jpg;small to BibDoc 2013-03-11 22:35:19 --> Creating new bibdoc for Kazakov1_09 2013-03-11 22:35:19 --> Adding Kazakov1_09 jpg;small to BibDoc 2013-03-11 22:35:19 --> Creating new bibdoc for Kazakov1_02 2013-03-11 22:35:19 --> Adding Kazakov1_02 jpg;small to BibDoc 2013-03-11 22:35:19 --> Creating new bibdoc for Kazakov1_01 2013-03-11 22:35:19 --> Adding Kazakov1_01 jpg;small to BibDoc 2013-03-11 22:35:19 --> Creating new bibdoc for Kazakov1_07 2013-03-11 22:35:19 --> Adding Kazakov1_07 jpg;small to BibDoc 2013-03-11 22:35:19 --> Creating new bibdoc for Kazakov1_03 2013-03-11 22:35:19 --> Adding Kazakov1_03 jpg;small to BibDoc 2013-03-11 22:35:19 --> Creating new bibdoc for Kazakov1_05 2013-03-11 22:35:19 --> Adding Kazakov1_05 jpg;small to BibDoc 2013-03-11 22:35:19 --> Removing temporary directory 2013-03-11 22:35:19 --> ----------- Handling MARCXML ----------- 2013-03-11 22:35:19 --> Updating BibDoc of Kazakov1 2013-03-11 22:35:19 --> Fixing MARC 2013-03-11 22:35:19 --> Adding master metadata 2013-03-11 22:35:19 --> Deleting input file 2013-03-11 22:35:19 --> Notify user because of success 2013-03-11 22:35:19 --> Task #47 finished. [DONE] **************

