Opened 16 months ago

Last modified 16 months ago

#9075 open defect

mp3 file detected as mpeg with lots video and audio streams

Reported by: Mattias Wadman Owned by:
Priority: important Component: avformat
Version: git-master Keywords: mp3 probe regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:
mp3 file falsely detected as mpeg file with lot's of invalid streams

Tested with master commit bb96824510aad2ac4cf0bff545c85af7a256ff92 (~2021-01-22)

How to reproduce:

$ curl -o out -L 'https://mediaonwork.impek.com/mow/00010124/167795/https://meinsportpodcast.de/podcast-download/167795/8-die-polnische-festwoche-4hills.mp3?force'

$ ./ffprobe_g -i out
ffprobe version N-100731-gbb96824510 Copyright (c) 2007-2021 the FFmpeg developers
  built with gcc 9.3.0 (Alpine 9.3.0)
  configuration: --enable-debug --disable-optimizations
  libavutil      56. 63.101 / 56. 63.101
  libavcodec     58.117.101 / 58.117.101
  libavformat    58. 65.101 / 58. 65.101
  libavdevice    58. 11.103 / 58. 11.103
  libavfilter     7. 96.100 /  7. 96.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
[NULL @ 0x55b301339840] Opening '/Users/wader/src/ffmpeg-master/ou3' for reading
[file @ 0x55b301c2db00] Setting default whitelist 'file,crypto,data'
Probing mp3 score:1 size:1859
Probing mp3 score:25 size:3907
Probing mpeg score:25 size:3907
Probing mp3 score:51 size:8003
Probing mpeg score:52 size:8003
[mpeg @ 0x55b301339840] Format mpeg probed with size=8192 and score=52
id3v2 ver:3 flags:00 len:179
[mpeg @ 0x55b301339840] Before avformat_find_stream_info() pos: 189 bytes read:32768 seeks:0 nb_streams:0
[mpeg @ 0x55b301339840] probing stream 0 pp:2500
Probing mp3 score:1 size:689
[mpeg @ 0x55b301339840] Probe with size=689, packets=1 detected mp3 with score=1
[mpeg @ 0x55b301339840] probing stream 0 pp:2499
Probing mp3 score:1 size:1378
[mpeg @ 0x55b301339840] Probe with size=1378, packets=2 detected mp3 with score=1
[mpeg @ 0x55b301339840] probing stream 0 pp:2498
Probing mp3 score:1 size:2067
[mpeg @ 0x55b301339840] Probe with size=2067, packets=3 detected mp3 with score=1
[mpeg @ 0x55b301339840] probing stream 0 pp:2497
[mpeg @ 0x55b301339840] probing stream 0 pp:2496
[mpeg @ 0x55b301339840] probing stream 0 pp:2495
Probing mp3 score:1 size:4134
[mpeg @ 0x55b301339840] Probe with size=4134, packets=6 detected mp3 with score=1
[mpeg @ 0x55b301339840] probing stream 0 pp:2494
[mpeg @ 0x55b301339840] probing stream 0 pp:2493
[mpeg @ 0x55b301339840] probing stream 0 pp:2492
[mpeg @ 0x55b301339840] probing stream 0 pp:2491
[mpeg @ 0x55b301339840] probing stream 0 pp:2490
[mpeg @ 0x55b301339840] probing stream 0 pp:2489
[mpeg @ 0x55b301339840] probing stream 0 pp:2488
[mpeg @ 0x55b301339840] probing stream 0 pp:2487
[mpeg @ 0x55b301339840] probing stream 0 pp:2486
[mpeg @ 0x55b301339840] probing stream 0 pp:2485
[mpeg @ 0x55b301339840] probing stream 0 pp:2484
[mpeg @ 0x55b301339840] probing stream 3 pp:2500
Probing mp3 score:25 size:45767
[mpeg @ 0x55b301339840] Probe with size=45767, packets=1 detected mp3 with score=25
[mpeg @ 0x55b301339840] probed stream 3
[mpeg @ 0x55b301339840] probing stream 5 pp:2500
Probing mp3 score:25 size:4339
[mpeg @ 0x55b301339840] Probe with size=4339, packets=1 detected mp3 with score=25
[mpeg @ 0x55b301339840] probed stream 5
[mpeg @ 0x55b301339840] probing stream 12 pp:2500
Probing mp3 score:25 size:45739
[mpeg @ 0x55b301339840] Probe with size=45739, packets=1 detected mp3 with score=25
[mpeg @ 0x55b301339840] probed stream 12
[mpeg @ 0x55b301339840] pes_ext CF is invalid
[mpeg @ 0x55b301339840] probing stream 18 pp:2500
Probing mp3 score:25 size:56161
[mpeg @ 0x55b301339840] Probe with size=56161, packets=1 detected mp3 with score=25
[mpeg @ 0x55b301339840] probed stream 18
[mpeg @ 0x55b301339840] pes_ext 79 is invalid
[mpeg @ 0x55b301339840] pes_ext E5 is invalid
[mpeg @ 0x55b301339840] probing stream 0 pp:2483
Probing mp3 score:25 size:62096
[mpeg @ 0x55b301339840] Probe with size=62096, packets=18 detected mp3 with score=25
[mpeg @ 0x55b301339840] probed stream 0
[mp3float @ 0x55b301c41580] Header missing
    Last message repeated 16 times
