shabir
asked this on June 21, 2011 06:20
Your name: avnish joy
E-mail: shabir@zengamail.com
Question:
we are just using this command to record the sound from the card
ffmpeg -f alsa -i plughw:1,0,2 -acodec libmp3lame -ar 8000 ram.mp3
we also tried this
ffmpeg -f alsa -i plughw:1,0,2 -acodec copy -ar 8000 ram.wav
but we were not able to get the audio form the bluecherry card
also on our bluecherry client interface we are not able to listen to the audio..
---
Message has been sent at: 2011-06-21 09:03:13.
Chat has been opened from website:
https://store.bluecherry.net/account.php
Message has been routed to skill: 0
Comments
Avnish,
Currently version 2 does not support audio from the client live viewing interface. The audio is available during playback of the actual recorded event.
As far as recording audio from ffmpeg, I'll see if someone else can get back to you on that.
cant i just record the stream from any of the port audio and video both and make a video file through ffmpeg
i am trying these commands from ffmpeg however i am able to get the video but audio is missing.
ffmpeg -f alsa -i plughw:1,0,1 -i /dev/video1 -acodec copy -ar 8000 -vcodec copy -f mp4 tt.mp4
We are working on getting a gstreamer plugin developed. Hopefully that would work as a replacement to ffmpeg
Just to put a fine point on this - does this card support ALSA (and therefore FFMpeg) or not? Does anyone have it working, and perhaps a demo init string?
Thanks - looking forward to using this!
This is the (really) long way around it, but should atleast verify that you have audio connected properly. This was submitted by another user, we are still working on a easier way to record the audio
# Record audio from ALSA driver and decode.
arecord -Dplughw:1,0,0 -traw | ./decode-g72x -3 -l > ./decoded.g723
# decode-g72x tool can be downloaded here:
# http://www.ps-auxw.de/g72x++.tar.bz2
# Convert the .g723 file .wav by using ffmpeg
ffmpeg -y -f s16le -acodec pcm_s16le -ar 8000 -ab 24k -i ./decoded.g723 -acodec pcm_s16le -ar 8000 ./audio0.wav