[FFmpeg-user] Webm Wrong Displaysize
Mathieu Goutfreind
mathieu_g1 at gmx.fr
Tue Jun 14 02:57:46 CEST 2011
Le Mon, 13 Jun 2011 12:54:06 -0800,
Lou <lou at lrcd.com> a écrit :
> On Mon, 13 Jun 2011 18:47:14 +0200
> Mathieu Goutfreind <mathieu_g1 at gmx.fr> wrote:
>
> > Hello,
> >
> > I've got a small problem with webm.
> > Using ffmpeg the displaysize is incorrect.
>
> What size are you expecting?
The expected size was something like 720x576 but it's not usable for
webm, cause it's not 16:9 nor 4:3 and it seems it can't handle it well.
But that's my fault, I should have scaled it.
I've solved it now thanks to Fabian Lesniak.
>
> > Have you got a clue ?
>
> Before trying a bunch of suggested commands you should see if recent
> FFmpeg and libvpx work as expected. FFmpeg SVN-r25767 is nearly 7
> months old and I'm not sure how old your libvpx is. Development is
> active in both projects and you may be experiencing a bug that has
> already been fixed.
>
I agree it's an old version but Gentoo GNU/Linux haven't a more recent
version in the stable tree.
Maybe I will compile a recent version later and help the gentoo
maintainer.
Thank you for your mail.
> > Regards
> >
> > Command used :
> > #ffmpeg -i M2U00008.MPG -threads 4 -f webm -vcodec libvpx
> > -deinterlace -sameq -acodec libvorbis -alang fr -aq 90 -ac 2 -ab
> > 160k -y M2U00008.webm
> >
> > FFmpeg version SVN-r25767, Copyright (c) 2000-2010 the FFmpeg
> > developers built on Jun 11 2011 20:21:36 with gcc 4.4.5
> > configuration: --prefix=/usr --libdir=/usr/lib64
> > --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared
> > --cc=x86_64-pc-linux-gnu-gcc --disable-static --enable-gpl
> > --enable-version3 --enable-postproc --enable-avfilter
> > --disable-stripping --disable-debug --disable-doc --disable-network
> > --disable-vaapi --disable-vdpau --enable-libmp3lame
> > --enable-libtheora --enable-libvorbis --enable-libx264
> > --enable-libfaac --enable-nonfree --disable-indev=v4l
> > --disable-indev=v4l2 --disable-indev=oss --disable-indev=jack
> > --enable-x11grab --disable-outdev=oss --enable-pthreads
> > --enable-libgsm --enable-libdirac --enable-libspeex --enable-libvpx
> > --enable-libopenjpeg --disable-altivec --enable-hardcoded-tables
> > libavutil 50.33. 0 / 50.33. 0 libavcore 0.13. 0 / 0.13. 0
> > libavcodec 52.96. 0 / 52.96. 0 libavformat 52.84. 0 / 52.84. 0
> > libavdevice 52. 2. 2 / 52. 2. 2 libavfilter 1.62. 0 / 1.62. 0
> > libswscale 0.12. 0 / 0.12. 0 libpostproc 51. 2. 0 / 51. 2. 0
> > Input #0, mpeg, from 'M2U00008.MPG': Duration: 00:03:58.55, start:
> > 0.072389, bitrate: 9624 kb/s Stream #0.0[0x1e0]: Video: mpeg2video,
> > yuv420p, 720x576 [PAR 64:45 DAR 16:9], 9100 kb/s, 25 fps, 25 tbr,
> > 90k tbn, 50 tbc Stream #0.1[0x80]: Audio: ac3, 48000 Hz, 5.1, s16,
> > 448 kb/s [buffer @ 0x28c8280] w:720 h:576 pixfmt:yuv420p [scale @
> > 0x28c0f30] w:720 h:576 fmt:yuv420p -> w:768 h:576 fmt:yuv420p
> > flags:0xa0000004 [libvpx @ 0x23a4090] v0.9.5 Output #0, webm, to
> > 'M2U00008.webm': Metadata: encoder : Lavf52.84.0 Stream
> > #0.0: Video: libvpx, yuv420p, 768x576 [PAR 4:3 DAR 16:9], q=2-31,
> > 200 kb/s, 1k tbn, 25 tbc Stream #0.1(fr): Audio: libvorbis, 48000
> > Hz, 2 channels, s16, 160 kb/s Stream mapping: Stream #0.0 -> #0.0
> > Stream #0.1 -> #0.1
> >
> > # mkvinfo M2U00008.webm
> > + EBML head
> > |+ EBML version: 1
> > |+ EBML read version: 1
> > |+ EBML maximum ID length: 4
> > |+ EBML maximum size length: 8
> > |+ Doc type: webm
> > |+ Doc type version: 2
> > |+ Doc type read version: 2
> > + Segment, size 23370077
> > |+ Seek head (subentries will be skipped)
> > |+ EbmlVoid (size: 162)
> > |+ Segment information
> > | + Timecode scale: 1000000
> > | + Muxing application: Lavf52.84.0
> > | + Writing application: Lavf52.84.0
> > | + Segment UID: 0xe8 0x37 0x5c 0x8a 0xb7 0xae 0x41 0x57 0x4f 0xc3
> > 0x1b 0xe6 0x8f 0xdc 0xf7 0x00 | + Duration: 106.480s (00:01:46.480)
> > |+ Segment tracks
> > | + A track
> > | + Track number: 1
> > | + Track UID: 1
> > | + Lacing flag: 0
> > | + Language: und
> > | + Codec ID: V_VP8
> > | + Track type: video
> > | + Default duration: 40.000ms (25.000 fps for a video track)
> > | + Video track
> > | + Pixel width: 768
> > | + Pixel height: 576
> > | + Display width: 1024
> > | + Display height: 576
> > | + Display unit: 3
> > | + A track
> > | + Track number: 2
> > | + Track UID: 2
> > | + Lacing flag: 0
> > | + Language: fr
> > | + Codec ID: A_VORBIS
> > | + Track type: audio
> > | + Audio track
> > | + Channels: 2
> > | + Sampling frequency: 48000
> > | + Bit depth: 16
> > | + CodecPrivate, length 4022
> > |+ Cluster
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
More information about the ffmpeg-user
mailing list