[FFmpeg-trac] #5092(undetermined:new): Field order wrong for DV HD
FFmpeg
trac at avcodec.org
Fri Dec 18 00:51:55 CET 2015
#5092: Field order wrong for DV HD
-------------------------------------+-------------------------------------
Reporter: Dan203 | Owner:
Type: defect | Status: new
Priority: important | Component:
Version: unspecified | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by Dan203):
This should fix it...
/* Determine the codec's field order from the packet */
if ( *vsc_pack == dv_video_control ) {
s->frame->top_field_first = !(vsc_pack[3] & 0x40);
// Reference field order is reversed in SMPTE 370M spec for HD
if (s->sys->height > 625)
s->frame->top_field_first = !s->frame->top_field_first;
}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5092#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list