Opened 5 weeks ago

Last modified 5 weeks ago

#6737 new defect

ffmpeg can't interpret HLS #EXT-X-DISCONTINUITY tag.

Reported by: shiina Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
Trying to convert from HLS (it's list file includes #EXT-X-DISCONTINUITY tag) to mp4, it can't convert well after #EXT-X-DISCONTINUITY tag.

How to reproduce:

% ./ffmpeg -report -y -i /tv/tmp/56m9c2ry/list.m3u8 -vcodec copy -acodec copy ./test.mp4
ffmpeg version 2017-09-16 snapshot of git.ffmpeg.org.
built on ubuntu16.04

About input file: My HLS may be valid, so I watch the video properly by chrome, firefox and vlc.

Attachments (2)

ffmpeg-20171016-175143.log (1.7 MB) - added by shiina 5 weeks ago.
report file
list.m3u8 (1.8 KB) - added by shiina 5 weeks ago.
HLS playlist file

Download all attachments as: .zip

Change History (5)

Changed 5 weeks ago by shiina

report file

Changed 5 weeks ago by shiina

HLS playlist file

comment:1 follow-up: Changed 5 weeks ago by oromit

What should it possibly do though?
In copy mode, there is not much it can do to gracefully handle a discontinuity.
If you re-encode, it should work as expected.

comment:2 in reply to: ↑ 1 Changed 5 weeks ago by shiina

Trying to convert with re-encode, it brings a bad results, too.

The command is
./ffmpeg -report -y -i /tv/tmp/56m9c2ry/list.m3u8 -vcodec libx264 -acodec aac ./test2.mp4

Replying to oromit:

What should it possibly do though?
In copy mode, there is not much it can do to gracefully handle a discontinuity.
If you re-encode, it should work as expected.

comment:3 Changed 5 weeks ago by shiina

  • Version changed from unspecified to git-master
Note: See TracTickets for help on using tickets.