<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi, <br>
</p>
<p>I'm setting up my program to use the h264_cuvid decoder. I'm
using ffmpeg_opt.c, ffmpeg_cuvidĀ and ffmpeg_hw.c as a reference.
When initializing the codec must have set the CodecContext width
and height. Apparently this information should be available in the
SPS/PPS.</p>
<p>From other ffmpeg posts, seems I will have to decode a frame in
order to get width and height... but I can't since I cannot open
the codec, due to missing width and height. I'm quite stuck on
this. <br>
</p>
<p>I cannot see how ffmpeg parses width and height and feeds it into
the AVCodecContext.<br>
</p>
<div class="moz-signature">-- <br>
<p>Saludos / Best regards, <br>
<br>
<b>Sergio Basurco</b> <br>
Coherent Synchro</p>
</div>
</body>
</html>