[mp3float @ 0x55b301c36380] Header missing
[mp3float @ 0x55b301c36800] Header missing
[mp3float @ 0x55b301c36c80] Header missing
    Last message repeated 2 times
[mp3float @ 0x55b301c37c00] Header missing
[mp3float @ 0x55b301c5b180] Header missing
    Last message repeated 1 times
[mp3float @ 0x55b301c5d1c0] Header missing
    Last message repeated 2 times
[mp3float @ 0x55b301c64e40] Header missing
[mpeg @ 0x55b301339840] Invalid timestamps stream=8, pts=11354813421, dts=12880517429, size=10036
[mp3float @ 0x55b301c75640] Header missing
    Last message repeated 2 times
[mp3float @ 0x55b301c78f40] Header missing
[mp3float @ 0x55b301c7e440] Header missing
[mp3float @ 0x55b301c84740] Header missing
[mpeg @ 0x55b301339840] Invalid timestamps stream=4, pts=6788261092, dts=8599890033, size=10956
[mpeg @ 0x55b301339840] DTS discontinuity in stream 4: packet 15 with DTS 4699932111, packet 16 with DTS 6788261092
[mpeg @ 0x55b301339840] Invalid timestamps stream=14, pts=2733110422, dts=8199524855, size=8092
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 10: packet 13 with DTS 9223090561878095714, packet 14 with DTS 4581424421
[mpeg @ 0x55b301339840] DTS discontinuity in stream 14: packet 7 with DTS -390395631, packet 8 with DTS 8155103804
[mp3float @ 0x55b301ca6e00] Header missing
[mp3float @ 0x55b301cb6500] Header missing
[mp3float @ 0x55b301cc3640] Header missing
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 10: packet 32 with DTS 4581466739, packet 33 with DTS 558151802
[mp3float @ 0x55b301ccfc00] Header missing
    Last message repeated 2 times
[mpeg @ 0x55b301339840] Invalid timestamps stream=19, pts=1294689477, dts=2979697922, size=43565
[mp3float @ 0x55b301cde8c0] Header missing
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 1: packet 22 with DTS 2505627889, packet 23 with DTS 1378502752
[mpeg @ 0x55b301339840] Invalid timestamps stream=20, pts=1389170268, dts=8090716148, size=13188
[mp3float @ 0x55b301cecf80] Header missing
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 7: packet 59 with DTS 8607644901, packet 60 with DTS 432037937
[mpeg @ 0x55b301339840] DTS discontinuity in stream 7: packet 92 with DTS 432113169, packet 93 with DTS 873878306
[mp3float @ 0x55b301cfea40] Header missing
[mp3float @ 0x55b301d0c280] Header missing
    Last message repeated 4 times
