[FFmpeg-user] pcm_alaw audio from Wyze Cam to YouTube?

Moritz Barsnick barsnick at gmx.net
Sun Apr 19 22:35:54 EEST 2020

Hi Steven,

thanks for the quite complete report and explanation of what you're
trying to do.

On Sun, Apr 19, 2020 at 11:13:52 -0700, Steven Kan wrote:

> Since ffmpeg doesn’t include an mp3 encoder by default, I tried aac, but now ffmpeg complains of "Non-monotonous DTS in output stream . . . “ and "Queue input is backward in time” and YouTube doesn’t present it.
> ./ffmpeg -re -thread_queue_size 512 -rtsp_transport tcp -i "rtsp://anonymous:password@" -acodec aac -vcodec copy -t 01:47:02 -f flv "rtmp://a.rtmp.youtube.com/live2/my-youtube-streaming-key"
> ffmpeg version N-89882-g4dbae00bac Copyright (c) 2000-2018 the FFmpeg developers

This ffmpeg version is over two years old (Jan 2018).

I tried with a more recent version, with an artificial alaw WAV file as
input, and don't see your issues. I see only this warning (quoting your

> [aac @ 0x25ee600] Too many bits 8832.000000 > 6144 per frame requested, clamping to max

That it works for me may be due to the fact that I don't use your
real-life input.

Could you kindly try with a newer version?


More information about the ffmpeg-user mailing list