Jump to content

Converting Video Formats


The Little Guy

Recommended Posts

I know you can use a tool to convert video from one format to another format, but how does that tool convert the video?

 

For example, we have FFmpeg, it can convert avi to mpg, mpg to avi, vob to avi, vob to mpg, etc. all sorts of video conversions, my question is, how does it convert from one video format to another?

Link to comment
Share on other sites

Video formats are essentially just how the pixel data is stored.  (It's not nearly that simple since there are various compression algorithms, different packing methods in each format and so on....)

 

 

 

 

Anyway, I would imagine how it works is that the data is simply extracted into something useful and then recoded.

 

 

The most basic process would be to extract each frame, then reformat it in the new format.

 

 

 

Edit:  By the way, you could always look at the ffmpeg source code, but it's probably not exactly the easiest code in the world to understand.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.