[x264-devel] [PATCH] Reconfiguring x264 aspect ratio in the middle of stream
jarmo.torvinen at jutel.fi
Mon Jan 19 08:58:41 CET 2009
x264-devel-bounces at videolan.org wrote on 16/01/2009 15:22:56:
> Steven Walters <kemuri9 at gmail.com>
> Sent by: x264-devel-bounces at videolan.org
> > Thanks for the tip. I tried to set that parameter but unfortunately it
> > seems that the
> > parameter is ignored in a call to x264_encoder_encode().
> > Maybe this comment in x264.h (struct x264_picture_t) is valid?
> > ...
> > /* In: force picture type (if not auto) XXX: ignored for now
> > * Out: type of the picture encoded */
> > int i_type;
> > ...
> > Jarmo
> It's been a bit since I've seen anything on the list about this,
> and I'm somewhat interested in the feature...
> as for the problem you were facing above, it could be fixed now by r1076
> do you have any current differences against the repository to see how
> things are progressing?
Great news. I tested with the latest git trunk and the IDR frame force
seems to now work
as it should. The timings seem to be perfect.
Please find attached the simple patch for allowing to dynamically adjust
the aspect ratio.
In order to test this feature for example with ffmpeg (encoding) and
mplayer (decoding), you need to modify
both of them as they don't yet support setting the correct parameters.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 644 bytes
Desc: not available
Url : http://mailman.videolan.org/pipermail/x264-devel/attachments/20090119/c7d96788/attachment.obj
More information about the x264-devel