. Net code obfuscation to learn and solve the. wmv Conversion error in batch video Conversion

Source: Internet
Author: User

Now I will give a general summary of my daily work. In the morning, I will mainly study the official documents and instances of ArcGIS API for flex 1.3, whether the version is 1.2 or 1.3, previously, I had a superficial understanding of ArcGIS flex APIs. I just learned a little from the official example, because I didn't see the document or have fewer practical opportunities, so I took a lot of detours. Shortcuts exist. Read the official documentation to learn more about using ArcGIS flex APIs.

In the afternoon, I also read the documents and examples and followed and learned about. net.ProgramOfCodeObfuscation, mainlySpdevelop obfuscators (. NET version) and vs built-in obfuscators dotfuscator community Edition(Tool ---> dotfuscator community edition ). Spdevelop obfuscation software does not confuse the default public members or classes. Dotfuscator community edition is much more powerful than spdevelop. For more information, see its built-in help documentation.

The problem of. wmv Conversion error in batch conversion of videos is solved.

Problem description: ffmpeg.exe cannot convert the. WMV Format File to FLV, And the exported file size is 0.

Cause: I have been proposing to solve the WMV Conversion error for a long time. Why has it been so late today? Supports conversion from WMA to FLV. So I think conversion errors are accidental. Today, I used a new. WMV format for testing and encountered an error! I began to look up the information and found“Wma9format to be converted using mencoder.exe ", wma9 format ??!I was shocked to find that:There are only two types of original. wmafiles. wmv9is the new format, and ffmpeg.exe does not support videos in this format.

Solution: (proposed before the preliminary test phase)

1. Although all video files are. WMV files, but the internal encoding is different, can you determine the. WMV file format first, and then decide whether to use FFMPEG or mencoder conversion.

2.only. wmvvideo file system named mencoder.exe to process the conversion.

New problems occurred during implementation:

1.I didn't find any information about how to determine the encoding of the WMA video. What should I do if I cannot determine the encoding in advance?

2A. wmv9 encoded video can be converted using mencoder, which has better results. However, the original WMV Video Encoding method cannot be converted normally, resulting in a large loss of data volume (even if I increase the sampling rate). The exported file is 1/100 of the original, and the video quality is poor .. The original WMV encoding method can be converted to FLV efficiently and with high quality using FFMPEG.

New ideas: (have both fish and bear's paw ?!)

Reconvert the file.

After my tests, this idea has been proved feasible and the effect is good! Netizens who are interested in this ideaArticleBytes.

Welcome to provide new and better ideas, or know "how to determine the WMA video encoding method", and share with me ......

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.