Thanks for the given information and it is working as well.Some times it was throwing text relocation warnings.
WARNING: linker: /data/local/tmp/ffmpeg has text relocations. This is wasting memory and prevents security hardening. Please fix. Kindly help me to avoid those kind of warnings. On Apr 14, 2015 2:33 PM, "Moritz Barsnick" <[email protected]> wrote: > Hi Manikanta, > > On Tue, Apr 14, 2015 at 14:11:08 +0530, Manikanta Vasu wrote: > > I am using below command to get compress the image and writing into a > disk. > > Instead of writing on disk, i just want to redirect that output stream > > through socket. > > > > Here is the command > > > > adb screencap -p | /data/local/tmp/ffmpeg -loglevel panic -f rawvideo -s > > 720x1280 -pix_fmt rgb0 -r 10 -i - -vf scale=281.25:500.0 -f image2 > -vcodec > > png -vframes 1 /sdcard/image.png > > On Unix, stdout is referred to as "-". Use that as ffmpeg's output file > name. To attach stdout to a socket, pipe it to a program such as netcat > or (more sophisticated) socat, which can attach that to a socket. > > Moritz > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
