[Ffmpeg-devel] Fixed stream delay/offset

Wolfram Gloger wmglo
Sat May 6 18:41:25 CEST 2006


> Is it possible to have a fixed offset between streams in ffmpeg. For
> example this:
> 
> dvgrab --format raw - | ./ffmpeg -f dv -i - -f audio_device -i /dev/dsp
> -map 0.0 -map 1.0 -f dv -vcodec copy -y test.file
> 
> Here there will be a fixed delay of about 1 sec. Is there some way of
> aligning the streams ? Or is there a need of a new ffmpeg option?
> -stream_offset or something like that.

Please try -itsoffset 1.0.  Place it before the second "-i" option,
as it affects all following input files.

Regards,
Wolfram.





More information about the ffmpeg-devel mailing list