Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(in|out|ref) +w:(\d+) h:(\d+) fmt:(\w+) sar:(\d+)\/(\d+)(?: flags:0x[[:xdigit:]]+)?
/
g
Input 1
ffmpeg version N-86388-g3db98cad5c Copyright (c) 2000-2017 the FFmpeg developers built with Apple LLVM version 8.1.0 (clang-802.0.42) configuration: --enable-version3 --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 libavutil 55. 63.100 / 55. 63.100 libavcodec 57. 96.101 / 57. 96.101 libavformat 57. 72.101 / 57. 72.101 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 91.100 / 6. 91.100 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100 [Parsed_testsrc_0 @ 0x000000000000] size:320x240 rate:25/1 duration:-1.000000 sar:1/1 [Parsed_testsrc_1 @ 0x000000000000] size:640x360 rate:25/1 duration:-1.000000 sar:1/1 [Parsed_scale2ref_2 @ 0x000000000000] w:0 h:trunc((print(ow)*in_h+(in_w*7/2))/(in_h*7))*7 flags:'bilinear' interl:0 S
Substitution
ffmpeg version N-86388-g3db98cad5c Copyright (c) 2000-2017 the FFmpeg developers built with Apple LLVM version 8.1.0 (clang-802.0.42) configuration: --enable-version3 --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 libavutil 55. 63.100 / 55. 63.100 libavcodec 57. 96.101 / 57. 96.101 libavformat 57. 72.101 / 57. 72.101 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 91.100 / 6. 91.100 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100 [Parsed_testsrc_0 @ 0x000000000000] size:320x240 rate:25/1 duration:-1.000000 sar:1/1 [Parsed_testsrc_1 @ 0x000000000000] size:640x360 rate:25/1 duration:-1.000000 sar:1/1 [Parsed_scale2ref_2 @ 0x000000000000] w:0 h:trunc((print(ow)*in_h+(in_w*7/2))/(in_h*7))*7 flags:'bilinear' interl:0 S