This forum is run by the BATC (British Amateur Television Club), it is service made freely available to all interested parties, please do not abuse this privilege.
I'm guessing a bit as to what the filtergraph parameter is contained in the "$CAPTION""$SCALE" variables.
I've pored through the rather detailed and extensive ffmpeg doco without learning what should reasonable values?
Peter - VK4EA
You can safely leave out the string
Code: Select all
$CAPTION contains the code to put a callsign caption in the top right hand corner, $SCALE contains code that can be used to force 16:9 format from a PAL 4:3 source, and yadif=0:1:0 changes the frame interlace order which seems to be set wrongly for PAL in the EasyCap driver (it's OK for NTSC, but not reversed, like it needs to be, for PAL).
ffmpeg -v 0 -f mpeg -i /dev/video1 -c:a aac -strict experimental -s 640x480 -ac 2 -b:a 48k -f flv -r 25 -vcodec libx264 -preset fast -vf crop=685:546:20:0 -b:v 375k -minrate 375k -maxrate 375k -bufsize 400k "rtmp://rtmp.batc.org.uk/live/gb3km-xxxxxx"
The minrate/maxrate is used to limit the data rate if encoding noise, it just stalls the encoder otherwise.