[mpeg @ 0x55b301339840] DTS discontinuity in stream 4: packet 25 with DTS 6788282251, packet 26 with DTS 8590017041
[mp3float @ 0x55b301d13040] Header missing
[mp3float @ 0x55b301c41580] Header missing
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 0: packet 18 with DTS 67399942, packet 20 with DTS 67399942
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 4: packet 27 with DTS 8590019392, packet 28 with DTS 901453967
[mp3float @ 0x55b301d23400] Header missing
[mpeg @ 0x55b301339840] pes_ext 75 is invalid
[mpeg @ 0x55b301339840] probing stream 25 pp:2500
Probing mp3 score:25 size:5242
[mpeg @ 0x55b301339840] Probe with size=5242, packets=1 detected mp3 with score=25
[mpeg @ 0x55b301339840] probed stream 25
[mp3float @ 0x55b301f57c40] Header missing
    Last message repeated 2 times
[mpeg @ 0x55b301339840] Invalid timestamps stream=14, pts=6100344181, dts=6563479277, size=50013
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 14: packet 46 with DTS 8155193142, packet 47 with DTS 6100344181
[mpeg @ 0x55b301339840] pes_ext 84 is invalid
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 22: packet 19 with DTS 9223090561878109820, packet 20 with DTS 7023140157
[mpeg @ 0x55b301339840] probing stream 26 pp:2500
Probing mp3 score:25 size:9079
[mpeg @ 0x55b301339840] Probe with size=9079, packets=1 detected mp3 with score=25
[mpeg @ 0x55b301339840] probed stream 26
[mp3float @ 0x55b301f6f080] Header missing
[mp3float @ 0x55b301f96b40] Header missing
[mpeg @ 0x55b301339840] Further flags set but no bytes left
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 14: packet 93 with DTS 6100452327, packet 94 with DTS 3686732108
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 23: packet 50 with DTS 9223090561878182701, packet 51 with DTS 840017417
[mp3float @ 0x55b301fc10c0] Header missing
[mp3float @ 0x55b301fe37c0] Header missing
    Last message repeated 4 times
