Opened 3 years ago

Last modified 3 years ago

#5642 new defect

Qmin Qmax with MPEG2 Encoding

Reported by: smallishzulu Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hello,

I simply try to encode a video to MPEG2 with below command:

ffmpeg -i ada-2016_06_06_15_45_39.ts -vcodec mpeg2video -minrate 1000k -maxrate 1000k -vb 1000k -bufsize 1000k -acodec mp2 -ac 2 -ab 128k -f mpets -muxrate 1250k -qmax 51 /tmp/out.ts

Qmax never goes over 31. I noticed I can not change qmin and qmax values using -qmin & -qmax.

Change History (4)

comment:1 Changed 3 years ago by cehoyos

  • Keywords qmin qmax mpeg2video removed

Please provide the command line you tested together with the complete, uncut console output to make this a valid ticket and to show the output bitrate: Why are you trying to set a quantiser if you requested constant bitrate?

comment:2 Changed 3 years ago by smallishzulu

Sorry for my late reply. I was travelling.

Command line:
ffmpeg -i /tmp/ada.ts -vcodec mpeg2video -minrate 1000k -maxrate 1000k -vb 1000k -bufsize 1000k -acodec mp2 -ac 2 -ab 128k -f mpets -muxrate 1300k -y /tmp/out.ts

Case:

Bitrate actually is too low for given resolution and FFmpeg use qmax value 31 as default, by this setup warning message "[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax" is given out. So I tried to set qmax to 51 to have output without "dts < pcr, TS is invalid" error. Only way to do it, as far af I know, is to make lower quality video on output by increasing qmax value. Than I noticed that qmin and qmax does not work for mpeg2video codec.

Log:

ffmpeg version N-80335-gcb46b78 Copyright (c) 2000-2016 the FFmpeg developers

built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configuration: --prefix=/opt/ffmpeg --enable-static --disable-shared --enable-nonfree --enable-gpl --extra-cflags='-I/opt/ffmpeg/include -I/usr/local/include' --extra-ldflags=-L/opt/ffmpeg/lib --bindir=/opt/ffmpeg/bin --extra-libs=-ldl --enable-libx264 --enable-nonfree --enable-gpl --enable-nvenc --enable-vdpau --enable-libzvbi --enable-libfdk-aac --enable-libmfx --enable-libzimg
libavutil 55. 24.100 / 55. 24.100
libavcodec 57. 46.100 / 57. 46.100
libavformat 57. 38.100 / 57. 38.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 46.101 / 6. 46.101
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100

[h264 @ 0xe4b810e0] SPS unavailable in decode_picture_timing
[h264 @ 0xe4b810e0] non-existing PPS 0 referenced
[h264 @ 0xe4b810e0] SPS unavailable in decode_picture_timing
[h264 @ 0xe4b810e0] non-existing PPS 0 referenced
[h264 @ 0xe4b810e0] decode_slice_header error
[h264 @ 0xe4b810e0] non-existing PPS 0 referenced
[h264 @ 0xe4b810e0] decode_slice_header error
[h264 @ 0xe4b810e0] no frame!
[h264 @ 0xe4b810e0] SPS unavailable in decode_picture_timing
[h264 @ 0xe4b810e0] non-existing PPS 0 referenced
[h264 @ 0xe4b810e0] SPS unavailable in decode_picture_timing
[h264 @ 0xe4b810e0] non-existing PPS 0 referenced
[h264 @ 0xe4b810e0] decode_slice_header error
[h264 @ 0xe4b810e0] non-existing PPS 0 referenced
[h264 @ 0xe4b810e0] decode_slice_header error
[h264 @ 0xe4b810e0] no frame!
[h264 @ 0xe4b810e0] SPS unavailable in decode_picture_timing
[h264 @ 0xe4b810e0] non-existing PPS 0 referenced
[h264 @ 0xe4b810e0] decode_slice_header error
[h264 @ 0xe4b810e0] non-existing PPS 0 referenced
[h264 @ 0xe4b810e0] decode_slice_header error
[h264 @ 0xe4b810e0] no frame!
[h264 @ 0xe4b810e0] SPS unavailable in decode_picture_timing
[h264 @ 0xe4b810e0] non-existing PPS 0 referenced
[h264 @ 0xe4b810e0] SPS unavailable in decode_picture_timing
[h264 @ 0xe4b810e0] non-existing PPS 0 referenced
[h264 @ 0xe4b810e0] decode_slice_header error
[h264 @ 0xe4b810e0] non-existing PPS 0 referenced
[h264 @ 0xe4b810e0] decode_slice_header error
[h264 @ 0xe4b810e0] no frame!
[h264 @ 0xe4b810e0] Increasing reorder buffer to 2
[mpegts @ 0xe4b7c6a0] PES packet size mismatch
Input #0, mpegts, from '/tmp/ada.ts':

