Timeline for Best FFMPEG configuration for recording Video+Audio with RaspberryPi and USB WebCam
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 31, 2019 at 15:01 | answer | added | Mohamad Osama | timeline score: 1 | |
Jun 25, 2016 at 13:51 | comment | added | goldilocks♦ |
I meant to leave an answer here demonstrating uv4l and didn't find time, but I just left one here; you'll have to adapt that to your context. An issue, I think: You may have to read from /dev/uv4l so whether you can get a output format which can be read streamwise that way with sound I don't know. The web server, BTW, is enabled by default and if you have nothing on port 8080 that's where you'll find it (there's an ugly front page, the stream is /stream or the middle button top row -- dunno if you can make use of that for openCV).
|
|
Jun 16, 2016 at 20:53 | comment | added | juasmilla | Cool, then, I'll have a try to that uv4l. Thanks again @goldilocks ! | |
Jun 16, 2016 at 20:50 | comment | added | goldilocks♦ |
As far as I can tell by searching online, uv4l does support audio (it began as a support for "linux TV" which I'm guessing means it is a major component in a lot of set-top cable boxes). The easiest format w/ raspicam was mjpeg , (which is, e.g., supported by most web browsers), and I believe that can include audio.
|
|
Jun 16, 2016 at 20:46 | comment | added | juasmilla | Thanks @goldilocks , but what about including audio... I mean, I tried OpenCV, but don't support audio+video. | |
Jun 16, 2016 at 20:43 | comment | added | goldilocks♦ |
I haven't tried it with audio since I'm using the micless raspicam, but IMO ffmpeg is just a vastly overrated waste of time -- look into uv4l instead (looks to me like that's what ffmpeg is using for the video source anyway). No fuss, no latency, max resolution & framerate, low processor usage, streaming web server, etc.
|
|
Jun 16, 2016 at 20:35 | review | First posts | |||
Jun 16, 2016 at 22:41 | |||||
Jun 16, 2016 at 20:31 | history | asked | juasmilla | CC BY-SA 3.0 |