[FFmpeg-user] ffmpeg - equivalent of mencoder's immediatemode=0

Mike F paziu at yahoo.com
Sat Jul 7 22:11:18 CEST 2012

> Afaict (I do use both from time to time), FFmpeg should by 

> default do what you want.
> Does the following work:
> ffmpeg -f alsa -i hw:1,0 out.ac3
> ?
> In any case, comlete, uncut output missing, it will show if 
> there is a starting time problem.
> Carl Eugen

Thank you Carl,

The ac3 file go created, and sound IS GOOD...
as soon as I involve video4linux3, the sound is gone,

# ffmpeg -y -standard NTSC -f video4linux2 -i /dev/video0 -f alsa -i hw:1,0 -acodec ac3 -vcodec libx264 out.mp4

tried with alsa & oss, different video and audio codecs, different versions of ffmpeg.
it seems like v4l2 needs another argument to somehow force the audio....

Thanks again,


More information about the ffmpeg-user mailing list