#10681: dvdsubdec: use pts of initial packet
-----------------------------------+---------------------------------------
Reporter: valverde | Type: enhancement
Status: new | Priority: normal
Component: avcodec | Version: unspecified
Keywords: dvdsubdec | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-----------------------------------+---------------------------------------
The pts is only returned with the first packet, while the subtitle is
usually still incomplete. Repeating the pts with the completed subtitle
would be helpful.
The function called is avcodec_decode_subtitle2 and it concerns at least
dvd subtitles.
I stumbled upon this through handbrake no longer handling dvd subtitles
well in debian bookworm. This lead me to
https://github.com/HandBrake/HandBrake/blob/master/contrib/ffmpeg/A07
-dvdsubdec-use-pts-of-initial-packet.patch which saves the pts for
incomplete subtitles and returns it with the completed subtitle (when all
packets were processed). Seems like a generally useful feature to me, not
only for handbrake. I didn't find any discussion on this topic yet.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10681>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".