[FFmpeg-user] Audio lost after a while in live streaming

fb fatemeh.bagherpour at gmail.com
Mon Sep 24 13:29:10 CEST 2012


Hi
I'm using ffmpeg to stream DVB-T signals through a LAN. Every things seems
OK till audio lost suddenly! as I read the logs, I guess the error that
causes this problem is: 
"Error while decoding stream #0:1: Invalid data found when processing input"

- Is it true?
- What is the reason?
- What is the solution?
 ----------------------------------
ffmpeg -i ch6 -sameq -vcodec libx264 -v:b 256 -ar 44100 -f flv -vf
yadif=1:0:1 -loglevel error rtmp://sth

[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS referenced
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS 0 referenced
[h264 @ 0x9c4abc0] decode_slice_header error
[h264 @ 0x9c4abc0] no frame!
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS referenced
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS 0 referenced
[h264 @ 0x9c4abc0] decode_slice_header error
[h264 @ 0x9c4abc0] no frame!
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS referenced
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS 0 referenced
[h264 @ 0x9c4abc0] decode_slice_header error
[h264 @ 0x9c4abc0] no frame!
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS referenced
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS 0 referenced
[h264 @ 0x9c4abc0] decode_slice_header error
[h264 @ 0x9c4abc0] no frame!
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS referenced
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS 0 referenced
[h264 @ 0x9c4abc0] decode_slice_header error
[h264 @ 0x9c4abc0] no frame!
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS referenced
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS 0 referenced
[h264 @ 0x9c4abc0] decode_slice_header error
[h264 @ 0x9c4abc0] no frame!
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS referenced
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS 0 referenced
[h264 @ 0x9c4abc0] decode_slice_header error
[h264 @ 0x9c4abc0] no frame!
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS referenced
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS 0 referenced
[h264 @ 0x9c4abc0] decode_slice_header error
[h264 @ 0x9c4abc0] no frame!
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS referenced
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS 0 referenced
[h264 @ 0x9c4abc0] decode_slice_header error
[h264 @ 0x9c4abc0] no frame!
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS referenced
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS 0 referenced
[h264 @ 0x9c4abc0] decode_slice_header error
[h264 @ 0x9c4abc0] no frame!
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS referenced
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS 0 referenced
[h264 @ 0x9c4abc0] decode_slice_header error
[h264 @ 0x9c4abc0] no frame!
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS referenced
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS 0 referenced
[h264 @ 0x9c4abc0] decode_slice_header error
[h264 @ 0x9c4abc0] no frame!
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS referenced
[h264 @ 0x9c4abc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x9c4abc0] non-existing PPS 0 referenced
[h264 @ 0x9c4abc0] decode_slice_header error
[h264 @ 0x9c4abc0] no frame!
[h264 @ 0xac0d9c0] Missing reference picture
[h264 @ 0xac0d9c0] decode_slice_header error
[h264 @ 0xac52660] Missing reference picture
[h264 @ 0xacb0ce0] Missing reference picture
[h264 @ 0xad0f360] Missing reference picture
[h264 @ 0xad6d9e0] Missing reference picture
[h264 @ 0xadcc060] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 0xadcc060] Missing reference picture
    Last message repeated 1 times
[h264 @ 0xae2a6e0] mmco: unref short failure
    Last message repeated 1 times
