My video wont play properly - what is happening?
- Xibo for Android
- DSDevices DSCS9X/95 Set-up Guide
- Install a White Label or a different Player version on DSDevices
- CEC Screen Power on/off with DSDevices
- Hardware Recommendations
- Philips Signage SoC Monitors
- Sony Bravia SoC
- Managing Storage on the Android Device
- Player Settings
- Players without an Internet Connection
- Remote Administration with SS Helper
- Restart Rooted Device with a Shell Command
- Running Xibo for Android
- Resolving Common Issues
- Error shown when I try to licence my Player?
- Player not updating from the CMS?
- I can see my Licence entry but the Player appears unlicensed?
- Error message - Player is missing dependencies
- My scheduled Layouts are not working?
- Layout won't play? Splash screen plays?
- Watchdog error message
- Troubleshooting for Administrators
- Audit Trail
- Log Information
- Player Logs
- Getting the Player Status
- Request Player Status via CMS - Logged in Players only
- Request Player Status directly from a Device
- Can I use the Xibo name / logo?
- Can I run a Xibo Player on Raspberry Pi?
- How can I increase the upload file size limit?
- How do Players communicate with the CMS?
- How many displays can Xibo support?
- How do I reset the Xibo_admin account password?
- Power On/Off for Players
- Testing with Xibo
- Why do I need a Default Layout?
- Xibo for Android FAQ's
- Autoplaying Embedded Youtube Videos
- Closing to Home screen
- Displaying Images
- Embedded TV
- External SD card not listed when running Banana-Pi
- Helper Command to change Time zone
- HTML5 Video
- Memory Notifications
- Menu not accessible
- SSL Support
- Using Portrait Displays
- Video wont play properly
On this page
My video wont play properly - what is happening?
Android supports a wide variety of video formats and individual devices may well add support for additional formats. The list of “core” formats that Android supports is maintained on the Android Developer Site.
When Xibo encounters a video format that it does not recognise it will still attempt to play it. if this causes an internal error Xibo for Android will mark the video as incompatible and refrain from playing it in the future. This “mark” is cleared each time the Player contacts the Xibo CMS in case an updated video is available.
Storage Options
If your videos won’t play, the first setting to try changing is to use the External Storage
option from the Player settings. Xibo for Android uses the Internal Storage
option by default on the device to store videos and other media that arrive from the CMS. This option is defaulted as it is guaranteed that it will be available for the application to use. However, some devices have issues with the playback of video if these videos are stored on the internal storage. Using the External Storage option allows the library of local media to be saved to an SD card or some other removable device.
If the device is experiencing difficulty playing videos, then it may be due to the issue with the Internal Storage
, it is worthwhile trying to switch to External Storage
in the Player options.
Re-encoding Video
If the video still won’t play, the next best course of action is to re-encode the video to be in the standard Android format. This guarantees the best possible playback across all devices.
There are a number of 3rd party tools available that make re-encoding video simple and quick.
Handbrake
Handbrake is a GUI based tool for that can be downloaded for free. It has a simple to use User Interface and comes with pre-set profiles that can be modified for Android. The below settings have proved to work well in testing.
- Select “iPhone & iPod Touch” preset
- Check the “Web Optimized” option
- Change the Average Bitrate in the Quality tab to ~1000kbps
- Change the size of the output video to your desired width (keep the
aspect ratio). Keep in mind that most devices are 720p. - Save your preset as “Android”.
libav
If you are a libav user you can use the command line tool “avconv” to manage the encoding. The codec you want is passed in on the command line - the following settings yield the best results:
avconv -i source.mp4 -vcodec libx264 -profile:v baseline -b 500k -r 30 -vf "setsar=1:1" -acodec libvo_aacenc -ac 2 -ar 44100 -ab 128k converted.mp4
WinFF
Win FF is a free tool that can convert between numerous video formats into Android compatible formats. It is a GUI based application and can be downloaded from http://winff.org/.
Updated Firmware
Device manufacturers may have bundled extra codecs with the later versions of their firmware. If re-encoding the videos it not a suitable option it might be possible to ask for the codec to be included in the device firmware. This would be at the manufacturers discretion. Updated firmware may also resolve issues in earlier firmware preventing good quality video playback.