Hello,
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 @ https://vocore.io/v2u.html - 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://224.1.1.1:15004"
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://224.1.1.1:15004" 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.
Stream h.264 with VoCore camera
- Bluesmell
- Posts: 1
- Joined: Thu Nov 07, 2019 1:38 pm
- Vonger
- Posts: 907
- Joined: Sun Oct 19, 2014 6:00 am
Re: Stream h.264 with VoCore camera
To use h264, please check vocore.io/camera.html download the SDK first, we have a demo source code.
And here is a simple tutorial: http://vonger.cn/?p=14751, http://vonger.cn/?p=14773
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.
And here is a simple tutorial: http://vonger.cn/?p=14751, http://vonger.cn/?p=14773
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.
- Elliot Hamilton
- Posts: 1
- Joined: Sun Mar 01, 2020 3:53 pm
Re: Stream h.264 with VoCore camera
Bluesmell wrote:Hello,
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 @ https://777spinslot.com/new-casinos/ - 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://224.1.1.1:15004"
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://224.1.1.1:15004" 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.
I hope you've decided your problem. All the best to you.
- Vonger
- Posts: 907
- Joined: Sun Oct 19, 2014 6:00 am
Re: Stream h.264 with VoCore camera
Bluesmell wrote:Hello,
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 @ https://vocore.io/v2u.html - 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://224.1.1.1:15004"
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://224.1.1.1:15004" 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.
I have solved this, have to recompile ffmpeg. I put the ffmpeg Makefile to github.com/vonger/vocore2, utils/ffmpeg folder, you can copy it to your openwrt source code folder and compile it. Then it works. We need to add h264 parser.
4 posts
Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest