Opened 6 years ago

Last modified 6 years ago

#7189 new defect

AV1 missing bitrate control

Reported by: AlexisMay Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: libaom
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I am trying to convert video to av1 codec with bitrate of 1 megabyte but I get 60kb instead

/Users/Alex/Downloads/ffmpeg-latest-macos64-shared/bin/ffmpeg -i /Users/Alex/Movies/in.mp4 -strict -2 -c:v libaom-av1 -b:v 1M /Users/Janko/Desktop/out.mkv
ffmpeg version N-90926-gbad42e9b40 Copyright (c) 2000-2018 the FFmpeg developers

built with Apple LLVM version 9.1.0 (clang-902.0.39.1)
configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-appkit --enable-avfoundation --enable-coreimage --enable-audiotoolbox
libavutil 56. 18.100 / 56. 18.100
libavcodec 58. 19.100 / 58. 19.100
libavformat 58. 13.100 / 58. 13.100
libavdevice 58. 4.100 / 58. 4.100
libavfilter 7. 21.100 / 7. 21.100
libswscale 5. 2.100 / 5. 2.100
libswresample 3. 2.100 / 3. 2.100
libpostproc 55. 2.100 / 55. 2.100

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b69801200] stream 0, timescale not set
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/Alex/Movies/in.mp4':

Metadata:

major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41

Duration: 00:25:53.56, start: 0.000000, bitrate: 1635 kb/s

Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1503 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
Metadata:

handler_name : VideoHandler

Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
Metadata:

handler_name : SoundHandler

Stream #0:2: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 624x450 [SAR 1:1 DAR 104:75], 90k tbr, 90k tbn, 90k tbc

Stream mapping:

Stream #0:0 -> #0:0 (h264 (native) -> av1 (libaom-av1))
Stream #0:1 -> #0:1 (aac (native) -> vorbis (libvorbis))

Press [q] to stop, ? for help
[libaom-av1 @ 0x7f9b6a80ea00] 0.1.0-9380-gf7cc57647
Output #0, matroska, to '/Users/Alex/Desktop/out.mkv':

Metadata:

major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.13.100
Stream #0:0(und): Video: av1 (libaom-av1) (AV01 / 0x31305641), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 1000 kb/s, 25 fps, 1k tbn, 25 tbc (default)
Metadata:

handler_name : VideoHandler
encoder : Lavc58.19.100 libaom-av1

Side data:

cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1

Stream #0:1(und): Audio: vorbis (libvorbis) (oV[0][0] / 0x566F), 48000 Hz, stereo, fltp (default)
Metadata:

handler_name : SoundHandler
encoder : Lavc58.19.100 libvorbis

frame= 15 fps=0.0 q=0.0 size= 5kB time=00:00:00.66 bitrate= 60.9kbits/s

Change History (1)

comment:1 by Carl Eugen Hoyos, 6 years ago

Keywords: libaom added; av1 bitrate removed
Version: unspecifiedgit-master
Note: See TracTickets for help on using tickets.