Wishlist 0 ¥0.00

ADODB.Stream 错误 '800a0bbc' 写入文件失败

最近在调试一个过去的项目,asp写的一个无组上传类,以前都测试通过的,本次发布却提示:

ADODB.Stream 错误 '800a0bbc'

写入文件失败。

/UpLoadClass_Dreacom_v3/UpLoadClass.asp,行 703

发生此错误的系统是:Windows Server 2008 R2

有的还可能提示:ADODB.Stream 错误 30004

开始以为是权限的问题,于是设置文件夹的权限,甚至给了Everyone完全控制的权限,结果还是不行;

相关错误代码行:

stream.SaveToFile fileName, 2

输出文件路径:

response.write "<br />fileName=" & fileName

指定的保存目录:
folderPath=C:\inetpub\wwwroot\UpLoadClass_Dreacom_v3\Demo1\UpLoadFile

临时文件保存位置:
fileName=C:\inetpub\wwwroot\UpLoadClass_Dreacom_v3\Demo1\UpLoadFile\2015\10\2851107108ad_0.tmp
通过路径可以发现,多了几层目录,这是什么呢?

这涉及到下面的函数:

Public Function GetNewUploadID()
    dim dtstr
    dtstr = Replace(cstr(Date()), "-", "") & CStr(CLng(timer()*1000))
    GetNewUploadID = dtstr & GetRandomCode(20 - Len(dtstr))
End Function

通常我们cstr(Date())得到的数据格式是:2015-10-28,中间的分隔符是减号,而在Windows Server 2008 R2得到的格式是2015/10/28,在执行Server.MapPath时,就把它当成目录来处理了,由于对应的目录不存在,所以导致了这个问题。

找到原因,解决方法就自然明了了,把日期中的“/”也替换掉就可以了。
————————————————
版权声明:本文为CSDN博主「微wx笑」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/testcs_dn/article/details/49467967

5 Easiest Ways to Add Captions to Video Free and Fast

Both subtitles and captions are used as a textual representation of a video’s soundtrack. Although they look pretty much alike, they are not the same thing. One thing mostly displays the text that is said by a movie character. Usually, they are added to a film in a foreign language for better comprehension. Captions in their turn are used to display all the sounds that take place in a movie like knock at the door, screaming, telephone ring, and serve to aid deaf and hearing-impaired audiences.

Depending on your scope, you can add either script or captions to your movie. Here are some tools that will help you.

Add Text with Google Drive

Google Drive is famous as a cloud service that can keep your data and give you access to it from any device and from all over the world. Only a few users know that Google Drive can also help you add captions to video. It’s easy and absolutely free. That’s how you can do it.

    • Step 1: Sign in or sign up to drive.google.cn;
    • Step 2: Click New ->File Upload and select a video that you want to add captions to;
    • Step 3: When the video appears in your Google Drive, click the More sign and choose Manage caption tracks;
    • Step 4: Now, click on the Add new caption tracks option;

Google-Drive-captions

  • Step 5: Select your caption file in SRT format;
  • Step 6: Choose the language of your new captions and type a title for the captions track;
  • Step 7: Click Upload to add captions to your video.

It is a convenient and simple service that provides an option to add ready captions. In case, you want to switch them off, simply go to More -> Manage caption tracks, find your caption track and click to switch it off.

Add captions with YouTube Editor

SEE ALSO: Introduction to Video Editing on YouTube

SEE ALSO: YouTube Upload: Tips, Specs, Limits & Formats

YouTube provides several ways of adding captions and notes to your video. It can be either annotation that may look like note, words or speech bubble, or captions. Read the following paragraph and try to add captions to your video online:

  • Step 1: Register on YouTube with the help of your Google accounts;
  • Step 2: Upload your video;
  • Step 3: Open the video and click Annotations or CC button under it;youtube text editor
  • Step 4: If you choose annotation, then set its type, insert the quotation and alter it to your taste. Don’t forget to tune the time duration! In case you want to add material or captions, the 1st hing to choose is the language. youtube subtitles language
  • Step 5: Now choose whether you want to upload a ready text or captions file, transcribe and auto-sync your video or create new file right on the way.

 youtube captions maker

  • Step 6: When the movie is ready, click Saved. 

