transcode
#!/bin/bash trap "pkill -KILL -P $$" TERM streamInfo=$(/usr/local/nginx/ffmpeg/bin/ffprobe -v error -select_streams v:0 -show_entries stream=width,height,avg_frame_rate rtmp://localhost/stream/"$1"

transcode
#!/bin/bash trap "pkill -KILL -P $$" TERM streamInfo=$(/usr/local/nginx/ffmpeg/bin/ffprobe -v error -select_streams v:0 -show_entries stream=width,height,avg_frame_rate rtmp://localhost/stream/"$1"