Comments (4)
Error with another Twitch file:
$ ccextractor output.ts
CCExtractor 0.94, Carlos Fernandez Sanz, Volker Quetschke.
Teletext portions taken from Petr Kutalek's telxcc
--------------------------------------------------------------------------
Input: output.ts
[Extract: 1] [Stream mode: Autodetect]
[Program : Auto ] [Hauppage mode: No] [Use MythTV code: Auto]
[CEA-708: 63 decoders active]
[CEA-708: using charset "none" for all services]
[Timing mode: Auto] [Debug: No] [Buffer input: No]
[Use pic_order_cnt_lsb for H.264: No] [Print CC decoder traces: No]
[Target format: .srt] [Encoding: UTF-8] [Delay: 0] [Trim lines: No]
[Add font color data: Yes] [Add font typesetting: Yes]
[Convert case: No][Filter profanity: No] [Video-edit join: No]
[Extraction start time: not set (from start)]
[Extraction end time: not set (to end)]
[Live stream: No] [Clock frequency: 90000]
[Teletext page: Autodetect]
[Start credits text: None]
[Quantisation-mode: CCExtractor's internal function]
-----------------------------------------------------------------
Opening file: output.ts
File seems to be a transport stream, enabling TS mode
Analyzing data in general mode
Found large gap(48073) in PTS! Trying to recover ...
Error: Broken AVC stream - Leading bytes are non-zero...
Issues? Open a ticket here
https://github.com/CCExtractor/ccextractor/issues
from ccextractor.
Another sample for testing purposes:
from ccextractor.
@superbonaci Hey the sample ts files you have given have no embeded subtitles, I converted manually the ts to mp4 using ffmpeg and then tried to convert this was the result:
CCExtractor 0.94, Carlos Fernandez Sanz, Volker Quetschke.
Teletext portions taken from Petr Kutalek's telxcc
--------------------------------------------------------------------------
Input: ../../ccextractor_debug_files/output2.mp4
[Extract: 1] [Stream mode: Autodetect]
[Program : Auto ] [Hauppage mode: No] [Use MythTV code: Auto]
[CEA-708: 63 decoders active]
[CEA-708: using charset "none" for all services]
[Timing mode: Auto] [Debug: No] [Buffer input: No]
[Use pic_order_cnt_lsb for H.264: No] [Print CC decoder traces: No]
[Target format: .srt] [Encoding: UTF-8] [Delay: 0] [Trim lines: No]
[Add font color data: Yes] [Add font typesetting: Yes]
[Convert case: No][Filter profanity: No] [Video-edit join: No]
[Extraction start time: not set (from start)]
[Extraction end time: not set (to end)]
[Live stream: No] [Clock frequency: 90000]
[Teletext page: Autodetect]
[Start credits text: None]
[Quantisation-mode: CCExtractor's internal function]
-----------------------------------------------------------------
Opening file: ../../ccextractor_debug_files/output2.mp4
Detected MP4 box with name: ftyp
Detected MP4 box with name: free
Detected MP4 box with name: mdat
File seems to be a MP4
Analyzing data with GPAC (MP4 library)
Opening '../../ccextractor_debug_files/output2.mp4': ok
Track 1, type=vide subtype=avc1
Track 2, type=soun subtype=MPEG
MP4: found 2 tracks: 1 avc and 0 cc
Processing track 1, type=vide subtype=avc1
Processing track 2, type=soun subtype=MPEG
Closing media: ok
Found 1 AVC track(s). Found no dedicated CC track(s).
Total frames time: 00:00:18:451 (553 frames at 29.97fps)
Min PTS: 00:00:00:066
Max PTS: 00:00:18:566
Length: 00:00:18:500
Done, processing time = 0 seconds
No captions were found in input.
Issues? Open a ticket here
https://github.com/CCExtractor/ccextractor/issues
from ccextractor.
also tried ts sample with subttitles and its working https://tsduck.io/streams/usa-atsc/503.ts
CCExtractor 0.94, Carlos Fernandez Sanz, Volker Quetschke.
Teletext portions taken from Petr Kutalek's telxcc
--------------------------------------------------------------------------
Input: ../../ccextractor_debug_files/503.ts
[Extract: 1] [Stream mode: Autodetect]
[Program : Auto ] [Hauppage mode: No] [Use MythTV code: Auto]
[CEA-708: 63 decoders active]
[CEA-708: using charset "none" for all services]
[Timing mode: Auto] [Debug: No] [Buffer input: No]
[Use pic_order_cnt_lsb for H.264: No] [Print CC decoder traces: No]
[Target format: .srt] [Encoding: UTF-8] [Delay: 0] [Trim lines: No]
[Add font color data: Yes] [Add font typesetting: Yes]
[Convert case: No][Filter profanity: No] [Video-edit join: No]
[Extraction start time: not set (from start)]
[Extraction end time: not set (to end)]
[Live stream: No] [Clock frequency: 90000]
[Teletext page: Autodetect]
[Start credits text: None]
[Quantisation-mode: CCExtractor's internal function]
-----------------------------------------------------------------
Opening file: ../../ccextractor_debug_files/503.ts
File seems to be a transport stream, enabling TS mode
Analyzing data in general mode
This TS file has more than one program. These are the program numbers found:
1
2
3
4
1% | 00:00
New video information found
[1920 * 1080] [AR: 03 - 16:9] [FR: 04 - 29.97] [progressive: no]
XDS: ContentAdvisory: US TV Parental Guidelines. Age Rating: TV-14 (Parents Strongly Cautioned)
XDS: [Violence]
XDS Notice: Program is now Chicago PD
100% | 01:03
Number of NAL_type_7: 0
Number of VCL_HRD: 0
Number of NAL HRD: 0
Number of jump-in-frames: 0
Number of num_unexpected_sei_length: 0
Total frames time: 00:01:02:195 (1864 frames at 29.97fps)
CC type 0: 332 (NTSC line 21 field 1 closed captions)
CC type 1: 1864 (NTSC line 21 field 2 closed captions)
CC type 2: 2134 (DTVCC Channel Packet Data)
CC type 3: 690 (DTVCC Channel Packet Start)
Min PTS: 02:07:41:087
Max PTS: 02:08:44:183
Length: 00:01:03:096
Initial GOP time: 00:00:00:000
Final GOP time: 00:00:00:000+19F
Diff. GOP length: 00:00:00:000+19F (00:00:00:633)
Number of key frames: 42
Total user data fields: 1864
HDTV type user data fields: 1864
Done, processing time = 2 seconds
Issues? Open a ticket here
https://github.com/CCExtractor/ccextractor/issues
from ccextractor.
Related Issues (20)
- Error compile ,got an error canot find png.h
- Need instructions to build ccx_rust.lib
- /../lib_ccx/hardsubx.h:9:10: fatal error: 'libavcodec/avcodec.h' file not found, err: true
- [BUG] Processing ends prematurely at 9:43:00
- How to even build the whole software from the repo HOT 1
- read AVPacket instate of file media
- [BUG] Regression bug causing ccextractor 0.94 to crash HOT 6
- [BUG] Issue 1077 Still lives
- [QUESTION] Need help with dependencies for Windows 11 to extract hard subtitles
- BUG: ccextractor 0.94 cannot find dvb subtitles, vlc works fine... HOT 1
- [BUG] brew.sh formula no longer available HOT 3
- [PROPOSAL]: Snap package for `ccextractor` HOT 1
- [QUESTION] make_error: gpac/isomedia.h: No such file or directory HOT 3
- [BUG] ccextractor skips many captions (CEA-708)
- require a nix.flake file
- [DOCS] Dependencies not installed for fedora HOT 3
- [BUG] Subtitles not extracted from Twitch stream HOT 1
- Message#error HOT 1
- [QUESTION] Unexpected behavior of `get_write_interval` HOT 4
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 ccextractor.