I need to extract the codec properties like bit rate frames resolution file format of video captures from camcorder.
Asked
Active
Viewed 7,047 times
8
-
yes.. after capturing the video i need to retrive the video properties. – RanjitRock Nov 07 '11 at 10:18
4 Answers
2
Check out https://ffmpeg.org/, https://github.com/tanersener/mobile-ffmpeg#22-android
One way would be: ffmpeg -i myfile.mp4

sneusse
- 1,422
- 1
- 10
- 18
1
ffprobe can used to list the properties of streams available in the video.
ffprobe -i <input_file_path> -show_streams
Above command list codec properties such as codec_name, codec_long_name, codec_type etc., of each stream individually.
Refer this stackoverflow answer for more info.
https://github.com/bravobit/FFmpeg-Android - FFMpeg/FFprobe compiled for Android.

Gowtham Nagarajan
- 21
- 5
0
If you consider GStreamer, please see gst-discover-1.0
https://gstreamer.freedesktop.org/documentation/tutorials/basic/gstreamer-tools.html#gstdiscoverer10

IvoryCirrus
- 622
- 1
- 4
- 15
-1
You can using Termux in android for get codec properties of video after recorded.
- Install Termux App GooglePlay
- Install the FFmpeg package Open the Termux app from the launcher. You will be introduced to a console environment. Enter the following command:
pkg install -y ffmpeg
Show codec properties:
ffmpeg -i yourfile

KunMyt
- 32
- 5