[FFmpeg-trac] #7303(undetermined:open): h264_nvenc / b_ref_mode middle creates invalid video due to Invalid DTS.

FFmpeg trac at avcodec.org
Wed Apr 22 17:57:12 EEST 2020


#7303: h264_nvenc / b_ref_mode middle creates invalid video due to Invalid DTS.
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  smallishzulu                       |
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  nvenc        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by cs9k):

 "BTW. If I understand this issue, here we have a thing that if we encode
 and then immidiatelly stream that to udp, be have broken picture (because
 replacing by guess does not work (?))"

 Aye, with b_ref_mode on middle, Twitch and YT properly ingest the output
 from OBS, and ffmpeg's command-line output and resulting files work just
 fine despite throwing the dts/pts error.

 I suppose, thinking out loud about it, OBS Studio inability to handle the
 dts/pts error and how ffmpeg resolves it, is an OBS Studio issue.  If you
 can confirm that that is the case (assuming nothing needs to be 'fixed'
 with ffmpeg), I can pursue that avenue for a resolution.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7303#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list