different video formats

Asked by Joel McCotter

Hi folks,

Is there a inherent limitation with how Xibo works that prevents video formats other than wmv, avi, mpeg, and mpg from being uploaded / published to Xibo clients? It would be useful to allow other formats such as mp4 to be uploaded. I understand that you can get around this by renaming the extension to mpg, but it isn't very easy to explain to my Xibo end users how to do this (especially since our machines are policied to hide the file extension)

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Dan Garner
Solved:
Last query:
Last reply:
Revision history for this message
Matthew Holder (matt-mattmole) said :
#1

Hi,

The Xibo client (Windows version) embeds an instance of Media Player into the display. Theoretically anything that media player can play could be used by xibo.

The extensions allowed for a certain media type (image, video etc) are stored in the Modules table of the Xibo database. To make the change this would have to be changed in the database manually.

A word of warning though, the small range of extensions (I imagine) were picked due to the commonality of them. Therefore they should play on any station without any extra codecs being installed, which could easily be forgotten on a large deployment.

Hope that helps.

Matt

Revision history for this message
Alex Harrington (alexharrington) said :
#2

You can add extra extensions for a media type in the media table in the database.

Alex

Revision history for this message
Best Dan Garner (dangarner) said :
#3

The statement you want to run to do this is:

UPDATE `module` SET `ValidExtensions` = 'wmv,avi,mpg,mpeg,3gp,mp4' WHERE `module`.`ModuleID` =2 LIMIT 1 ;

Revision history for this message
Joel McCotter (mccotter) said :
#4

Thanks Dan,

This doesn't seem to work for me. I added mp4 to the database as you mentioned, but I still get an error message when uploading an mp4 file stating "Your file has an extension not supported by this Media Type"

I ran a select query in the database, and the valid extensions returned for moduleID 2 are these:

wmv,avi,mpg,mpeg,mp4

Revision history for this message
Joel McCotter (mccotter) said :
#5

Wait a sec, may be looking at old version of database...will update shortly.

Revision history for this message
Alex Harrington (alexharrington) said :
#6

What you posted looks correct to me - so it seems likely.

Revision history for this message
Joel McCotter (mccotter) said :
#7

I was looking at xibo, not xibodb in MySQL. I guess the database name changed after doing an upgrade. It seems to work now.

Thanks,

Revision history for this message
Joel McCotter (mccotter) said :
#8

Thanks Dan Garner, that solved my question.