Duration: 00:00:33.82, start: 21827.579833, bitrate: 5876 kb/s
Program 1

Stream #0:0[0x121]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:1[0x131](tur): Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 127 kb/s

[mpeg2video @ 0xe4ba9f20] Warning vbv_delay will be set to 0xFFFF (=VBR) as the specified vbv buffer is too large for the given bitrate!
[mpegts @ 0xe4b83a20] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.

Last message repeated 1 times

Output #0, mpegts, to '/tmp/out.ts':

Metadata:

encoder : Lavf57.38.100
Stream #0:0: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 1000 kb/s, 25 fps, 90k tbn, 25 tbc
Metadata:

encoder : Lavc57.46.100 mpeg2video

Side data:

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

Stream #0:1(tur): Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
Metadata:

encoder : Lavc57.46.100 mp2

Stream mapping:

Stream #0:0 -> #0:0 (h264 (native) -> mpeg2video (native))
Stream #0:1 -> #0:1 (aac (native) -> mp2 (native))

Press [q] to stop, ? for help
frame= 0 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
[h264 @ 0xe4bc1fa0] reference picture missing during reorder
[h264 @ 0xe4bc1fa0] Missing reference picture, default is 65589
[h264 @ 0xe4bc1fa0] reference picture missing during reorder
[h264 @ 0xe4bc1fa0] Missing reference picture, default is 65589
[h264 @ 0xe4c11000] mmco: unref short failure
[h264 @ 0xe4c47b80] mmco: unref short failure
[h264 @ 0xe4c63180] mmco: unref short failure
[h264 @ 0xe4c11000] mmco: unref short failure
[aac @ 0xe4b83260] Number of bands (14) exceeds limit (13).
Error while decoding stream #0:1: Invalid data found when processing input
[mpegts @ 0xe4b83a20] Non-monotonous DTS in output stream 0:1; previous: 20218, current: 18538; changing to 20219. This may result in incorrect timestamps in the output file.
frame= 0 fps=0.0 q=0.0 size= 0kB time=00:00:00.37 bitrate= 0.0kbits/s speed=0.371x
frame= 0 fps=0.0 q=0.0 size= 0kB time=00:00:00.78 bitrate= 0.0kbits/s speed=0.517x
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
frame= 4 fps=1.9 q=31.6 size= 161kB time=00:00:01.72 bitrate= 767.7kbits/s speed=0.832x
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
frame= 21 fps=8.2 q=31.0 size= 391kB time=00:00:02.40 bitrate=1333.5kbits/s speed=0.933x
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpegts @ 0xe4b83a20] dts < pcr, TS is invalid

Last message repeated 4 times

[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpegts @ 0xe4b83a20] dts < pcr, TS is invalid

Last message repeated 29 times

[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
frame= 34 fps= 11 q=31.0 size= 542kB time=00:00:02.92 bitrate=1519.4kbits/s speed=0.949x
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpegts @ 0xe4b83a20] dts < pcr, TS is invalid

Last message repeated 20 times

[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpegts @ 0xe4b83a20] dts < pcr, TS is invalid

Last message repeated 33 times

frame= 46 fps= 13 q=31.0 size= 723kB time=00:00:03.40 bitrate=1741.1kbits/s speed=0.95x
[mpegts @ 0xe4b83a20] dts < pcr, TS is invalid

Last message repeated 22 times

[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpegts @ 0xe4b83a20] dts < pcr, TS is invalid

Last message repeated 29 times

frame= 59 fps= 14 q=31.0 size= 896kB time=00:00:03.92 bitrate=1873.1kbits/s speed=0.958x
[mpegts @ 0xe4b83a20] dts < pcr, TS is invalid

Last message repeated 7 times

[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpegts @ 0xe4b83a20] dts < pcr, TS is invalid

Last message repeated 7 times

[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpegts @ 0xe4b83a20] dts < pcr, TS is invalid

Last message repeated 25 times

[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
frame= 72 fps= 16 q=31.0 size= 1038kB time=00:00:04.44 bitrate=1915.2kbits/s speed=0.967x
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpegts @ 0xe4b83a20] dts < pcr, TS is invalid

Last message repeated 7 times

[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpegts @ 0xe4b83a20] dts < pcr, TS is invalid

Last message repeated 25 times

[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
frame= 84 fps= 16 q=31.0 size= 1153kB time=00:00:04.92 bitrate=1920.3kbits/s speed=0.964x
[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpegts @ 0xe4b83a20] dts < pcr, TS is invalid

Last message repeated 40 times

frame= 97 fps= 17 q=31.0 size= 1286kB time=00:00:05.44 bitrate=1936.1kbits/s speed=0.97x
[mpegts @ 0xe4b83a20] dts < pcr, TS is invalid

Last message repeated 10 times

[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpegts @ 0xe4b83a20] dts < pcr, TS is invalid

Last message repeated 28 times

frame= 109 fps= 18 q=31.0 size= 1427kB time=00:00:05.92 bitrate=1974.0kbits/s speed=0.968x
[mpegts @ 0xe4b83a20] dts < pcr, TS is invalid

Last message repeated 3 times

[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpegts @ 0xe4b83a20] dts < pcr, TS is invalid

Last message repeated 22 times

[mpeg2video @ 0xe4ba9f20] rc buffer underflow
[mpeg2video @ 0xe4ba9f20] max bitrate possibly too small or try trellis with large lmax or increase qmax
[mpegts @ 0xe4b83a20] dts < pcr, TS is invalid

Last message repeated 55 times

frame= 121 fps= 18 q=31.0 Lsize= 1691kB time=00:00:06.44 bitrate=2151.1kbits/s speed=0.961x
video:1280kB audio:89kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 23.530687%
Exiting normally, received signal 2.

comment:3 Changed 3 years ago by smallishzulu

I just tested with fresh compile of git of FFmpeg and qmin qmax changes:

/opt/ffmpeg/bin/ffmpeg -i /home/admintv/500k.ts -vcodec mpeg2video -qmin 2 -qmax 51 -minrate 1000k -maxrate 1000k -vb 1000k -bufsize 1000k -acodec mp2 -ac 2 -ab 128k -f mpegts -muxrate 1300k -y /tmp/out.ts
ffmpeg version N-80536-g48ac453 Copyright (c) 2000-2016 the FFmpeg developers

built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
configuration: --prefix=/opt/ffmpeg --enable-shared --enable-nonfree --enable-gpl --extra-cflags='-I/opt/ffmpeg/include -I/usr/local/include' --extra-ldflags=-L/opt/ffmpeg/lib --bindir=/opt/ffmpeg/bin --extra-libs=-ldl --enable-libx264 --enable-libx265 --enable-nonfree --enable-gpl --enable-nvenc --enable-vdpau --enable-libzvbi --enable-libfdk-aac --enable-libmfx --enable-libzimg --enable-avresample
libavutil 55. 24.100 / 55. 24.100
libavcodec 57. 46.100 / 57. 46.100
libavformat 57. 39.100 / 57. 39.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 46.102 / 6. 46.102
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100

Input #0, mpegts, from '/home/admintv/500k.ts':

Duration: 00:01:09.66, start: 1.443511, bitrate: 512 kb/s
Program 1

Metadata:

service_name : Service01
service_provider: FFmpeg

Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 704x576 [SAR 16:11 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x101](und): Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 73 kb/s

[mpeg2video @ 0x152a2a0] Warning vbv_delay will be set to 0xFFFF (=VBR) as the specified vbv buffer is too large for the given bitrate!
[mpegts @ 0x14ffca0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.

Last message repeated 1 times

Output #0, mpegts, to '/tmp/out.ts':

Metadata:

encoder : Lavf57.39.100
Stream #0:0: Video: mpeg2video (Main), yuv420p, 704x576 [SAR 16:11 DAR 16:9], q=2-51, 1000 kb/s, 29.97 fps, 90k tbn, 29.97 tbc
Metadata:

encoder : Lavc57.46.100 mpeg2video

Side data:

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

Stream #0:1(und): Audio: mp2, 44100 Hz, stereo, s16, 128 kb/s
Metadata:

encoder : Lavc57.46.100 mp2

Stream mapping:

Stream #0:0 -> #0:0 (h264 (native) -> mpeg2video (native))
Stream #0:1 -> #0:1 (aac (native) -> mp2 (native))

Press [q] to stop, ? for help
frame= 1632 fps=1204 q=8.4 Lsize= 8677kB time=00:00:54.71 bitrate=1299.2kbits/s speed=40.4x
video:6681kB audio:855kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 15.138415%

We can close this ticket. It could be a problem of my shared lib compiled versions. Maybe, system was using an old lib. I am not sure. I am sorry for the inconvenience.

comment:4 Changed 3 years ago by smallishzulu

An additional note, I found other server with ffmpeg version N-80335-gcb46b78 install. On this one qmin qmax does not change if you set. But, for ffmpeg version N-80536-g48ac453 qmin qmax changes if you set. So, it seems it is being fixed in a newer version.

Note: See TracTickets for help on using tickets.