You are not logged in.

#1 2008-10-06 04:47:26

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Can't get FFmpeg to capture OSSv4

I've been trying to get FFmpeg to capture OSSv4 sound and all I end up with are tracks full of slight clicks. It looks like /dev/dsp is pointing to the correct device for front stereo:

ls -l /dev/dsp
lrwxrwxrwx 1 root root 26 2008-10-05 07:20 /dev/dsp -> /dev/oss/oss_hdaudio0/pcm0

ossinfo
..snip..
HD Audio play front               /dev/oss/oss_hdaudio0/pcm0  (device index 0)

Explicitly defining the whole path doesn't work either. One of the commands I've tried is:

ffmpeg -f oss -i /dev/dsp -ac 2 test.flac

An interesting thing is that FFmpeg is only reporting a mono channel for /dev/dsp when it should be stereo. This is why I defined the channels above. If it makes any difference I was testing with MPD playing using OSS as it's sound server. Any ideas?

Offline

Board footer

Powered by FluxBB