Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#4898 closed defect (fixed)

subtitles filter broken

Reported by: sampsa 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 4 years ago.
subrip file

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by sampsa

subrip file

comment:1 Changed 4 years ago by ubitux

  • Component changed from avfilter to avformat
  • Keywords sub added; subtitles filter removed
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in 7218352e0228028dfa009a3799ec93fd041065f1

Thanks for the report.

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

Last edited 4 years ago by ubitux (previous) (diff)

comment:2 Changed 4 years ago by sampsa

That was fast! Thanks!

comment:3 Changed 4 years ago by cehoyos

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