[FFmpeg-devel] [PATCH] Close vfwcap devices on exit()
matthieu castet
castet.matthieu
Mon Apr 14 19:55:26 CEST 2008
Ramiro Polla wrote:
> Hello,
>
> With some devices and some versions of Windows, if you exit() an
> application before you disconnect a VFW driver, that device will
> remain unusable until you reboot. This happens in FFmpeg in some cases
> like: ffmpeg -r 15 -f vfwcap -i 0 output.mpg
> MPG doesn't accept 15 fps, so FFmpeg just exit()s.
>
There a similar problem with rstp. In some case ffmpeg won't send the
rstp stop command before exiting. This will result the streaming
continue until a timeout is reach.
I believe ffmpeg/ffplay application should avoid to do exit(), but
should exit by calling demuxer/decoder close function.
Matthieu
More information about the ffmpeg-devel
mailing list