[FFmpeg-devel] [PATCH] h264: add frame packing as stereo_modeframe metadata
joakim.plate at ecce.se
Thu Jun 27 23:19:48 CEST 2013
Joakim Plate <elupus <at> ecce.se> writes:
> + int frame_packing_arrangement_repetition_period;
I decided to add this field, mainly for debugging in the future. This should
technically be used to figure out when the stereo_mode ends for a stream.
I don't have any sample yet apart from one that sets this to 1, also i can't
make heads or tails out when it is intended to time out (too little h264
Also to get this to work, the stereo_mode metadata needs to be set at
decoding stage instead of output as it is now. Since it is possible for
stereo_mode to only apply to a single frame.
I had major issues with setting metadata at decode stage in the ffmpeg
version used in xbmc (it ended up double freed somewhere), so decided
on this solution for now, should work for most sources.
More information about the ffmpeg-devel