[FFmpeg-trac] #3931(avformat:new): H264 streams in mov not analyzed long enough
FFmpeg
trac at avcodec.org
Sun Sep 7 21:49:31 CEST 2014
#3931: H264 streams in mov not analyzed long enough
-------------------------------------+-------------------------------------
Reporter: cehoyos | Owner:
Type: defect | Status: new
Priority: minor | Component: avformat
Version: git- | Keywords: mov h264
master | analyzeduration
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
-------------------------------------+-------------------------------------
Users uploaded two mov files that cannot be probed correctly with the
default value for {{{-analyzeduration}}}. The issue looks similar to
ticket #3673, I will attach a poc that shows a possible fix.
Both files work fine with {{{-analyzeduration 6M}}}.
{{{
$ ffmpeg -i PMS_transcoder_issue-GHI59.mp4
ffmpeg version N-66181-ga5b20bf Copyright (c) 2000-2014 the FFmpeg
developers
built on Sep 7 2014 20:59:32 with gcc 4.7 (SUSE Linux)
configuration:
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
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1dfbb20] Could not find codec parameters for
stream 0 (Video: h264 (avc1 / 0x31637661), 1280x720, 4317 kb/s):
unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'PMS_transcoder_issue-GHI59.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
title : Dexter - Das Fest der Dankbarkeit (S04E09)
encoder : Lavf55.28.101
Duration: 00:02:00.00, start: 0.010000, bitrate: 4577 kb/s
Chapter #0.0: start 0.000000, end 120.000000
Metadata:
title : 00:27:19.221
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), 1280x720, 4317
kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 48k tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(ger): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, s16,
468 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream #0:2(eng): Subtitle: mov_text (text / 0x74786574)
Metadata:
handler_name : SubtitleHandler
At least one output file must be specified
}}}
{{{
$ ffmpeg -i slice_00007.m4v
ffmpeg version N-66181-ga5b20bf Copyright (c) 2000-2014 the FFmpeg
developers
built on Sep 7 2014 20:59:32 with gcc 4.7 (SUSE Linux)
configuration:
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
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x25f9b20] Could not find codec parameters for
stream 0 (Video: h264 (avc1 / 0x31637661), 720x352, 1651 kb/s):
unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slice_00007.m4v':
Metadata:
major_brand : M4V
minor_version : 512
compatible_brands: isomiso2avc1
encoder : Lavf55.19.104
Duration: 02:09:08.07, start: 0.018000, bitrate: 1036 kb/s
Chapter #0.0: start 0.000000, end 172.140000
Metadata:
title : Chapter 1
Chapter #0.1: start 172.140000, end 421.689000
Metadata:
title : Chapter 2
Chapter #0.2: start 421.689000, end 525.360000
Metadata:
title : Chapter 3
Chapter #0.3: start 525.360000, end 659.827000
Metadata:
title : Chapter 4
Chapter #0.4: start 659.827000, end 787.088000
Metadata:
title : Chapter 5
Chapter #0.5: start 787.088000, end 981.415000
Metadata:
title : Chapter 6
Chapter #0.6: start 981.415000, end 1080.047000
Metadata:
title : Chapter 7
Chapter #0.7: start 1080.047000, end 1242.943000
Metadata:
title : Chapter 8
Chapter #0.8: start 1242.943000, end 1418.018000
Metadata:
title : Chapter 9
Chapter #0.9: start 1418.018000, end 1807.841000
Metadata:
title : Chapter 10
Chapter #0.10: start 1807.841000, end 1952.118000
Metadata:
title : Chapter 11
Chapter #0.11: start 1952.118000, end 2090.790000
Metadata:
title : Chapter 12
Chapter #0.12: start 2090.790000, end 2324.257000
Metadata:
title : Chapter 13
Chapter #0.13: start 2324.257000, end 2454.454000
Metadata:
title : Chapter 14
Chapter #0.14: start 2454.454000, end 2652.785000
Metadata:
title : Chapter 15
Chapter #0.15: start 2652.785000, end 2929.695000
Metadata:
title : Chapter 16
Chapter #0.16: start 2929.695000, end 3054.153000
Metadata:
title : Chapter 17
Chapter #0.17: start 3054.153000, end 3206.038000
Metadata:
title : Chapter 18
Chapter #0.18: start 3206.038000, end 3518.450000
Metadata:
title : Chapter 19
Chapter #0.19: start 3518.450000, end 3689.020000
Metadata:
title : Chapter 20
Chapter #0.20: start 3689.020000, end 4028.059000
Metadata:
title : Chapter 21
Chapter #0.21: start 4028.059000, end 4154.886000
Metadata:
title : Chapter 22
Chapter #0.22: start 4154.886000, end 4302.566000
Metadata:
title : Chapter 23
Chapter #0.23: start 4302.566000, end 4532.663000
Metadata:
title : Chapter 24
Chapter #0.24: start 4532.663000, end 4750.080000
Metadata:
title : Chapter 25
Chapter #0.25: start 4750.080000, end 4950.080000
Metadata:
title : Chapter 26
Chapter #0.26: start 4950.080000, end 5496.860000
Metadata:
title : Chapter 27
Chapter #0.27: start 5496.860000, end 5940.569000
Metadata:
title : Chapter 28
Chapter #0.28: start 5940.569000, end 6116.345000
Metadata:
title : Chapter 29
Chapter #0.29: start 6116.345000, end 6202.064000
Metadata:
title : Chapter 30
Chapter #0.30: start 6202.064000, end 6461.206000
Metadata:
title : Chapter 31
Chapter #0.31: start 6461.206000, end 6667.083000
Metadata:
title : Chapter 32
Chapter #0.32: start 6667.083000, end 6894.076000
Metadata:
title : Chapter 33
Chapter #0.33: start 6894.076000, end 6998.481000
Metadata:
title : Chapter 34
Chapter #0.34: start 6998.481000, end 7158.507000
Metadata:
title : Chapter 35
Chapter #0.35: start 7158.507000, end 7352.468000
Metadata:
title : Chapter 36
Chapter #0.36: start 7352.468000, end 7526.174000
Metadata:
title : Chapter 37
Chapter #0.37: start 7526.174000, end 7613.662000
Metadata:
title : Chapter 38
Chapter #0.38: start 7613.662000, end 7748.071000
Metadata:
title : Chapter 39
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), 720x352, 1651 kb/s,
SAR 704:783 DAR 160:87, 23.99 fps, 59.94 tbr, 90k tbn, 180k tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo,
s16, 159 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream #0:2(eng): Subtitle: mov_text (text / 0x74786574)
Metadata:
handler_name : SubtitleHandler
At least one output file must be specified
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3931>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list