Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

Java 3GP Codec

Thread view: 
canodabasioglu@gmail.com - 18 Apr 2006 16:20 GMT
Hello, for a MMS-Application I'm trying to show 3gp-files with my Java
app. I heard that it should work with jffmpeg but I still couldn't get
it to work.

I added the following Codec:

String JFFMPEG_VIDEO = "net.sourceforge.jffmpeg.VideoDecoder";
try {
   Codec video = (Codec) Class.forName(JFFMPEG_VIDEO).newInstance();
   PlugInManager.addPlugIn(JFFMPEG_VIDEO,
           video.getSupportedInputFormats(),
           video.getSupportedOutputFormats(null),
           PlugInManager.CODEC);
} catch (Exception e) {
   e.printStackTrace();
}

and then started the player.

It already works for mpg-Videos, but if the file-extension is .3gp the
player throws a
javax.media.NoPlayerException: Cannot find a Player for :
file://C:/can_test.3gp
When I change the file-name to can_test.mpg the player initializes but
doen't show a
picture.

How can I register the 3gp-extension

Thanks

Can Odabasioglu
Bruce Lee - 18 Apr 2006 17:53 GMT
I don't think 3GP is supported

http://jffmpeg.sourceforge.net/formats.html


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.