mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[BUG] Stream mode does not work for in-progress TS file #493
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MaximVol on GitHub (Mar 18, 2019).
CCExtractor version: 0.84
In raising this issue, I confirm the following (please check boxes, eg [X] - and delete unchecked ones):
My familiarity with the project is as follows (check one, eg [X] - and delete unchecked ones):
Necessary information
CCExtractor in stream mode work incorrectly with in-progress TS file, after some time it dies with "error while decoding MB" error message.
TS file is recording by StreamLink program:
streamlink --output 1.ts https://www.bloomberg.com/live/us best
Command line of CCExtractor is following:
ccextractor --stream -out=srt -nobom -o 1.srt 1.ts
Output of CCExtractor is:
CCExtractor 0.84, Carlos Fernandez Sanz, Volker Quetschke.
Teletext portions taken from Petr Kutalek's telxcc
Input: 1.ts
[Extract: 1] [Stream mode: Autodetect]
[Program : Auto ] [Hauppage mode: No] [Use MythTV code: Auto]
[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] [Video-edit join: No]
[Extraction start time: not set (from start)]
[Extraction end time: not set (to end)]
[Live stream: Yes, no timeout] [Clock frequency: 90000]
[Teletext page: Autodetect]
[Start credits text: None]
Opening file: 1.ts
[warning][(null)] start time for stream 2 is not set in estimate_timings_from_pts
[warning][(null)] start time for stream 3 is not set in estimate_timings_from_pts
[warning][(null)] start time for stream 4 is not set in estimate_timings_from_pts
[warning][(null)] PES packet size mismatch
Analyzing data in general mode
Creating 1.srt
Streaming | 00:40[warning][(null)] PES packet size mismatch
[error][(null)] error while decoding MB 67 1, bytestream -12
[info][(null)] concealing 3502 DC, 3502 AC, 3502 MV errors in P frame
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:00:00:000 (0 frames at 29.97fps)
Done, processing time = 33 seconds
This is beta software. Report issues to carlos at ccextractor org...
@thelastpolaris commented on GitHub (Apr 11, 2019):
For how much time should I run CCExtractor with the stream you provided to get an error? I'm running CCExtractor 0.87 for 2 hours and it works pretty well (extracts subtitles).
@MaximVol commented on GitHub (Apr 13, 2019):
I built latest version of CCExtractor from GitHub sources and it works correctly with such streams.
It seems that this issue is fixed in latest version.
Thanks a lot for investigation.