[FFmpeg-trac] #1924(avformat:new): ASS subtitles are demuxed inconsistently
FFmpeg
trac at avcodec.org
Fri Nov 16 23:01:27 CET 2012
#1924: ASS subtitles are demuxed inconsistently
-------------------------------------+------------------------------------
Reporter: gjdfgh | Owner:
Type: enhancement | Status: new
Priority: normal | Component: avformat
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Comment (by gjdfgh):
OK, found out that libass provides a separate function ass_process_data(),
which can takes "complete" ASS events as libavformat outputs them. While
it's a bit annoying that you can't get the length of the subtitle event in
the AVPacket duration/convergence_duration fields, these are not really
needed when using libass (or if you need them, use the libavcodec ass
decoder).
You actually can't get the Matroska ReadOrder field, which is used yb
libass for something. I don't know if this is a bug or a caveat, or if
it's actually handled in some way.
Can't close this myself as invalid. Sorry for the noise.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1924#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list