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

  • Home
  • SEARCH
  • 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 6043345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:53:25+00:00 2026-05-23T06:53:25+00:00

I am merging two files using FFMPEG command in java. I want to show

  • 0

I am merging two files using FFMPEG command in java. I want to show a progressbar for the conversion process. How can I achieve this.

FFMpeg Command:

ffmpeg -i audioFile -i videoFile -sameq -vcodec libx264 -r10 -ar 44100 -y -async 1 -crf 30 -b 500K outputFile

I am using ProcessBuilder to execute this command in a separate thread. Everything is working fine. Now I just want to show the progressbar for this process.

Could someone please guide me on this.

Thanks.

  • 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-23T06:53:26+00:00Added an answer on May 23, 2026 at 6:53 am

    Expanding on what you can find here: Can ffmpeg show a progress bar?

    You should use process.getErrorStream() to get the stream and read in the progress information. When ever you see a progress message, you can make the respective change to your progress bar.

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

Sidebar

Related Questions

Is Mercurial always using the external merge tools when two branches that are merging
I am doing some custom audio post-processing using audio units. I have two files
I have problem merging two XML files. I loaded both files into two objects,
I'm having trouble merging two PDF files with pyPdf. When I run the following
How would one go about merging these two .htaccess files? I keep triggering 500
When merging two code branches in Team Foundation Server I get the following error:
I had a problem with committing changes after merging two branches of my project
I work on a large project in Delphi 5. Today, after merging two branches
I have two medium-sized web applications that I'm merging into one. They are both
Is there a difference (performance, overhead) between these two ways of merging data sets?

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.