[FFmpeg-trac] #9377(undetermined:new): QSV MPEG2 => H264 transcode PSNR dropped by 32%
FFmpeg
trac at avcodec.org
Fri Oct 29 10:02:12 EEST 2021
#9377: QSV MPEG2 => H264 transcode PSNR dropped by 32%
-------------------------------------+-------------------------------------
Reporter: eero-t | Owner: (none)
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by wenbin,chen):
Commit 971b4ac7336 adds code to map pts between AV_NOPTS_VALUE and
MFX_TIMESTAMP_UNKNOWN. Before this commit, ffmpeg-qsv just pass pts
directly to MediaSDK, but MediaSDK doesn't recognize AV_NOPTS_VALUE, so
the output pts is a mess. Now ffmpeg-qsv pass MFX_TIMESTAMP_UNKNOWN to
MediaSDK, and it recognize this value and try to correct output pts.
The MediaSDK set first pts to 0 and set second pts to 8008, but for this
stream pts_duration should be 4004 so ffmpeg add a duplication frame
between them.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9377#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list