[FFmpeg-trac] #2307(undetermined:new): Stream segmenter bug if total recorded length > 12 hours
FFmpeg
trac at avcodec.org
Sat Mar 16 11:47:19 CET 2013
#2307: Stream segmenter bug if total recorded length > 12 hours
-------------------------------------+-------------------------------------
Reporter: dgillier | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: 1.1.3 | undetermined
Keywords: segment, | Resolution:
duration | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by cehoyos):
It works fine here, could you test current git head (or 1.2)?
{{{
$ ffmpeg -f lavfi -i testsrc -f s16le -i /dev/zero -vcodec mpeg4 -strict
-2 -acodec aac -f segment -segment_time 1800 -map 0 -map 1 out%3d.mp4
ffmpeg version N-50974-g7d15cd4 Copyright (c) 2000-2013 the FFmpeg
developers
built on Mar 16 2013 10:10:06 with gcc 4.6 (Ubuntu/Linaro
4.6.3-1ubuntu5)
configuration: --enable-gpl --enable-libx264
libavutil 52. 19.100 / 52. 19.100
libavcodec 55. 0.100 / 55. 0.100
libavformat 55. 0.100 / 55. 0.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 45.104 / 3. 45.104
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[lavfi @ 0x2e57780] Estimating duration from bitrate, this may be
inaccurate
Input #0, lavfi, from 'testsrc':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240
[SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
[s16le @ 0x2e5a300] max_analyze_duration 5000000 reached at 5015510
microseconds
[s16le @ 0x2e5a300] Estimating duration from bitrate, this may be
inaccurate
Guessed Channel Layout for Input Stream #1.0 : mono
Input #1, s16le, from '/dev/zero':
Duration: N/A, bitrate: 705 kb/s
Stream #1:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
Output #0, segment, to 'out%3d.mp4':
Metadata:
encoder : Lavf55.0.100
Stream #0:0: Video: mpeg4, yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31,
200 kb/s, 90k tbn, 25 tbc
Stream #0:1: Audio: aac, 44100 Hz, mono, fltp, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo -> mpeg4)
Stream #1:0 -> #0:1 (pcm_s16le -> aac)
Press [q] to stop, [?] for help
frame=2340088 fps=430 q=10.2 Lsize=N/A time=26:00:03.52 bitrate=N/A
video:2285549kB audio:15977kB subtitle:0 global headers:0kB muxing
overhead -100.000001%
}}}
{{{
$ ffmpeg -i out024.mp4
ffmpeg version N-50974-g7d15cd4 Copyright (c) 2000-2013 the FFmpeg
developers
built on Mar 16 2013 10:10:06 with gcc 4.6 (Ubuntu/Linaro
4.6.3-1ubuntu5)
configuration: --enable-gpl --enable-libx264
libavutil 52. 19.100 / 52. 19.100
libavcodec 55. 0.100 / 55. 0.100
libavformat 55. 0.100 / 55. 0.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 45.104 / 3. 45.104
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out024.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf55.0.100
Duration: 00:30:00.01, start: 43200.000000, bitrate: 206 kb/s
Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D),
yuv420p, 320x240 [SAR 1:1 DAR 4:3], 200 kb/s, 25 fps, 25 tbr, 12800 tbn,
25 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono,
fltp, 1 kb/s
Metadata:
handler_name : SoundHandler
At least one output file must be specified
}}}
{{{
$ ffmpeg -i out025.mp4
ffmpeg version N-50974-g7d15cd4 Copyright (c) 2000-2013 the FFmpeg
developers
built on Mar 16 2013 10:10:06 with gcc 4.6 (Ubuntu/Linaro
4.6.3-1ubuntu5)
configuration: --enable-gpl --enable-libx264
libavutil 52. 19.100 / 52. 19.100
libavcodec 55. 0.100 / 55. 0.100
libavformat 55. 0.100 / 55. 0.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 45.104 / 3. 45.104
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out025.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf55.0.100
Duration: 00:30:00.00, start: 45000.000000, bitrate: 206 kb/s
Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D),
yuv420p, 320x240 [SAR 1:1 DAR 4:3], 199 kb/s, 25 fps, 25 tbr, 12800 tbn,
25 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono,
fltp, 1 kb/s
Metadata:
handler_name : SoundHandler
At least one output file must be specified
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2307#comment:6>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list