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

Reply via email to