YouTube Editor comprises many features to make your video clip unforgettable. However, it is an online editor. If your Internet connection is slow, you will need a lot of time to save all the changes. If you need to save your edited video offline, download youtube video free.

SEE ALSO: How to Cut Unwanted Video Parts

Add Captions with Pinnacle Studio

Pinnacle Studio is a quite complicated video editor with various features that may require some additional skills from you. It allows its users to add captions to movies and short videos.Pinnacle studio add text

To add script to a video with Pinnacle Studio, follow our simple instructions:

  • Step 1: Download Pinnacle Studio.
  • Step 2: Add a video clip;
  • Step 3: Choose Titles;
  • Step 4: Select the type of the title and its place. Put it in the editor line.

Pinnacle Studio is smart software with numerous excerpt options. However, it is quite heavy for PC, and littered with programs. Moreover, free version is available only for 30 days.

Add Captions and Words with CaptionMaker

CaptionMaker is one more tool that will help you create captions on Windows and Mac. The software is not free, but demo version is available. Thus, you can download it and try the majority of options to make the final decision. CaptionMaker is highly customizable. Here you can change message font and background color, choose the number of rows and their position and many more.

captionmaker

To make close captions with CaptionMaker:

  • Step 1: Download CaptionMaker for your PC or Mac here.
  • Step 2: Run the software on your PC or Mac.
  • Step 3: Import you video file via File -> Open Movie.
  • Step 4: Set the necessary time for your caption.
  • Step 5: Type your material in Caption/Subtitle field.
  • Step 6: Select the style for your captions (font, position, etc).
  • Step 7: When you are done, click File -> Save to save your movie with captions.

CaptionMaker is a great tool with a good number of settings. So if you want your captions to look professional, don’t skip it.

Add Closed Captions and Text to Video with Aegisub

Aegisub is a simple cross-platform story editor like Notepad that will help you make close captions and content in a couple of clicks. The software has a built-in video player, thus you won’t need to open your video in a separate video player.aegisub Follow these steps to add text or captions to your movie:

  • Step 1: Download Aegisub for free here.
  • Step 2: Install and open Aegisub.
  • Step 3: Set the time interval for your document.
  • Step 4: Enter the wording you want to display on your movie.
  • Step 5: After you typed the reading, click the green arrow to save it.
  • Step 6: When you complete your job, click File -> Export as and save your subtitles in .srt format.

Aegisub is a tiny and easy-to-use caption maker that we’ll let you add text to your movies without getting deep into tech side of file creating.

And what video editor do you use to create closed captions and notes? Share it with us in comments below.

How to Turn Audio into Text: Best Free & Cheap Converters

Last time when I interviewed our guest Chris Pirillo, I needed an app that could convert an audio file with his speech into a text document. Frankly speaking, I wanted to save my time instead of boring typing each word that he had pronounced. So I surfed the Internet carefully and came across several good apps which could convert audio files (in MP3, WMA or M4A formats) into text docs automatically. Now I’m happy to share them with you.

1. VoiceBase

UPD: Voicebase used to be the best voice to text solution for many years. Unfortunately, since 2019 it’s no longer a free audio to text conveter. Now it provides API for audio transcription and speech analytics on the paid basis. So you’d better skip the part about Voicebase and try the tools below.

VoiceBase is an online voice to text transcription service for companies and individuals. Though, it mainly focuses on business clients, an ordinary user, like you and me, can convert a voice recording into a text file for free at VoiceBase. As for January 2016, each new user is granted a free account with $60 credit and up to 50 hours of audio storage. It costs about $0.01 to transcribe 10 second speech. VoiceBase uses smart voice recognition technology, so the quality of its machine audio transcript is high.

