1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

MG 1.1 Problems uploading videos

Discussion in 'Media Gallery Support' started by Corey haas, Dec 31, 2015.

  1. Corey haas

    Corey haas Member

    While trying to upload small .avi files, I get this error:

    This video is not encoded in a supported format and cannot be transcoded. Please upload a different video.

    I have avi in the "Allowed Video File Extensions."

    What's going on here?

  2. Chris D

    Chris D XenForo Developer Staff Member

    Unless you enable advanced features such as ffmpeg, only MP4 files transcoded in a specific way will be uploaded.
  3. Corey haas

    Corey haas Member

    Well that really stinks. Maybe xenforo can configure this paid addon so it uses its servers with ffmpeg to do the dirty work? It costs an arm and a leg it seems for that feature.
  4. Mike

    Mike XenForo Developer Staff Member

    Your best option if you can't run it is to simply upload the videos to YouTube and embed them from there. (You can make them unlisted on YT.)
  5. Chris D

    Chris D XenForo Developer Staff Member

    Also depending on your use case, you could just transcode them to MP4 H.264/AAC before uploading.
  6. Corey haas

    Corey haas Member

    Good suggestion Chris, thats what I ended up doing. I need the ffmpeg though....
  7. Corey haas

    Corey haas Member

    Chris it just lacks the thumbnail then. It's too much work to custom upload a thumbnail for every video.
  8. Chris D

    Chris D XenForo Developer Staff Member

    There's not really anything that can be done about that. To extract frames from videos you do need some sort of application on the server to handle it. It's nearly always going to be ffmpeg because it's the most widely adopted and supported.
  9. Dan

    Dan Well-Known Member

    If the video file is short, as stated in the OP, the thumbnail won't be generated using FFMPEG anyway as it is hardcoded to pull the 30th (if memory serves me correctly) frame.
  10. Corey haas

    Corey haas Member

    10-4 Dan. I think they are 30 frames per second so I don't know that length would be an issue. I like the youtube route. Why eat up my storage anyways. I just wish I had a way to state that the image has to be mp4 otherwise to use youtube.

    Off the topic somewhat but while you guys are watching this, is there any way to reorder the left side bar order? I have a post on this already but its not seeing much action. Thanks guys

Share This Page