[h264 @ 0xae2a6e0] reference picture missing during reorder
[h264 @ 0xae2a6e0] Missing reference picture
[h264 @ 0xacb0ce0] Reference 2 >= 2
[h264 @ 0xacb0ce0] error while decoding MB 24 6, bytestream (3031)
[h264 @ 0xad0f360] mmco: unref short failure
[h264 @ 0xad0f360] reference picture missing during reorder
[h264 @ 0xad0f360] Missing reference picture
[aac_latm @ 0x9c4c300] channel element 3.1 is not allocated
Error while decoding stream #0:1: Operation not permitted
Error while decoding stream #0:1: Invalid data found when processing input
[h264 @ 0xac52660] reference picture missing during reorder
[h264 @ 0xac52660] Missing reference picture
[h264 @ 0xad6d9e0] left block unavailable for requested intra4x4 mode -1 at
0 32
[h264 @ 0xad6d9e0] error while decoding MB 0 32, bytestream (8345)
[h264 @ 0xae88d60] error while decoding MB 29 9, bytestream (-8)
[h264 @ 0xad6d9e0] left block unavailable for requested intra mode at 0 22
[h264 @ 0xad6d9e0] error while decoding MB 0 22, bytestream (15597)
[aac_latm @ 0x9c4c300] channel element 3.12 is not allocated
Error while decoding stream #0:1: Operation not permitted
Error while decoding stream #0:1: Invalid data found when processing input
[h264 @ 0xaee73e0] left block unavailable for requested intra4x4 mode -1 at
0 18
[h264 @ 0xaee73e0] error while decoding MB 0 18, bytestream (14028)
[h264 @ 0xad0f360] error while decoding MB 15 24, bytestream (157)
[h264 @ 0xacb0ce0] mmco: unref short failure
[aac_latm @ 0x9c4c300] Pulse data corrupt or invalid.
Error while decoding stream #0:1: Operation not permitted
Error while decoding stream #0:1: Invalid data found when processing input
[h264 @ 0xac0d9c0] Reference 3 >= 2
[h264 @ 0xac0d9c0] error while decoding MB 39 6, bytestream (1692)
[h264 @ 0xac52660] Cannot combine reference and non-reference fields in the
same frame
[h264 @ 0xac52660] decode_slice_header error
[aac_latm @ 0x9c4c300] channel element 0.5 is not allocated
Error while decoding stream #0:1: Operation not permitted
Error while decoding stream #0:1: Invalid data found when processing input
[h264 @ 0xacb0ce0] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 0xacb0ce0] Missing reference picture
    Last message repeated 1 times
[h264 @ 0xad0f360] Reference 2 >= 2
[h264 @ 0xad0f360] error while decoding MB 23 22, bytestream (47391)
[h264 @ 0xad6d9e0] mmco: unref short failure
[h264 @ 0xae2a6e0] mmco: unref short failure
[aac_latm @ 0x9c4c300] channel element 1.5 is not allocated
Error while decoding stream #0:1: Operation not permitted
Error while decoding stream #0:1: Invalid data found when processing input
[h264 @ 0xaee73e0] mmco: unref short failure
[aac_latm @ 0x9c4c300] Number of bands (57) exceeds limit (40).
Error while decoding stream #0:1: Operation not permitted
[h264 @ 0xaee73e0] left block unavailable for requested intra4x4 mode -1 at
0 6
[h264 @ 0xaee73e0] error while decoding MB 0 6, bytestream (45773)
Error while decoding stream #0:1: Invalid data found when processing input
[h264 @ 0xacb0ce0] Cannot combine reference and non-reference fields in the
same frame
[h264 @ 0xacb0ce0] decode_slice_header error
[h264 @ 0xad0f360] reference picture missing during reorder
[h264 @ 0xad0f360] Missing reference picture
[aac_latm @ 0x9c4c300] Number of bands (7) exceeds limit (6).
Error while decoding stream #0:1: Operation not permitted
[h264 @ 0xac52660] left block unavailable for requested intra mode at 0 18
[h264 @ 0xac52660] error while decoding MB 0 18, bytestream (18725)
Error while decoding stream #0:1: Invalid data found when processing input
[h264 @ 0xae2a6e0] Reference 2 >= 2
[h264 @ 0xae2a6e0] error while decoding MB 31 18, bytestream (12725)
[h264 @ 0xae88d60] reference picture missing during reorder
[h264 @ 0xae88d60] Missing reference picture
[h264 @ 0xac0d9c0] mmco: unref short failure
[h264 @ 0xae88d60] Reference 5 >= 2
[h264 @ 0xae88d60] error while decoding MB 24 20, bytestream (4735)
[h264 @ 0xacb0ce0] cabac decode of qscale diff failed at 17 23
[h264 @ 0xacb0ce0] error while decoding MB 17 23, bytestream (11198)
[aac_latm @ 0x9c4c300] channel element 3.2 is not allocated
Error while decoding stream #0:1: Operation not permitted
Error while decoding stream #0:1: Invalid data found when processing input
[h264 @ 0xac52660] reference picture missing during reorder
[h264 @ 0xac52660] Missing reference picture
[h264 @ 0xaee73e0] error while decoding MB 24 18, bytestream (-28)
[h264 @ 0xae2a6e0] reference picture missing during reorder
[h264 @ 0xae2a6e0] Missing reference picture
[h264 @ 0xacb0ce0] left block unavailable for requested intra mode at 0 24
[h264 @ 0xacb0ce0] error while decoding MB 0 24, bytestream (16099)
[h264 @ 0xad6d9e0] Reference 2 >= 2
[h264 @ 0xad6d9e0] error while decoding MB 4 6, bytestream (7872)
[h264 @ 0xacb0ce0] reference picture missing during reorder
[h264 @ 0xacb0ce0] Missing reference picture
[h264 @ 0xad0f360] reference picture missing during reorder
[h264 @ 0xad0f360] Missing reference picture
[h264 @ 0xac0d9c0] Reference 2 >= 2
[h264 @ 0xac0d9c0] error while decoding MB 25 14, bytestream (402)
[h264 @ 0xac52660] mmco: unref short failure
[h264 @ 0xacb0ce0] Cannot combine reference and non-reference fields in the
same frame
[h264 @ 0xacb0ce0] decode_slice_header error
[h264 @ 0xad0f360] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 0xad0f360] Missing reference picture
    Last message repeated 1 times
[h264 @ 0xae2a6e0] reference picture missing during reorder
[h264 @ 0xae2a6e0] Missing reference picture
[aac_latm @ 0x9c4c300] channel element 1.0 is not allocated
Error while decoding stream #0:1: Operation not permitted
Error while decoding stream #0:1: Invalid data found when processing input
[h264 @ 0xae88d60] mmco: unref short failure
[h264 @ 0xac52660] Reference 2 >= 2
[h264 @ 0xac52660] error while decoding MB 14 12, bytestream (6481)
[h264 @ 0xad6d9e0] Reference 2 >= 2
[h264 @ 0xad6d9e0] error while decoding MB 38 9, bytestream (16672)
[h264 @ 0xadcc060] reference picture missing during reorder
[h264 @ 0xadcc060] Missing reference picture
[aac_latm @ 0x9c4c300] Number of bands (52) exceeds limit (39).
Error while decoding stream #0:1: Operation not permitted
Error while decoding stream #0:1: Invalid data found when processing input
[aac_latm @ 0x9c4c300] TYPE_FIL: Input buffer exhausted before END element
found
Error while decoding stream #0:1: Operation not permitted
Error while decoding stream #0:1: Invalid data found when processing input
[h264 @ 0xaee73e0] Cannot combine reference and non-reference fields in the
same frame
[h264 @ 0xaee73e0] decode_slice_header error
[h264 @ 0xac0d9c0] reference picture missing during reorder
[h264 @ 0xac0d9c0] Missing reference picture
[h264 @ 0xae88d60] reference picture missing during reorder
[h264 @ 0xae88d60] Missing reference picture
[h264 @ 0xad0f360] Reference 5 >= 2
[h264 @ 0xad0f360] error while decoding MB 19 5, bytestream (5376)
[h264 @ 0xac0d9c0] Cannot combine reference and non-reference fields in the
same frame
[h264 @ 0xac0d9c0] decode_slice_header error
[aac_latm @ 0x9c4c300] decode_pce: Input buffer exhausted before END element
found
Error while decoding stream #0:1: Operation not permitted
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 1 times
[h264 @ 0xadcc060] mmco: unref short failure
[h264 @ 0xae88d60] mmco: unref short failure
[aac_latm @ 0x9c4c300] decode_pce: Input buffer exhausted before END element
found
Error while decoding stream #0:1: Operation not permitted
[h264 @ 0xacb0ce0] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 0xacb0ce0] Missing reference picture
    Last message repeated 1 times
