[FFmpeg-user] Error while decoding stream

Ivan Kirillov fatal at troitsk.ws
Thu Apr 25 15:21:25 EEST 2019


hey guys im trying to get stream from url then decode it and sent to my 
local rtmp:

ffmpeg -i "`streamlink --stream-url --default-stream 720p 
https://www.twitch.tv/mystream`" -f alsa -f flv -ac 2 -ar 44100 -vcodec 
libx264 -g 60 -keyint_min 30 -b:v 3000k -minrate 3000k -maxrate 3000k 
-pix_fmt yuv420p -s 1280x720 -preset fast -tune film -acodec aac 
-threads 2 -strict -2 -bufsize 3000k rtmp://127.0.0.1/live3

after 10 minutes im getting multiple warnings like

Past duration xxxxxxx too large

and after some hours im getting

errors like

Error while decoding stream #0:0: Invalid argument1:06:45.20 
bitrate=3054.0kbits/s dup=0 drop=17
     Last message repeated 33 times

stream works but sound is lost :(

pls explain to me how can i fix this ?



More information about the ffmpeg-user mailing list