[FFmpeg-user] Sound or Video - but I can't get both to work...

Reindl Harald h.reindl at thelounge.net
Mon Jun 13 03:58:06 CEST 2011



Am 13.06.2011 03:54, schrieb Bradley D. Thornton:

> I get video but no sound when I do this:
> 
> ffmpeg -f alsa -i plughw:0,0 -f x11grab -r 25 -s 1440x900 -i :0.0
> -acodec pcm_s16le -vcodec huffyuv -sameq screencast.avi
> 
> or this:
> 
> ffmpeg -f alsa -ac 2 -i plughw:0,0 -f x11grab -r 25 -s 1440x900 -i :0.0
> -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0
> output.mkv
> 
> -f oss (gives an error - no device) and I do not have pulse.

why do you specifiy params before "-i"?
these are normally for the input-file and i guess
ffmpeg will in most cases know better what the input is

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20110613/37db5666/attachment.asc>


More information about the ffmpeg-user mailing list