VB±àд³ÌÐòʵÏÖSRTÊÓƵÍâ¹Ò×ÖÄ»
ÔÚDVDRip¡¢MKVµÈ720P¸ßÇåÊÓƵÖУ¬srt¡¢ssa¡¢ass¡¢idx¡¢subµÈÍâ¹Ò×ÖÄ»·Ç³£Á÷ÐУ¬²ÉÓõÄÏÔʾ¼¼ÊõºÁ²»ÀýÍⶼÊÇVSFilter£¨ÔçÆÚ°æ±¾ÊÇVobSub£©ºÍAviSynthÍâ¹Ò×ÖÄ»²å¼þ¡£ÏÔʾµÄµãÕóºº×ַdz£Æ¯ÁÁ£¡ÏÖÔÚÁ÷ÐеĶàýÌå²¥·ÅÆ÷£¬ÈçKMPlayer¡¢±©·çÓ°ÒôµÈ¶¼²ÉÓÃÁËÉÏÊöDirectVobSub¼¼Êõ¡£ËäÈ»DirectVobSub¼¼Êõ¾ßÓпª·ÅÐÔÇ¿£¬Ö§³ÖÖÚ¶àÓïÑÔ±àдµÄ²¥·ÅÆ÷£¬µ«¾³£ÓйҲ»ÉÏ×ÖÄ»µÄÎÊÌâ¡£ÓÚÊÇ£¬Ïëµ½ÓÃVBÀ´±àдÍâ¹Ò×ÖÄ»³ÌÐò¡£ÄÇVBÄÜ·ñʵÏÖÍâ¹Ò×ÖÄ»ÄØ£¿´ð°¸Êǿ϶¨µÄ£¡¶ÔÓÚidx¡¢subµÈͼÐÎ×ÖÄ»À´Ëµ£¬VBÎÞÄÜΪÁ¦£»µ«¶ÔÓÚÎı¾×ÖÄ»srt¡¢ssa¡¢ass£¬VB»¹ÊÇ¿ÉÒÔ½â¾öµÄ¡£Ëä²»ÄܺÍDirectVobSub¼¼ÊõÏà±È£¬µ«»ù±¾¹¦ÄÜ»¹ÊÇ¿ÉÒÔʵÏֵġ£Çë¿´ÏÂÃæVB±àдµÄsrt×ÖÄ»½âÎö´úÂ룺
'********************************************************************************
'* Ä£¿éÃû³Æ£ºSrttitle.bas
'* µ÷ÓÃsrt×ÖÄ»Îļþ³É¹¦ºó£ºSRTFileAnalysis·µ»Ø×ÖÄ»¸öÊý£¨Ã¿Ò»¸ösrt×ÖÄ»¿ÉÄÜÓжàÐÐÏÔʾÎı¾£©
'* µ÷ÓÃʧ°ÜºóSRTFileAnalysis·µ»ØÒ»¸ö³¤ÕûÐÍÊý0
'* ÌرðÉùÃ÷£º×ªÔØÇëÓÃIPµØÖ·£¬ÑϽûÔÎÄתÔØ£¡
'* ×÷ÕߣºChenjl1031(¶«·½Ö®Öé)
'********************************************************************************
Option Explicit
Public SRTtitle() As String 'srt×ÖÄ»Êý×é
'srt×ÖÄ»ÌáÈ¡
Public Function SRTFileAnalysis(ByVal SrtFileName As String) As Long
Dim LineCount As Long, FileNumber As Long, TimeLenth As Long, TimeNumber As Long
Dim Stitle As String, TimeLabel(1 To 2) As String, St As String, StC As String, sSrt() As String
Dim GotTime As Boolean
Dim sHour As Long, sMunite As Long, sSecond As Long, s1 As Long, s2 As Long, s3 As Long
On Error Resume Next
If Dir(SrtFileName) = "" Then SRTFileAnalysis = 0: Exit Function
'ɨÃèsrt×ÖÄ»¸öÊý²¢¶¨Òå×ÖÄ»Êý×é
FileNumber = FreeFile: LineCount = 1
&
Ïà¹ØÎĵµ£º
ÓÐʱ£¬ÎªÁËʵÏÖ¶¯Ì¬¸üУ¬ÎÒÃÇÐèÒª¶ÔÕý´¦ÓÚÔËÐÐ״̬µÄÓ¦ÓóÌÐò½øÐÐ×Ôɾ³ý£¬¾ÍÏñ360°²È«ÎÀÊ¿ÔÚÏßÉý¼¶ÄÇÑù¡£µ«ÊÇ£¬WindowsÊDz»ÔÊÐíɾ³ýÕý´¦ÓÚÔËÐÐ״̬µÄÓ¦ÓóÌÐòµÄ£¬Ôõô°ì£¿Ò»°ãÀ´Ëµ£¬ÎÒÃÇ¿ÉÒÔʹÓÃÁ½¸ö³ÌÐòÀ´ÊµÏÖ£¬Ò»¸öרߺÔð°æ±¾¼ì²âºÍɾ³ý£¬Ò»¸ö²ÅÊÇÒµÎñÐèÒªµÄÖ÷Ó¦ÓóÌÐò¡£Äܲ»Äܽ«¶þÕߺ϶þΪһÄØ£¿´ ......
¡¡¡¡UDPÐÒé»ù´¡£º
¡¡¡¡UDP(User Datagram
Protocol)ÊÇÒ»ÖÖÎÞÁ¬½ÓÐÒ飬ÓëTCP²Ù×÷²»Í¬£¬¼ÆËã»ú¼ä²¢²»ÐèÒª½¨Á¢Ò»¸öÁ¬½Ó£¬Í¬Ê±£¬Ò»¸öUDPÓ¦ÓÿÉͬʱ×÷ΪӦÓõĿͻ§»ò·þÎñÆ÷·½¡£
¡¡¡¡ÓÉÓÚUDPÐÒé²¢²»ÐèÒª½¨Á¢Ò»¸öÃ÷È·µÄÁ¬½Ó£¬Òò´Ë½¨Á¢UDPÓ¦ÓÃÒª±È½¨Á¢TCPÓ¦Óüòµ¥µÃ¶à¡£ÔÚTCPÓ¦ÓÃÖУ¬Ò»¸öWinsock¿ØÖƱØÐëÃ÷È·µØÉèÖóÉ&ldqu ......
http://blog.csdn.net/cw198624/archive/2009/02/19/3911759.aspx
Ìí¼ÓÒ»¸öListBoxºÍÒ»¸ö°´Å¥
Option Explicit
Private Declare Function CloseHandle Lib "kernel32" (ByVal Handle As Long) As Long
Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As L ......
Ìí¼Ó
Á½¸öTEXT(multiline=true)
Ò»¸ö°´Å¥
Private Function isChinese(ByVal asciiv) As Boolean
a = AscW(asciiv)
If Len(Hex$(a)) > 2 Then
isChinese = True
Else
isChinese = False
End If
End Function
Private Sub Command1_Click()
text2.text="" 'ÏÈÇå¿Õtext2
For i = 1 To Len(Text1.Text)
DoEve ......
Ãû³Æ ÀàÐÍ ËµÃ÷
abort º¯Êý ÒýÆð·ÅÆúµÄÒâÍâ´¦Àí
abs º¯Êý ¾ø¶ÔÖµº¯Êý
addexitproc º¯Êý ½«Ò»¹ý³ÌÌí¼Óµ½ÔËÐÐʱ¿âµÄ½áÊø¹ý³Ì±íÖÐ
addr º¯Êý ·µ»ØÖ¸¶¨¶ÔÏóµÄµØÖ·
adjustlinebreaks º¯Êý ½«¸ø¶¨×Ö·û´®µÄÐзָô·ûµ÷ÕûΪcr/lfÐòÁÐ
align ÊôÐÔ Ê¹¿Ø¼þλÓÚ´°¿Úij²¿·Ö
alignment ÊôÐÔ ¿Ø¼þ±êÇ©µÄÎÄ×ÖλÖÃ
allocmem º ......