orcasound / orcanode

Software for live-streaming and recording lossy (AAC) or lossless compressed audio (HLS, DASH, FLAC) via AWS S3 buckets. :star:
GNU Affero General Public License v3.0
34 stars 12 forks source link

mseed HLS generation has PES packet size mismatch #22

Open mcshicks opened 3 years ago

mcshicks commented 3 years ago

The mseed transcoding for mpegts results in occasional PES packet size mismatch and downstream errors. This seems to be an issue in that even though we are only using an audio stream there are only certain allowed packet sizes and the fixed file size means there is some partial packet potentially at the of the file. It seems like it might also be a function of the frame rate.

[mpegts @ 0x55c5fb8f4f40] PES packet size mismatch Apr 29 21:10:36 rpi_steve_test mseed_stream_1 err Sample rate index in program config element does not match the sample rate index configured by the container. Apr 29 21:10:36 rpi_steve_test mseed_stream_1 err decode_pce: Input buffer exhausted before END element found Apr 29 21:10:36 rpi_steve_test mseed_stream_1 err Error while decoding stream #0:0: Operation not permitted Apr 29 21:10:36 rpi_steve_test mseed_stream_1 err Sample rate index in program config element does not match the sample rate index configured by the container. Apr 29 21:10:36 rpi_steve_test mseed_stream_1 err decode_pce: Input buffer exhausted before END element found Apr 29 21:10:36 rpi_steve_test mseed_stream_1 err Error while decoding stream #0:0: Operation not permitted Apr 29 21:10:36 rpi_steve_test mseed_stream_1 err size=N/A time=03:49:54.56 bitrate=N/A speed= 1x
[aac @ 0x55c5fb6a9d00] Queue input is backward in time Apr 29 21:10:36 rpi_steve_test mseed_stream_1 err Non-monotonous DTS in output stream 0:0; previous: 1241557920, current: 1241543520; changing to 1241557921. This may result in incorrect timestamps in the output file. Apr 29 21:10:36 rpi_steve_test mseed_stream_1 err Non-monotonous DTS in output stream 0:0; previous: 1241557921, current: 1241544960; changing to 1241557922. This may result in incorrect timestamps in the output file. Apr 29 21:10:36 rpi_steve_test mseed_stream_1 err Non-monotonous DTS in output stream 0:0; previous: 1241557922, current: 1241546400; changing to 1241557923. This may result in incorrect timestamps in the output file. Apr 29 21:10:36 rpi_steve_test mseed_stream_1 err Non-monotonous DTS in output stream 0:0; previous: 1241557923, current: 1241547840; changing to 1241557924. This may result in incorrect timestamps in the output file. Apr 29 21:10:36 rpi_steve_test mseed_stream_1 err Non-monotonous DTS in output stream 0:0; previous: 1241557924, current: 1241549280; changing to 1241557925. This may result in incorrect timestamps in the output file. Apr 29 21:10:36 rpi_steve_test mseed_stream_1 err Non-monotonous DTS in output stream 0:0; previous: 1241557925, current: 1241550720; changing to 1241557926. This may result in incorrect timestamps in the output file. Apr 29 21:10:36 rpi_steve_test mseed_stream_1 err Non-monotonous DTS in output stream 0:0; previous: 1241557926, current: 1241552160; changing to 1241557927. This may result in incorrect timestamps in the output file. Apr 29 21:10:36 rpi_steve_test mseed_stream_1 err Non-monotonous DTS in output stream 0:0; previous: 1241557927, current: 1241553600; changing to 1241557928. This may result in incorrect timestamps in the output file.