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://231.231.11.3:1234?localaddr=192.168.2.123" -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://238.170.112.96:1234?pkt_size=1316&buffer_size=1048576" -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://225.170.112.96:1234?pkt_size=1316&buffer_size=1048576"
> 

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
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to