[FFmpeg-user] ffmpeg output to stdout -stream

Manikanta Vasu vasu.manikanta9 at gmail.com
Mon Mar 30 20:04:19 CEST 2015


 Hi,

I am using adb shell command to get the device screen through ffmpeg.I just
want to send ffmpeg output through socket stream and store that image in
computer location .
I am using below command to get the stream buffer.but it was coming as
empty.could you pls give me out of here

Sample code:

getSocketStream("shell: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", "1f28427b")


More information about the ffmpeg-user mailing list