Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ffmpeg screen capture WITH sound?

24 views
Skip to first unread message

bad sector

unread,
Mar 3, 2012, 12:53:21 PM3/3/12
to
hi,

I'm trying to capture screen WITH sound output from the onscreen
ZynAddSubFX synth keyboard (suse-12.1-kde4). The keyboard puts out sound
only if I set /dev/dsp as the 'OSS Wave Out Device' and
/dev/sequencer as the 'OSS Sequencer Deevice'. Loking under /dev neither
of these exist or anything like them.

This ffmpeg line captures video ok

ffmpeg -y -f x11grab -s 600x500 -i :0.0+200,50 -sameq /tmp/out.mpg

but anything such as

ffmpeg -y -f oss -i /dev/sdp -f x11grab -s 600x500 -i :0.0+200,50
-sameq /tmp/out.mpg

just reports

[oss @ 0x637640] /dev/sdp: No such file or directory
/dev/sdp: Input/output error

Seems like too many fingers and at least one in the wrong place :-)

I can't make sense out of the man page about this


TIA


Loki Harfagr

unread,
Mar 4, 2012, 10:46:02 AM3/4/12
to
Sat, 03 Mar 2012 17:53:21 +0000, bad sector did cat :

> [oss @ 0x637640] /dev/sdp: No such file or directory
> /dev/sdp: Input/output error
>
> Seems like too many fingers and at least one in the wrong place :-)

fingers crossed at least ;-)
try and re-type it as /dev/dsp
yes, that funny "dsp" here stands for DSP (digital signal processor) :-)

Loki Harfagr

unread,
Mar 5, 2012, 3:12:27 AM3/5/12
to
Sat, 03 Mar 2012 17:53:21 +0000, bad sector did cat :

correct, compare your two lines:
"only if I set /dev/dsp as ..."
"ffmpeg.*oss -i /dev/sdp ..."

>
> I can't make sense out of the man page about this

dsp stands here for Digital Signal Processor
(and there's nothing such as Switched Digits Pyting ;-)
0 new messages