Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1058039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:57:47+00:00 2026-05-16T17:57:47+00:00

I wanna convert .MOV extentioned files to 3GP extentioned Files in java. Currently i

  • 0

I wanna convert “.MOV” extentioned files to 3GP extentioned Files in java. Currently i m using Java Media Framework for creation opetion of .MOV file. But now my need is converting these videos to 3GP. I googled my issue but i couldnt get any solution. How can i do this? Any help will be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T17:57:48+00:00Added an answer on May 16, 2026 at 5:57 pm

    I suggest that you use xuggler (java wrapper library for ffmpeg). With their bundled ffmpeg you can test one of your videos with this command.

    ffmpeg -i input.mov -acodec libamr_nb -ar 8000 -b 120000 -vcodec h263 -ab 10.2k -ac 1 output.3gp
    


    Here is a simple class you can use with xuggler

    public class AnyMediaConverter {
        public void main(String[] args) {
            //assumes the following: arg0 is input file and arg1 is output file
            IMediaReader reader = ToolFactory.makeReader(args[0]);
            IMediaWriter writer = ToolFactory.makeWriter(args[1], reader);
            writer.open();
            writer.setForceInterleave(true);
            IContainerFormat outFormat = IContainerFormat.make();
            outFormat.setOutputFormat("3gp", args[1], null);
            IContainer container = writer.getContainer();
            container.open(args[1], IContainer.Type.WRITE, outFormat);
            writer.addVideoStream(0, 0, ICodec.findEncodingCodecByName("h263"), 320, 240);
            writer.addAudioStream(1, 0, ICodec.findEncodingCodecByName("libamr_nb"), 1, 8000);
            reader.addListener(writer);
            while (reader.readPacket() == null);
        }
    }
    


    If your source audio sample rate and channels are not equal you will need to add an audio resampler (also ez to do with xuggler)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a beginner for Perl and CPAN Modules I wanna convert a xml file
By using XML API, I got date-time as 2008-02-05T12:50:00Z . Now I wanna convert
The customer wanna preview mpp content without open Project Professional.So I decide to convert
I wanna build a gallery, but the my problem is how to load the
i wanna creat a website for downloading some files (pdf,word,xls, such as these files),
I wanna upload/update file by System.IO.FileStream in Google Documents List API(C#)? I use two
I wanna use powershell to get all the file in sharepoint library EM_DOC_LIBRARY and
I wanna run selenium tests from TeamCity using Maven at Linux server without display.
I wanna programmatically convert an integer in the range 1-12 to corresponding month name.
I am tring to convert an array to string, than wanna change some chracters

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.