Search code examples
h.264vp8

Convert VP8 RTP video stream to H.264


I am new to video encoding and am getting confused with the depth of it.

Goal: To convert a VP8 encoded RTP video stream to H.264 encoded RTP video stream

Question: What should be my approach?

The way I am looking at it,

  1. Receive video stream (VP8)
  2. Extract frames one by one
  3. Decode each frame (using WebM tools)
  4. Encode the frame (using ffmpeg)
  5. Write to the outgoing stream

Is this how it should be? Also, please point me to additional resources. Thanks in advance.


Solution

  • This actually should be merged to Super User, but you can do this completely using FFmpeg (from reading to writing). Since you are new to video transcoding, take a look at FFmpeg the mother of all command lines, which is a great tutorial about this subject. It explains almost every step you need for this project.