[FFmpeg-user] optimize streaming ip-cameras to ffserver and opencv
Stefano Sabatini
stefasab at gmail.com
Wed Jan 22 01:44:29 CET 2014
On date Tuesday 2014-01-21 06:23:09 -0800, lebies wrote:
> Hi all,
>
> I'm trying to stream ip-cams through ffserver which are picked up by opencv2
> for processing.
>
> The server streaming side works, gets input stream and I can play it on the
> other side. There are a few hitches that I'd really appreciate help on:
>
> 1. On both player and opencv the stream plays for a short while (few
> seconds) and then freezes.
Maybe related to this:
http://thread.gmane.org/gmane.comp.video.ffmpeg.user/49400/
If you can provide more info or ideas that would be very welcome.
> 2. When I change the vcodec to libx264 (from copy), I cannot for the life of
> me get around the following errors:
>
> $ ffmpeg -r 30 -an -i "rtsp://192.168.1.212:554" -c:v libx264 -tune
> zerolatency -b:v 200k http://127.0.0.1:8554/cam2.ffm
> [libx264 @ 0xcfa380] broken ffmpeg default settings detected
> [libx264 @ 0xcfa380] use an encoding preset (e.g. -vpre medium)
> [libx264 @ 0xcfa380] preset usage: -vpre <speed> -vpre <profile>
> [libx264 @ 0xcfa380] speed presets are listed in x264 --help
> [libx264 @ 0xcfa380] profile is optional; x264 defaults to high
You can workaround this by using the -override_ffserver option in ffmpeg.
[...]
More information about the ffmpeg-user
mailing list