├── .gitignore ├── README.md ├── bcut2srt.dpr ├── bcut2srt.res ├── uFrmBcut2Strt.dfm └── uFrmBcut2Strt.pas /.gitignore: -------------------------------------------------------------------------------- 1 | *.dcu 2 | *.~* 3 | *.dof 4 | *.exe 5 | *.xml 6 | *.cfg 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## 功能 2 | 3 | 从B站视频剪辑软件必剪的工程文件中导出srt字幕 4 | 5 | ## 编译方法 6 | 7 | 直接使用Delphi打开工程文件bcut2srt.dpr编译,D6以上的所有版本都支持。 8 | 9 | ## 使用方法(二选一) 10 | 11 | - 点击"打开必剪工程文件"按钮,选择必剪工程文件(`project.xml`),必剪工程文件默认位于`%USERPROFILE%\Documents\MYVideoProject`下面的子文件夹 12 | - 直接将必剪工程文件拖放到程序窗口 13 | 14 | ## 注意事项 15 | 16 | - 导出的srt字幕文件字符集编码是UTF-8 17 | - 发布的二进制文件是Delphi7编译,不包含任何病毒后门,如果有疑问可以自行编译,作者不对360安全卫士这类流氓软件的检测结果负责。 18 | 19 | ## 视频教程 20 | 21 | - [YouTube](https://www.youtube.com/watch?v=mniYgtSRy_k) 22 | - [B站](https://www.bilibili.com/video/BV19b4y1776X/) 23 | - [西瓜视频](https://www.ixigua.com/7057811815547273759) 24 | -------------------------------------------------------------------------------- /bcut2srt.dpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericwang2006/bcut2srt/f10ef3f0480ca69b801a6c79571df8a255ffab7e/bcut2srt.dpr -------------------------------------------------------------------------------- /bcut2srt.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericwang2006/bcut2srt/f10ef3f0480ca69b801a6c79571df8a255ffab7e/bcut2srt.res -------------------------------------------------------------------------------- /uFrmBcut2Strt.dfm: -------------------------------------------------------------------------------- 1 | object FrmBcut2Strt: TFrmBcut2Strt 2 | Left = 541 3 | Top = 255 4 | Width = 706 5 | Height = 510 6 | Caption = #24517#21098#23383#24149#23548#20986#24037#20855 7 | Color = clBtnFace 8 | Font.Charset = GB2312_CHARSET 9 | Font.Color = clWindowText 10 | Font.Height = -12 11 | Font.Name = #23435#20307 12 | Font.Style = [] 13 | OldCreateOrder = False 14 | Position = poDesktopCenter 15 | OnCreate = FormCreate 16 | PixelsPerInch = 96 17 | TextHeight = 12 18 | object Memo1: TMemo 19 | Left = 0 20 | Top = 0 21 | Width = 690 22 | Height = 419 23 | Align = alClient 24 | BorderStyle = bsNone 25 | Font.Charset = GB2312_CHARSET 26 | Font.Color = clWindowText 27 | Font.Height = -16 28 | Font.Name = 'Fixedsys' 29 | Font.Style = [] 30 | Lines.Strings = ( 31 | #21487#30452#25509#25226#24517#21098#24037#31243#25991#20214#25302#25918#21040#27492#31383#21475 32 | 'Drop file here') 33 | ParentFont = False 34 | ReadOnly = True 35 | ScrollBars = ssVertical 36 | TabOrder = 0 37 | end 38 | object Panel1: TPanel 39 | Left = 0 40 | Top = 419 41 | Width = 690 42 | Height = 52 43 | Align = alBottom 44 | BevelOuter = bvNone 45 | Color = 16578017 46 | TabOrder = 1 47 | object btnOpen: TButton 48 | Left = 16 49 | Top = 14 50 | Width = 115 51 | Height = 25 52 | Caption = #25171#24320#24517#21098#24037#31243#25991#20214 53 | TabOrder = 0 54 | OnClick = btnOpenClick 55 | end 56 | object btnSave: TButton 57 | Left = 144 58 | Top = 14 59 | Width = 97 60 | Height = 25 61 | Caption = #20445#23384#23383#24149 62 | TabOrder = 1 63 | OnClick = btnSaveClick 64 | end 65 | object btnHelp: TButton 66 | Left = 256 67 | Top = 14 68 | Width = 97 69 | Height = 25 70 | Caption = #24110#21161'(Github)' 71 | TabOrder = 2 72 | OnClick = btnHelpClick 73 | end 74 | end 75 | object OpenDialog1: TOpenDialog 76 | Filter = '*.xml|*.xml' 77 | Options = [ofHideReadOnly, ofFileMustExist, ofEnableSizing] 78 | Left = 128 79 | Top = 304 80 | end 81 | object SaveDialog1: TSaveDialog 82 | DefaultExt = '.srt' 83 | FileName = 'project.srt' 84 | Filter = '*.srt|*.srt' 85 | Options = [ofOverwritePrompt, ofHideReadOnly, ofEnableSizing] 86 | Left = 224 87 | Top = 320 88 | end 89 | end 90 | -------------------------------------------------------------------------------- /uFrmBcut2Strt.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericwang2006/bcut2srt/f10ef3f0480ca69b801a6c79571df8a255ffab7e/uFrmBcut2Strt.pas --------------------------------------------------------------------------------