What is the main difference?
Suppose i have a video in the format .flv and i want to convert it to format .h264 using avcodec.dll. Will I be encoding or decoding it?
I am really confused.
Any clear answer will be appreciated.
What is the main difference? Suppose i have a video in the format .flv
Share
there’re two types of video formats – uncompressed (raw video formats like RGB or YUV or whatever else) and compressed (like H.264 or WebM etc.). typically there’s no direct transcoding from one compressed format to another, so you need to use common denominator – raw video (not compressed). You have to decode (decompress) it and then encode (compress) to another format.
for analogy – think you have
ziparchive and you need to make itrararchive – first you’llunzipyour file(s) and then compress byrar