Dolby TrueHD: Skip/fast forward shows errors in log and in some cases lead to crashs
To reproduce:
Download "Amaze (Lossless-ATMOS)" file from this site https://thedigitaltheater.com/dolby-trailers/ or use any other mkv with dolby true hd audio track.
Use gst-play-1.0 to playback the file. Use left/right cursor keys to seek forward/back or use d to reverse playback direction. In the console you will see these errors:
Press 'k' to see a list of keyboard shortcuts.
Now playing /mnt/data/gstreamer/master/Dolby_Amaze_Lossless-ATMOS-thedigitaltheater.mkv
Redistribute latency...
Redistribute latency...
Redistribute latency...
Playback rate: -1,00
Playback rate: 1,00
0:00:09.795967778 25969 0x7f7f4801c280 ERROR libav :0:: too many audio samples in frame
0:00:09.796094181 25969 0x7f7f4801c280 ERROR libav :0:: too many audio samples in frame
0:00:09.796133686 25969 0x7f7f4801c280 ERROR libav :0:: Invalid blocksize.
0:00:09.796168019 25969 0x7f7f4801c280 ERROR libav :0:: Invalid blocksize.
0:00:09.796194001 25969 0x7f7f4801c280 ERROR libav :0:: restart header sync incorrect (got 0x056e)
0:00:09.796215041 25969 0x7f7f4801c280 ERROR libav :0:: restart header sync incorrect (got 0x070c)
0:00:09.796232604 25969 0x7f7f4801c280 ERROR libav :0:: too many audio samples in frame
0:00:09.796338293 25969 0x7f7f4801c280 ERROR libav :0:: Invalid channel 13 specified as output from matrix.
0:00:09.796363444 25969 0x7f7f4801c280 ERROR libav :0:: restart header sync incorrect (got 0x1be9)
0:00:09.796408234 25969 0x7f7f4801c280 ERROR libav :0:: restart header sync incorrect (got 0x1815)
0:00:09.796428855 25969 0x7f7f4801c280 ERROR libav :0:: too many audio samples in frame
0:00:09.796456226 25969 0x7f7f4801c280 ERROR libav :0:: restart header sync incorrect (got 0x0f61)
0:00:09.796486561 25969 0x7f7f4801c280 ERROR libav :0:: IIR filter coeff_bits must be between 1 and 16.
0:00:09.796538056 25969 0x7f7f4801c280 ERROR libav :0:: restart header sync incorrect (got 0x1bec)
0:00:09.796606799 25969 0x7f7f4801c280 ERROR libav :0:: FIR filter order 9 is greater than maximum 8.
0:00:09.796630803 25969 0x7f7f4801c280 ERROR libav :0:: Invalid blocksize.
0:00:09.796650717 25969 0x7f7f4801c280 ERROR libav :0:: too many audio samples in frame
0:00:09.796694034 25969 0x7f7f4801c280 ERROR libav :0:: restart header sync incorrect (got 0x04ac)
0:00:09.796709169 25969 0x7f7f4801c280 ERROR libav :0:: Invalid channel 8 specified as output from matrix.
Playback rate: -1,00
0:00:12.378814862 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:12.378832499 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:12.378838799 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:12.378845556 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:12.378852447 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:12.378860644 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:12.378866336 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:12.378874015 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:12.378879851 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:12.378889649 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:12.378895186 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:12.378901427 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:12.378906966 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:12.378912480 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:12.378921760 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:12.378930113 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:12.378941644 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:12.378952588 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:12.378960026 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:12.378967269 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:12.378978132 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:12.378987852 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:12.379001549 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:12.379012578 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:12.379026080 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:12.379036274 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:14.898238532 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:14.898250620 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:14.898256399 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:14.898266208 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:14.898270794 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:14.898275480 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:14.898281066 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:14.898286250 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:14.898294685 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:14.898299641 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:14.898304149 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:14.898310004 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:14.898325422 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:14.898332400 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:14.898339734 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:14.898349442 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:14.898356086 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:14.898363338 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:14.898369849 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:14.898379717 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:14.898389236 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:14.898397100 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:14.898404139 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
0:00:14.898410768 25969 0x7f7f4801c280 ERROR libav :0:: substream 1 length mismatch
Playback rate: 1,00
0:00:14.900200260 25969 0x7f7f4801c280 ERROR libav :0:: too many audio samples in frame
0:00:14.900227771 25969 0x7f7f4801c280 ERROR libav :0:: substream 2 length mismatch
0:00:16.439301642 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:16.439424890 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:16.439482576 25969 0x7f7f4801c280 ERROR libav :0:: too many audio samples in frame
0:00:16.439546386 25969 0x7f7f4801c280 ERROR libav :0:: substream 0 length mismatch
0:00:17.682153981 25969 0x7f7f4801c280 ERROR libav :0:: Invalid blocksize.
0:00:17.682190539 25969 0x7f7f4801c280 ERROR libav :0:: Invalid blocksize.
0:00:17.682210911 25969 0x7f7f4801c280 ERROR libav :0:: too many audio samples in frame
0:00:17.682245901 25969 0x7f7f4801c280 ERROR libav :0:: restart header sync incorrect (got 0x1678)
0:00:17.682258945 25969 0x7f7f4801c280 ERROR libav :0:: Invalid blocksize.
0:00:17.682273456 25969 0x7f7f4801c280 ERROR libav :0:: too many audio samples in frame
0:00:17.682314873 25969 0x7f7f4801c280 ERROR libav :0:: restart header sync incorrect (got 0x0782)
0:00:19.093269916 25969 0x7f7f4801c280 ERROR libav :0:: restart header sync incorrect (got 0x0fd7)
0:00:19.093294916 25969 0x7f7f4801c280 ERROR libav :0:: too many audio samples in frame
0:00:19.093359134 25969 0x7f7f4801c280 ERROR libav :0:: too many audio samples in frame
0:00:19.093378756 25969 0x7f7f4801c280 ERROR libav :0:: too many audio samples in frame
0:00:19.093398708 25969 0x7f7f4801c280 ERROR libav :0:: restart header sync incorrect (got 0x1409)
0:00:19.093415007 25969 0x7f7f4801c280 ERROR libav :0:: restart header sync incorrect (got 0x161c)
0:00:19.093452088 25969 0x7f7f4801c280 ERROR libav :0:: too many audio samples in frame
0:00:36.8 / 0:01:03.5