[FFmpeg-user] Unknown type video file
Reindl Harald
h.reindl at thelounge.net
Wed Oct 21 20:36:21 CEST 2015
Am 21.10.2015 um 18:32 schrieb Virgil Stokes:
> How can one extract the type of video file when it has a name that gives
> no hint as to what type of video file it is (e.g. e45612mj is the name
> of the file)?
> Note, there is no suffix (file extension)
like any other software on any proper opeating system - by just look
into the file
[harry at srv-rhsoft:/downloads]$ file --mime-type test
test: video/x-m4v
[harry at srv-rhsoft:/downloads]$ ffmpeg -i test
ffmpeg version 2.8.1 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4)
configuration: --prefix=/usr/local --bindir=/usr/local/bin
--mandir=/usr/local/man --extra-cflags='-I/usr/local/x264 -m64 -O2 -g0
-march=sandybridge -mtune=sandybridge -fopenmp -mfpmath=sse -pipe
-fno-strict-aliasing -fomit-frame-pointer -finline-functions
-finline-limit=60 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat
-Werror=format-security -Ofast -ffast-math -funsafe-math-optimizations
-funroll-loops -funswitch-loops -Wno-pointer-sign -minline-all-stringops
-flto -fuse-ld=gold -fuse-linker-plugin'
--extra-ldflags='-I/usr/local/x264 -L/usr/local/x264 -ldl -Wl,-z,now
-Wl,-z,relro,-z,noexecstack,-fuse-ld=gold -m64 -O2 -g0
-march=sandybridge -mtune=sandybridge -fopenmp -mfpmath=sse -pipe
-fno-strict-aliasing -fomit-frame-pointer -finline-functions
-finline-limit=60 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat
-Werror=format-security -Ofast -ffast-math -funsafe-math-optimizations
-funroll-loops -funswitch-loops -Wno-pointer-sign -minline-all-stringops
-flto -fuse-ld=gold -fuse-linker-plugin' --enable-pic --enable-lto
--ar=gcc-ar --ranlib=true --enable-nonfree --enable-gpl
--enable-version3 --enable-libmp3lame --enable-libtheora
--enable-libx264 --enable-libvpx --enable-openssl --enable-static
--enable-runtime-cpudetect --enable-bzlib --enable-zlib
--disable-amd3dnow --disable-amd3dnowext --disable-avdevice
--disable-debug --disable-devices --disable-ffplay --disable-ffprobe
--disable-ffserver --disable-htmlpages --disable-hwaccels
--disable-iconv --disable-libdc1394 --disable-libfaac
--disable-libfreetype --disable-libgsm --disable-libopencore-amrnb
--disable-libopencore-amrwb --disable-libopencv --disable-libopenjpeg
--disable-libopus --disable-librtmp --disable-libschroedinger
--disable-libspeex --disable-libvorbis --disable-libxvid
--disable-podpages --disable-postproc --disable-protocol=gopher
--disable-shared --disable-txtpages
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test':
Metadata:
major_brand : M4V
minor_version : 512
compatible_brands: isomiso2avc1
creation_time : 1970-01-01 00:00:00
encoder : Lavf52.31.0
Duration: 00:06:06.16, start: 0.000000, bitrate: 642 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 /
0x31637661), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 512 kb/s, 25 fps, 25
tbr, 25 tbn, 50 tbc (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 127 kb/s (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
At least one output file must be specified
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20151021/4ae0abf8/attachment.sig>
More information about the ffmpeg-user
mailing list