![]() |
Re: Recording problem using different applications.
Quote:
|
Re: Recording problem using different applications.
wrong stopped or crash - lack metadata in file
if you have mplayer: Code:
mplayer -quiet -slave -frames 0 -vo null -ao null -identify audio.m4a |
Re: Recording problem using different applications.
Quote:
Thank you once again for this outstanding solutions. I am really very very impressed. You are a real audio professsional !! Problem solved thanks to your advice how to stop recording. After this, file is correct and fully playable. If you would be so kind please answer for some questions, what may have been useful for many users. 1. If I am recording quiet sounds some clicking is heard in the background. No matter if this is wav or m4a audio and which application is used for recording. This problem was also described in this thread: http://talk.maemo.org/showthread.php?t=54860 2. When I am recording sound using, for example, recorder app high volume sounds are almost always oversteered. In VoiceNote or when recording video with standard camerra application are not. Do you know why is it so? 3. Is there any difference between recording "m4a" sound with the standard camera application and this method you have proposed? I mean set of commands. 4. What is the meaning of output-format parameter. What could have happen when this is different from 0. |
Re: Recording problem using different applications.
Quote:
Quote:
Code:
amixer -qc0 set PGA 0 Code:
alsamixer -c0 or You can use different audio source instead of 'source.hw0': source.voice (hardware dsp) source.record Code:
gst-launch-0.10 -e pulsesrc device=source.record ! audio/x-raw-float,channels=1 ! audioconvert ! nokiaaacenc bitrate=64000 output-format=0 ! hantromp4mux ! audio/x-m4a ! filesink location=/home/user/MyDocs/audio.m4a Quote:
- audio bitrate - 128kbps vs you can choose - audio rate - 48000Hz vs 44100Hz - audio source - source.record vs you can choose (ad 2.) - both has one channel - the same codec - nokiaaacenc - the same container - hantromp4mux Quote:
Code:
gst-inspect-0.10 nokiaaacenc (1): ADTS - Audio Data Transport Stream format (can be streams directly into playable aac file) (2): ADIF - Audio Data Interchange Format |
Re: Recording problem using different applications.
2 Attachment(s)
Quote:
Here are the samples of clicking noise. I have noticed that when sim card is "active" clicking noise has higher frequency; when the phone is in offline mode this frequency is lower. Audio04 is the sample of this first situation, Audio05 for the second one. Additionally, in this second situation I hear probably more distortions to the recorded sound. |
Re: Recording problem using different applications.
Quote:
|
Re: Recording problem using different applications.
Quote:
|
Re: Recording problem using different applications.
Quote:
source.voice (hardware dsp) source.record Quote:
source.record has wider range 8000, 11025, 16000, 22050, 44100, 48000 [kHz] or sth like that. Why don't you check its quality? You can use gstreamer for that. Source.voice is optimized for better understanding human voice through gsm transmision and maybe for some background noise cancellation. Quote:
Quote:
Code:
amixer -qc0 cset name='AGC Switch' on Code:
alsamixer -c0 |
Re: Recording problem using different applications.
Thank you once again for your complete answer. It is really something !!
Quote:
|
Re: Recording problem using different applications.
Quote:
|
All times are GMT. The time now is 05:36. |
vBulletin® Version 3.8.8