OGV to MP4 Converter

Re-encode an Ogg video as an H.264 and AAC MP4 that more players accept, right in your browser.

or drop files here

OG

OGV Format

Ogg Video

Video carried in the Ogg container maintained by the Xiph.Org Foundation. Theora video with Vorbis sound is one documented combination.

  • Ogg container
  • Media type video/ogg
  • Often Theora and Vorbis
  • Open format
MP

MP4 Format

MPEG-4 Part 14

A container format defined in ISO/IEC 14496-14 that can hold video, audio, subtitles and metadata. H.264 video with AAC audio is the most common combination.

  • ISO base media container
  • H.264 and AAC most common
  • Plays in every major browser
  • Registered as video/mp4

How to convert OGV to MP4

Follow these steps to convert OGV to MP4 online.

    1

    Choose your OGV file, or several at once.

    2

    Wait while the converter turns each file into MP4.

    3

    Download each new MP4 file. Your original file isn't changed.

What to know before converting OGV to MP4

  • The video is encoded again as H.264 with 96 kbps AAC sound; the Theora and Vorbis streams are not copied.
  • The picture keeps its size up to 1920 pixels on the longer side and its rate up to 30 fps.
  • An odd width or height loses one pixel.
  • The encode uses a fast, fixed-quality setting, so the file is not tuned for the smallest size.
  • Frames flagged as interlaced are deinterlaced.
  • Choose several OGV files and each gives its own MP4.

About OGV and MP4 files

What is an OGV file?

The .ogv ending marks video stored in an Ogg container. The Ogg format is maintained by the Xiph.Org Foundation, and RFC 5334 gives video/ogg as the media type. An OGV file can hold audio, video, timed text and other visually presented content. Every Ogg stream begins with the identification bytes OggS. The format is royalty-free, and it is used for open-source video and for web video in Firefox. Theora video with Vorbis or Opus audio is the typical content.

The ending says only that the container is Ogg. One documented combination is Theora video with Vorbis sound, but an Ogg file does not necessarily contain Vorbis, so the codec has to be identified before you decide what to do with a file. Xiph recommends .ogv for video, though older files may end in .ogg.

Programs that open OGV files

  • Windows, Mac and Linux: VLC media player can play an Ogg container holding Theora and Vorbis. FFmpeg demuxes Ogg streams so you can inspect and convert them.

OGV and MP4 compared

  • Extensions and media types: .ogv with video/ogg; .mp4 or .m4v with video/mp4.
  • Typical codecs: Theora and Vorbis in OGV. H.264 and AAC in MP4, which can additionally hold AV1, VP9, MP3 or Opus.
  • Standard: the MP4 specification is MPEG-4 Part 14, published in 2003 as ISO/IEC 14496-14 and layered on the ISO Base Media File Format. Ogg comes from Xiph.Org and is open.
  • Contents: an MP4 is a container for several codecs, including H.264, H.265 and AV1 video, and it can also hold subtitles, chapters and metadata. An OGV carries Theora pictures along with Vorbis or Opus sound, and sometimes timed text.
  • Structure: an MP4 is made of nested boxes, the same idea QuickTime calls atoms.
  • Support: every major browser plays MP4, and from version 5.0 Android also plays HEVC video inside MP4.

A player may understand Ogg while lacking a decoder for one of its streams, so an OGV that opens in one program can show nothing in another.

The page decodes the OGV with FFmpeg and asks for H.264 (ultrafast, CRF 32), AAC at 96 kbps and an index moved to the head of the MP4. Pictures stay at their own dimensions and rate unless they exceed 1920 pixels or 30 fps, and the sides are made even. The page has no quality, size or trim controls. A deinterlacing step handles any frames the file marks interlaced. You do not pick between several audio or video streams.

Other ways to convert OGV to MP4

  • FFmpeg (Windows, Mac, Linux): run ffmpeg -i source.ogv -c:a aac -c:v libx264 ogv-delivery.mp4. It re-encodes instead of copying the Ogg streams, and you can add options to match a receiver's requirements.
  • VLC (Windows, Mac, Linux): open Media > Convert / Save, add the OGV, set a destination file, choose a profile and press Start. VLC's documentation does not list profile names, so look at what your copy offers before you start.

This page converts the whole OGV. In FFmpeg, writing -t ahead of -i caps how much input is read, so ffmpeg -t 10 -i source.ogv short.mp4 converts just the first ten seconds.

Problems with OGV files

  • A player opens the container but shows nothing: it may lack a decoder for the video inside. A player understanding Ogg does not guarantee Theora support, so identify the codec first.
  • The ending is .ogg instead of .ogv: the older .ogg ending is also seen on video, although Xiph recommends .ogv for that role. This page expects .ogv.
  • The codec is not what you assumed: a file with an Ogg ending can hold a codec other than Vorbis, so find out which codec it uses before you decide what to do.
  • The file holds more than pictures: besides video, an OGV can carry audio, timed text and other visual content, and this page gives you no choice among them.
  • A renamed file fails: renaming it to .mp4 changes nothing inside, and the contents are still Ogg.
  • Frame size or rate is capped: pictures wider or taller than 1920 pixels are reduced here, and anything faster than 30 frames a second is brought down to 30. Keep the OGV if you want the original.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert an OGV to an MP4?

Why won't my OGV play where MP4 does?

Can I just rename .ogv to .mp4?

What codecs does the MP4 contain?

Will the video lose quality?

How large is the MP4's picture?

Does the frame rate change?

What does .ogv mean, and is .ogg the same?

Can I convert just part of the video?

Is the OGV uploaded to a server?