[FFmpeg-user] Broken video in rtmp stream to Wowza using tee pseudo-muxer

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Jan 25 12:21:58 EET 2018


2018-01-24 16:36 GMT+01:00 Erwin Eggenberger <eeggenberger+ffmpeg at techcast.com>:

> When I just upload the stream without the tee muxer, everything works as
> expected, but with tee I only get audio but no video. In the Wowza logs
> I can see errors like this:
> H264Utils.decodeAVCC : java.lang.ArrayIndexOutOfBoundsException
>
> Sounds to me like there's something wrong with the h.264 video. The
> ffmpeg command looks like this:
>
> ffmpeg -y -v info -f x11grab -draw_mouse 0 -r 25 -s 1280x720
> -thread_queue_size 4096 -i :0.0+0,0 -f alsa \
>   -thread_queue_size 4096 -i hw:0,1,0 -acodec aac -strict -2 -ar 44100
> -c:v libx264 -preset veryfast \
>   -maxrate 2976k -bufsize 5952k -pix_fmt yuv420p -r 25 -crf 25 -g 50
> -tune zerolatency \
>   -f tee -map 0:v -map 1:a
> "[f=flv]rtmp://user:password@servername:1935/live/test_stream"

Please also provide the complete, uncut console output.

Carl Eugen


More information about the ffmpeg-user mailing list