Giter Site home page Giter Site logo

Comments (2)

tanersener avatar tanersener commented on August 27, 2024

ffmpeg itself does not have a special command to get file information, but when a file is provided as an input (with -i flag), it prints file information of that input file to the configured log output.

Additionally, according to ffmpeg command rules each command must specify at least one output file, therefore running ffmpeg -i <path> terminates with rc=1, because there is not any output files specified. Also command output displays an error message, At least one output file must be specified telling why it has terminated with rc=1.

You are not doing anything wrong, you just need to look into command output. It will have a similar output as below:

[theora @ 0x7f2f5bbe9100] 
    7 bits left in packet 82
    [ogg @ 0x7f2f5984ce00] 
Broken file, keyframe not correctly marked.
    Input #0, ogg, from 'https://download.blender.org/peach/trailer/trailer_400p.ogg':
      Duration: 
    00:00:33.00
    , start: 
    0.000000
    , bitrate: 
1057 kb/s
        Stream #0:0
    : Video: theora, yuv420p(bt470bg/bt470bg/bt709), 720x400
    , 
    25 fps, 
    25 tbr, 
    25 tbn, 
    25 tbc
    Metadata:
          ENCODER         : 
    ffmpeg2theora 0.19
        Stream #0:1
: Audio: vorbis, 48000 Hz, stereo, fltp, 80 kb/s
        Metadata:
          ENCODER         : 
ffmpeg2theora 0.19
    At least one output file must be specified

from mobile-ffmpeg.

suncj518 avatar suncj518 commented on August 27, 2024

Thanks for your clear answer.

from mobile-ffmpeg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.