publish stream from camera using ffmpeg + v4l2

Hi,

I can publish file stream from my android by using this command:

ffmpeg -i Extremists.m4v -re -acodec copy -vcodec copy -f flv rtmp://192.168.1.39/live/myStream

When i changed the input device to v4l2, my android crashed and rebooted. The command :

ffmpeg -f video4linux2 -i /dev/video20 -re -acodec copy -vcodec copy -f flv rtmp://192.168.1.39/live/myStream

Any idea ?

Thanks

I really don’t know. What video format is the device producing? If H.264 what are the encoding parameters. This is beyond free Wowza support. It is very ffmpeg specific.

Charlie

What video format is the device producing? If H.264 what are the encoding parameters.

I also don’t know.

So, will it be different for every device?