<div dir="ltr"><div><font face="courier new, monospace"><font color="#444444">$ ffmpeg -f v4l2 -r 15 -s 40x30 -i /dev/video0 -f flv rtmp://<a href="http://192.168.2.125:25333/venkat/test0">192.168.2.125:25333/venkat/test0</a></font><br>
</font></div><div><font color="#666666" face="courier new, monospace">ffmpeg version git-2013-07-17-a0b7e73 Copyright (c) 2000-2013 the FFmpeg developers</font></div><div><font color="#666666" face="courier new, monospace">  built on Jul 17 2013 17:20:26 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)</font></div>
<div><font color="#666666" face="courier new, monospace">  configuration: --prefix=/usr/local/ffmpeg_build --extra-cflags=-I/usr/local/ffmpeg_build/include --extra-ldflags=-L/usr/local/ffmpeg_build/lib --bindir=/usr/local/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab</font></div>
<div><font color="#666666" face="courier new, monospace">  libavutil      52. 40.100 / 52. 40.100</font></div><div><font color="#666666" face="courier new, monospace">  libavcodec     55. 18.102 / 55. 18.102</font></div><div>
<font color="#666666" face="courier new, monospace">  libavformat    55. 12.102 / 55. 12.102</font></div><div><font color="#666666" face="courier new, monospace">  libavdevice    55.  3.100 / 55.  3.100</font></div><div><font color="#666666" face="courier new, monospace">  libavfilter     3. 81.101 /  3. 81.101</font></div>
<div><font color="#666666" face="courier new, monospace">  libswscale      2.  4.100 /  2.  4.100</font></div><div><font color="#666666" face="courier new, monospace">  libswresample   0. 17.102 /  0. 17.102</font></div><div>
<font color="#666666" face="courier new, monospace">  libpostproc    52.  3.100 / 52.  3.100</font></div><div><font color="#666666" face="courier new, monospace">[video4linux2,v4l2 @ 0xf0ce40] The V4L2 driver changed the video from 40x30 to 160x120</font></div>
<div><font color="#666666" face="courier new, monospace">Input #0, video4linux2,v4l2, from '/dev/video0':</font></div><div><font color="#666666" face="courier new, monospace">  Duration: N/A, start: 8718.480573, bitrate: 4608 kb/s</font></div>
<div><font color="#666666" face="courier new, monospace">    Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 160x120, 4608 kb/s, 15 fps, 15 tbr, 1000k tbn, 1000k tbc</font></div><div><font face="courier new, monospace" color="#ff0000">[tcp @ 0xf0cd40] Connection to tcp://<a href="http://192.168.2.125:25333">192.168.2.125:25333</a> failed: No route to host</font></div>
<div><font face="courier new, monospace" color="#ff0000">[rtmp @ 0xf0e060] Cannot open connection tcp://<a href="http://192.168.2.125:25333">192.168.2.125:25333</a></font></div><div><font face="courier new, monospace" color="#ff0000">rtmp://<a href="http://192.168.2.125:25333/venkat/test0">192.168.2.125:25333/venkat/test0</a>: No route to host</font></div>
<div><br></div><div>I am making system call to above command and i want to extract only error message but unfortunately ffmpeg is writing non error messages to stderr.</div>-- <br><div dir="ltr"><strong><font face="arial, helvetica, sans-serif" color="#444444">Gowtham</font></strong><br>
</div>
</div>