Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#4898 closed defect (fixed)

subtitles filter broken

Reported by: Sampsa Riikonen Owned by:
Priority: important Component: avformat
Version: git-master Keywords: sub srt regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

% ffmpeg -y -ss 10.4301844784 -t 10.7448536896 -i HIK_SININEN.mkv -filter_complex "subtitles=events_export.srt" -map 0:a -c:v libx264 -c:a copy export.avi
Tested on ffmpeg versions "N-75657-g9e9d731" and "2.8"
built on linux (ubuntu 14.04)

This gives the error message

% [Parsed_subtitles_0 @ 0x3131960] Unable to open events_export.srt

Exactly the same command with exactly the same files works OK with version "2.4.3-1ubuntu1~trusty6".

So it seems that the "subtitles" filter has been hosed somewhere between versions "2.4.3" and "2.8".

More details:

  • HIK_SININEN.mkv contains video in h264 and audio in pcmulaw
  • events_export.srt is a normal subrip subtitle file

Attachments (1)

events_export.srt (581 bytes ) - added by Sampsa Riikonen 9 years ago.
subrip file

Download all attachments as: .zip

Change History (4)

by Sampsa Riikonen, 9 years ago

Attachment: events_export.srt added

subrip file

comment:1 by Clément Bœsch, 9 years ago

Component: avfilteravformat
Keywords: sub added; subtitles filter removed
Resolution: fixed
Status: newclosed

Fixed in 7218352e0228028dfa009a3799ec93fd041065f1

Thanks for the report.

Note that your file is broken: every event number is followed by random garbage.

Last edited 9 years ago by Clément Bœsch (previous) (diff)

comment:2 by Sampsa Riikonen, 9 years ago

That was fast! Thanks!

comment:3 by Carl Eugen Hoyos, 9 years ago

Keywords: srt regression added
Note: See TracTickets for help on using tickets.