Giter Site home page Giter Site logo

Comments (7)

BrettSheleski avatar BrettSheleski commented on July 20, 2024

The ffmeta file definitely doesn't look right and more than likely is the reason to the failure.

I don't know what could have happened to generate that ffmeta file from the edl file posted as it appears to be skipping at least one entry. When I get time I'll try to replicate and fix.

from comchap.

yajrendrag avatar yajrendrag commented on July 20, 2024

I had the same problem - but discovered that it was due to spaces vs tabs. make sure your edl file is using tabs between the entries on each line

from comchap.

arejay73 avatar arejay73 commented on July 20, 2024

I am experiencing this problem. I checked my edl file and it has tabs.
Here is the error:

[ffmetadata @ 0x7fcb57820600] Chapter end time 9000030 before start 9000230
/Volumes/Movies/movie.ffmeta: Cannot allocate memory
0	39.11	3
1260.53	1480.65	3
2166.7	2446.85	3
3049.55	3314.61	3
3981.68	4186.89	3
4780.58	5000.8	3
5839.1	6118.75	3
6793.76	7003.97	3
7805.67	9000.23	3

from comchap.

arejay73 avatar arejay73 commented on July 20, 2024

I was able to reproduce the ffmeta file for the previous edl file. You can see the last chapter is the one giving problems.

0	21.92	3
891.19	1145.18	3
1844.41	2009.51	3
2824.09	3109.27	3
3764.76	4124.85	3
4901	5186.18	3
5928.39	6213.57	3
6906.7	7199.52	3
;FFMETADATA1
[CHAPTER]
TIMEBASE=1/1000
START=0
END=0
title=Chapter 1
[CHAPTER]
TIMEBASE=1/1000
START=0
END=21920
title=Commercial 1
[CHAPTER]
TIMEBASE=1/1000
START=21920
END=891190
title=Chapter 2
[CHAPTER]
TIMEBASE=1/1000
START=891190
END=1145180
title=Commercial 2
[CHAPTER]
TIMEBASE=1/1000
START=1145180
END=1844410
title=Chapter 3
[CHAPTER]
TIMEBASE=1/1000
START=1844410
END=2009510
title=Commercial 3
[CHAPTER]
TIMEBASE=1/1000
START=2009510
END=2824090
title=Chapter 4
[CHAPTER]
TIMEBASE=1/1000
START=2824090
END=3109270
title=Commercial 4
[CHAPTER]
TIMEBASE=1/1000
START=3109270
END=3764760
title=Chapter 5
[CHAPTER]
TIMEBASE=1/1000
START=3764760
END=4124850
title=Commercial 5
[CHAPTER]
TIMEBASE=1/1000
START=4124850
END=4901000
title=Chapter 6
[CHAPTER]
TIMEBASE=1/1000
START=4901000
END=5186180
title=Commercial 6
[CHAPTER]
TIMEBASE=1/1000
START=5186180
END=5928390
title=Chapter 7
[CHAPTER]
TIMEBASE=1/1000
START=5928390
END=6213570
title=Commercial 7
[CHAPTER]
TIMEBASE=1/1000
START=6213570
END=6906700
title=Chapter 8
[CHAPTER]
TIMEBASE=1/1000
START=6906700
END=7199520
title=Commercial 8
[CHAPTER]
TIMEBASE=1/1000
START=7199520
END=7199300
title=Chapter 9

from comchap.

BrettSheleski avatar BrettSheleski commented on July 20, 2024

It looks like Comskip is producing a chapter with an end time after the total end time of the video. It should be a simple fix to account for this case.

from comchap.

arejay73 avatar arejay73 commented on July 20, 2024

Do you know what might cause this? I was assuming that the script is looking at the EDL file, which exists, and then computing the ffmeta file. I think my edl file looks correct, so maybe something in the logic calculation?

from comchap.

rokdd avatar rokdd commented on July 20, 2024

It looks like Comskip is producing a chapter with an end time after the total end time of the video. It should be a simple fix to account for this case.

I am working also at the "problem" to write chapters with ffmpeg and it was also the same issue why I got a memory error (wrong end time of last chapter)

from comchap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.