Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7657717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:05:39+00:00 2026-05-31T13:05:39+00:00

How can I convert a video from mp4 to webm using VLC, if possible?

  • 0

How can I convert a video from mp4 to webm using VLC, if possible? What codec should I choose? Do I need to reencode the sound?

I’m trying to put an HTML5 video on a website with Flash as fallback. As I understand it, webm is the only format that Firefox allows (unless you are on Windows 7 64-bit?). Theora seems to work but from what I understand it’s a bit old, also it takes a while before it renders the picture correctly and provides no thumbnail 🙁

<video controls width="500">
    <!-- if Firefox -->  
    <source src="video/45-theora.ogg" type="video/ogg" />
     <!-- if Safari/Chrome-->
    <source src="video/45.mp4" type="video/mp4" />
</video>

Oh and I’m on Mac OS Lion but I have access to Windows 7, Vista and XP if it makes it easier for someone.

Thanks for any help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T13:05:40+00:00Added an answer on May 31, 2026 at 1:05 pm

    I would change that code to read:

    <video poster="/path/to/your/thumbnail/image.jpg" preload="meta" controls width="500"> 
        <!-- if Safari/Chrome-->  
        <source src="video/45.mp4" type="video/mp4" /> 
        <!-- if Firefox -->  
        <source src="video/45-theora.ogg" type="video/ogg" />
    </video>
    

    Reasons:

    poster="/path/to/your/thumbnail/image.jpg"
    

    because you want a “thumbnail” to display before the video has been played by the user

    <source src="video/45.mp4" type="video/mp4" /> BEFORE <source src="video/45-theora.ogg" type="video/ogg" />
    

    mp4 BEFORE open formats (like webm or therora) because there is a bug in some iOS versions that will not play the video at all if mp4 is listed after any other format in the html (so list it first).

    preload="meta"
    

    because some versions of iOS and even some versions of Safari and Chrome have a hard time loading the page if there are many videos on the same page all at once. preload=none or preload=meta helps solve these issues.

    In regards to encoding, Miro Converter is better at encoding and much easier to use for converting formats that can be played by browsers (mp4, webm, theroa). VLC has a lot of options but can be overwheling and frustrating if you don’t get it right. Miro is more of a drop and drag application and is recommended by diveintohtml5.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to convert image sequences(ie,png) to video file in iPhone. How i can
how can i upload and convert the video to mp4 behind the scene so
I am using FFmpeg to convert a video from one format to another. I
I have a *.mp4 video file(MPEG4 video codec) and I am trying to convert
I need an encoder that can convert mp3 files to he-aac (aka aac+). So
I'd like to be able to use FFmpeg to convert a video file from
Eventually, I'm looking to create a shader that can convert the video to black
I am using ffmpeg.exe to convert video files to flv format . For that
using ffmpeg to convert from flv to mp3 gives the following result ] ffmpeg-0.6.1
The Situation: I'm using ffmpeg (via php) to convert video files. I configured my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.