[FFmpeg-user] Quicktime reports diiferent width than ffmpeg
HallMarc Websites
marc at hallmarcwebsites.com
Fri Nov 11 18:38:22 CET 2011
> -----Original Message-----
> From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-
> bounces at ffmpeg.org] On Behalf Of Carl Eugen Hoyos
> Sent: Friday, November 11, 2011 11:39 AM
> To: ffmpeg-user at ffmpeg.org
> Subject: Re: [FFmpeg-user] Quicktime reports diiferent width than ffmpeg
>
> HallMarc Websites <marc <at> hallmarcwebsites.com> writes:
>
> > Anyone know why QuickTime would report a different width for an .mov
> > than ffmpeg does?
>
> (Complete, uncut console output missing.)
>
> QuickTime reports the dimension corrected by cropping set in the container
> (mov), the line you are referring to in FFmpeg's output reports the codec
> dimensions that may be different.
> Additionally, FFmpeg does not support cropping set in the mov container;-(
>
> In the case of DAR/SAR, mentioned line still reports the encoded
dimensions
> that may have to be corrected when displayed (if you find bugs, please
> report them), I suppose QuickTime always reports display dimensions.
>
> Carl Eugen
>
Um could you put that into human readable form? Where are you seeing
cropping? QuickTime plays this at the correct ratio 16:9. It is ffmpeg that
is going by the SAR instead of the DAR. So I guess my next question is
should we always follow the ar of the DAR because it is the actual ar of the
video or...?
the whole output :
/$ ffmpeg -i
/home/hallmarc/public_html/wrdp/wp-content/uploads/2011/11/open30_ctm1.mov
-vstats 2>&1
ffmpeg version N-31911-g1a34478, Copyright (c) 2000-2011 the FFmpeg
developers
built on Aug 15 2011 17:30:02 with gcc 4.1.2 20080704 (Red Hat 4.1.2-50)
configuration: --prefix=/usr/local/hgffmpeg --enable-shared
--enable-nonfree --enable-avfilter --enable-filter=movie --enable-gpl
--enable-pthreads --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis
--enable-libx264 --enable-x11grab --enable-libvpx --enable-libxvid
--extra-cflags=-I/usr/local/hgffmpeg/include/
--extra-ldflags=-L/usr/local/hgffmpeg/lib --enable-decoder=ac3
--enable-decoder=asv1 --enable-decoder=asv2 --enable-decoder=flac
--enable-decoder=wmv1 --enable-decoder=wmv2 --enable-decoder=wmv3
--enable-decoder=mpeg1video --enable-decoder=mpeg2video --enable-decoder=flv
--enable-decoder=fraps --enable-decoder=h263 --enable-decoder=h264
--enable-decoder=libgsm --enable-decoder=mjpeg --enable-decoder=mpeg4
--enable-decoder=mpeg4aac --enable-decoder=mpegvideo
--enable-decoder=mpeg4aac --enable-decoder=msmpeg4v1
--enable-decoder=msmpeg4v2 --enable-decoder=msmpeg4v3
--enable-decoder=pcm_alaw --enable-decoder=pcm_mulaw --enable-encoder=ac3
--enable-encoder=asv1 --enable-encoder=asv2 --enable-encoder=flac
--enable-encoder=h263 --enable-encoder=flashsv --enable-encoder=flv
--enable-encoder=libgsm --enable-encoder=mjpeg --enable-encoder=msmpeg4v3
--enable-encoder=pcm_alaw --enable-encoder=pcm_mulaw
--enable-encoder=mpeg1video --enable-encoder=mpeg2video
--enable-encoder=mpeg4 --enable-encoder=msmpeg4v1 --enable-encoder=msmpeg4v2
--enable-encoder=rv10 --enable-encoder=rv20 --enable-encoder=vorbis
--enable-encoder=wmav1 --enable-encoder=wmav2 --enable-encoder=wmv1
--enable-encoder=wmv2 --disable-demuxer=v4l --disable-demuxer=v4l2
--enable-version3 --disable-decoder=vp8
libavutil 51. 12. 0 / 51. 12. 0
libavcodec 53. 10. 0 / 53. 10. 0
libavformat 53. 7. 0 / 53. 7. 0
libavdevice 53. 3. 0 / 53. 3. 0
libavfilter 2. 31. 1 / 2. 31. 1
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 0 codec frame rate differs from container frame rate: 29954.00
(29954/1) -> 29.95 (14977/500)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/home/hallmarc/public_html/wrdp/wp-content/uploads/2011/11/open30_ctm1.mov'
:
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2008-03-11 17:40:41
encoder : Sorenson Squeeze
encoder-eng : Sorenson Squeeze
Duration: 00:00:30.45, start: 0.000000, bitrate: 1709 kb/s
Stream #0.0(eng): Video: svq3, yuvj420p, 648x486, 1577 kb/s, SAR
43185:32768 DAR 14395:8192, 29.91 fps, 29.95 tbr, 29954 tbn, 29954 tbc
Metadata:
creation_time : 2008-03-11 17:40:41
Stream #0.1(eng): Audio: mp3, 44100 Hz, 1 channels, s16, 128 kb/s
Metadata:
creation_time : 2008-03-11 17:40:41
At least one output file must be specified
/$ ffmpeg -i
/home/hallmarc/public_html/wrdp/wp-content/uploads/2011/11/open30_ctm1.mov
-vstats 2>&1
ffmpeg version N-31911-g1a34478, Copyright (c) 2000-2011 the FFmpeg
developers
built on Aug 15 2011 17:30:02 with gcc 4.1.2 20080704 (Red Hat 4.1.2-50)
configuration: --prefix=/usr/local/hgffmpeg --enable-shared
--enable-nonfree --enable-avfilter --enable-filter=movie --enable-gpl
--enable-pthreads --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis
--enable-libx264 --enable-x11grab --enable-libvpx --enable-libxvid
--extra-cflags=-I/usr/local/hgffmpeg/include/
--extra-ldflags=-L/usr/local/hgffmpeg/lib --enable-decoder=ac3
--enable-decoder=asv1 --enable-decoder=asv2 --enable-decoder=flac
--enable-decoder=wmv1 --enable-decoder=wmv2 --enable-decoder=wmv3
--enable-decoder=mpeg1video --enable-decoder=mpeg2video --enable-decoder=flv
--enable-decoder=fraps --enable-decoder=h263 --enable-decoder=h264
--enable-decoder=libgsm --enable-decoder=mjpeg --enable-decoder=mpeg4
--enable-decoder=mpeg4aac --enable-decoder=mpegvideo
--enable-decoder=mpeg4aac --enable-decoder=msmpeg4v1
--enable-decoder=msmpeg4v2 --enable-decoder=msmpeg4v3
--enable-decoder=pcm_alaw --enable-decoder=pcm_mulaw --enable-encoder=ac3
--enable-encoder=asv1 --enable-encoder=asv2 --enable-encoder=flac
--enable-encoder=h263 --enable-encoder=flashsv --enable-encoder=flv
--enable-encoder=libgsm --enable-encoder=mjpeg --enable-encoder=msmpeg4v3
--enable-encoder=pcm_alaw --enable-encoder=pcm_mulaw
--enable-encoder=mpeg1video --enable-encoder=mpeg2video
--enable-encoder=mpeg4 --enable-encoder=msmpeg4v1 --enable-encoder=msmpeg4v2
--enable-encoder=rv10 --enable-encoder=rv20 --enable-encoder=vorbis
--enable-encoder=wmav1 --enable-encoder=wmav2 --enable-encoder=wmv1
--enable-encoder=wmv2 --disable-demuxer=v4l --disable-demuxer=v4l2
--enable-version3 --disable-decoder=vp8
libavutil 51. 12. 0 / 51. 12. 0
libavcodec 53. 10. 0 / 53. 10. 0
libavformat 53. 7. 0 / 53. 7. 0
libavdevice 53. 3. 0 / 53. 3. 0
libavfilter 2. 31. 1 / 2. 31. 1
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 0 codec frame rate differs from container frame rate: 29954.00
(29954/1) -> 29.95 (14977/500)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/home/hallmarc/public_html/wrdp/wp-content/uploads/2011/11/open30_ctm1.mov'
:
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2008-03-11 17:40:41
encoder : Sorenson Squeeze
encoder-eng : Sorenson Squeeze
Duration: 00:00:30.45, start: 0.000000, bitrate: 1709 kb/s
Stream #0.0(eng): Video: svq3, yuvj420p, 648x486, 1577 kb/s, SAR
43185:32768 DAR 14395:8192, 29.91 fps, 29.95 tbr, 29954 tbn, 29954 tbc
Metadata:
creation_time : 2008-03-11 17:40:41
Stream #0.1(eng): Audio: mp3, 44100 Hz, 1 channels, s16, 128 kb/s
Metadata:
creation_time : 2008-03-11 17:40:41
More information about the ffmpeg-user
mailing list