Comments (2)
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.
Thanks for your clear answer.
from mobile-ffmpeg.
Related Issues (20)
- Android 10: Permission denied HOT 7
- Overlay enable not working in ios FFMPEG 4.4 (tried all versions) HOT 2
- How to APK size Decreased My App is Video to Mp3 Converter and Ringtone Maker (Mp3 Trim) HOT 2
- Unknown encoder 'libx264'
- android LTS build error HOT 1
- can we convert .mp4 to .m3u8 for hls streaming
- Does this allow access to raw video? HOT 1
- UI not changed in main thread.
- dlopen failed: cannot locate symbol "av_rdft_init" crash HOT 9
- [Android] libwebp create animated webp HOT 1
- mediacodec inconsistency - "error while decoding stream" HOT 3
- big sur 11.1 OSX with xcode 12.4 cannot build with --lts option HOT 5
- `undefined reference to 'std::__ndk1::` when trying ffmpeg executable
- Invalid too big or non positive size for width '' or height '' HOT 2
- Unrecognized option 'x265-params' HOT 1
- Unable to find a suitable output format
- Lower IOS_MIN_VERSION for Main releases HOT 8
- Get executionId HOT 2
- [Android] Android 11 compatibility HOT 1
- This project is retired
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobile-ffmpeg.