Difference between Codec and Parser in LibAV
up vote
0
down vote
favorite
I am following this link to figure out decoding using libAV library. In the decode
function, it declares a codec
and a parser
.
codec = avcodec_find_decoder(AV_CODEC_ID_H264);
parser = av_parser_init(AV_CODEC_ID_H264);
What is the difference between the two >
libavcodec libav
add a comment |
up vote
0
down vote
favorite
I am following this link to figure out decoding using libAV library. In the decode
function, it declares a codec
and a parser
.
codec = avcodec_find_decoder(AV_CODEC_ID_H264);
parser = av_parser_init(AV_CODEC_ID_H264);
What is the difference between the two >
libavcodec libav
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am following this link to figure out decoding using libAV library. In the decode
function, it declares a codec
and a parser
.
codec = avcodec_find_decoder(AV_CODEC_ID_H264);
parser = av_parser_init(AV_CODEC_ID_H264);
What is the difference between the two >
libavcodec libav
I am following this link to figure out decoding using libAV library. In the decode
function, it declares a codec
and a parser
.
codec = avcodec_find_decoder(AV_CODEC_ID_H264);
parser = av_parser_init(AV_CODEC_ID_H264);
What is the difference between the two >
libavcodec libav
libavcodec libav
asked Nov 9 at 19:54
random_28
701415
701415
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
The parser takes a stream of bytes and turns it into a representation in memory, but does not convert the bytes to pixeles. The parser can read things like resolution, encoding parameters, where frames begin and end, etc.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
The parser takes a stream of bytes and turns it into a representation in memory, but does not convert the bytes to pixeles. The parser can read things like resolution, encoding parameters, where frames begin and end, etc.
add a comment |
up vote
1
down vote
The parser takes a stream of bytes and turns it into a representation in memory, but does not convert the bytes to pixeles. The parser can read things like resolution, encoding parameters, where frames begin and end, etc.
add a comment |
up vote
1
down vote
up vote
1
down vote
The parser takes a stream of bytes and turns it into a representation in memory, but does not convert the bytes to pixeles. The parser can read things like resolution, encoding parameters, where frames begin and end, etc.
The parser takes a stream of bytes and turns it into a representation in memory, but does not convert the bytes to pixeles. The parser can read things like resolution, encoding parameters, where frames begin and end, etc.
answered Nov 9 at 23:02
szatmary
17.6k62940
17.6k62940
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53232464%2fdifference-between-codec-and-parser-in-libav%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown