[FFmpeg-trac] #5642(undetermined:new): Qmin Qmax with MPEG2 Encoding

FFmpeg trac at avcodec.org
Thu Jun 23 20:35:38 CEST 2016


#5642: Qmin Qmax with MPEG2 Encoding
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  smallishzulu                       |                   Status:  new
                 Type:  defect       |                Component:
             Priority:  normal       |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (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.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5642#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list