[FFmpeg-devel] Filters

Clément Bœsch u at pkh.me
Thu Aug 21 09:56:55 CEST 2014

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140821/4e1626c9/attachment.asc>

More information about the ffmpeg-devel mailing list