Page 1 of 1

Stream h.264 with VoCore camera

Posted: Thu Nov 07, 2019 2:03 pm
by Bluesmell

I searched everywhere... but is there any tutorial how to stream h264 from Vocore camera with VoCore2 ?

My goal is to stream over UDP to play it back on another device in wired network. How you make it happenĀ“ ?
Followed instructions @ - and I get stream with MJPG-STREAMER under Luci when my source is /dev/video0 - no picture if i use /dev/video1
So far I can also stream mjpeg from /dev/video0 with ffmpeg: "ffmpeg -f v4l2 -input_format mjpeg -i /dev/video0 -c:v copy -f mjpeg udp://"
I can playback stream with ffplay from another device on network with high latency. But I need to do the same with h264 stream.

when I try : "ffmpeg -f v4l2 -i /dev/video1 -c:v copy -f mpegts udp://" I get no error but also no picture from other side.
So ffmpeg package for openwrt has no h264 parser, and codec built-in. Is the only solution to compile ffmpeg with h264 options or is there any other way to do this.
Also does anyone has FFMPEG with h264 also compiled for VoCore2 :)
Maybe my ffmpeg approach is wrong ? lead me some direction.

Thanks. Really need some help.

Re: Stream h.264 with VoCore camera

Posted: Fri Nov 08, 2019 1:42 pm
by Vonger
To use h264, please check download the SDK first, we have a demo source code.
And here is a simple tutorial:,
I do not know much about ffmpeg and codec, but I think it might be easy for you once you can get h264 data from the demo.