Comments (11)
I found this issue when trying to get comchap work. Should ffprobe -show_chapters test.ts display chapters merged to stream using comchap? I can not see any.
EDIT: Maybe this is answer?
"The containers MPG/VOB and TS/M2TS don't have a global header and don't support chapter marks either. Transport streams were created for broadcasting"
from comchap.
Well that appears to be your answer. To resolve this I would save the resulting file to a supported container (mkv/mp4).
You can do this with something like
comchap inputfile.ts outputfile.mp4
This will cause ffmpeg to create an MP4 file from your input.
from comchap.
How about in my case? I haven't touched any of the software components in over half a year. Just one day it was working and then the next it wasn't. I hadn't been changing any settings recently, it just up and stopped working one day.
Any ideas on how to debug this when the input file to ffmpeg looks good and it gives no errors, but it doesn't add chapters? I'm really not sure where to look next.
from comchap.
I don't have enough information for your case. I'd have to see what's failing and why. Seeing as you had it working in the past, I assume you're going to proper formats that support chapters. I'd start by preserving the ffmeta file and see its contents.
from comchap.
Here's two edl from SUCCESSFUL runs:
0.00 8.07 0
603.00 771.40 0
1265.63 1437.87 0
2052.38 2344.54 0
2663.86 2967.26 0
3490.95 3599.10 0
0.00 8.94 0
870.70 1046.81 0
1637.44 1800.03 0
2256.82 2547.95 0
2975.34 3277.91 0
3492.92 3599.53 0
And one from where it was UNSUCCESSFUL:
607.67 769.94 0
2144.48 2267.87 0
2813.11 3107.54 0
3492.36 3598.46 0
SUCCESSFUL FFMETA:
;FFMETADATA1
[CHAPTER]
TIMEBASE=1/1000
START=0
END=0
title=Chapter 1
[CHAPTER]
TIMEBASE=1/1000
START=0
END=8070
title=Commercial 1
[CHAPTER]
TIMEBASE=1/1000
START=8070
END=603000
title=Chapter 2
[CHAPTER]
TIMEBASE=1/1000
START=603000
END=771400
title=Commercial 2
[CHAPTER]
TIMEBASE=1/1000
START=771400
END=1265630
title=Chapter 3
[CHAPTER]
TIMEBASE=1/1000
START=1265630
END=1437870
title=Commercial 3
[CHAPTER]
TIMEBASE=1/1000
START=1437870
END=2052380
title=Chapter 4
[CHAPTER]
TIMEBASE=1/1000
START=2052380
END=2344540
title=Commercial 4
[CHAPTER]
TIMEBASE=1/1000
START=2344540
END=2663860
title=Chapter 5
[CHAPTER]
TIMEBASE=1/1000
START=2663860
END=2967260
title=Commercial 5
[CHAPTER]
TIMEBASE=1/1000
START=2967260
END=3490950
title=Chapter 6
[CHAPTER]
TIMEBASE=1/1000
START=3490950
END=3599100
title=Commercial 6
[CHAPTER]
TIMEBASE=1/1000
START=3599100
END=3599370
title=Chapter 7
UNSUCCESSFUL FFMETA:
;FFMETADATA1
[CHAPTER]
TIMEBASE=1/1000
START=0
END=607670
title=Chapter 1
[CHAPTER]
TIMEBASE=1/1000
START=607670
END=769940
title=Commercial 1
[CHAPTER]
TIMEBASE=1/1000
START=769940
END=2144480
title=Chapter 2
[CHAPTER]
TIMEBASE=1/1000
START=2144480
END=2267870
title=Commercial 2
[CHAPTER]
TIMEBASE=1/1000
START=2267870
END=2813110
title=Chapter 3
[CHAPTER]
TIMEBASE=1/1000
START=2813110
END=3107540
title=Commercial 3
[CHAPTER]
TIMEBASE=1/1000
START=3107540
END=3492360
title=Chapter 4
[CHAPTER]
TIMEBASE=1/1000
START=3492360
END=3598460
title=Commercial 4
[CHAPTER]
TIMEBASE=1/1000
START=3598460
END=3598730
title=Chapter 5
from comchap.
I've noticed a couple of things that are leading me towards some conclusions. I noticed that on the files that did work started at time 0.
I also saw that VLC was able to find the chapters in all the files. I had been only using Plex's player so far to gauge whether they had chapters. I tried to double-confirm with "ffprobe -show_chapters " but I got an error back that "show_chapters" was an unknown option.
So my working theory is that comskip is somehow detecting things differently, the chapters are actually there, but for some reason Plex can't find the slightly altered format.
from comchap.
I also saw that VLC was able to find the chapters in all the files.
This sounds like it's may be an issue with Plex not comchap.
from comchap.
I'd have to agree. I have the ffprobe -show_chapters working and it double confirms. Strange, I'll follow-up with Plex. Thanks for helping bounce ideas.
from comchap.
I found this issue when trying to get comchap work. Should ffprobe -show_chapters test.ts display chapters merged to stream using comchap? I can not see any.
EDIT: Maybe this is answer?
"The containers MPG/VOB and TS/M2TS don't have a global header and don't support chapter marks either. Transport streams were created for broadcasting"
Would it be possible to alter the script to see if the $infile ends in .ts or .vob or something and automatically output to .mp4?
from comchap.
from comchap.
@jwrober, I'm not altering the script to do any sort of automatic detection of input and forcing to any specific format (mp4 included). If you want an mp4 output file then specify the output filename that you want. Write a simple wrapper script if you need to.
from comchap.
Related Issues (20)
- Permission to Distribute HOT 2
- Comcut break if no Commercials HOT 6
- Chapter end time before start HOT 7
- handbrakecli post-processing HOT 3
- comcut output file is huge HOT 2
- H.264 bitstream malformed, no startcode found HOT 5
- awk command needs an extra space
- XML based chapter file could allow automatic skipping of commercial chapters HOT 1
- comcut breaks if blank line at end of EDL
- totalcutduration Incorrect if EDL Starts with 0.00
- Desync issues - need to skip first X seconds
- Comcut losing audio on all MKV files recorded with Vorbis audio streams HOT 2
- Using ComCut to find .mpg's in a directory and use the existing EDL to create new file, move to another directory HOT 4
- Comcut outputs files with bad audio when importing .edl files that begin with 0. HOT 1
- SOLVED: comcut occasionally drops video on MKV files HOT 2
- comcut doesn't add the last piece of video from last commercial to end of file HOT 1
- Anyplans to make a windows version? HOT 9
- Powershell Comcut.ps1 version HOT 2
- Why are intermediate files MPEG-TS? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comchap.