[mp3float @ 0x55b302017e00] Header missing
[mp3float @ 0x55b302043f80] Header missing
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 16: packet 46 with DTS 2639351998, packet 47 with DTS 1432224279
[mpeg @ 0x55b301339840] DTS discontinuity in stream 10: packet 70 with DTS 558238789, packet 71 with DTS 5926821908
[mpeg @ 0x55b301339840] Invalid timestamps stream=19, pts=144237422, dts=6294852467, size=22391
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 19: packet 40 with DTS 1294783517, packet 41 with DTS -2295082125
[mpeg @ 0x55b301339840] probing stream 32 pp:2500
[mpeg @ 0x55b301339840] pes_ext 68 is invalid
[mpeg @ 0x55b301339840] pes_ext 51 is invalid
[mpeg @ 0x55b301339840] probing stream 33 pp:2500
Probing h263 score:25 size:6679
Probing mp3 score:25 size:6679
[mpeg @ 0x55b301339840] probing stream 36 pp:2500
Probing mp3 score:25 size:45204
[mpeg @ 0x55b301339840] Probe with size=45204, packets=1 detected mp3 with score=25
[mpeg @ 0x55b301339840] probed stream 36
[mpeg @ 0x55b301339840] pes_ext D9 is invalid
[mpeg @ 0x55b301339840] pes_ext FD is invalid
[mpeg @ 0x55b301339840] Further flags set but no bytes left
[mpeg @ 0x55b301339840] pes_ext 51 is invalid
[mpeg @ 0x55b301339840] probing stream 38 pp:2500
Probing mp3 score:25 size:38761
[mpeg @ 0x55b301339840] Probe with size=38761, packets=1 detected mp3 with score=25
[mpeg @ 0x55b301339840] probed stream 38
[mpeg @ 0x55b301339840] pes_ext 42 is invalid
[mpeg @ 0x55b301339840] probing stream 33 pp:2499
Probing h263 score:25 size:26085
Probing mp3 score:25 size:26085
[mpeg @ 0x55b301339840] pes_ext 5E is invalid
[mpeg @ 0x55b301339840] probing stream 39 pp:2500
Probing mp3 score:1 size:2622
[mpeg @ 0x55b301339840] Probe with size=2622, packets=1 detected mp3 with score=1
[mpeg @ 0x55b301339840] pes_ext 4F is invalid
[mpeg @ 0x55b301339840] pes_ext CD is invalid
[mpeg @ 0x55b301339840] pes_ext 55 is invalid
[mpeg @ 0x55b301339840] probing stream 33 pp:2498
Probing h263 score:25 size:54591
Probing mp3 score:1 size:54591
[mpeg @ 0x55b301339840] Probe with size=54591, packets=3 detected h263 with score=25
[mpeg @ 0x55b301339840] probing stream 39 pp:2499
Probing mp3 score:25 size:13130
[mpeg @ 0x55b301339840] Probe with size=13130, packets=2 detected mp3 with score=25
[mpeg @ 0x55b301339840] probed stream 39
[mpeg @ 0x55b301339840] probing stream 42 pp:2500
[mpeg @ 0x55b301339840] pes_ext 72 is invalid
[mpeg @ 0x55b301339840] pes_ext E8 is invalid
[mpeg @ 0x55b301339840] pes_ext 5B is invalid
[mpeg @ 0x55b301339840] Further flags set but no bytes left
[mpeg @ 0x55b301339840] probing stream 43 pp:2500
Probing mp3 score:25 size:6498
[mpeg @ 0x55b301339840] Probe with size=6498, packets=1 detected mp3 with score=25
[mpeg @ 0x55b301339840] probed stream 43
[mpeg @ 0x55b301339840] probing stream 33 pp:2497
Probing mp3 score:1 size:84229
[mpeg @ 0x55b301339840] Probe with size=84229, packets=4 detected mp3 with score=1
[mpeg @ 0x55b301339840] pes_ext 43 is invalid
[mpeg @ 0x55b301339840] probing stream 42 pp:2499
Probing mp3 score:25 size:49357
[mpeg @ 0x55b301339840] Probe with size=49357, packets=2 detected mp3 with score=25
[mpeg @ 0x55b301339840] probed stream 42
[mpeg @ 0x55b301339840] pes_ext E1 is invalid
[mpeg @ 0x55b301339840] probing stream 32 pp:2499
[mpeg @ 0x55b301339840] probed stream 32 failed
[mpeg @ 0x55b301339840] parser not found for codec none, packets or times may be invalid.
[mpeg @ 0x55b301339840] Invalid timestamps stream=10, pts=273403410, dts=3405570484, size=20514
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 10: packet 83 with DTS 5926850120, packet 84 with DTS 273403410
[mpeg @ 0x55b301339840] Invalid timestamps stream=10, pts=2236484530, dts=3023212453, size=40442
[mpeg @ 0x55b301339840] DTS discontinuity in stream 10: packet 119 with DTS 273485695, packet 120 with DTS 2236484530
[mpeg @ 0x55b301339840] DTS discontinuity in stream 4: packet 87 with DTS 901592676, packet 88 with DTS 6117207971
[mpeg @ 0x55b301339840] pes_ext 6E is invalid
[mpeg @ 0x55b301339840] pes_ext 5A is invalid
[mpeg @ 0x55b301339840] probing stream 46 pp:2500
Probing mp3 score:25 size:48908
[mpeg @ 0x55b301339840] Probe with size=48908, packets=1 detected mp3 with score=25
[mpeg @ 0x55b301339840] probed stream 46
[mpeg @ 0x55b301339840] probing stream 33 pp:2496
Probing mp3 score:1 size:84229
[mpeg @ 0x55b301339840] Probe with size=84229, packets=2500 detected mp3 with score=1
[mpeg @ 0x55b301339840] probed stream 33
[mp3float @ 0x55b3020c5a40] Header missing
[mp3float @ 0x55b302085580] Header missing
[mp3float @ 0x55b3020dd940] Header missing
[mpeg @ 0x55b301339840] Invalid timestamps stream=37, pts=1262418550, dts=8280749664, size=6039
[mp3float @ 0x55b302086500] Header missing
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 2: packet 15 with DTS 4395866657, packet 16 with DTS 248341684
[mpeg @ 0x55b301339840] Invalid timestamps stream=6, pts=5234561237, dts=8572678772, size=44508
[mpeg @ 0x55b301339840] DTS discontinuity in stream 6: packet 19 with DTS 4402475399, packet 20 with DTS 5234561237
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 30: packet 69 with DTS 9223090561878227370, packet 70 with DTS 1938753862
[mpeg @ 0x55b301339840] Invalid timestamps stream=11, pts=2903077252, dts=4258061318, size=41718
[mp3float @ 0x55b301c83540] Header missing
[mpeg @ 0x55b301339840] DTS discontinuity in stream 19: packet 61 with DTS -2295035105, packet 62 with DTS 6009555160
[mp3float @ 0x55b302140a40] Header missing
[mpeg @ 0x55b301339840] DTS discontinuity in stream 23: packet 83 with DTS 840092649, packet 84 with DTS 4370502657
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 9: packet 15 with DTS 9223090561878100416, packet 16 with DTS 1575785986
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 33: packet 6 with DTS 6058974338, packet 7 with DTS 2662685715
[mpeg @ 0x55b301339840] DTS discontinuity in stream 23: packet 126 with DTS 4370601399, packet 127 with DTS 6899566269
[mpeg @ 0x55b301339840] Invalid timestamps stream=4, pts=1133515243, dts=1179141921, size=64006
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 4: packet 187 with DTS 6117440720, packet 188 with DTS 4083423280
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 4: packet 188 with DTS 4083423280, packet 189 with DTS 1133515243
[mp2 @ 0x55b3020842c0] Header missing
    Last message repeated 1 times
