Hello, all. Can ffmpeg detect the exact file format, except AVI and ASF? Because MOV, MP4 and 3GP video files have same line in FFmpeg info: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '<filename.(3gp|mp4|mov)>' It is possible using ffmpeg? Thanks. P.S. I know, I don't forget... Here is my ffmpeg. FFmpeg version SVN-r10650, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-memalign-hack --enable-libmp3lame --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-gpl --extra-ldflags=-L/usr/home/libs --extra-cflags=-I/usr/home/include libavutil version: 49.5.0 libavcodec version: 51.44.0 libavformat version: 51.14.0 built on Oct 19 2007 16:27:22, gcc: 3.4.5 (mingw special) -- Andrey Fursenko
Hi, Andrey Fursenko wrote:
Hello, all.
Can ffmpeg detect the exact file format, except AVI and ASF?
Because MOV, MP4 and 3GP video files have same line in FFmpeg info:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '<filename.(3gp|mp4|mov)>'
it is the same container, that's why it is detected as a unique format.
It is possible using ffmpeg?
Thanks.
P.S. I know, I don't forget... Here is my ffmpeg. FFmpeg version SVN-r10650, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-memalign-hack --enable-libmp3lame --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-gpl --extra-ldflags=-L/usr/home/libs --extra-cflags=-I/usr/home/include libavutil version: 49.5.0 libavcodec version: 51.44.0 libavformat version: 51.14.0 built on Oct 19 2007 16:27:22, gcc: 3.4.5 (mingw special)
-- Ben Purple Labs S.A. www.purplelabs.com
On Wed, Oct 31, 2007 at 09:33:19AM +0200, Andrey Fursenko wrote:
Hello, all.
Can ffmpeg detect the exact file format, except AVI and ASF?
Of course.
Because MOV, MP4 and 3GP video files have same line in FFmpeg info:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '<filename.(3gp|mp4|mov)>'
These are all different names for the exact same format. Rich
Hello, Rich. You wrote 31 ??????? 2007 ?., 18:18:43:
On Wed, Oct 31, 2007 at 09:33:19AM +0200, Andrey Fursenko wrote:
Hello, all.
Can ffmpeg detect the exact file format, except AVI and ASF?
Of course.
Because MOV, MP4 and 3GP video files have same line in FFmpeg info:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '<filename.(3gp|mp4|mov)>'
These are all different names for the exact same format.
But why they have very different headers from? (taked from the beginning of the file) 3GP: ftyp3gp4 3gp43gp5isom MP4: ftypmp42 mp42isom MOV: ftypqt qt And why many another video/media programs detect them as different format? I think this would be useful for more users.
Rich _______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
-- Andrey Fursenko
Hello, AF:=Andrey Fursenko AF> Hello, Rich. AF> AF> You wrote 31 ??????? 2007 ?., 18:18:43: AF> AF> > On Wed, Oct 31, 2007 at 09:33:19AM +0200, Andrey Fursenko wrote: AF> >> Hello, all. AF> >> AF> >> Can ffmpeg detect the exact file format, except AVI and ASF? AF> AF> > Of course. AF> AF> >> Because MOV, MP4 and 3GP video files have same line in FFmpeg info: AF> >> AF> >> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '<filename.(3gp|mp4|mov)>' AF> AF> > These are all different names for the exact same format. AF> AF> But why they have very different headers from? AF> (taked from the beginning of the file) AF> 3GP: ftyp3gp4 3gp43gp5isom AF> MP4: ftypmp42 mp42isom AF> MOV: ftypqt qt AF> AF> And why many another video/media programs detect them as different AF> format? and these other programs are correct... because a QuickTime File Format is not *exactly* like the ISO standard File Format adopted by MPEG-4 (or 3GP or Motion JPEG2, other ISO standard File Formats). this is more of a *feature* of ffmpeg that bundles everything together (a bit like saying humans and chimps are the same because they share more than 99% of the same DNA). AF> AF> I think this would be useful for more users. AF> indeed it would. cheers, andrea -- Andrea Barbieri Moving Image Research http://www.movingimageresearch.com/ The Workshop, Hampton Lane, Bristol, BS6 6LE, UK Tel: +44 117 9732200 FAX: +44 117 9732210 PGP ID=0x034DFD5A KeyFingerprint=C168EA9A7189538D214F1281A7529F32034DFD5A
participants (4)
-
andrea.barbieri@movingimageresearch.com -
Andrey.Fursenko@umm.com.ua -
benoit.fouet@purplelabs.com -
dalias@aerifal.cx