{"action":"created","issue":{"url":"https://api.github.com/repos/CCExtractor/ccextractor/issues/874","repository_url":"https://api.github.com/repos/CCExtractor/ccextractor","labels_url":"https://api.github.com/repos/CCExtractor/ccextractor/issues/874/labels{/name}","comments_url":"https://api.github.com/repos/CCExtractor/ccextractor/issues/874/comments","events_url":"https://api.github.com/repos/CCExtractor/ccextractor/issues/874/events","html_url":"https://github.com/CCExtractor/ccextractor/issues/874","id":285534945,"node_id":"MDU6SXNzdWUyODU1MzQ5NDU=","number":874,"title":"[BUG] Not able to process subtitles from DR (Danish)","user":{"login":"peterhaldbaek","id":2155965,"node_id":"MDQ6VXNlcjIxNTU5NjU=","avatar_url":"https://avatars1.githubusercontent.com/u/2155965?v=4","gravatar_id":"","url":"https://api.github.com/users/peterhaldbaek","html_url":"https://github.com/peterhaldbaek","followers_url":"https://api.github.com/users/peterhaldbaek/followers","following_url":"https://api.github.com/users/peterhaldbaek/following{/other_user}","gists_url":"https://api.github.com/users/peterhaldbaek/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhaldbaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhaldbaek/subscriptions","organizations_url":"https://api.github.com/users/peterhaldbaek/orgs","repos_url":"https://api.github.com/users/peterhaldbaek/repos","events_url":"https://api.github.com/users/peterhaldbaek/events{/privacy}","received_events_url":"https://api.github.com/users/peterhaldbaek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2018-01-02T20:55:09Z","updated_at":"2018-11-15T17:44:26Z","closed_at":"2018-11-03T18:47:29Z","author_association":"NONE","body":"CCExtractor version (using the --version parameter preferably) : 0.85\r\n\r\n**In raising this issue, I confirm the following (please check boxes, eg [X]):**\r\n\r\n- [X] I have read and understood the [contributors guide](https://github.com/CCExtractor/ccextractor/blob/master/.github/CONTRIBUTING.md).\r\n- [X] I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.\r\n- [X] I have checked that the issue I'm posting isn't already reported.\r\n- [X] I have checked that the issue I'm porting isn't already solved and no duplicates exist in [closed issues](https://github.com/CCExtractor/ccextractor/issues?q=is%3Aissue+is%3Aclosed) and in [opened issues](https://github.com/CCExtractor/ccextractor/issues)\r\n- [x] I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.\r\n- [x] I have used the latest available version of CCExtractor to verify this issue exists.\r\n\r\n**My familiarity with the project is as follows (check one, eg [X]):**\r\n\r\n- [X] I have never used CCExtractor.\r\n- [ ] I have used CCExtractor just a couple of times.\r\n- [ ] I absolutely love CCExtractor, but have not contributed previously.\r\n- [ ] I am an active contributor to CCExtractor.\r\n\r\n**Necessary information**\r\n- Is this a regression (did it work before)? [X] NO | [ ] YES - *please specify the last known working version*\r\n- What platform did you use? [ ] Windows - [ ] Linux - [X] Mac\r\n- What where the used arguments? `ccextractor dr1_narrow_margin.mpg -codec dvbsub -dvblang dan -ocrlang dan -pn 101 -parsePAT`\r\n\r\n**Video links**\r\nhttp://www.filedropper.com/dr1narrowmargin\r\n\r\n**Additional information**\r\n\r\nI am trying to extract subtitles from recordings of Danish DR I have done using an Elgato EyeTV Diversity USB tuner on a Mac. The recordings are TS streams, subtitles are available if I use VLC but I keep getting an error when I try to extract the subtitles and end up with an empty SRT file. This is the result I get when I run ccextractor from master (commit 84a9ea5572da4728fc4ad01b88978808c925ad9f from Dec 28) with OCR on a Mac running macOS 10.12.6\r\n```\r\n[peter@wolverine Narrow Margin] ccextractor dr1_narrow_margin.mpg -codec dvbsub -dvblang dan -ocrlang dan -pn 101 -parsePAT\r\nCCExtractor 0.85, Carlos Fernandez Sanz, Volker Quetschke.\r\nTeletext portions taken from Petr Kutalek's telxcc\r\n--------------------------------------------------------------------------\r\nInput: dr1_narrow_margin.mpg\r\n[Extract: 1] [Stream mode: Autodetect]\r\n[Program : 101 ] [Hauppage mode: No] [Use MythTV code: Auto]\r\n[Timing mode: Auto] [Debug: No] [Buffer input: No]\r\n[Use pic_order_cnt_lsb for H.264: No] [Print CC decoder traces: No]\r\n[Target format: .srt] [Encoding: UTF-8] [Delay: 0] [Trim lines: No]\r\n[Add font color data: Yes] [Add font typesetting: Yes]\r\n[Convert case: No] [Video-edit join: No]\r\n[Extraction start time: not set (from start)]\r\n[Extraction end time: not set (to end)]\r\n[Live stream: No] [Clock frequency: 90000]\r\n[Teletext page: Autodetect]\r\n[Start credits text: None]\r\n\r\n-----------------------------------------------------------------\r\nOpening file: dr1_narrow_margin.mpg\r\nDetected MP4 box with name: meta\r\nFile seems to be a transport stream, enabling TS mode\r\nAnalyzing data in general mode\r\nRead PAT packet (id: 0) ts-id: 0x03e9\r\n  section length: 37  number: 0  last: 0\r\n  version_number: 8  current_next_indicator: 1\r\n\r\nProgram association section (PAT)\r\n  Program number: 0  -> PMTPID: 16\r\n  Program number: 81  -> PMTPID: 81\r\n  Program number: 101  -> PMTPID: 101\r\n  Program number: 102  -> PMTPID: 102\r\n  Program number: 111  -> PMTPID: 104\r\n  Program number: 417  -> PMTPID: 401\r\n  Program number: 1217  -> PMTPID: 2101\r\n\r\nNumber of NAL_type_7: 0\r\nNumber of VCL_HRD: 0\r\nNumber of NAL HRD: 0\r\nNumber of jump-in-frames: 0\r\nNumber of num_unexpected_sei_length: 0\r\n\r\nMin PTS:\t\t\t\t06:58:45:629\r\nMax PTS:\t\t\t\t06:58:45:629\r\nLength:\t\t\t\t 00:00:00:000\r\n\r\n\r\n\r\n\r\nATTENTION!!!!!!\r\nIn switch_to_next_file(): Processing of dr1_narrow_margin.mpg 0 ended prematurely 819492 < 11946460, please send bug report.\r\n\r\nDone, processing time = 0 seconds\r\n\r\nNo captions were found in input.\r\nIssues? Open a ticket here\r\nhttps://github.com/CCExtractor/ccextractor/issues\r\n```\r\nNot sure whether I am holding this thing wrong or if it is an actual error.\r\n\r\n## Update Jan 21st 2018\r\nA new file has been uploaded at http://www.filedropper.com/dr3clip1."},"comment":{"url":"https://api.github.com/repos/CCExtractor/ccextractor/issues/comments/439128737","html_url":"https://github.com/CCExtractor/ccextractor/issues/874#issuecomment-439128737","issue_url":"https://api.github.com/repos/CCExtractor/ccextractor/issues/874","id":439128737,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTEyODczNw==","user":{"login":"saurabhshri","id":12415700,"node_id":"MDQ6VXNlcjEyNDE1NzAw","avatar_url":"https://avatars1.githubusercontent.com/u/12415700?v=4","gravatar_id":"","url":"https://api.github.com/users/saurabhshri","html_url":"https://github.com/saurabhshri","followers_url":"https://api.github.com/users/saurabhshri/followers","following_url":"https://api.github.com/users/saurabhshri/following{/other_user}","gists_url":"https://api.github.com/users/saurabhshri/gists{/gist_id}","starred_url":"https://api.github.com/users/saurabhshri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saurabhshri/subscriptions","organizations_url":"https://api.github.com/users/saurabhshri/orgs","repos_url":"https://api.github.com/users/saurabhshri/repos","events_url":"https://api.github.com/users/saurabhshri/events{/privacy}","received_events_url":"https://api.github.com/users/saurabhshri/received_events","type":"User","site_admin":false},"created_at":"2018-11-15T17:44:26Z","updated_at":"2018-11-15T17:44:26Z","author_association":"MEMBER","body":"@cfsmp3 Please re-open this. :)"}}
{"actor":{"display_login":"saurabhshri"}}