On 11/25/19, Michael Koch <astroelectro...@t-online.de> wrote: > Am 25.11.2019 um 00:08 schrieb Michael Koch: >> >> I just found the solution to this problem myself: >> astats=metadata=1:reset=1,adrawgraph=m1=lavfi.astats.1.RMS_level >> >> The underline character is missing in the documentation, where the >> option is called "RMS level dB". Same problem for most other options too. > > > This command line works as expected: > > c://ffmpeg/ffmpeg -i P1000479.mov -lavfi > astats=metadata=1:reset=1,adrawgraph=m1=lavfi.astats.1.RMS_level:mode=line:slide=scroll:min=-90:max=0 > -pix_fmt yuv420p -t 5 -y test.mp4 > > > However when I try to do exactly the same thing two times and combine > the videos with vstack, then I get warnings "More than 1000 frames > duplicated" "More than 10000 frames duplicated" and FFmpeg becomes > extremely slow: > > c://ffmpeg/ffmpeg -i P1000479.mov -lavfi > [0]astats=metadata=1:reset=1,adrawgraph=m1=lavfi.astats.1.RMS_level:mode=line:slide=scroll:min=-90:max=0[1];[0]astats=metadata=1:reset=1,adrawgraph=m1=lavfi.astats.1.RMS_level:mode=line:slide=scroll:min=-90:max=0[2];[1][2]vstack > -pix_fmt yuv420p -t 5 -y test.mp4 > > What's wrong with this command line?
Can not reproduce. Please provide input files. > Below is the console output. > > Michael > > > F:\2019-10-30_Sylvia>c://ffmpeg/ffmpeg -i P1000479.mov -lavfi > [0]astats=metadata > =1:reset=1,adrawgraph=m1=lavfi.astats.1.RMS_level:mode=line:slide=scroll:min=-90 > :max=0[1];[0]astats=metadata=1:reset=1,adrawgraph=m1=lavfi.astats.1.RMS_level:mo > de=line:slide=scroll:min=-90:max=0[2];[1][2]vstack -pix_fmt yuv420p -t 5 > -y test > .mp4 > ffmpeg version git-2019-11-23-d65aaf8 Copyright (c) 2000-2019 the FFmpeg > develop > ers > built with gcc 9.2.1 (GCC) 20191010 > configuration: --enable-gpl --enable-version3 --enable-sdl2 > --enable-fontconfi > g --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d > --enable-libb > luray --enable-libfreetype --enable-libmp3lame > --enable-libopencore-amrnb --enab > le-libopencore-amrwb --enable-libopenjpeg --enable-libopus > --enable-libshine --e > nable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame > --enable > -libvpx --enable-libwavpack --enable-libwebp --enable-libx264 > --enable-libx265 - > -enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib > --enable-gmp --enab > le-libvidstab --enable-libvorbis --enable-libvo-amrwbenc > --enable-libmysofa --en > able-libspeex --enable-libxvid --enable-libaom --enable-libmfx > --enable-ffnvcode > c --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec > --enable-dxva2 - > -enable-avisynth --enable-libopenmpt --enable-amf > libavutil 56. 36.100 / 56. 36.100 > libavcodec 58. 62.100 / 58. 62.100 > libavformat 58. 35.100 / 58. 35.100 > libavdevice 58. 9.101 / 58. 9.101 > libavfilter 7. 67.100 / 7. 67.100 > libswscale 5. 6.100 / 5. 6.100 > libswresample 3. 6.100 / 3. 6.100 > libpostproc 55. 6.100 / 55. 6.100 > [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000004c0e40] decoding for stream 0 failed > Guessed Channel Layout for Input Stream #0.1 : stereo > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'P1000479.mov': > Metadata: > major_brand : qt > minor_version : 537986816 > compatible_brands: qt pana > creation_time : 2019-10-29T23:33:53.000000Z > com.panasonic.Semi-Pro.metadata.xml: <?xml version="1.0" > encoding="UTF-8" st > andalone="no" ?> > : <ClipMain > xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst > ance" xmlns="urn:schemas-Professional-Plug-in:Semi-Pro:ClipMetadata:v1.0"> > : <ClipContent> > : > <GlobalClipID>060A2B340101010501010D21130000005767E053 > 00BB5534547F1060C1650131</GlobalClipID> > : <Duration>12012</Duration> > : <EditUnit>1/25</EditUnit> > : <EssenceList> > : <Video> > : <Codec BitRate="200">H264_422_Intra</Codec> > : <ActiveLine>1080</ActiveLine> > : <ActivePixel>1920</ActivePixel> > : <BitDepth>10</BitDepth> > : <FrameRate>25p</FrameRate> > : <TimecodeType>NonDrop</TimecodeType> > : <StartTimecode>22:23:17:03</StartTimecode> > : </Video> > : <Audio> > : <Channel>2</Channel> > : <SamplingRate>48000</SamplingRate> > : <BitsPerSample>16</BitsPerSample> > : </Audio> > : </EssenceList> > : <ClipMetadata> > : <Rating>0</Rating> > : <Access> > : <CreationDate>2019-10-29T23:33:53+02:00</CreationD > ate> > : <LastUpdateDate>2019-10-29T23:33:53+02:00</LastUpd > ateDate> > : </Access> > : <Device> > : <Manufacturer>Panasonic</Manufacturer> > : <ModelName>DC-GH5S</ModelName> > : </Device> > : <Shoot> > : <StartDate>2019-10-29T23:33:53+02:00</StartDate> > : </Shoot> > : </ClipMetadata> > : </ClipContent> > : <UserArea> > : <AcquisitionMetadata > xmlns="urn:schemas-Professional-P > lug-in:P2:CameraMetadata:v1.2"> > : <CameraUnitMetadata> > : <Gamma> > : <CaptureGamma>STANDARD</CaptureGamma> > : </Gamma> > : <Gamut> > : <CaptureGamut>BT.709</CaptureGamut> > : </Gamut> > : </CameraUnitMetadata> > : </AcquisitionMetadata> > : </UserArea> > : </ClipMain> > : > Duration: 00:08:00.48, start: 0.000000, bitrate: 201724 kb/s > Stream #0:0(und): Video: h264 (High 4:2:2 Intra) (avc1 / > 0x31637661), yuv422 > p10le(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 200004 kb/s, 25 fps, 25 > tbr, 90k > tbn, 50 tbc (default) > Metadata: > creation_time : 2019-10-29T23:33:53.000000Z > timecode : 22:23:17:03 > Stream #0:1(und): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, > stereo, s1 > 6, 1536 kb/s (default) > Metadata: > creation_time : 2019-10-29T23:33:53.000000Z > timecode : 22:23:17:03 > Stream #0:2(und): Data: none (tmcd / 0x64636D74), 0 kb/s (default) > Metadata: > creation_time : 2019-10-29T23:33:53.000000Z > timecode : 22:23:17:03 > Stream mapping: > Stream #0:1 (pcm_s16be) -> astats (graph 0) > Stream #0:1 (pcm_s16be) -> astats (graph 0) > vstack (graph 0) -> Stream #0:0 (libx264) > Stream #0:1 -> #0:1 (pcm_s16be (native) -> aac (native)) > Press [q] to stop, [?] for help > [mp4 @ 0000000002a4ad80] Frame rate very high for a muxer not > efficiently suppor > ting it. > Please consider specifying a lower framerate, a different muxer or -vsync 2 > [libx264 @ 0000000003cc6680] using SAR=1/1 > [libx264 @ 0000000003cc6680] MB rate (87552000) > level limit (16711680) > [libx264 @ 0000000003cc6680] using cpu capabilities: MMX2 SSE2Fast SSSE3 > SSE4.2 > AVX FMA3 BMI2 AVX2 > [libx264 @ 0000000003cc6680] profile High, level 6.2, 4:2:0, 8-bit > [libx264 @ 0000000003cc6680] 264 - core 158 - H.264/MPEG-4 AVC codec - > Copyleft > 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 > deblock=1 > :0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 > me_rang > e=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 > chroma_qp_ > offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 > interla > ced=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=2 keyint=250 keyint_min=25 > scenecut=40 > intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 > qpmin=0 qpma > x=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 > Output #0, mp4, to 'test.mp4': > Metadata: > major_brand : qt > minor_version : 537986816 > compatible_brands: qt pana > com.panasonic.Semi-Pro.metadata.xml: <?xml version="1.0" > encoding="UTF-8" st > andalone="no" ?> > : <ClipMain > xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst > ance" xmlns="urn:schemas-Professional-Plug-in:Semi-Pro:ClipMetadata:v1.0"> > : <ClipContent> > : > <GlobalClipID>060A2B340101010501010D21130000005767E053 > 00BB5534547F1060C1650131</GlobalClipID> > : <Duration>12012</Duration> > : <EditUnit>1/25</EditUnit> > : <EssenceList> > : <Video> > : <Codec BitRate="200">H264_422_Intra</Codec> > : <ActiveLine>1080</ActiveLine> > : <ActivePixel>1920</ActivePixel> > : <BitDepth>10</BitDepth> > : <FrameRate>25p</FrameRate> > : <TimecodeType>NonDrop</TimecodeType> > : <StartTimecode>22:23:17:03</StartTimecode> > : </Video> > : <Audio> > : <Channel>2</Channel> > : <SamplingRate>48000</SamplingRate> > : <BitsPerSample>16</BitsPerSample> > : </Audio> > : </EssenceList> > : <ClipMetadata> > : <Rating>0</Rating> > : <Access> > : <CreationDate>2019-10-29T23:33:53+02:00</CreationD > ate> > : <LastUpdateDate>2019-10-29T23:33:53+02:00</LastUpd > ateDate> > : </Access> > : <Device> > : <Manufacturer>Panasonic</Manufacturer> > : <ModelName>DC-GH5S</ModelName> > : </Device> > : <Shoot> > : <StartDate>2019-10-29T23:33:53+02:00</StartDate> > : </Shoot> > : </ClipMetadata> > : </ClipContent> > : <UserArea> > : <AcquisitionMetadata > xmlns="urn:schemas-Professional-P > lug-in:P2:CameraMetadata:v1.2"> > : <CameraUnitMetadata> > : <Gamma> > : <CaptureGamma>STANDARD</CaptureGamma> > : </Gamma> > : <Gamut> > : <CaptureGamut>BT.709</CaptureGamut> > : </Gamut> > : </CameraUnitMetadata> > : </AcquisitionMetadata> > : </UserArea> > : </ClipMain> > : > encoder : Lavf58.35.100 > Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), > yuv420p(progressive) > , 900x512 [SAR 1:1 DAR 225:128], q=-1--1, 48k tbn, 48k tbc (default) > Metadata: > encoder : Lavc58.62.100 libx264 > Side data: > cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A > Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, > stereo, flt > p, 128 kb/s (default) > Metadata: > creation_time : 2019-10-29T23:33:53.000000Z > timecode : 22:23:17:03 > encoder : Lavc58.62.100 aac > More than 1000 frames duplicated > frame= 2048 fps=1162 q=33.0 size= 0kB time=00:00:00.04 bitrate= > 9.2kbits > frame= 3072 fps=871 q=33.0 size= 0kB time=00:00:00.06 bitrate= > 6.1kbits/ > frame= 4096 fps=772 q=33.0 size= 0kB time=00:00:00.08 bitrate= > 4.6kbits/ > frame= 5120 fps=728 q=33.0 size= 0kB time=00:00:00.10 bitrate= > 3.6kbits/ > frame= 6144 fps=705 q=33.0 size= 0kB time=00:00:00.12 bitrate= > 3.0kbits/ > frame= 7168 fps=684 q=33.0 size= 0kB time=00:00:00.14 bitrate= > 2.6kbits/ > frame= 8192 fps=670 q=33.0 size= 0kB time=00:00:00.16 bitrate= > 2.3kbits/ > frame= 9216 fps=660 q=33.0 size= 0kB time=00:00:00.19 bitrate= > 2.0kbits/ > More than 10000 frames duplicated > frame=10240 fps=654 q=33.0 size= 0kB time=00:00:00.21 bitrate= > 1.8kbits/ > frame=11264 fps=648 q=33.0 size= 0kB time=00:00:00.23 bitrate= > 1.6kbits/ > frame=12288 fps=641 q=33.0 size= 256kB time=00:00:00.25 > bitrate=8228.3kbits/ > frame=13312 fps=636 q=33.0 size= 256kB time=00:00:00.27 > bitrate=7592.9kbits/ > s dup=13298 drop=0 speed=0.0132x > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".