1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Which video formats are supported by videojs library ?

Discussion in 'HTML & Website Design' started by mstdmstd, Jan 8, 2019.

  1. #1
    Hello,
    I installed videojs library as it is writtem at this example
    https://videojs.com/getting-started/#customize
    It works ok, and in backend be be uploaded and viewed on fronternd, but only for some video I tried to play

    For some video I try to upload and to show I got errro message:
    The media could not be loaded, either because the server or network failed or because the format is not supported.
    Code (markup):
    Properties of this file:
    1.Metr saves.avi
    General
    File: /_diskE_Media/__Archieve/2018-12-31/__DOCS/VIDEOS/1.Metr saves.avi
    Size: 47664 KB (46 MB)
    Length: 00:02:53
    Demuxer: lavf
    Clip info
    Name: 1.Metr saves.avi
    Video
    Resolution: 720 x 400
    Aspect ratio: 1.8
    Format: mpeg4
    Bitrate: 2227 kbps
    Frames per second: 23.976000
    Selected codec: mpeg4
    Initial Audio Stream
    Format: ac3
    Bitrate: 448 kbps
    Rate: 48000 Hz
    Channels: 6
    Selected codec: ac3
    Audio Streams
    Track 0
    Language: <undefined>
    Name: <undefined>
    ID: 1
    Code (markup):

    Reviewing the videojs.com site I did not find any information about which format it supports.
    Actually I new very few about video formats. I know some extentions(like avi, mp4, mov etc...) and I know that with the same extention can be different formats.

    If there is a way to extend list of supported formats and a way during upload to get error if this format is not supported?

    Thanks!
    =
     
    mstdmstd, Jan 8, 2019 IP
  2. Shivani Shrivastav

    Shivani Shrivastav Active Member

    Messages:
    118
    Likes Received:
    8
    Best Answers:
    1
    Trophy Points:
    98
    #2
    There are numerous types of video that is supported when you use videojs and you should make sure that you are aware of what they are. If you are using Aurora.js in combination, then you can use FLAC, AAC, M4A, MP3, OGG and WAV. However, when you just use videojs you would be able to see a higher number of videos that you can play like WAV, AU, MOV, MP2, MPG, MID, GSM, MID and AIIF when you have Java implemented. Make sure that you know what you can use when you are putting these into use.
     
    Shivani Shrivastav, Jan 23, 2019 IP