[mp3float @ 0x55b3021a7e80] Header missing
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 5: packet 4 with DTS 4404365474, packet 5 with DTS 79878104
[mpeg @ 0x55b301339840] DTS discontinuity in stream 2: packet 27 with DTS 248367545, packet 28 with DTS 8160318156
[mpeg @ 0x55b301339840] Invalid timestamps stream=4, pts=74305570, dts=412394035, size=8182
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 4: packet 249 with DTS 1133656303, packet 250 with DTS 74305570
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 16: packet 80 with DTS 1432301862, packet 81 with DTS 483928202
[mpeg @ 0x55b301339840] Invalid timestamps stream=5, pts=2556052387, dts=2601095533, size=883
[mpeg @ 0x55b301339840] DTS discontinuity in stream 24: packet 103 with DTS 1219314278, packet 104 with DTS 6021596179
[mpeg @ 0x55b301339840] Invalid timestamps stream=15, pts=8516702784, dts=8603543654, size=38071
[mpeg @ 0x55b301339840] DTS discontinuity in stream 15: packet 56 with DTS 4416507360, packet 57 with DTS 8516702784
[mpeg @ 0x55b301339840] Non-increasing DTS in stream 21: packet 48 with DTS 6691496385, packet 49 with DTS 852628718
[mpeg @ 0x55b301339840] max_analyze_duration 7000000 reached at 7000756 microseconds st:4
[mpeg @ 0x55b301339840] start time for stream 3 is not set in estimate_timings_from_pts
[mpeg @ 0x55b301339840] start time for stream 13 is not set in estimate_timings_from_pts
[mpeg @ 0x55b301339840] start time for stream 17 is not set in estimate_timings_from_pts
[mpeg @ 0x55b301339840] start time for stream 18 is not set in estimate_timings_from_pts
[mpeg @ 0x55b301339840] start time for stream 28 is not set in estimate_timings_from_pts
[mpeg @ 0x55b301339840] start time for stream 35 is not set in estimate_timings_from_pts
[mpeg @ 0x55b301339840] start time for stream 40 is not set in estimate_timings_from_pts
[mpeg @ 0x55b301339840] start time for stream 41 is not set in estimate_timings_from_pts
[mpeg @ 0x55b301339840] start time for stream 42 is not set in estimate_timings_from_pts
[mpeg @ 0x55b301339840] start time for stream 43 is not set in estimate_timings_from_pts
[mpeg @ 0x55b301339840] start time for stream 44 is not set in estimate_timings_from_pts
[mpeg @ 0x55b301339840] start time for stream 45 is not set in estimate_timings_from_pts
[mpeg @ 0x55b301339840] start time for stream 46 is not set in estimate_timings_from_pts
[mpeg @ 0x55b301339840] probing stream 47 pp:2500
Probing mp3 score:25 size:7771
[mpeg @ 0x55b301339840] Probe with size=7771, packets=1 detected mp3 with score=25
[mpeg @ 0x55b301339840] probed stream 47
[mpeg @ 0x55b301339840] pes_ext D0 is invalid
[mpeg @ 0x55b301339840] stream 0 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 1 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 2 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 3 : no TS found at start of file, duration not set
[mpeg @ 0x55b301339840] stream 5 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 6 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 7 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 8 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 9 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 10 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 11 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 12 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 13 : no TS found at start of file, duration not set
[mpeg @ 0x55b301339840] stream 14 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 15 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 16 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 17 : no TS found at start of file, duration not set
[mpeg @ 0x55b301339840] stream 18 : no TS found at start of file, duration not set
[mpeg @ 0x55b301339840] stream 19 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 20 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 21 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 22 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 23 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 24 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 25 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 26 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 27 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 28 : no TS found at start of file, duration not set
[mpeg @ 0x55b301339840] stream 29 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 30 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 31 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 32 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 33 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 34 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 35 : no TS found at start of file, duration not set
[mpeg @ 0x55b301339840] stream 36 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 37 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 38 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 39 : no PTS found at end of file, duration not set
[mpeg @ 0x55b301339840] stream 40 : no TS found at start of file, duration not set
[mpeg @ 0x55b301339840] stream 41 : no TS found at start of file, duration not set
[mpeg @ 0x55b301339840] stream 42 : no TS found at start of file, duration not set
[mpeg @ 0x55b301339840] stream 43 : no TS found at start of file, duration not set
[mpeg @ 0x55b301339840] stream 44 : no TS found at start of file, duration not set
[mpeg @ 0x55b301339840] stream 45 : no TS found at start of file, duration not set
[mpeg @ 0x55b301339840] stream 46 : no TS found at start of file, duration not set
[mpeg @ 0x55b301339840] stream 47 : no TS found at start of file, duration not set
[mpeg @ 0x55b301339840] stream 0: start_time: 748.888 duration: NOPTS
[mpeg @ 0x55b301339840] stream 1: start_time: 27839.7 duration: NOPTS
[mpeg @ 0x55b301339840] stream 2: start_time: 48842.6 duration: NOPTS
[mpeg @ 0x55b301339840] stream 3: start_time: 422.717 duration: 60729.1
[mpeg @ 0x55b301339840] stream 4: start_time: 52221.1 duration: 8930.73
[mpeg @ 0x55b301339840] stream 5: start_time: 48937.3 duration: NOPTS
[mpeg @ 0x55b301339840] stream 6: start_time: 133030 duration: NOPTS
[mpeg @ 0x55b301339840] stream 7: start_time: 95639 duration: NOPTS
[mpeg @ 0x55b301339840] stream 8: start_time: 126165 duration: NOPTS
[mpeg @ 0x55b301339840] stream 9: start_time: 17508.3 duration: NOPTS
[mpeg @ 0x55b301339840] stream 10: start_time: 50904.4 duration: NOPTS
[mpeg @ 0x55b301339840] stream 11: start_time: 32256.4 duration: NOPTS
[mpeg @ 0x55b301339840] stream 12: start_time: 422.717 duration: NOPTS
[mpeg @ 0x55b301339840] stream 13: start_time: 422.717 duration: 60729.1
[mpeg @ 0x55b301339840] stream 14: start_time: 30367.9 duration: NOPTS
[mpeg @ 0x55b301339840] stream 15: start_time: 49070.8 duration: NOPTS
[mpeg @ 0x55b301339840] stream 16: start_time: 53447 duration: NOPTS
[mpeg @ 0x55b301339840] stream 17: start_time: 422.717 duration: 60729.1
[mpeg @ 0x55b301339840] stream 18: start_time: 422.717 duration: 60729.1
[mpeg @ 0x55b301339840] stream 19: start_time: 14385.4 duration: NOPTS
[mpeg @ 0x55b301339840] stream 20: start_time: 15435.2 duration: NOPTS
[mpeg @ 0x55b301339840] stream 21: start_time: 74348.7 duration: NOPTS
[mpeg @ 0x55b301339840] stream 22: start_time: 78034.4 duration: NOPTS
[mpeg @ 0x55b301339840] stream 23: start_time: 9332.19 duration: NOPTS
[mpeg @ 0x55b301339840] stream 24: start_time: 13545.2 duration: NOPTS
[mpeg @ 0x55b301339840] stream 25: start_time: 711.211 duration: NOPTS
[mpeg @ 0x55b301339840] stream 26: start_time: 79353.5 duration: NOPTS
[mpeg @ 0x55b301339840] stream 27: start_time: 14428.8 duration: NOPTS
[mpeg @ 0x55b301339840] stream 28: start_time: 422.717 duration: 60729.1
[mpeg @ 0x55b301339840] stream 29: start_time: 43102.3 duration: NOPTS
[mpeg @ 0x55b301339840] stream 30: start_time: 21539.9 duration: NOPTS
[mpeg @ 0x55b301339840] stream 31: start_time: 1680.66 duration: NOPTS
[mpeg @ 0x55b301339840] stream 32: start_time: 46800.2 duration: NOPTS
[mpeg @ 0x55b301339840] stream 33: start_time: 67321.8 duration: NOPTS
[mpeg @ 0x55b301339840] stream 34: start_time: 24328.1 duration: NOPTS
[mpeg @ 0x55b301339840] stream 35: start_time: 422.717 duration: 60729.1
[mpeg @ 0x55b301339840] stream 36: start_time: 15896.8 duration: NOPTS
[mpeg @ 0x55b301339840] stream 37: start_time: 14026.9 duration: NOPTS
[mpeg @ 0x55b301339840] stream 38: start_time: 55327 duration: NOPTS
[mpeg @ 0x55b301339840] stream 39: start_time: 31953.4 duration: NOPTS
[mpeg @ 0x55b301339840] stream 40: start_time: 422.717 duration: 60729.1
[mpeg @ 0x55b301339840] stream 41: start_time: 422.717 duration: 60729.1
[mpeg @ 0x55b301339840] stream 42: start_time: 422.717 duration: 60729.1
[mpeg @ 0x55b301339840] stream 43: start_time: 422.717 duration: 60729.1
[mpeg @ 0x55b301339840] stream 44: start_time: 422.717 duration: 60729.1
[mpeg @ 0x55b301339840] stream 45: start_time: 422.717 duration: 60729.1
[mpeg @ 0x55b301339840] stream 46: start_time: 422.717 duration: 60729.1
[mpeg @ 0x55b301339840] stream 47: start_time: 422.717 duration: 60729.1
[mpeg @ 0x55b301339840] format: start_time: 422.717 duration: 60729.1 (estimate from pts) bitrate=12 kb/s
[mpeg @ 0x55b301339840] Could not find codec parameters for stream 13 (Audio: mp2, 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[mpeg @ 0x55b301339840] Could not find codec parameters for stream 32 (Video: none, 1 reference frame, none): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[mpeg @ 0x55b301339840] Could not find codec parameters for stream 40 (Audio: mp2, 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[mpeg @ 0x55b301339840] Could not find codec parameters for stream 41 (Audio: mp2, 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[mpeg @ 0x55b301339840] Could not find codec parameters for stream 42 (Audio: mp3, 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[mpeg @ 0x55b301339840] Could not find codec parameters for stream 43 (Audio: mp3, 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[mpeg @ 0x55b301339840] Could not find codec parameters for stream 44 (Audio: mp2, 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[mpeg @ 0x55b301339840] Could not find codec parameters for stream 45 (Audio: mp2, 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[mpeg @ 0x55b301339840] Could not find codec parameters for stream 46 (Audio: mp3, 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[mpeg @ 0x55b301339840] Could not find codec parameters for stream 47 (Audio: mp3, 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[mpeg @ 0x55b301339840] After avformat_find_stream_info() pos: 189 bytes read:78372618 seeks:8 frames:2681
Input #0, mpeg, from '/Users/wader/src/ffmpeg-master/ou3':
  Metadata:
    Software        : Lavf58.29.100
    title           : Mein Song 6
    compatible_brands: M4A mp42isom
    major_brand     : M4A
    minor_version   : 0
    date            : 2021
  Duration: 16:52:09.09, start: 422.716889, bitrate: 12 kb/s
    Stream #0:0[0x1e0], 65, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:1[0x1cd], 32, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:2[0x1db], 42, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:3[0x1e8], 43, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:4[0x1c0], 270, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:5[0x1ea], 58, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:6[0x1dd], 61, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:7[0x1d3], 163, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:8[0x1c2], 10, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:9[0x1df], 114, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:10[0x1c6], 203, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:11[0x1d6], 39, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:12[0x1e2], 59, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:13[0x1c3], 0, 1/90000: Audio: mp2, 0 channels
    Stream #0:14[0x1d2], 148, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:15[0x1d5], 91, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:16[0x1ca], 114, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:17[0x1d0], 16, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:18[0x1ee], 77, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:19[0x1c9], 151, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:20[0x1d9], 55, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:21[0x1c5], 65, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:22[0x1cc], 28, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:23[0x1c8], 159, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:24[0x1d8], 135, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:25[0x1e5], 64, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:26[0x1eb], 8, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:27[0x1d1], 46, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:28[0x1dc], 4, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:29[0x1d7], 10, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:30[0x1ce], 166, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:31[0x1cf], 26, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:32[0x1e7], 1, 1/90000: Video: none, 1 reference frame, none, 90k tbr, 90k tbn
    Stream #0:33[0x1ec], 24, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:34[0x1d4], 3, 1/90000: Audio: mp2, 44100 Hz, stereo, s16p, 320 kb/s
    Stream #0:35[0x1c1], 23, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:36[0x1ed], 54, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:37[0x1c4], 15, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:38[0x1ef], 37, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:39[0x1e3], 2, 1/90000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Stream #0:40[0x1c7], 0, 1/90000: Audio: mp2, 0 channels
    Stream #0:41[0x1de], 0, 1/90000: Audio: mp2, 0 channels
    Stream #0:42[0x1e6], 0, 1/90000: Audio: mp3, 0 channels
    Stream #0:43[0x1e1], 0, 1/90000: Audio: mp3, 0 channels
    Stream #0:44[0x1da], 0, 1/90000: Audio: mp2, 0 channels
    Stream #0:45[0x1cb], 0, 1/90000: Audio: mp2, 0 channels
    Stream #0:46[0x1e9], 0, 1/90000: Audio: mp3, 0 channels
    Stream #0:47[0x1e4], 0, 1/90000: Audio: mp3, 0 channels
Unsupported codec with id 0 for input stream 32
[AVIOContext @ 0x7f495fb4b340] Statistics: 78372618 bytes read, 8 seeks


$ ./ffprobe_g -f mp3 -i out
ffprobe version N-100731-gbb96824510 Copyright (c) 2007-2021 the FFmpeg developers
  built with gcc 9.3.0 (Alpine 9.3.0)
  configuration: --enable-debug --disable-optimizations
  libavutil      56. 63.101 / 56. 63.101
  libavcodec     58.117.101 / 58.117.101
  libavformat    58. 65.101 / 58. 65.101
  libavdevice    58. 11.103 / 58. 11.103
  libavfilter     7. 96.100 /  7. 96.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
[mp3 @ 0x5577c8ec4840] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '/Users/wader/src/ffmpeg-master/ou3':
  Metadata:
    Software        : Lavf58.29.100
    title           : Mein Song 6
    compatible_brands: M4A mp42isom
    major_brand     : M4A
    minor_version   : 0
    date            : 2021
  Duration: 00:39:57.15, start: 0.000000, bitrate: 320 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s

What seems to happen is that the first mp3 frames happens to have byte sequences that looks like PS packets with video streams.

Attachments (1)

out-2mb (1.9 MB ) - added by Mattias Wadman 16 months ago.
First 2MB, produces a bit different probe output but hopefully useful

Download all attachments as: .zip

Change History (5)

by Mattias Wadman, 16 months ago

Attachment: out-2mb added

First 2MB, produces a bit different probe output but hopefully useful

comment:1 by Carl Eugen Hoyos, 16 months ago

Component: ffmpegavformat
Keywords: mp3 probe regression added
Priority: normalimportant
Reproduced by developer: set
Status: newopen

Regression since f6870495e1589f0931f62bdf777fc0ad299e9c14, see ticket #4723.

comment:2 by Mattias Wadman, 16 months ago

Hi, when I did some digging with a debugger i think first_frames was 7

comment:3 by Carl Eugen Hoyos, 16 months ago

Actually 4.

comment:4 by Mattias Wadman, 16 months ago

Ok, was that with the truncated sample or whole file?

Note: See TracTickets for help on using tickets.