[FFmpeg-trac] #3911(undetermined:new): using avstream.codec.time_base as a timebase hint to the muxer is deprecated. set avstream.time_base instead.
FFmpeg
trac at avcodec.org
Mon Sep 1 11:41:01 CEST 2014
#3911: using avstream.codec.time_base as a timebase hint to the muxer is
deprecated. set avstream.time_base instead.
-------------------------------------+-------------------------------------
Reporter: needkane | Type: defect
Status: new | Priority: important
Component: | Version: 2.3
undetermined | Blocked By:
Keywords: s | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
source video : http://needkane.qiniudn.com/a.wmv
ffmpeg version 2.3.3-static Copyright (c) 2000-2014 the FFmpeg developers
built on Aug 19 2014 15:10:16 with gcc 4.6 (Ubuntu/Linaro
4.6.3-1ubuntu5)
configuration: --prefix=/home/qboxtest/qbox/ffmpeg/ffmpeg-static/target
--extra-cflags='-I/home/qboxtest/qbox/ffmpeg/ffmpeg-static/target/include
-static' --extra-ldflags='-L/home/qboxtest/qbox/ffmpeg/ffmpeg-
static/target/lib -lm -static' --extra-version=static --disable-debug
--disable-shared --enable-static --extra-cflags=--static --disable-ffplay
--disable-ffserver --disable-doc --enable-gpl --enable-pthreads --enable-
postproc --enable-gray --enable-runtime-cpudetect --enable-libfaac
--enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-
libspeex --enable-libx264 --enable-libxvid --enable-bzlib --enable-zlib
--enable-nonfree --enable-version3 --enable-libvpx --disable-devices
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libilbc
--enable-libfreetype
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options]
outfile}...
first mkdir m3u8out,and
command:
ffmpeg -i a.wmv -c:a mp3 -scodec mov_text -codec:v libx264 -map_metadata
0:g -map 0 -f ssegment -segment_format mpegts -segment_list_type m3u8
-segment_time 10 -force_key_frames expr:'gte(t,n_forced*10)' -segment_list
m3u8out/file.m3u8 m3u8out/s%d
Result:
ffmpeg version 2.3.3-static Copyright (c) 2000-2014 the FFmpeg developers
built on Aug 19 2014 15:10:16 with gcc 4.6 (Ubuntu/Linaro
4.6.3-1ubuntu5)
configuration: --prefix=/home/qboxtest/qbox/ffmpeg/ffmpeg-static/target
--extra-cflags='-I/home/qboxtest/qbox/ffmpeg/ffmpeg-static/target/include
-static' --extra-ldflags='-L/home/qboxtest/qbox/ffmpeg/ffmpeg-
static/target/lib -lm -static' --extra-version=static --disable-debug
--disable-shared --enable-static --extra-cflags=--static --disable-ffplay
--disable-ffserver --disable-doc --enable-gpl --enable-pthreads --enable-
postproc --enable-gray --enable-runtime-cpudetect --enable-libfaac
--enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-
libspeex --enable-libx264 --enable-libxvid --enable-bzlib --enable-zlib
--enable-nonfree --enable-version3 --enable-libvpx --disable-devices
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libilbc
--enable-libfreetype
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
[avi @ 0x3b07420] non-interleaved AVI
Input #0, avi, from 'a.wmv':
Duration: 00:41:31.84, start: 0.000000, bitrate: 202 kb/s
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID /
0x44495658), yuv420p, 1366x768 [SAR 1:1 DAR 683:384], 181 kb/s, 5.02 fps,
5 tbr, 5.02 tbn, 5 tbc
Metadata:
title : ¼��4.avi ��Ƶ #1
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 11025 Hz, mono, s16p,
20 kb/s
Metadata:
title : Microsoft Waveform: ¼��41.wav
[libx264 @ 0x3b0db20] using SAR=1/1
[libx264 @ 0x3b0db20] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x3b0db20] profile High, level 3.2
[mpegts @ 0x41b7040] Using AVStream.codec.time_base as a timebase hint to
the muxer is deprecated. Set AVStream.time_base instead.
Last message repeated 1 times
Output #0, stream_segment,ssegment, to 'm3u8out/s%d':
Metadata:
encoder : Lavf55.48.100
Stream #0:0: Video: h264 (libx264), yuv420p, 1366x768 [SAR 1:1 DAR
683:384], q=-1--1, 5 fps, 5 tbn, 5 tbc
Metadata:
title : ¼��4.avi ��Ƶ #1
encoder : Lavc55.69.100 libx264
Stream #0:1: Audio: mp3 (libmp3lame), 11025 Hz, mono, s16p
Metadata:
title : Microsoft Waveform: ¼��41.wav
encoder : Lavc55.69.100 libmp3lame
Stream mapping:
Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (mp3 (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
[mpeg4 @ 0x41a2340] Video uses a non-standard and wasteful way to store
B-frames ('packed B-frames'). Consider using a tool like VirtualDub or
avidemux to fix it.
[mpegts @ 0x3b735a0] Using AVStream.codec.time_base as a timebase hint to
the muxer is deprecated. Set AVStream.time_base instead.
generate m3u8file:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:95
#EXTINF:94.589025,
s0
#EXTINF:84.389025,
s1
#EXTINF:74.389025,
s2
#EXTINF:64.389025,
s3
#EXTINF:64.732698,
s4
#EXT-X-ENDLIST
defect:segtime is 10 ,but generate seg's time is about 74
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3911>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list