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 3673470
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:44:15+00:00 2026-05-19T02:44:15+00:00

running a = `ffmpeg -i video.mp4` does not seem to give the output of

  • 0

running

a = `ffmpeg -i video.mp4`

does not seem to give the output of the command into a… Why is that? how do override it?

  • 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-19T02:44:15+00:00Added an answer on May 19, 2026 at 2:44 am

    Quick answer:

    a = `ffmpeg -i video.mp4 2>&1`
    

    Detailed answer:

    When I ran ffmpeg -i blah.avi on a handy file, I noticed that none of its output when out to standard out; instead, all the output when to standard error. You can check yourself at the shell by running:

    ffmpeg -i video.mp4 > /tmp/standard_out 2> /tmp/standard_error
    

    Then look at both /tmp/standard_out and /tmp/standard_error. You’ll see which one is which quickly. You can quickly ‘fix’ this by using ffmpeg -i video.mp4 2>&1 in your script, which will ask the shell to redirect stderr along with stdout. You won’t be able to tell the difference between stderr and stdout, but you can get the output you ‘see’ easily enough.

    You’ll have to use popen3 if you want to keep stdout and stderr separate.

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

Sidebar

Related Questions

I would like to run the specific commandline application: ffmpeg -i video.mp4 audio.mp3 I'm
I have just started using ffmpeg for splitting up a video into images. What
I'm writing a paperclip processor that class ffmpeg using the Paperclip.run command. Currently, that
I'm running the ffmpeg command within PHP's shell_exec() to convert several videos in a
Examples of ffmpeg that I've seen so far all seem to accept a file
I am running ffmpeg.exe from command prompt through asp.net code . Is there any
Running into a problem. I have a table defined to hold the values of
Running the command generates new rails projects: $ rails generate controller home index The
I am trying to convert a flv video to mp4 using a264 , but
I'm running Max OS 10.7, MAMP (PHP 5.3.6), with FFMPEG installed. I want to

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.