[FFmpeg-user] ffmpeg STDOUT redirecting to a socket

Manikanta Vasu vasu.manikanta9 at gmail.com
Tue Apr 14 10:41:08 CEST 2015


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

Manikanta vasu

More information about the ffmpeg-user mailing list