You are not logged in.

#1 2011-10-17 18:43:22

build
Member
Registered: 2009-03-05
Posts: 15

ffmpeg to record good audio quality?

Hello,

For days Im trying to do get a proper screenrecording with good sound quality. Im lost in information and would like some help. All interfaces like gtkRecordmydesktop etc, they all fail me.They die on me or dont do what i want: screenrecord with sound.

I use ffcast to make windowselection easier.  After the -w flag you can use ffmpeg as normal. This is what I last used

ffcast -w ffmpeg -vcodec mpeg4 -b 8000k -f alsa -ac 2 -ab 192k -ar 44100 -i hw:0,0 -y test1.mp4

I tried and dont know it anymore. The recording is crappy, both video and audio. Anyone?

Offline

#2 2011-10-17 19:57:01

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: ffmpeg to record good audio quality?

Tried recording only audio to see if the problem is with the capture?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2011-10-17 22:04:47

build
Member
Registered: 2009-03-05
Posts: 15

Re: ffmpeg to record good audio quality?

>Tried recording only audio to see if the problem is with the capture?
I did with arecord, but for the hell of it I also did it with ffmpeg. No problems, a crisp sound.

I then again tried various command with and without ffcast. Not much difference.

One thing is that at start the movie file is sharp, but after some seconds becomes jittery. I think im giving up on this one. I really spent too much time on this already.

I forgot to mention the sound now is good, while i use the same flags

Last edited by build (2011-10-17 22:05:44)

Offline

#4 2011-10-18 18:25:30

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: ffmpeg to record good audio quality?

It might the a case of not enough cpu power. Depending on the resolution and fps you are trying to encode it might be too much for the cpu power you have available, or it might be a bug somewhere.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB