[FFmpeg-user] AVStream.codec.time_base deprecated when using -f ssegment

Claudiu Rad jazzman at misalpina.net
Tue Sep 16 21:37:20 CEST 2014


hello,

i am trying to generate a HLS stream from a standard MP4 file. the muxer 
generates a pair of warnings for each output .ts file.
however the result seems alright.

why is this? shouldn't this be fixed?
if not, someone should suppress the message.
or am i doing something wrong?

ffmpeg -i sample.mp4 -c copy -bsf:v h264_mp4toannexb -f ssegment 
-segment_list index.m3u8 -segment_time 10 %d.ts

ffmpeg version 2.3.git-static Copyright (c) 2000-2014 the FFmpeg developers
   built on Sep 16 2014 20:40:40 with gcc 4.7 (Debian 4.7.2-5)
   configuration: --prefix=/root/ffmpeg_build 
--extra-cflags='-I/root/ffmpeg_build/include -static' 
--extra-ldflags='-L/root/ffmpeg_build/lib -lm -static' 
--bindir=/root/bin --enable-gpl --enable-libfdk-aac --enable-libfreetype 
--enable-libmp3lame --enable-libopus --enable-libtheora 
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid 
--enable-nonfree --extra-version=static --disable-debug --disable-shared 
--enable-static --extra-cflags=--static --disable-doc --enable-pthreads 
--enable-postproc --enable-runtime-cpudetect --enable-version3 
--disable-devices
   libavutil      54.  7.100 / 54.  7.100
   libavcodec     56.  1.100 / 56.  1.100
   libavformat    56.  4.101 / 56.  4.101
   libavdevice    56.  0.100 / 56.  0.100
   libavfilter     5.  1.100 /  5.  1.100
   libswscale      3.  0.100 /  3.  0.100
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  0.100 / 53.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sample.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: isommp42
     creation_time   : 2013-01-15 16:53:59
   Duration: 00:02:23.44, start: 0.000000, bitrate: 1495 kb/s
     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 
1280x720, 1300 kb/s, 29.97 fps, 29.97 tbr, 60k tbn, 59.94 tbc (default)
     Metadata:
       creation_time   : 1970-01-01 00:00:00
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, 
fltp, 191 kb/s (default)
     Metadata:
       creation_time   : 2013-01-15 16:54:00
       handler_name    : IsoMedia File Produced by Google, 5-11-2011
[mpegts @ 0x3ad8da0] Using AVStream.codec.time_base as a timebase hint 
to the muxer is deprecated. Set AVStream.time_base instead.
     Last message repeated 1 times
[adts @ 0x3adb400] Using AVStream.codec.time_base as a timebase hint to 
the muxer is deprecated. Set AVStream.time_base instead.
Output #0, stream_segment,ssegment, to '%d.ts':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: isommp42
     encoder         : Lavf56.4.101
     Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 
1280x720, q=2-31, 1300 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc (default)
     Metadata:
       creation_time   : 1970-01-01 00:00:00
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, 
191 kb/s (default)
     Metadata:
       creation_time   : 2013-01-15 16:54:00
       handler_name    : IsoMedia File Produced by Google, 5-11-2011
Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0x3a4fe80] Using AVStream.codec.time_base as a timebase hint 
to the muxer is deprecated. Set AVStream.time_base instead.
     Last message repeated 1 times
[adts @ 0x3af1480] Using AVStream.codec.time_base as a timebase hint to 
the muxer is deprecated. Set AVStream.time_base instead.
[mpegts @ 0x3a4fe80] Using AVStream.codec.time_base as a timebase hint 
to the muxer is deprecated. Set AVStream.time_base instead.
     Last message repeated 1 times
[adts @ 0x3a50c40] Using AVStream.codec.time_base as a timebase hint to 
the muxer is deprecated. Set AVStream.time_base instead.
[mpegts @ 0x3a4fe80] Using AVStream.codec.time_base as a timebase hint 
to the muxer is deprecated. Set AVStream.time_base instead.
     Last message repeated 1 times
[adts @ 0x3a2a9c0] Using AVStream.codec.time_base as a timebase hint to 
the muxer is deprecated. Set AVStream.time_base instead.
[mpegts @ 0x3a4fe80] Using AVStream.codec.time_base as a timebase hint 
to the muxer is deprecated. Set AVStream.time_base instead.
     Last message repeated 1 times
