Video file conversion with Windows batch file

Recently I had encountered with a video problem and solved it, so thought why not to share this with my readers. This may be very useful for some of you.

Problem: Received one video file in AVI format. Need to do editing as instructed. Video plays fine in VLC player. Actually this video is captured with a hand held camera. So my first thought was how come the video format is in AVI? AVI is uncompressed format and hand held camera generally generate MOV format. I tried to open provided AVI format in Adobe Premier CS5.5….for my surprise it’s failed. I was only getting audio symbol in my Adobe Premier project ??? I tried everything to import and run this file in Adobe Premier  and even in Adobe Auditions etc. but no success. I checked and found that may be this is due to some missing codec or somebody during conversion of AVI done something wrong? Now the problem is if you can’t open this file in any software how can you convert it into another format? I can’t ask client to provide me new file because project had very tight deadline, crucial at that time. Anyhow I need to solve the problem and provide edited video to client next morning.

Solution: I checked internet resources and forums, and found a solution which is worth to share with you. When you are not able to open this AVI in any software than how can you convert it in other format? Yes simple, this will work for Windows users only. Remember this will use VLC so not to forget to install VLC in your system (If that is not already install). Now just open a notepad file, and write this code in it:

@ECHO OFF

for %%a in (*.avi) do “C:\Program Files (x86)\VideoLAN\VLC\vlc” -I dummy “%%a” –sout=#:file{dst=”%%~na”.mp4} vlc://quit

Now save this notepad file with name “avi2mp4.bat” in same location where your video file is located. Notepad file icon gets changed into BAT(Windows batch) file icon. Now drag your AVI video file on to this newly created BAT file. You are done J…Now your AVI file converted into MP4 as mentioned in BAT file script. Remember it’s a simple solution but every time you convert files into MP4 you need to compromise with quality a little. It create generation loss for your video file. Instead of drag and drop you can just double click the BAT file, it will convert all AVI files present in that folder to MP4.

Hope this will helpful for you people…

Keep visiting this site for more information J Have a nice day.

Special Fx: VisionLab Studio

Filmmaking is not an easy task; it requires creativity and technical expertise. When you want to use some special effects in your movie/film or project etc. it requires lots of knowledge of difficult software’s (which are costly too), as well as their complicated interfaces.

If you had face the same situations anytime during your projects than here is a solution for you and that is ‘VisionLab Studio’ from Fxhome. You can get more details about this and other product on http://fxhome.com/. VisionLab Studio is all-in-one toolkit for visual effects, compositing and color grading. Other products by FXhome is ‘EffectsLab Pro’, which is used for advanced visual effects for low-budget filmmaking; ‘PhotoKey’, which is helpful to discover the creative possibilities of green screen photography; ‘VideoWrap’, which convert your video for iPods, mobile phones, YouTubes and more.

In this article we discussed about VisionLab Studio, with very easy to use interface and preconfigured effects library, VisionLab Studio makes endless possibility for your creativity.

Keying: VisionLab Studio has a wide variety of versatile keying abilities. As you were aware that keying is a technical feature, which is used to developed special effects scene from greenscreen video to photos and CGI.

Particles: You can create many effects such as weather, smoke, and fire and fantasy visuals with very sophisticated particle system.

Grade: Color grading for your movie or project is available in an easy way. You can use filters like bleach bypass, day for night and multicolorize.

Muzzles: Muzzles flashes are basically used for historical, modern and futuristic weapons. These flashes you can rotate in 3D with full control on each feature

 

Software screenshot
Software screenshot

 

Lightning: You can create good effects of lightning as well as effects for magical and sci-fi effects.

Optics: This feature helps to generate lens flares and lightning, which will be enhance the overall look of the scene.

Mask: With the freehand shapes you can mask any complicated areas for effects. This makes tidying composites garbage matting, simulating depth, layer interaction and area-specific grading quick and easy.

Neon Light: This feature gives you the power to develop Star Wars sword effects. With freehand tool you can directly draw shapes on the video that is very easy to work.

Compatible:  VisionLab Studio is compatible with other software’s such as Apple Final Cut Pro and Adobe Premiere.

Lots of helpful tutorial videos are available on the Fxhome website, which helps you to learn this product.

Share via