[FFmpeg-trac] #5974(undetermined:new): Segmented recording not working in FFmpeg version 3.2
FFmpeg
trac at avcodec.org
Wed Nov 23 19:37:26 EET 2016
#5974: Segmented recording not working in FFmpeg version 3.2
-------------------------------------+-------------------------------------
Reporter: s4sreenath | Type: defect
Status: new | Priority: important
Component: | Version:
undetermined | unspecified
Keywords: segmented | Blocked By:
recording | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Environment:
============
Windows
How to reproduce : -
============================
Used the following command to record video in segments of 10 minute
duration. Observing inconsistent behaviour from 3.1.4 release version
onwards. This is working perfectly in versions below 3.0.1.
ffmpeg -report -rtbufsize 200M -f dshow -i video="Datapath VisionHD4
01":audio="Datapath VisionHD4 Audio Digital 01" -y -r 30 -preset veryfast
-segment_time 600 -f segment -reset_timestamps 1 -vf
drawtext=fontfile="fonts/arial.ttf:text='%{localtime\:XXX %m/%d/%Y
%H-%M-%S}'":fontcolor=white at 0.8:fontsize=30:x=7:y=7 video%04d.mp4
=================
Console output:-
=================
Report written to "ffmpeg-20161123-121158.log"
ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --
enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme
--enable-libgsm --enable-libilbc --enable-libmodplug --enable-li
bmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
libopenh264 --enable-libopenjpeg --enable-libopus --enable-libr
tmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-
libspeex --enable-libtheora --enable-libtwolame --enable-libv
idstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx26
5 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma
--enable-decklink --enable-zlib
libavutil 55. 34.100 / 55. 34.100
libavcodec 57. 64.100 / 57. 64.100
libavformat 57. 56.100 / 57. 56.100
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, dshow, from 'video=Datapath VisionHD4 01:audio=Datapath
VisionHD4 Audio Digital 01':
Duration: N/A, start: 4290385.402000, bitrate: N/A
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 1280x720,
59.94 fps, 59.94 tbr, 10000k tbn, 10000k tbc
Stream #0:1: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
No pixel format specified, yuv422p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0000000001e2ed60] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX
[libx264 @ 0000000001e2ed60] profile High 4:2:2, level 3.1, 4:2:2 8-bit
[libx264 @ 0000000001e2ed60] 264 - core 148 r2721 72d53ab - H.264/MPEG-4
AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.
html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex
subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1
trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0
threads=22 lookahead_threads=5 sliced_threads=0 nr=0 decimate=
1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2
b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 key
int=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf
mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_rati
o=1.40 aq=1:1.00
Output #0, segment, to 'video%04d.mp4':
Metadata:
encoder : Lavf57.56.100
Stream #0:0: Video: h264 (libx264), yuv422p, 1280x720, q=-1--1, 30
fps, 15360 tbn, 30 tbc
Metadata:
encoder : Lavc57.64.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 128 kb/s
Metadata:
encoder : Lavc57.64.100 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
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (64% of size: 200000000 [rt
bufsize parameter])! frame dropped!
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (67% of size: 200000000 [rt
bufsize parameter])! frame dropped!
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (69% of size: 200000000 [rt
bufsize parameter])! frame dropped!
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (74% of size: 200000000 [rt
bufsize parameter])! frame dropped!
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (76% of size: 200000000 [rt
bufsize parameter])! frame dropped!
Last message repeated 1 times
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (78% of size: 200000000 [rt
bufsize parameter])! frame dropped!
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (80% of size: 200000000 [rt
bufsize parameter])! frame dropped!
Last message repeated 1 times
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (81% of size: 200000000 [rt
bufsize parameter])! frame dropped!
Last message repeated 1 times
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (82% of size: 200000000 [rt
bufsize parameter])! frame dropped!
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (84% of size: 200000000 [rt
bufsize parameter])! frame dropped!
Last message repeated 1 times
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (85% of size: 200000000 [rt
bufsize parameter])! frame dropped!
Last message repeated 1 times
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (87% of size: 200000000 [rt
bufsize parameter])! frame dropped!
Last message repeated 1 times
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (88% of size: 200000000 [rt
bufsize parameter])! frame dropped!
Last message repeated 1 times
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (89% of size: 200000000 [rt
bufsize parameter])! frame dropped!
Last message repeated 2 times
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (90% of size: 200000000 [rt
bufsize parameter])! frame dropped!
Last message repeated 1 times
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (91% of size: 200000000 [rt
bufsize parameter])! frame dropped!
Last message repeated 1 times
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (92% of size: 200000000 [rt
bufsize parameter])! frame dropped!
Last message repeated 2 times
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (93% of size: 200000000 [rt
bufsize parameter])! frame dropped!
Last message repeated 1 times
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (94% of size: 200000000 [rt
bufsize parameter])! frame dropped!
Last message repeated 7 times
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (95% of size: 200000000 [rt
bufsize parameter])! frame dropped!
Last message repeated 5 times
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (96% of size: 200000000 [rt
bufsize parameter])! frame dropped!
Last message repeated 1 times
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (97% of size: 200000000 [rt
bufsize parameter])! frame dropped!
Last message repeated 5 times
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (98% of size: 200000000 [rt
bufsize parameter])! frame dropped!
Last message repeated 1 times
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (99% of size: 200000000 [rt
bufsize parameter])! frame dropped!
Last message repeated 5 times
[dshow @ 00000000006177e0] real-time buffer [Datapath VisionHD4 01] [video
input] too full or near too full (100% of size: 200000000 [r
tbufsize parameter])! frame dropped!
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5974>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list