Transcode failure for HD recordings

The transcoder is failing for me when trying to watch HD recordings. I'm using the 'classic' transcoder, but also fails with the new transcoder. SD recordings, and HD/SD live TV all work fine. Transcoder is set to 576p @ 2mbps, but changing that doesn't make a difference either. Here is an excerpt from the log:

Log

2019/08/24 16:06:30 [HLS] Starting transcoder for file2651-ip192.168.1.1---2000-576-0-software-linear-false-false-1 at 0s from 192.168.1.1 (encoder=libx264, resolution=576, deinterlacer=linear, bitrate=2000)
[h264 @ 0000000001271a80] SPS unavailable in decode_picture_timing
Last message repeated 45 times
[h264 @ 0000000001271a80] mmco: unref short failure
Last message repeated 1 times
[mpegts @ 000000000124bf80] start time for stream 4 is not set in estimate_timings_from_pts
[mpegts @ 000000000124bf80] start time for stream 5 is not set in estimate_timings_from_pts
[mpegts @ 000000000124bf80] start time for stream 6 is not set in estimate_timings_from_pts
[mpegts @ 000000000124bf80] start time for stream 7 is not set in estimate_timings_from_pts
[mpegts @ 000000000124bf80] Dropped corrupted packet (stream = 1)
[aac_latm @ 00000000030fbd40] frame length mismatch 1552 << 8443
Error while decoding stream #0:2: Invalid data found when processing input
[h264 @ 000000000132e440] co located POCs unavailable
[h264 @ 000000000132b240] reference picture missing during reorder
[h264 @ 000000000132b240] Missing reference picture, default is 65356
[h264 @ 0000000001327b80] reference picture missing during reorder
[h264 @ 0000000001327b80] Missing reference picture, default is 65372
[h264 @ 000000000132b240] mmco: unref short failure
[aac_latm @ 00000000030fbd40] frame length mismatch 1672 << 8419
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1656 << 8451
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1544 << 8283
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1624 << 8507
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1672 << 8691
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1608 << 8459
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1560 << 8331
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1608 << 8475
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1648 << 8491
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1616 << 8435
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1624 << 8547
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1576 << 8339
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1632 << 8515
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1600 << 8379
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1552 << 8507
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1552 << 8483
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1608 << 8435
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1600 << 8475
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1624 << 8603
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1608 << 8339
Error while decoding stream #0:2: Invalid data found when processing input
[aac_latm @ 00000000030fbd40] frame length mismatch 1592 << 7051
Error while decoding stream #0:2: Invalid data found when processing input
Too many packets buffered for output stream 0:1.
[aac @ 0000000001326dc0] 2 frames left in the queue on closing
2019/08/24 16:06:38 [HLS] Stopping transcoder session file2651-ip192.168.1.1---2000-576-0-software-linear-false-false-1 (view: 0s, out: 1µs, finished: true)

Just a quick update on this: I've discovered it's not all HD recordings that fail to play in the web player; it seems to be random HD recordings. Some work, some don't, and I can find any pattern as to which ones are affected. I've also tried editing the comskip cuts and regenerating the video index; neither seem to have any effect.

Can you email us a recording that's failing?

Seems to be something weird going on with the audio track

Just sent you a private message with a link. Thanks for looking into this.

Fixed in latest dvr build

1 Like

Recordings all playing fine now. Thanks!

1 Like