Skip to content

Chapter end time before start #20

Description

@MrTschi

Comskip generated the following /recordings/movie.edl:

0.00	739.92	0
3502.08	3698.60	0
5162.68	5350.08	0

I feeded it into Comchap with command:
/home/comchap/comchap --ffmpeg=/usr/bin/ffmpeg --comskip=/usr/bin/comskip --keep-edl --keep-meta /recordings/movie.mkv

This generates the /recordings/movie.ffmeta

;FFMETADATA1
[CHAPTER]
TIMEBASE=1/1000
START=0
END=3502080
title=Chapter 1
[CHAPTER]
TIMEBASE=1/1000
START=3502080
END=3698600
title=Commercial 1
[CHAPTER]
TIMEBASE=1/1000
START=3698600
END=0
title=Chapter 2
[CHAPTER]
TIMEBASE=1/1000
START=0
END=0
title=Commercial 2
[CHAPTER]
TIMEBASE=1/1000
START=0
END=6179950
title=Chapter 3

... and then Comchap crashes with message:

[ffmetadata @ 0x74a36030] Chapter end time 0 before start 3698600
/recordings/movie.ffmeta: Out of memory
Error running ffmpeg: /recordings/movie.mkv

RAM may not the issue, there is a lot of free memory..

Maybe this part of the .ffmeta is corrupt?

...
[CHAPTER]
TIMEBASE=1/1000
START=3698600
END=0
title=Chapter 2
...

System information
Raspberry Pi 3 (armhf)
awk: BusyBox v1.26.2 (2017-06-11 06:38:58 GMT) multi-call binary.
Comskip 0.81.098, made using ffmpeg
Comchap master (d52aa36)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions