I am transcoding udp source to rtmp output.
HTML Code:
ffmpeg -timeout 2000 -y -i 'udp://@239.1.3.105:8002?fifo_size=1000000\&overrun_nonfatal' -f +global_header -c:a aac -strict experimental -b:a 64000 -ar 44100 -ac 2 -ab 128k -s 640x360 -vcodec libx264 -pix_fmt yueset:v faster -r 30  -f  flv 'rtmp://admin:admin@192.168.2.200:1935/live/wtvZEEANMOLCINEMA.stream'
After Few minutes it starts giving error like
Code:
[mpegts @ 0xbbd120] PES packet size mismatch758kB time=00:03:19.97 bitrate=1055.2kbits/s
[mpeg2video @ 0xe67120] ac-tex damaged at 0 35
[mpeg2video @ 0xe67120] Warning MVs not available
[mpeg2video @ 0xe67120] concealing 45 DC, 45 AC, 45 MV errors in P frame
udp://@239.1.3.105:8002?fifo_size=1000000\&overrun_nonfatal: Input/output error
udp://@239.1.3.105:8002?fifo_size=1000000\&overrun_nonfatal: Input/output error.8kbits/s
[flv @ 0xbe28c0] Failed to update header with correct duration.
[flv @ 0xbe28c0] Failed to update header with correct filesize.
[flv @ 0xc01b80] Failed to update header with correct duration.
[flv @ 0xc01b80] Failed to update header with correct filesize.
And stream stops transcoding. I could not find the issue. I would appreciate if some one help me to solve this problem.
I have attached all source script and ffmpeg log.