Open Molkree opened 3 years ago
Last night it appears Sunset Bay restarted successfully, but streamed .ts segments with only zero-amplitude audio data. It feels like this happens once in a blue moon, but in this case I logged in with Dataplicity and confirmed with htop that both ffmpeg
and upload_s3.py
were running. Also, arecord -l
suggested that the audio hardware device was pisound
as expected.
From the S3
and player perspectives, the .m3u8 manifest and .ts segments seemed to be in place, but the silent .ts segments in the streaming timestamped bucket were anomalously small -- ~22 kB instead of the typical 107 kB file size for that location, e.g. in the next bucket timestamp that seemed to resolve the issue (via a manual stop/start of the container).
Here is an example clip that a listener tagged as silent -- https://live.orcasound.net/reports/cand_02v0gyoe1eO4nw9uOw6Sjt
Here is screenshot to the player before/after the container restart:
And here is a view of the zero-amplitude data in Audacity (after download of .ts segments and transcoding to mp3 via mp4...):
Possibly related issue -- https://www.reddit.com/r/ffmpeg/comments/manakd/no_audio_on_hls_stream/
A first this morning reviewing in Audacity the archived lossy .ts
segments from this morning (6:30am local) concatenated into a continuous .mp3
file by my ts2mp3.sh
script: I discerned a data gap 10-seconds into the recording. I noticed this because the first 10 seconds happened to have low ambient noise; then there is a jump to boat noise that clearly indicates a gap of many seconds or minutes.
This suggests a pretty major bug in the streaming code or upload performance from the Orcasound Lab hydrophone. Is this sort of gap (part of) the cause of the ~10-minutes of missing data per ~6-hour data streaming container run?
Logging in remotely with Dataplicity, I see these hints at a (pretty old) version of the orcanode code:
A final note: in further reviewing the last ~18 hours of streamed data from Orcasound Lab to understand when J pod first reached Haro Strait from points north, I discovered a full 6-hour data segment missing from the S3 bucket (5/4/24 18:30 - 5/5/24 00:30) --
-- likely related to (and now noted within) issue #18
Noticed a rare half second of silence during playback of a detection candidate this morning on Sunset Bay hydrophone. It’s at second 00:18 in this 30-second clip of J pod — https://live.orcasound.net/reports/cand_02y3QGAtHBAwqQgGd77I3o
While working on Orcasound data I've encountered a few issues, all examples are taken from the
rpi_bush_point/hls/1624818619
: 1) some segments have silence in themlive1049.ts
2) some segments are super short, less than one-tenth of a second The first one is
live221.ts
, 0.085333s long but there are more later3) some segments seem to have broken headers?
live808.ts
seems to be broken, can't play it at all. And here's ffmpeg error I'm getting on it when trying to convert to .wav