[adts @ 0x3a2e120] Using AVStream.codec.time_base as a timebase hint to 
the muxer is deprecated. Set AVStream.time_base instead.
[mpegts @ 0x3a4fe80] Using AVStream.codec.time_base as a timebase hint 
to the muxer is deprecated. Set AVStream.time_base instead.
     Last message repeated 1 times
[adts @ 0x3a504c0] Using AVStream.codec.time_base as a timebase hint to 
the muxer is deprecated. Set AVStream.time_base instead.
[mpegts @ 0x3a4fe80] Using AVStream.codec.time_base as a timebase hint 
to the muxer is deprecated. Set AVStream.time_base instead.
     Last message repeated 1 times
[adts @ 0x3a0e2e0] Using AVStream.codec.time_base as a timebase hint to 
the muxer is deprecated. Set AVStream.time_base instead.
[mpegts @ 0x3a4fe80] Using AVStream.codec.time_base as a timebase hint 
to the muxer is deprecated. Set AVStream.time_base instead.
     Last message repeated 1 times
[adts @ 0x3adbf60] Using AVStream.codec.time_base as a timebase hint to 
the muxer is deprecated. Set AVStream.time_base instead.
[mpegts @ 0x3a4fe80] Using AVStream.codec.time_base as a timebase hint 
to the muxer is deprecated. Set AVStream.time_base instead.
     Last message repeated 1 times
[adts @ 0x3ad8240] Using AVStream.codec.time_base as a timebase hint to 
the muxer is deprecated. Set AVStream.time_base instead.
[mpegts @ 0x3a4fe80] Using AVStream.codec.time_base as a timebase hint 
to the muxer is deprecated. Set AVStream.time_base instead.
     Last message repeated 1 times
[adts @ 0x3a146a0] Using AVStream.codec.time_base as a timebase hint to 
the muxer is deprecated. Set AVStream.time_base instead.
[mpegts @ 0x3a4fe80] Using AVStream.codec.time_base as a timebase hint 
to the muxer is deprecated. Set AVStream.time_base instead.
     Last message repeated 1 times
[adts @ 0x3a2ca60] Using AVStream.codec.time_base as a timebase hint to 
the muxer is deprecated. Set AVStream.time_base instead.
[mpegts @ 0x3a2ca60] Using AVStream.codec.time_base as a timebase hint 
to the muxer is deprecated. Set AVStream.time_base instead.
     Last message repeated 1 times
[adts @ 0x3a2da60] Using AVStream.codec.time_base as a timebase hint to 
the muxer is deprecated. Set AVStream.time_base instead.
[mpegts @ 0x3a2ca60] Using AVStream.codec.time_base as a timebase hint 
to the muxer is deprecated. Set AVStream.time_base instead.
     Last message repeated 1 times
[adts @ 0x3a2d2c0] Using AVStream.codec.time_base as a timebase hint to 
the muxer is deprecated. Set AVStream.time_base instead.
[mpegts @ 0x3a2b820] Using AVStream.codec.time_base as a timebase hint 
to the muxer is deprecated. Set AVStream.time_base instead.
     Last message repeated 1 times
[adts @ 0x3ad9440] Using AVStream.codec.time_base as a timebase hint to 
the muxer is deprecated. Set AVStream.time_base instead.
[mpegts @ 0x3a2b7c0] Using AVStream.codec.time_base as a timebase hint 
to the muxer is deprecated. Set AVStream.time_base instead.
     Last message repeated 1 times
[adts @ 0x3ad9e60] Using AVStream.codec.time_base as a timebase hint to 
the muxer is deprecated. Set AVStream.time_base instead.
frame= 4299 fps=0.0 q=-1.0 Lsize=N/A time=00:02:23.44 bitrate=N/A
video:22782kB audio:3362kB subtitle:0kB other streams:0kB global 
headers:0kB muxing overhead: unknown

the sample.mp4 is downloaded from http://www.nasa.gov/multimedia/hd/ -
http://s3.amazonaws.com/akamai.netstorage/HD_downloads/Orion_SM.mp4

-- 
Claudiu


More information about the ffmpeg-user mailing list