Error while decoding stream #0:1: Invalid data found when processing input
[h264 @ 0xac0d9c0] reference picture missing during reorder
[h264 @ 0xac0d9c0] Missing reference picture
[h264 @ 0xac52660] mmco: unref short failure
    Last message repeated 1 times
[h264 @ 0xac52660] number of reference frames (0+5) exceeds max (4; probably
corrupt input), discarding one
[h264 @ 0xacb0ce0] error while decoding MB 0 22, bytestream (-6)
[h264 @ 0xad6d9e0] mmco: unref short failure
[aac_latm @ 0x9c4c300] decode_pce: Input buffer exhausted before END element
found
Error while decoding stream #0:1: Operation not permitted
Error while decoding stream #0:1: Invalid data found when processing input
[h264 @ 0xac0d9c0] reference picture missing during reorder
[h264 @ 0xac0d9c0] Missing reference picture
[h264 @ 0xac52660] mmco: unref short failure
[aac_latm @ 0x9c4c300] channel element 1.0 is not allocated
Error while decoding stream #0:1: Operation not permitted
Error while decoding stream #0:1: Invalid data found when processing input
[h264 @ 0xadcc060] mmco: unref short failure
    Last message repeated 2 times
[h264 @ 0xae88d60] mmco: unref short failure
[h264 @ 0xac0d9c0] mmco: unref short failure
[h264 @ 0xad0f360] error while decoding MB 15 20, bytestream (-25)
[h264 @ 0xaee73e0] reference picture missing during reorder
[h264 @ 0xaee73e0] Missing reference picture
[h264 @ 0xac0d9c0] reference picture missing during reorder
[h264 @ 0xac0d9c0] Missing reference picture
[h264 @ 0xacb0ce0] mmco: unref short failure
[aac_latm @ 0x9c4c300] channel element 1.6 is not allocated
Error while decoding stream #0:1: Operation not permitted
[h264 @ 0xac52660] reference picture missing during reorder
[h264 @ 0xac52660] Missing reference picture
[h264 @ 0xad0f360] Reference 2 >= 2
[h264 @ 0xad0f360] error while decoding MB 25 9, bytestream (8200)
[h264 @ 0xad6d9e0] reference picture missing during reorder
[h264 @ 0xad6d9e0] Missing reference picture
Error while decoding stream #0:1: Invalid data found when processing input
[aac_latm @ 0x9c4c300] Reserved bit set.
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 1 times
[h264 @ 0xad6d9e0] Reference 4 >= 2
[h264 @ 0xad6d9e0] error while decoding MB 25 0, bytestream (12598)
[h264 @ 0xaee73e0] Reference 2 >= 2
[h264 @ 0xaee73e0] error while decoding MB 35 34, bytestream (9614)
[h264 @ 0xad6d9e0] Reference 4 >= 2
[h264 @ 0xad6d9e0] error while decoding MB 8 12, bytestream (10931)
[h264 @ 0xac52660] reference picture missing during reorder
[h264 @ 0xac52660] Missing reference picture
[h264 @ 0xacb0ce0] reference picture missing during reorder
[h264 @ 0xacb0ce0] Missing reference picture
[aac_latm @ 0x9c4c300] channel element 1.2 is not allocated
Error while decoding stream #0:1: Operation not permitted
Error while decoding stream #0:1: Invalid data found when processing input
[h264 @ 0xaee73e0] mmco: unref short failure
[h264 @ 0xac0d9c0] left block unavailable for requested intra mode at 0 16
[h264 @ 0xac0d9c0] error while decoding MB 0 16, bytestream (998)
[h264 @ 0xac52660] mmco: unref short failure
[aac_latm @ 0x9c4c300] channel element 3.2 is not allocated
Error while decoding stream #0:1: Operation not permitted
Error while decoding stream #0:1: Invalid data found when processing input
[h264 @ 0xad0f360] mmco: unref short failure
[h264 @ 0xad6d9e0] Reference 4 >= 2
[h264 @ 0xad6d9e0] error while decoding MB 43 9, bytestream (3157)
[h264 @ 0xae2a6e0] Cannot combine reference and non-reference fields in the
same frame
[h264 @ 0xae2a6e0] decode_slice_header error
[h264 @ 0xac52660] Cannot combine reference and non-reference fields in the
same frame
[h264 @ 0xac52660] decode_slice_header error
[h264 @ 0xacb0ce0] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 0xacb0ce0] Missing reference picture
    Last message repeated 1 times
