If you would like your video assets to be displayed in Widescreen (16:9) format you will need to make a few changes to your ApplicationSettings.properties file. Here is an example of the resulting preview image:
Here are the settings you will need to change to alter the height and width of the player to a size with a 16:9 ratio:
# What width should the flash player be shown at?
flash-player-width=700
# What height should the flash player be shown at?
flash-player-height=419
# What is the maximum width of a video preview? (0 = same as image)
video-preview-max-width=700
# What is the maximum height of a video preview? (0 = same as image)
video-preview-max-height=394
You may also want to adjust the bitrate this video preview will be encoded to play back at, based on typical connection speeds of your user base. A higher bit rate will equal a higher quality video (if the original is high quality to start with), but you need to balance this with typical connection speeds to avoid lots of buffering (i.e. pauses when playing). Try using 1500k and see if you are happy with the results. You may also want to review your audio bitrate setting to increase the quality of this for video previews. 44100 is CD quality.
# The bitrate to use for the video preview conversion
video-preview-bitrate=1500k
# The audio sample rate, in Hz, for the preview clip create for audio and video files. Note: codecs will only accept certain values for this.
audio-preview-sample-rate=44100
Comments
0 comments
Please sign in to leave a comment.