[FFmpeg-user] Help required in vp9 streaming on LAN using 2 Pass encoding

Moritz Barsnick barsnick at gmx.net
Thu Oct 15 01:06:03 EEST 2020


On Wed, Oct 14, 2020 at 15:34:56 +0500, USMAN AAMER wrote:
> I am working on vp9-RTP streaming over LAN and want to perform 2 pass
> encoding but unable to do so as it is not generating .sdp file.
>
> I am using the following command:
>
>   ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 1M -pass 1 -an -f null /dev/null
> && ffmpeg -i input.mp4 -c:v libvpx-vp9 -an -b:v 1M -pass 2 -c:a -f rtp
> rtp://192.168.12.5:5004

If you show us the complete, uncut console output, we can show you what
the error message means.

Apart from that:
> ffmpeg -i input.mp4 -c:v libvpx-vp9 -an -b:v 1M -pass 2 -c:a -f rtp rtp://192.168.12.5:5004

a) You're saying not to use audio ("-an"), but specify "-c:a"
   nevertheless.
b) "-c:a" needs an additional parameter.

Moritz


More information about the ffmpeg-user mailing list