ffmpeg library loaded in visual studion 2010 with h263 Encode/Decode code

I am an amateur  started browsing the field of Media Encode/Decode recently.Creation of RTP was also my need.I search the net whole lot of day and not able to find any good tutorial about how to load ffmpeg in a Visual Studio Project. So I started my work in these area.And also the little bit analysis and playing with  ffmpeg was my new interest.

In my post I will describe how to encode RGB to h263 of YUV420 and decode YUV420 to RGB.

Here I am providing an exe solution with ffmpeg loaded.Anyone can build use Just by clicking solution file in MVC-2010.

  ffmpeg loaded in MVC C++ solution


Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.


C:\>cd jdk1.7.0_03/bin

C:\jdk1.7.0_03\bin>javac Main.java

C:\jdk1.7.0_03\bin>java Main
Exception in thread "main" java.lang.NoClassDefFoundError: Main (wrong name: Mes
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:476)

i had above error when i run server code.. plz tell me how to remove the above exception..


plzz give me reply as soon as possible... [lz its very urgent


Post a Comment