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@192.168.1.22/live" -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
log):

> [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?

Thanks,
Moritz
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to