Opened 10 years ago
Closed 9 years ago
#3741 closed defect (fixed)
Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
Reported by: | miguelapg | Owned by: | |
---|---|---|---|
Priority: | minor | Component: | undetermined |
Version: | git-master | Keywords: | |
Cc: | batguano999@zoho.com, blacktrash@gmx.net, tab1293 | Blocked By: | |
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
Summary of the bug:
For some days ago, it's appearing this message in my encoding process ...
How to reproduce:
"D:\\ffmpeg\\bin\\Video\\ffmpeg.exe" -report -i "I:\\theotherwoman-tlr1_h1080p.mov " -acodec pcm_s16le -ar 48000 -y "J:\\HF_H264_Smooth_Adaptative_theotherwoman-tlr1_h1080p.wav" ffmpeg version: git-723550d built on: 2014-06-24
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
Attachments (1)
Change History (22)
by , 10 years ago
Attachment: | ffmpeg-20140624-162129.log added |
---|
comment:2 by , 10 years ago
Cc: | added |
---|
comment:3 by , 10 years ago
Hi
I have this problem too.
@Xubuntu:~/ffmpeg-HEAD-66558fe$ ./ffmpeg -i foo.wav foo.flac
ffmpeg version 2.2.git-66558fe Copyright (c) 2000-2014 the FFmpeg developers
built on Jul 12 2014 13:10:07 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration:
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 45.100 / 55. 45.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 10.100 / 4. 10.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from 'foo.wav':
Metadata:
encoder : Lavf55.41.100
Duration: 00:00:30.00, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
[flac @ 0xaeca240] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
Output #0, flac, to 'foo.flac':
Metadata:
encoder : Lavf55.45.100
Stream #0:0: Audio: flac, 44100 Hz, stereo, s16, 128 kb/s
Metadata:
encoder : Lavc55.69.100 flac
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le (native) -> flac (native))
Press [q] to stop, ? for help
size= 3239kB time=00:00:30.10 bitrate= 881.3kbits/s
video:0kB audio:3231kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.250537%
comment:4 by , 10 years ago
Cc: | added |
---|
comment:5 by , 10 years ago
Priority: | normal → minor |
---|---|
Reproduced by developer: | set |
comment:6 by , 10 years ago
I will 3rd this one as having this problem and I am suspicious that it may be causing my audio to be out of synch.
Command I am using:
/usr/local/bin/ffmpeg -y -i /tmp/7f24ea1617ecc287f7377e7d0ce00534 -bsf h264_mp4toannexb -c:v libx264 -c:a libfdk_aac -s 640x360 -preset fast /tmp/7f24ea1617ecc287f7377e7d0ce00534.ts
Output:
ffmpeg version N-64602-g9195c26 Copyright (c) 2000-2014 the FFmpeg developers
built on Jul 11 2014 15:41:21 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
configuration: --enable-libx264 --enable-libfdk_aac --enable-nonfree --enable-gpl --enable-ffplay --enable-libfreetype
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 45.100 / 55. 45.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 10.100 / 4. 10.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/7f24ea1617ecc287f7377e7d0ce00534':
Metadata:
major_brand : M4V
minor_version : 1
compatible_brands: M4V mp42isom
creation_time : 2014-04-14 23:40:55
Duration: 00:00:30.06, start: 0.000000, bitrate: 1240 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv), 1024x576 [SAR 1:1 DAR 16:9], 1144 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc (default)
Metadata:
creation_time : 2014-04-14 23:40:55
handler_name : Mainconcept MP4 Video Media Handler
encoder : AVC Coding
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 93 kb/s (default)
Metadata:
creation_time : 2014-04-14 23:40:55
handler_name : Mainconcept MP4 Sound Media Handler
[libx264 @ 0x7f904b016600] using SAR=1/1
[libx264 @ 0x7f904b016600] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0x7f904b016600] profile High, level 3.0
[mpegts @ 0x7f904b015a00] 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, mpegts, to '/tmp/7f24ea1617ecc287f7377e7d0ce00534.ts':
Metadata:
major_brand : M4V
minor_version : 1
compatible_brands: M4V mp42isom
encoder : Lavf55.45.100
Stream #0:0(eng): Video: h264 (libx264), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 90k tbn, 25 tbc (default)
Metadata:
creation_time : 2014-04-14 23:40:55
handler_name : Mainconcept MP4 Video Media Handler
encoder : Lavc55.69.100 libx264
Stream #0:1(eng): Audio: aac (libfdk_aac), 48000 Hz, stereo, s16, 139 kb/s (default)
Metadata:
creation_time : 2014-04-14 23:40:55
handler_name : Mainconcept MP4 Sound Media Handler
encoder : Lavc55.69.100 libfdk_aac
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, ? for help
frame= 97 fps=0.0 q=28.0 size= 138kB time=00:00:03.96 bitrate= 284.7kbits/s
frame= 196 fps=191 q=28.0 size= 373kB time=00:00:07.97 bitrate= 383.4kbits/s
frame= 335 fps=219 q=28.0 size= 652kB time=00:00:13.56 bitrate= 393.4kbits/s
frame= 442 fps=214 q=28.0 size= 850kB time=00:00:17.60 bitrate= 395.7kbits/s
frame= 581 fps=226 q=28.0 size= 1107kB time=00:00:23.16 bitrate= 391.5kbits/s
frame= 719 fps=234 q=28.0 size= 1315kB time=00:00:28.77 bitrate= 374.4kbits/s
frame= 751 fps=226 q=-1.0 Lsize= 1408kB time=00:00:30.05 bitrate= 383.8kbits/s
video:670kB audio:513kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 18.967024%
[libx264 @ 0x7f904b016600] frame I:9 Avg QP:16.46 size: 4175
[libx264 @ 0x7f904b016600] frame P:393 Avg QP:26.16 size: 1394
[libx264 @ 0x7f904b016600] frame B:349 Avg QP:26.08 size: 289
[libx264 @ 0x7f904b016600] consecutive B-frames: 34.2% 9.9% 4.8% 51.1%
[libx264 @ 0x7f904b016600] mb I I16..4: 84.5% 6.4% 9.1%
[libx264 @ 0x7f904b016600] mb P I16..4: 2.8% 2.2% 1.3% P16..4: 6.5% 3.0% 1.3% 0.0% 0.0% skip:82.9%
[libx264 @ 0x7f904b016600] mb B I16..4: 0.4% 0.3% 0.2% B16..8: 3.0% 1.3% 0.1% direct: 0.5% skip:94.1% L0:43.4% L1:48.2% BI: 8.4%
[libx264 @ 0x7f904b016600] 8x8 transform intra:28.5% inter:36.5%
[libx264 @ 0x7f904b016600] coded y,uvDC,uvAC intra: 22.1% 26.1% 20.3% inter: 1.8% 2.1% 1.4%
[libx264 @ 0x7f904b016600] i16 v,h,dc,p: 82% 12% 6% 1%
[libx264 @ 0x7f904b016600] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 13% 40% 5% 5% 5% 5% 5% 4%
[libx264 @ 0x7f904b016600] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 16% 31% 5% 5% 5% 5% 5% 4%
[libx264 @ 0x7f904b016600] i8c dc,h,v,p: 74% 12% 11% 4%
[libx264 @ 0x7f904b016600] Weighted P-Frames: Y:8.7% UV:2.8%
[libx264 @ 0x7f904b016600] ref P L0: 79.8% 20.2%
[libx264 @ 0x7f904b016600] ref B L0: 81.4% 18.6%
[libx264 @ 0x7f904b016600] ref B L1: 93.0% 7.0%
[libx264 @ 0x7f904b016600] kb/s:182.83
Input file is here: http://bucket01.mscreentv.com.s3.amazonaws.com/ffmpeg/7f24ea1617ecc287f7377e7d0ce00534
comment:7 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:8 by , 10 years ago
Yes, it's fixed.
Thanks.
:-)
@Xubuntu:~/ffmpeg-HEAD-01c17b5$ ./ffmpeg -i foo.wav foo.flac
ffmpeg version 2.2.git-01c17b5 Copyright (c) 2000-2014 the FFmpeg developers
built on Jul 15 2014 15:30:49 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration:
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 47.100 / 55. 47.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 10.100 / 4. 10.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from 'foo.wav':
Metadata:
encoder : Lavf55.47.100
Duration: 00:01:00.48, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Output #0, flac, to 'foo.flac':
Metadata:
encoder : Lavf55.47.100
Stream #0:0: Audio: flac, 44100 Hz, stereo, s16, 128 kb/s
Metadata:
encoder : Lavc55.69.100 flac
Stream mapping:
Press [q] to stop, ? for help
size= 6502kB time=00:01:00.58 bitrate= 879.1kbits/s
video:0kB audio:6494kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.124640%
follow-up: 21 comment:10 by , 10 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Could I have the confirmation that the warning is to be expected with -f segment
? If yes, this can be closed again, thank you.
ffmpeg -i ../test.mp4 -c copy -bsf:v h264_mp4toannexb -map 0 -f segment -segment_ time 10 -segment_list test.m3u8 %02d.ts ffmpeg version N-64901-ged248e7 Copyright (c) 2000-2014 the FFmpeg developers built on Jul 22 2014 17:54:41 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-ffserver --enable-shared --enable-libfdk-aac --enable-libx265 --enable-libx264 --enable-libxvid --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libvidstab --extra-cflags=-I/sw/include --extra-libs=-L/sw/lib libavutil 52. 92.101 / 52. 92.101 libavcodec 55. 69.100 / 55. 69.100 libavformat 55. 48.101 / 55. 48.101 libavdevice 55. 13.102 / 55. 13.102 libavfilter 4. 11.102 / 4. 11.102 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 / 0. 19.100 libpostproc 52. 3.100 / 52. 3.100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9efb021800] stream 0, timescale not set Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../test.mp4': Metadata: major_brand : isom minor_version : 1 compatible_brands: isom creation_time : 2014-03-06 08:06:38 Duration: 00:04:14.24, start: 0.114694, bitrate: 958 kb/s Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 890 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 64 kb/s (default) Metadata: handler_name : SoundHandler Stream #0:2: Video: mjpeg, yuvj420p(pc, bt470bg), 640x480 [SAR 1:1 DAR 4:3], 90k tbr, 90k tbn, 90k tbc [mpegts @ 0x7f9efb012c00] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efb015c00] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Output #0, segment, to '%02d.ts': Metadata: major_brand : isom minor_version : 1 compatible_brands: isom comment : © 2002-2008 Black Trash Productions | www.blacktrash.org title : Cowboy Canoe Coma - Trailer 1 encoder : Lavf55.48.101 Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 890 kb/s, 25 fps, 25 tbn, 25 tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, 64 kb/s (default) Metadata: handler_name : SoundHandler Stream #0:2: Video: mjpeg, yuvj420p, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 90k tbn, 90k tbc Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Stream #0:2 -> #0:2 (copy) Press [q] to stop, [?] for help [mpegts @ 0x7f9efc009200] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc004800] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efb89b200] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efb80e600] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efc008000] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc013000] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efc008000] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc05e800] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efc838200] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc810000] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efc838200] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc83e200] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efc023600] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc058600] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efc867c00] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc8eda00] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efc008000] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc013000] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efc008000] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc0a2200] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efb023c00] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efb047e00] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efc07e000] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc089000] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efc07e000] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc0e4400] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efc07e000] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc10c600] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efc07e000] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc161200] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efc07e000] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc197400] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efc07e000] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc1ac200] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efc07e000] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc089000] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efb023c00] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efb047e00] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efc08d800] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc090800] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efc08d800] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc03b800] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efc08d800] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc03b800] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efc08d800] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efc28c600] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x7f9efb023c00] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 2 times [adts @ 0x7f9efb047e00] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. frame= 6355 fps=0.0 q=-1.0 Lq=-1.0 size=N/A time=00:04:14.39 bitrate=N/A video:27690kB audio:1987kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
follow-up: 12 comment:11 by , 10 years ago
Same issue as above. Unable to use -f segment
with the latest version of FFmpeg.
comment:12 by , 10 years ago
Replying to BradDodi:
Same issue as above. Unable to use
-f segment
with the latest version of FFmpeg.
-f segment
works fine here, I only get the warning, otherwise it works.
With simply -f mpegts
to a single file I get stream 0, timescale not set
which probably leads to the warning when segmenting. I've tried to make the latter go with -flags time_base=<some value>
, but I haven't found a way to express 1/framerate in the argument that is accepted.
comment:13 by , 10 years ago
Hm, I'm not sure but I was able to use the segment muxer with the web Media Source API before. Now it doesn't like the video files the muxer makes, so the error seems to be doing something.
follow-up: 15 comment:14 by , 10 years ago
Any updates for this? The segment muxer seems to be broken for some use cases, like when using the segmented files with the web Media Source API (which was working fine before). Thanks.
comment:15 by , 10 years ago
Replying to BradDodi:
Any updates for this? The segment muxer seems to be broken for some use cases
Could you elaborate?
This ticket is about FFmpeg showing additional debug output (which imo is by definition not really important no matter how annoying the spam is), if a feature is not working anymore, please report!
comment:16 by , 10 years ago
The bug give me a problem: Generate file.m3u8 ,but Each seg's time is wrong
The video source:http://needkane.qiniudn.com/a.wmv
you can download this video
Command and process:
qboxtest@qboxtest-G41D3:~/qbox/ffmpeg/fop/src/qbox.us/fop/m3u8$ ffmpeg -i m3u8150495689 -ar 32000 -ab 48k -b:v 600k -g 90 -dcodec copy -scodec mov_text -acodec libfaac -v warning -flags +loop+mv4 -pix_fmt yuv420p -cmp 256 -partitions +parti4x4+partp8x8+partb8x8 -subq 7 -trellis 1 -refs 5 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -rc_eq 'blurCplx(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 3.0 -codec:v libx264 -pix_fmt yuv420p -map_metadata 0:g -vf transpose=1,scale='trunc(in_w/2)*2:trunc(in_h/2)*2' -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_entry_prefix http://qiniu.com:888/hello.m3u8@ -segment_list m3u8717598356/file.m3u8 m3u8717598356/seg%d
[libx264 @ 0x239e040] frame MB size (48x86) > level limit (1620)
[libx264 @ 0x239e040] DPB size (5 frames, 20640 mbs) > level limit (1 frames, 8100 mbs)
[mpegts @ 0x2849b60] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
Last message repeated 1 times
[mpegts @ 0x241cc20] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
Last message repeated 11 times
[mpegts @ 0x243c8e0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
Last message repeated 3 times
Result:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:95
#EXTINF:94.722562,
http://qiniu.com:888/hello.m3u8@seg0
#EXTINF:84.522562,
http://qiniu.com:888/hello.m3u8@seg1
#EXTINF:74.522562,
http://qiniu.com:888/hello.m3u8@seg2
#EXTINF:64.522562,
http://qiniu.com:888/hello.m3u8@seg3
#EXTINF:54.522562,
http://qiniu.com:888/hello.m3u8@seg4
#EXTINF:44.522562,
http://qiniu.com:888/hello.m3u8@seg5
#EXTINF:34.522562,
http://qiniu.com:888/hello.m3u8@seg6
#EXTINF:24.522562,
http://qiniu.com:888/hello.m3u8@seg7
#EXTINF:24.650750,
http://qiniu.com:888/hello.m3u8@seg8
#EXT-X-ENDLIST
follow-up: 18 comment:17 by , 10 years ago
I am also getting this error when running the following command:
ffmpeg -i footage.mp3 -c:a libfdk_aac -b:a 128k -map 0:0 -f segment -segment_time 10 -segment_list outputlist.m3u8 -segment_format mpegts 'output%03d.m4a'
Here is the output:
ffmpeg version 2.3.git Copyright (c) 2000-2014 the FFmpeg developers built on Sep 11 2014 01:21:47 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1) configuration: --prefix=/home/ubuntu/ffmpeg_build --extra-cflags=-I/home/ubuntu/ffmpeg_build/include --extra-ldflags=-L/home/ubuntu/ffmpeg_build/lib --bindir=/home/ubuntu/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree 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, mp3, from 'footage.mp3': Metadata: title : I've Seen Footage artist : Death Grips album : The Money Store track : 6 Duration: 00:03:22.89, start: 0.025057, bitrate: 128 kb/s Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s Metadata: encoder : LAME3.98b Side data: replaygain: track gain - -9.800000, track peak - unknown, album gain - unknown, album peak - unknown, [mpegts @ 0x21f5ac0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x21ff680] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Output #0, segment, to 'stream/seg-%03d.m4a': Metadata: title : I've Seen Footage artist : Death Grips album : The Money Store track : 6 encoder : Lavf56.4.101 Stream #0:0: Audio: aac (libfdk_aac), 44100 Hz, stereo, s16, 128 kb/s Metadata: encoder : Lavc56.1.100 libfdk_aac Stream mapping: Stream #0:0 -> #0:0 (mp3 (native) -> aac (libfdk_aac)) Press [q] to stop, [?] for help [mpegts @ 0x21a12c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x21f59a0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x21a12c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x21a1dc0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x21a12c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x21b7b80] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x21b7b80] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x21a12c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x21a12c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x21a1ae0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x21a12c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x219bce0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x21a12c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x21a2440] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x21a12c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x21a2440] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x21a2440] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x219bce0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x21a2440] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x219bce0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x21a2440] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x219bce0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x219bce0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x21a2440] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x21a2440] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x219bce0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x219bce0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x21a2440] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x21a2440] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x219fae0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x21a2440] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x219bce0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x219bce0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x21a2440] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x21a2440] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x219bce0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x21a2440] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x219bce0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x21a2440] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [adts @ 0x219bce0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mp3 @ 0x219caa0] Header missing Error while decoding stream #0:0: Invalid data found when processing input size=N/A time=00:03:22.87 bitrate=N/A video:0kB audio:3171kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
What is going on here and is somebody working on a fix? If not what version should I revert back to in order to avoid this bug?
Thanks,
Tom
follow-up: 19 comment:18 by , 10 years ago
Cc: | added |
---|
Replying to tab1293:
I am also getting this error
Which error?
I understand that a flood of warnings is annoying but unfortunately, real regressions (with effect for the output files) exist and I believe they are much more important. Don't you agree?
comment:19 by , 10 years ago
Replying to cehoyos:
Replying to tab1293:
I am also getting this error
Which error?
I understand that a flood of warnings is annoying but unfortunately, real regressions (with effect for the output files) exist and I believe they are much more important. Don't you agree?
I guess 'error' was the wrong word choice. I am just a little confused as to what the message
[adts @ 0x219bce0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
means and how I can set AVStream.time_base instead of AVStream.codec.time_base. Also what is up with the message
[mp3 @ 0x219caa0] Header missing Error while decoding stream #0:0: Invalid data found when processing input
It seems to me like ffmpeg is having trouble segmenting the mp3 file. Can somebody please elaborate why ffmpeg is outputting these messages and what they mean?
comment:20 by , 10 years ago
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
comment:21 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Replying to blacktrash:
Could I have the confirmation that the warning is to be expected with
-f segment
? If yes, this can be closed again,
The warnings are silenced since 3726d07a / 28816050 (and 2.5, 2.6).
The warning message is as already pointed in the subject of this ticket, namely ...
Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
Video source can be downloaded from ...
http://videos.hd-trailers.net/theotherwoman-tlr1_h1080p.mov