Help required in vp9 streaming on LAN using 2 Pass encoding

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Help required in vp9 streaming on LAN using 2 Pass encoding

USMAN AAMER
Hi,

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

Kindly guide me that what mistake I am doing. or in what way I can perform
2 pass encoding.

Thanks
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Help required in vp9 streaming on LAN using 2 Pass encoding

Moritz Barsnick
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
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".