I am shooting a video using the USB Terratec Grabster AV350 (which is based on the em2860 chip).
I canβt get the sound when it is playing. If I play the captured video using vlc or with ffplay, I get only 3 seconds of sound, and then silence for the rest of the video ...
I do not get any errors during capture. At the end, this indicates the size of the video and audio recorded ....
I use the ffmpeg command for this:
ffmpeg -f alsa -ac 2 -i hw: 3 -f video4linux2 -i / dev / video0 -acodec ac3 -ab 128k -vcodec mpeg4 -b 6000k -r 25 test5.avi
Journal:
[alsa @ 0x9bcd420]Estimating duration from bitrate, this may be inaccurate Input
If I reduce the command only for recording sound, then the sound file can be played successfully:
ffmpeg -f alsa -ac 2 -i hw: 3.0 -acodec ac3 -ab 128k test5.avi
[alsa @ 0x8ede420]Estimating duration from bitrate, this may be inaccurate Input
If I run the command only to capture video, then vlc or ffplay can successfully play the video:
ffmpeg -f video4linux2 -i / dev / video0 -vcodec mpeg4 -b 12000k -r 25 test5.avi
[video4linux2 @ 0x91d6420]Estimating duration from bitrate, this may be inaccurate Input
The strange behavior that I noticed is that when I tried to capture video and audio, I can no longer record audio if I first turn off the AV350.
G350 is on map 3:
htpc@htpc-01 :/proc/asound/G350/pcm0c$ more info card: 3 device: 0 subdevice: 0 stream: CAPTURE id: USB Audio name: USB Audio subname: subdevice
OS is Linux 2.6.38-8-generic with Ubuntu Natty Narwhal
Any help to solve this problem would be great.
Thanks!