[apparently my last message was not correctly sent so here it goes again:]
Hi Genis,
These errors are raised when trying to interpret and display the
bfe_video_platform_suggestions format element (used for displaying
detailed video pages). Unfortunately the error log is not detailed
enough to point to the error, but you can try to debug it using ipython:
$ipython
In [1]: from invenio.bibformat_elements.bfe_video_platform_suggestions import
format_element
In [2]: from invenio.bibformat_engine import BibFormatObject
In [3]: bfo = BibFormatObject(recid) # recid is the record id of your video
record
In [4]: format_element(bfo)
This last call will probably fail, and give you the traceback with
information on where the problem is.
Hope this helps!
Cheers,
Ludmila
On 06/04/2013 01:55 PM, Genis Musulmanbekov wrote:
Dear Jerome,
> I am assuming that in your case the "assure_quality" option is
> preventing the 'mp4' and 'webm' options to be created. Indeed, the
> profiles used in the default "batch_template_submission.json" create
> videos sized at minimum 854x480 (*_480P) while your input videos are
> 720x576 (PAL) max. In order to validate this assumption you could try
> uploading a larger video on your server, such as the demo one (Full
> HD):
> <http://invenio-demo.cern.ch/record/107/files/CERN-MOVIE-2010-075.mpg>
>
Indeed, higher quality video-files (1240x720) uploading resulted in
conversion to webm-formats (480 and 720). However, they are not seen
by the browser and can't be played. Using VIDEO SUBMISSION I uploaded
demo-video 'CERN-MOVIE-2010-075.mpg (with another name). webm-files
are created but the result is the same.
There are some errors given by 'invenio.err' (attached) starting with:
"InvenioBibFormatError: "Error when evaluating format element
VIDEO_PLATFORM_SUGGESTIONS with parameters {'threshold': '75', 'bfo':
<invenio.bibformat_engine.BibFormatObject instance at 0x7f9fdc0e44d0>,
'shuffle': 'True', 'maximum': '3', 'collection': 'Videos'}."
(bibformat_engine.py:622:eval_format_element)"
What is the source of them?
Genis
--
Ludmila Marian
Software Engineer
CERN, IT Department, Digital Library Service Section