Obviously, the final text quality depends on original sound track and the speaker’s accent. VoiceBase understands US English pronunciation seamlessly. If a person speaks clearly, then the text is close to manually written. If an interviewer mumbles or lisps, then you’ll have to review the transcript or hire someone for text checkup. Fortunately, you can order human transcript right in your VoiceBase account. Moreover, you can turn video into text!

SEE ALSO: 200+ Useful Resources & Tools for Teachers & Students

This audio to text converter understands English, Dutch, French, German, Italian, Spanish (including Latin American version). In fact, VoiceBase is remarkable for quick and easy speech to text conversion. The website interface is clear and you smoothly go step by step:

    1. Go to www.voicebase.com and click the green Upload a file button in the middle of the screen.
    2. Create a free VoiceBase account. Provide your name, email address and click the Sign Up button. You have to confirm your account via email to get access to VoiceBase.
    3. Click the green Upload button at the top right corner.
    4. Add an audio or a video file of a supported format. If needed, to join video or audio parts together. Name your file, add a description, select the Machine Transcription, and a file sharing type (Private or Public).
      Tip: use Freemake Free Audio Converter to make a supported audio file for VoiceBase.
    5. Your file will be processed and you’ll be notified by email when it’s ready. Later, you can find the file at the My Content tab. For example, I’ve added a 10 minute audio interview in M4A format and it took about 15 minutes to convert it into a text file.
    6. When the text file is done, go to My Content tab in your VoiceBase account and click on the name of your file.Text version of audio file
    7. Check the Machine Transcript box right under your audio file.
    8. Copy the transcript and save it as text document.

Summary: VoiceBase is a fast online audio to text converter. Needless to say, it is suitable for everyone no matter what you need: an automatic or human speech to document conversion.

2. Dragon Dictation

Definitely, you may try another voice-to-text converter: Dragon Dictation. We dedicated a special article to it. In a few words, Dragon Dictation is completely different from VoiceBase. It pretends to be a universal speech recognition tool for Windows, Mac, iOS, Android and other platforms. Please note that the desktop version is paid ($75-150 for home users, $300 for enterprises), while the mobile apps are free for US & Canada.

Like Apple’s Siri, Dragon Dictation is capable of understanding what you say to it. However, the main focus of the app is to memorize your speech notes as a piece of text. It is easy to create documents of any length and edit, format and share them directly from your mobile device. Dragon can handle specialized industry vocabulary, and it comes with excellent features, such as the ability to transcribe text from an audio file you upload.

To do this, follow the steps:

  1. Open the software. From the DragonBar, select Tools>Transcribe Audio>Transcribe Recording.
    dragon dictation upload
  2. Click Select the speaker and select who the voice in the recording belongs to – Me or Someone else.
  3. In the Input audio file field, enter the file name of the recording and the directory path where it’s located, or click Browse to navigate to it.
    In the Output text file field, enter a file name for the transcribed output file and enter the directory path where you want to save it.
  4. Optionally deselect Automatically add commas and periods if you do not want Dragon to add this punctuation to the transcription, as the accuracy may degrade when this option is selected.
  5. Then follow the transcription wizard, it will prompt you to choose what you want to do next. Select the needed options and click Done.

Summary: Dragon Dictaion is much more than a simple audio to text converter. You should invest into it only if you’re sure to use dictation options on the regular basis. For occasional uses, it’s advisable to try a free program from the ones listed below.

3. Sonix.ai

Sonix.ai is an online app to trascribe audio. The free trial includes 30 minutes of free audio to text conversion. I think it’s enough for an occasional use. The developers provide a complete access to all the features with no credit card required. The only thing you need is to sign up, you may do this with your Google account just in one click. The premium account isn’t expensive (from $11.25 per month).

To convert a speech file into Word document, follow the steps:

  1. Drag and drop the audio (or video!) file into the browser window from your PC or choose the required file from your Dropbox or Google Drive.
    sonix
  2. While the file is being uploaded, choose the language spoken. Click the big blue button below.
  3.  Reply a few questions about the quality of the audio file (about background noise, etc.). Press Continue trascribing.
  4. Wait a bit while the text file is being prepared. After that, you may review and edit the text.
  5. Download the Word file to your PC, share online or save to your Google Drive.

