On Mon, Aug 18, 2014 at 06:51:41PM +0100, JULIAN GARDNER wrote:
> Thanks for this, its 99% what i need apart from I lose the audio on the [vid] 
> output. I want the small picture [160x100] output without audio and the 
> 640x360 output with audio
> Commandlineffmpeg -threads 0 -i 
> "udp://" -filter_complex 
> 'scale=iw/2:ih/2,split [mark], scale=160:90,drawbox=10:10:5:5:color=red 
> [detect];[mark] drawbox=10:10:10:5:5:color=blue [vid]' -map [detect] -vcodec 
> libx264 -preset faster -x264opts keyint=75 -x264opts bitrate=512 -bufsize 1M 
> -r 25 -an -f mpegts 
> "udp://" -map [vid][0:a] 
> -vcodec libx264 -preset faster -x264opts keyint=75 -x264opts bitrate=1150 
> -bufsize 1M -r 25 -acodec libfaac -ab 128k -ar 32k -ac 2 -f mpegts 
> "udp://"

Please suggest improvements in the documentation if this is not obvious,
but -map [vid][0:a] is not valid.  Try -map [vid] -map [0:a].


Clément B.

Attachment: pgp6ap5AXktCd.pgp
Description: PGP signature

ffmpeg-devel mailing list

Reply via email to