Update camera.ffmpeg.markdown

This commit is contained in:
Pascal Vizeli 2016-08-31 08:55:44 +02:00 committed by GitHub
parent e3379ae2aa
commit 4f44889c65

View File

@ -50,5 +50,8 @@ First check, if your stream playable by ffmpeg with (use option `-an` or `-vn` t
```
ffmpeg -i INPUT -an -f null -
```
Now you can see what going wrong.
Now you can see what going wrong. Following list could be help to solve your trouble:
- `[rtsp @ ...] UDP timeout, retrying with TCP`: You need to set rtsp transport in config with: `input: -rtsp_transport tcp -i INPUT`
- `[rtsp @ ...] Could not find codec parameters for stream 0 (Video: ..., none): unspecified size`: FFmpeg need more data or time for autodetect. You can set the 'analyzeduration' and/or 'probesize' option, play with this value. If you now the needed value you can set it to config with: `input: -analyzeduration xy -probesize xy tcp -i INPUT`. More info about that on [ffmpeg](https://www.ffmpeg.org/ffmpeg-formats.html#Description).