Summary: Sonix.ai is brilliant for rare audio transcriptions. It provides a decent text quality and is not overloaded with feature. Definitely, a must have for picky users.

4. Inqscribe

Inqscribe is a transcription software for Windows, Mac OS. You can use it free with no license (with limited features) or instantly unlock all the features by purchasing a paid license ($99) or by requesting a 14-day trial.

Apart from audio files, you can also transcribe long video files including full-length movies, there is no time limit in all version. However, with a free one you won’t be able to save and download the resulted text file. Still you may copy the text to the clipboard.

Inscribe

The tool works in the same way as all the above mentioned. You need to add a multimedia file, choose a language and launch the audio to text conversion. InqScribe transcripts contain embedded timecodes that allow instant access to arbitrary times within the media file.

SEE ALSO: 5 Easiest Ways to Add Captions to Video Free and Fast

InqScribe also features a flexible editing environment, QuickTime and Windows Media support, customizable keyboard shortcuts for controlling media playback and inserting repetitive text, and a range of import and export options available in the paid version.

Summary: InqScribe is like a Swiss knife for creating captions and subtitles. You should try the evaluation version if you need to precisely transcribe a long video with further media export.

三款功能不逊于收费软件的开源备份工具,中小企业福音

虽然云计算给中小企业带来了很大便利,但是数据备份这件事情是无论是否上云都必须做的。前不久的腾讯云丢失客户数据事件便是很好的一个提醒。

备份,备份,一定要备份

但是大多数中小企业尤其是初创公司资金都是比较紧张的,那么开源备份软件是很好的选择。其实有的开源备份软件功能强大堪比收费的商业软件。下面就介绍三款比较成熟且知名的。

1、阿曼达AMANDA

Advanced Maryland Automatic Network Disk Archiver 的缩写。它允许系统管理员创建一个单独的备份服务器来将网络上的其他主机的数据备份到磁带驱动器、硬盘等介质上,典型的CS结构,支持对MySQL、Oracle数据库的在线备份。

操作系统:支持跨平台运行。备份级别:完全,差异,增量,合并。数据格式:开放(可以通过tar等工具恢复)。自动转换:支持。备份介质:支持磁带,磁盘和DVD。加密数据流:支持。数据库:支持MSSQL, Oracle。跨卷备份:支持。VSS(卷影复制):支持。许可:GPL, LGPL, Apache, Amanda License。

下载链接:amanda.org

2.Bacula

一个适用于异构网络的CS架构备份工具。

操作系统:支持跨平台运行。备份级别:完全,差异,增量,合并。数据格式:支持自定义且完全开放。自动转换:支持。备份介质:支持磁带,磁盘和DVD。加密数据流:支持。数据库:支持MSSQL、PostgreSQL、Oracle 。跨卷备份:支持VSS(卷影复制):支持。许可:Affero General Public License v3.0。

下载链接:bacula.org

3.Backuppc

可以用来备份基于Linux 和Windows 系统的主服务器硬盘。它配备了一个巧妙的池计划来最大限度的减少磁盘储存、磁盘 I/O 和网络I/O。

操作系统:支持Linux,Unix 和Windows。备份级别:支持完全和增量备份(rsync +hard 链接和pooling 计划)数据格式:开放。自动转换:N/A。备份介质:磁盘和磁盘阵列。加密数据流:支持。数据库:支持(通过Shell 脚本)跨卷备份:未知VSS(卷影复制):未知许可:GPL。

下载链接:backuppc.sourceforge.net

About Us

Since 1996, our company has been focusing on domain name registration, web hosting, server hosting, website construction, e-commerce and other Internet services, and constantly practicing the concept of "providing enterprise-level solutions and providing personalized service support". As a Dell Authorized Solution Provider, we also provide hardware product solutions associated with the company's services.
 

Contact Us

Address: No. 2, Jingwu Road, Zhengzhou City, Henan Province

Phone: 0086-371-63520088 

QQ:76257322

Website: 800188.com

E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.