[vlc-devel] Change Resolution - DASH
Stefan Lederer
lederer at bitmovin.net
Sat Jul 23 18:09:28 CEST 2011
Hi,
I use DASH with Iso Base Media File Format and in this case the standard
demux does not support changing resolutions between segments. Is there any
possibility to reset the resolution for the h.264 decoder during decoding?
I tried it with this in demux.c:
es_out_Control( p_demux->out, ES_OUT_SET_ES_FMT, p_sys->tk[0], &videofmt);
and modified es_out.c using this:
es->fmt.video.i_width = (*p_fmt).video.i_width; fmt.video.i_height =
es->(*p_fmt).video.i_height;
EsDestroyDecoder( out, es );
EsCreateDecoder( out, es );
But this doesn't change the resolution of the decoder. Any ideas or help?
Thx for help!
Stefan
More information about the vlc-devel
mailing list