[aac_latm @ 0x9c4c300] TYPE_FIL: Input buffer exhausted before END element
found
Error while decoding stream #0:1: Operation not permitted
Error while decoding stream #0:1: Invalid data found when processing input
[h264 @ 0xac0d9c0] reference picture missing during reorder
[h264 @ 0xac0d9c0] Missing reference picture
[h264 @ 0xac52660] mmco: unref short failure
    Last message repeated 1 times
[h264 @ 0xac52660] number of reference frames (0+5) exceeds max (4; probably
corrupt input), discarding one
[h264 @ 0xac52660] Reference 3 >= 2
[h264 @ 0xac52660] error while decoding MB 5 8, bytestream (172)
[h264 @ 0xac0d9c0] Reference 4 >= 2
[h264 @ 0xac0d9c0] error while decoding MB 17 16, bytestream (3501)
[h264 @ 0xad6d9e0] Reference 3 >= 2
[h264 @ 0xad6d9e0] error while decoding MB 6 18, bytestream (7215)
[h264 @ 0xacb0ce0] Cannot combine reference and non-reference fields in the
same frame
[h264 @ 0xacb0ce0] decode_slice_header error
[h264 @ 0xac0d9c0] error while decoding MB 23 8, bytestream (-68)
[h264 @ 0xac52660] Missing reference picture
[aac_latm @ 0x9c4c300] Number of bands (40) exceeds limit (39).
Error while decoding stream #0:1: Operation not permitted
Error while decoding stream #0:1: Invalid data found when processing input
[h264 @ 0xac52660] mmco: unref short failure
[h264 @ 0xad0f360] reference picture missing during reorder
[h264 @ 0xad0f360] Missing reference picture
[h264 @ 0xadcc060] mmco: unref short failure
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 1 times
[h264 @ 0xac52660] reference picture missing during reorder
[h264 @ 0xac52660] Missing reference picture
[aac_latm @ 0x9c4c300] channel element 0.3 is not allocated
Error while decoding stream #0:1: Operation not permitted
Error while decoding stream #0:1: Invalid data found when processing input
[h264 @ 0xacb0ce0] Cannot combine reference and non-reference fields in the
same frame
[h264 @ 0xacb0ce0] decode_slice_header error
[h264 @ 0xad0f360] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 0xad0f360] Missing reference picture
    Last message repeated 1 times
[h264 @ 0xaee73e0] Reference 4 >= 2
[h264 @ 0xaee73e0] error while decoding MB 4 12, bytestream (7445)
[h264 @ 0xae2a6e0] reference picture missing during reorder
[h264 @ 0xae2a6e0] Missing reference picture
[h264 @ 0xae88d60] reference picture missing during reorder
[h264 @ 0xae88d60] Missing reference picture
[aac_latm @ 0x9c4c300] channel element 0.0 is not allocated
Error while decoding stream #0:1: Operation not permitted
Error while decoding stream #0:1: Invalid data found when processing input
[aac_latm @ 0x9c4c300] Number of bands (42) exceeds limit (40).
Error while decoding stream #0:1: Operation not permitted
[h264 @ 0xadcc060] mmco: unref short failure
[h264 @ 0xae88d60] mmco: unref short failure
[h264 @ 0xac0d9c0] mmco: unref short failure
[h264 @ 0xacb0ce0] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 0xacb0ce0] Missing reference picture
    Last message repeated 1 times
[h264 @ 0xad0f360] reference picture missing during reorder
[h264 @ 0xad0f360] Missing reference picture
[h264 @ 0xacb0ce0] mmco: unref short failure
    Last message repeated 1 times
[h264 @ 0xacb0ce0] number of reference frames (0+5) exceeds max (4; probably
corrupt input), discarding one
Error while decoding stream #0:1: Invalid data found when processing input



--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Audio-lost-after-a-while-in-live-streaming-tp4653651.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list