Page 1 of 1

How to record sound with ffmpeg

Posted: Tue Jun 06, 2017 10:01 am
by Tanat
Hi all.
I have a problem with sound if ffmpeg on NanoPi NEO Air with ubuntu_core_3.4_20170220
I install the eflasher_ubuntutu_core_3.4_20170220 on NanoPi NEO Air and want to record audio and video from camera and microphone with ffmpeg.
I found how to record video in ffmpeg, but I didn't find how to record audio without alsa in ffmpeg.
How can I record audio and video without alsa in ffmpeg?

Re: How to record sound with ffmpeg

Posted: Wed Jun 07, 2017 5:28 pm
by Tanat
I tried to recompile ffmpeg from https://github.com/stulluk/FFmpeg-Cedrus with patch from https://github.com/uboborov/ffmpeg_h264_H3 and I found that library libasound-dev had absent. After install libasound-dev and ./configre ffmpeg and saw that I had an alsa an input device.
May be guys that support ubuntu_core with kernel 3.4 will make a new distributiv with alsa in ffmpeg!

Re: How to record sound with ffmpeg

Posted: Wed Jun 07, 2017 5:54 pm
by Tanat
Now I have a new problem with ubuntu_core_4.11_20170531 on NanoPi NEO Air.
After connect camera CAM500B to the board and load ubuntu_core_4.11 I don't see device video0.

Re: How to record sound with ffmpeg

Posted: Tue Jun 27, 2017 10:14 am
by jjm
Tanat wrote:
Now I have a new problem with ubuntu_core_4.11_20170531 on NanoPi NEO Air.
After connect camera CAM500B to the board and load ubuntu_core_4.11 I don't see device video0.


Hi,
Now the mainline kernel has already support ffmpeg, but now don't support DVP driver.

thank you!