I have some problems with CCExtractor because many subtitles are missed (more than 100 lines) after extracting to srt format. It works not good for movies which are recorded with black broadcast on screen especially. You will wondering why I recorded a movie with black screen because some TV broadcast have freezes, so I switched the function off and the subtitles works on screen well.
Subtitle Edit and ProjectX can't do that because after extracting it comes a message that it was not done succesfully. The file is empty (no subtitles extracted).
So I was thinking about ffmpeg, maybe it works well with black broadcast on screen with contains subtitles to extract subtitles. I tried to extract dvb subtitles or teletext subtitles from ts-file (MPEG-TS) and the ffmpeg stops instantly and the output file is empty.
Does anyone have idea which parameter would be properly?
ffmpeg:
Code:ffmpeg -i Stephen_Kings_Bag_Of_Bones.ts -map 0:4 -scodec dvdsub Stephen_Kings_Bag_Of_Bones.ass
Media Info:
Code:C:\Users\DeafYakuza\Desktop> ffmpeg -i Stephen_Kings_Bag_Of_Bones.ts ffmpeg version 4.1.1 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 8.2.1 (GCC) 20190212 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth libavutil 56. 22.100 / 56. 22.100 libavcodec 58. 35.100 / 58. 35.100 libavformat 58. 20.100 / 58. 20.100 libavdevice 58. 5.100 / 58. 5.100 libavfilter 7. 40.101 / 7. 40.101 libswscale 5. 3.100 / 5. 3.100 libswresample 3. 3.100 / 3. 3.100 libpostproc 55. 3.100 / 55. 3.100 [mpegts @ 000001ea773e89c0] start time for stream 0 is not set in estimate_timings_from_pts [mpegts @ 000001ea773e89c0] start time for stream 1 is not set in estimate_timings_from_pts [mpegts @ 000001ea773e89c0] start time for stream 2 is not set in estimate_timings_from_pts [mpegts @ 000001ea773e89c0] start time for stream 3 is not set in estimate_timings_from_pts [mpegts @ 000001ea773e89c0] start time for stream 5 is not set in estimate_timings_from_pts [mpegts @ 000001ea773e89c0] PES packet size mismatch Last message repeated 1 times [mpegts @ 000001ea773e89c0] Could not find codec parameters for stream 0 (Video: mpeg2video ([2][0][0][0] / 0x0002), none(tv)): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 000001ea773e89c0] Could not find codec parameters for stream 1 (Audio: mp3 (mp3float) ([3][0][0][0] / 0x0003), 0 channels, fltp): unspecified frame size Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 000001ea773e89c0] Could not find codec parameters for stream 2 (Audio: mp3 (mp3float) ([3][0][0][0] / 0x0003), 0 channels, fltp): unspecified frame size Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 000001ea773e89c0] Could not find codec parameters for stream 3 (Audio: ac3 ([6][0][0][0] / 0x0006), 0 channels, fltp): unspecified sample rate Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mpegts, from 'Stephen_Kings_Bag_Of_Bones.ts': Duration: 00:53:46.60, start: 69987.891700, bitrate: 7716 kb/s Program 13001 Program 13002 Stream #0:0[0x1f4]: Video: mpeg2video ([2][0][0][0] / 0x0002), none(tv), 90k tbr, 90k tbn, 90k tbc Stream #0:1[0x1f5](deu): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels, fltp (clean effects) Stream #0:2[0x1f6](mis): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels, fltp (clean effects) Stream #0:3[0x1f7](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 0 channels, fltp (clean effects) Stream #0:4[0x1f9](ger): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006) Stream #0:5[0x1fc]: Data: bin_data ([6][0][0][0] / 0x0006) Program 13003 Program 13004 Program 13005 Program 13006 Program 13007 Program 13008 Program 13009 Program 13010 Program 13011 Program 13012 Program 13013 Program 13014 Program 13015 Program 13018 Program 13019 Program 13021 At least one output file must be specified
+ Reply to Thread
Results 1 to 9 of 9
-
Last edited by DeafYakuza; 9th Jun 2019 at 11:53.
-
SONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 11 Professional, QNAP NAS TS851
-
Can you cut a short sample that includes both lines CCExtractor catches as well as lines that it misses?
-
Here are two samples for instance:
Extracted by CCExtractor:
[Attachment 49339 - Click to enlarge]
Extracted by ProjectX:
[Attachment 49340 - Click to enlarge] -
I'm not talking about screenshots but parts of the TS file cut via e.g. DGSplit or ffmpeg seeking.
-
Here are two files, the one is with image screen and the other only black.
https://www81.zippyshare.com/v/dmcs48Ee/file.html
https://www81.zippyshare.com/v/ma78z5hu/file.html
PW matches my usename.Last edited by DeafYakuza; 12th Jun 2019 at 16:12.
-
"Star_Trek_ Beyond.ts" doesn't play in any of my software? Not even video or audio.
P.S.: Use forum attachments instead of external hosters next time. Easier to access for others. -
Yes, right but the software ccextracter can extract the subtitles from this video-ts.
-
I found the way to extract subtitles from damage videofile (movie.ts) via ProjectX which there are no video and audio, just subtitles.
Open the presettings and go to options tab to disable the hack 'enable HD subtitle' if there is no HD then go to subtitles tab and make sure which subtitles there are (dvb-subtitles, or teletext subtitles or both) so that you can select number for subtitles from teletext properly.
The last setting is for subtitle export formats, choose ssa format. If you want SUP file, you have to enable the hack for add. export as VobSub (idx+sub).
Then close the window and press prepare >> to choose demultiplex or go to 'Quick Start' button. -Done!
Similar Threads
-
Best way to edit DVB TS, extract Subs, fix Aspect Ratio and output to Mpeg?
By Gibson's Squares in forum EditingReplies: 1Last Post: 9th Aug 2018, 18:35 -
Extract subtitles from .ts file & convert to .srt
By xynd in forum SubtitleReplies: 4Last Post: 10th Dec 2017, 17:19 -
Extract subtitles from MPEG-TS-file (DVB Subtitle) using ffmpeg
By T-buch in forum Video ConversionReplies: 22Last Post: 12th Mar 2017, 05:19 -
Extract Teletext subtitles
By Nojus741 in forum SubtitleReplies: 3Last Post: 13th Feb 2016, 16:49 -
ffmpeg - How to combine two Filters ... Black Bands and DVB Subtitles
By mapg in forum Newbie / General discussionsReplies: 4Last Post: 27th Jul 2015, 12:18