[FFmpeg-trac] #8756(avformat:new): libavformat/avisynth.c does not set interlacing and field order
FFmpeg
trac at avcodec.org
Thu Jun 25 13:35:48 EEST 2020
#8756: libavformat/avisynth.c does not set interlacing and field order
----------------------------------+---------------------------------------
Reporter: emcodem | Type: enhancement
Status: new | Priority: normal
Component: avformat | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+---------------------------------------
Summary of the bug:
When using avisynth source (.avs files), the interlacement and field order
is not being set. I believe st->codec->field_order could be set around
line 120 in avisynth.c, based on the avisynth values int
avs_is_field_based
int avs_is_parity_known
int avs_is_bff
int avs_is_tff
How to reproduce:
ffmpeg:
{{{
% ffprobe.exe -read_intervals "%+#2" -show_entries
"frame=interlaced_frame,tff" -pretty -print_format json -of json
test.avs
}}}
avisynth test.avs script:
{{{
colorbarshd()
assumefieldbased()
assumetff()
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8756>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list