[FFmpeg-trac] #3741(undetermined:reopened): Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.

FFmpeg trac at avcodec.org
Wed Sep 17 10:10:05 CEST 2014


#3741: Using AVStream.codec.time_base as a timebase hint to the muxer is
deprecated. Set AVStream.time_base instead.
-------------------------------------+-------------------------------------
             Reporter:  miguelapg    |                    Owner:
                 Type:  defect       |                   Status:  reopened
             Priority:  minor        |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  1
-------------------------------------+-------------------------------------

Comment (by kat):

 I have same warning. Here is my ffmpeg command:


 {{{
 ffmpeg -rtbufsize 100M -f dshow -channel_layout stereo -video_size
 1280x720 -framerate 50 -i video="Decklink Video Capture":audio="Decklink
 Audio Capture" -strict -2 -c:v libx264 -profile:v baseline -preset faster
 -x264opts nal-hrd=cbr:force-cfr=1:keyint=50 -b:v 4000k -maxrate 4000k
 -bufsize 4000k -c:a aac -b:a 128k -pix_fmt yuv420p -f mpegts
 "udp://239.239.4.100:1234?pkt_size=2048"
 }}}


 And here is full console output

 {{{
 ffmpeg version N-65895-g96b2ba6 Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Aug 25 2014 22:10:37 with gcc 4.8.3 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-av
 isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
 --enab
 le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-
 libcaca --
 enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc
 --enable-lib
 modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-
 libopencore-amrw
 b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-
 libschroedinge
 r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-
 libtwolame --en
 able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 libvorbis
  --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
 --enable-
 libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
   libavutil      54.  7.100 / 54.  7.100
   libavcodec     56.  0.101 / 56.  0.101
   libavformat    56.  3.100 / 56.  3.100
   libavdevice    56.  0.100 / 56.  0.100
   libavfilter     5.  0.103 /  5.  0.103
   libswscale      3.  0.100 /  3.  0.100
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  0.100 / 53.  0.100
 Input #0, dshow, from 'video=Decklink Video Capture:audio=Decklink Audio
 Capture
 ':
   Duration: N/A, start: 0.044256, bitrate: 1536 kb/s
     Stream #0:0: Video: rawvideo (HDYC / 0x43594448), uyvy422(tv),
 1280x720, 50
 tbr, 10000k tbn, 50 tbc
     Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
 [libx264 @ 0000000002e5dbe0] using cpu capabilities: MMX2 SSE2Fast SSSE3
 SSE4.2
 AVX AVX2 FMA3 LZCNT BMI2
 [libx264 @ 0000000002e5dbe0] profile Constrained Baseline, level 3.2
 [adts @ 0000000010d002c0] Using AVStream.codec.time_base as a timebase
 hint to t
 he muxer is deprecated. Set AVStream.time_base instead.
 Output #0, mpegts, to 'udp://239.239.4.100:1234?pkt_size=2048':
   Metadata:
     encoder         : Lavf56.3.100
     Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720, q=-1--1, 4000
 kb/s, 5
 0 fps, 90k tbn, 50 tbc
     Metadata:
       encoder         : Lavc56.0.101 libx264
     Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp, 128 kb/s
     Metadata:
       encoder         : Lavc56.0.101 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
   Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native))
 Press [q] to stop, [?] for help
 frame=   26 fps=0.0 q=0.0 size=       0kB time=00:00:00.47 bitrate=
 0.0kbits/s
 frame=   51 fps= 51 q=21.0 size=     182kB time=00:00:00.97
 bitrate=1538.1kbits/
 frame=   77 fps= 51 q=21.0 size=     446kB time=00:00:01.48
 bitrate=2463.0kbits/
 frame=   80 fps= 48 q=-1.0 Lsize=     897kB time=00:00:01.61
 bitrate=4566.2kbits
 /s
 video:792kB audio:29kB subtitle:0kB other streams:0kB global headers:0kB
 muxing
 overhead: 9.312987%
 [libx264 @ 0000000002e5dbe0] frame I:3     Avg QP: 7.22  size: 64466
 [libx264 @ 0000000002e5dbe0] frame P:77    Avg QP:11.47  size:  8023
 [libx264 @ 0000000002e5dbe0] mb I  I16..4: 66.0%  0.0% 34.0%
 [libx264 @ 0000000002e5dbe0] mb P  I16..4:  2.8%  0.0%  0.4%  P16..4:
 20.3%  2.0
 %  0.5%  0.0%  0.0%    skip:74.0%
 [libx264 @ 0000000002e5dbe0] coded y,uvDC,uvAC intra: 26.8% 54.8% 36.6%
 inter: 9
 .0% 12.9% 4.7%
 [libx264 @ 0000000002e5dbe0] i16 v,h,dc,p: 57% 37%  4%  1%
 [libx264 @ 0000000002e5dbe0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 39% 32% 12%
 2%  3%
  2%  4%  2%  4%
 [libx264 @ 0000000002e5dbe0] i8c dc,h,v,p: 41% 39% 17%  3%
 [libx264 @ 0000000002e5dbe0] ref P L0: 90.4%  9.6%
 [libx264 @ 0000000002e5dbe0] kb/s:4055.73
 }}}

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


More information about the FFmpeg-trac mailing list