[FFmpeg-user] ffmpeg STDOUT redirecting to a socket
vasu.manikanta9 at gmail.com
Thu Apr 16 08:14:23 CEST 2015
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" <barsnick at gmx.net> 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
> > 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
> > 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.
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
More information about the ffmpeg-user