[FFmpeg-user] Quantizer Matrix
Thierry Foucu
tfoucu at gmail.com
Tue Aug 16 08:15:15 CEST 2011
On Mon, Aug 15, 2011 at 9:09 PM, J A Stephen Viggiano <
jasv at acolyte-color.com> wrote:
> Sorry if this is answered somewhere; I checked the man page, all the online
> documentation I could, and this list back to the Big Scism of 2011....
>
> How do I get ffmpeg to use the MPEG quantizer? When use mediainfo to
> examine a video encoded using the xvid video coder (-vcodec libxvid) or the
> asp default (-acodec mpeg4), it tells me (among many other things) that the
> h.263 "matrix" was used; see below (sorry if this should go into pastebin
> instead).
>
> Assuming the mediainfo tool is correct, is there any way to specify the
> quantization method, such as to employ the MPEG matrices?
>
> Thank you!
>
>
try adding -mpeg_quant in the command line
==============================**==
> > ffmpeg -i ed_hd.ogv -vcodec mpeg4 -qscale 4 -acodec copy -t 10 sample.avi
> ffmpeg version 0.8.1, Copyright (c) 2000-2011 the FFmpeg developers
> built on Jul 28 2011 23:08:02 with gcc 4.5.0 20100604 [gcc-4_5-branch
> revision 160292]
> configuration: --shlibdir=/usr/lib --prefix=/usr --mandir=/usr/share/man
> --libdir=/usr/lib --enable-shared --disable-static --enable-libmp3lame
> --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libxvid
> --enable-postproc --enable-gpl --enable-x11grab
> --extra-cflags='-fomit-frame-**pointer -fmessage-length=0 -O2 -Wall
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/usr/include/gsm' --enable-debug --disable-stripping --enable-libgsm
> --enable-libschroedinger --enable-libdirac --enable-avfilter --enable-libvpx
> --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libx264 --enable-libdc1394 --enable-pthreads --enable-librtmp
> libavutil 51. 9. 1 / 51. 9. 1
> libavcodec 53. 7. 0 / 53. 7. 0
> libavformat 53. 4. 0 / 53. 4. 0
> libavdevice 53. 1. 1 / 53. 1. 1
> libavfilter 2. 23. 0 / 2. 23. 0
> libswscale 2. 0. 0 / 2. 0. 0
> libpostproc 51. 2. 0 / 51. 2. 0
> [theora @ 0x807da60] 7 bits left in packet 82
> Input #0, ogg, from 'ed_hd.ogv':
> Duration: 00:10:53.78, start: 0.000000, bitrate: 558 kb/s
> Stream #0.0: Video: theora, yuv420p, 544x304, 24 fps, 24 tbr, 24 tbn, 24
> tbc
> Stream #0.1: Audio: vorbis, 44100 Hz, stereo, s16
> Metadata:
> TITLE : Elephants Dream
> ARTIST : Bassam Kurdali
> LICENSE : http://creativecommons.org/**licenses/by/3.0/us/<http://creativecommons.org/licenses/by/3.0/us/>
> DATE : 2006
> ORGANIZATION : Orange Open Movie Project Studio
> LOCATION : http://www.archive.org/**details/ElephantsDream<http://www.archive.org/details/ElephantsDream>
> [buffer @ 0x821c600] w:544 h:304 pixfmt:yuv420p tb:1/1000000 sar:0/1
> sws_param:
> [theora @ 0x807da60] 7 bits left in packet 82
> Output #0, avi, to 'sample.avi':
> Metadata:
> ISFT : Lavf53.4.0
> Stream #0.0: Video: mpeg4, yuv420p, 544x304, q=2-31, 200 kb/s, 24 tbn,
> 24 tbc
> Stream #0.1: Audio: libvorbis, 44100 Hz, stereo
> Metadata:
> TITLE : Elephants Dream
> ARTIST : Bassam Kurdali
> LICENSE : http://creativecommons.org/**licenses/by/3.0/us/<http://creativecommons.org/licenses/by/3.0/us/>
> DATE : 2006
> ORGANIZATION : Orange Open Movie Project Studio
> LOCATION : http://www.archive.org/**details/ElephantsDream<http://www.archive.org/details/ElephantsDream>
> Stream mapping:
> Stream #0.0 -> #0.0
> Stream #0.1 -> #0.1
> Press [q] to stop, [?] for help
> frame= 240 fps=214 q=4.0 Lsize= 631kB time=00:00:10.00 bitrate=
> 516.6kbits/s
> video:552kB audio:39kB global headers:0kB muxing overhead 6.610288%
>
> > mediainfo --Inform='Video;%Format_**Settings_Matrix/String%' sample.avi
> Default (H.263)
>
> ______________________________**_________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/**listinfo/ffmpeg-user<http://ffmpeg.org/mailman/listinfo/ffmpeg-user>
>
More information about the ffmpeg-user
mailing list