[MPlayer-dev-eng] Re: [PATCH] Fix Bug 415: Support H264 over rtsp
Nico Sabbi
nsabbi at email.it
Tue Feb 13 13:22:22 CET 2007
Carl Eugen Hoyos wrote:
>Hi Nico!
>
>Nico Sabbi <nsabbi <at> email.it> writes:
>
>
>
>>this patch creates a strong (and IMO not particularly clean) tie between
>>lavc's h264context (something that I consider quite internal to lavc)
>>and this particular h264 configuration;
>>as an alternative (that I would prefer) you could use the sps/vui parser
>>in libmpdemux/mpeg_hdr.c to get the framerate and video size,
>>although I'd like to hear what other developers have to say on the subject
>>
>>
>
>I'm not sure I understand you.
>To get "framerate and video size", I use vlc's parseH264ConfigStr, that has
>nothing to do with lavc, but if you prefer another solution, please explain.
>
>
if you have to just pass it along to the decoder as extradata all fine, but
if you have to parse it use h264_parse_sps()
>AVCodecParserContext is needed to use h264:parser_parse(),
>
>
what does it do exactly? split data in frames?
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Refill s.r.l. - Cartucce compatibili e kit di ricarica per tutti i modelli di stampante. Acquista al telefono o online: consegna in tutta Italia in 48 ore!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5190&d=13-2
More information about the MPlayer-dev-eng
mailing list