CESNET / UltraGrid

UltraGrid low-latency audio and video network transmission system
http://www.ultragrid.cz
Other
499 stars 53 forks source link

file playback + mp3 compression gives receiver errors at the beginning #327

Closed MartinPulec closed 1 year ago

MartinPulec commented 1 year ago

Originally posted by @TheSashmo in https://github.com/CESNET/UltraGrid/issues/322#issuecomment-1590128247

audio decode errors using this file:

[lavc mp3float @ 0x7f62a8250100] overread, skip -5 enddists: -4 -4
[lavc mp3float @ 0x7f62a810c940] overread, skip -5 enddists: -1 -1
[Audio decompress] Empty channel returned !
MartinPulec commented 1 year ago

With (at least) some source files (eg. Sintel or The Elephants Dream) there are error messages at the receiver decode in the beginning using mp3 as audio transmission codec:

(sleep 1 && exec uv -s embedded -t file:ed_hd.avi -A mp3 >/dev/null 2>&1) & \
   uv -r dummy; kill $! # receiver is started first
MartinPulec commented 1 year ago

Although reproducible, I believe that this occurs only at the beginning of the decoding, where either some packets (of the same frame) are not received or there is a delay caused by decompress init (which again may have as a consequence temporarily drop).

I don't think this is a serious problem if this occurs only at the beginning. @TheSashmo, feel free to reopen if it occurs elsewhere than on the beginning.