[FFmpeg-trac] #8520(documentation:closed): wrong examples in streamselect documentation
FFmpeg
trac at avcodec.org
Wed Feb 12 14:36:51 EET 2020
#8520: wrong examples in streamselect documentation
-------------------------------------+-------------------------------------
Reporter: mkoch | Owner:
Type: defect | Status: closed
Priority: normal | Component:
| documentation
Version: git-master | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by mkoch):
Replying to [comment:8 richardpl]:
> {{{ffmpeg -i red-leaf-tips.avi -i windy-sunset.avi -lavfi
streamselect at my_special_filter=inputs=2:map=0,sendcmd='5.0
streamselect at my_special_filter map 1' -f null -}}}
>
> This is also showed in documentation of sendcmd filter. Simply putting
sendcmd as last filter before output will work, it will broadcast to all
filters with exact same name @my_special_filter.
To which documentation do you refer? In ffmpeg-all.html I find no example
for placing sendcmd after the target command. I can't get your example
working.
C:\Users\mKoch\Desktop>c:\ffmpeg\ffmpeg -f lavfi -i
color=red:size=vga:duration=
6 -f lavfi -i color=green:size=vga:duration=6 -lavfi
streamselect at my=inputs=2:ma
p=0,sendcmd='5.0 streamselect at my map 1' -y out.mp4
ffmpeg version git-2020-02-09-5ad1c1a Copyright (c) 2000-2020 the FFmpeg
develop
ers
built with gcc 9.2.1 (GCC) 20200122
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. 39.100 / 56. 39.100
libavcodec 58. 68.100 / 58. 68.100
libavformat 58. 38.100 / 58. 38.100
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 75.100 / 7. 75.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, lavfi, from 'color=red:size=vga:duration=6':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 640x480
[SAR 1:1
DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Input #1, lavfi, from 'color=green:size=vga:duration=6':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #1:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 640x480
[SAR 1:1
DAR 4:3], 25 tbr, 25 tbn, 25 tbc
[NULL @ 0000000003203040] Unable to find a suitable output format for
'streamsel
ect at my'
streamselect at my: Invalid argument
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8520#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list