Open mr-smidge opened 9 years ago
Forgot to mention that I'm using gstreamer 1.2:
INFO [2015-05-21 22:36:37.642524 | main] gmediarender 0.0.7-git log started [ gmediarender 2015-05-06_aa3d02c (libupnp-1.6.17; glib-2.40.0; gstreamer-1.2.0) ]
INFO [2015-05-21 22:36:37.890607 | output] Using output module: gst (GStreamer multimedia framework)
.. and this is using Raspbian 7.
Mmmh, that is strange. It sounds like there is some weird network latencies going on, but if you can play that via other means without trouble, then this might not be the reason. Do you get that same behavior independent of the server ? (because the way requesting sub-streams and the way they are buffered could be a problem).
It Occurs with irrespective of servers.Whenever I use My PC as renderer,it works fine without any delay. CPU speeds of Raspberry and PC 700MHz and 1.80GHz.I am thinking it occurs due to processing speed.
Hello,
I've set up gmrender-resurrect on my RPi Model B as an audio player, but have noticed that it takes a very long time for a song to actually start playing after selecting the track, between 10-30s. It takes a similar amount of time for music to resume after seeking within a track. The track elapsed time doesn't increase: it's a delay where nothing happens until the music plays.
Reproducible with:
Log extract using mediatomb as server (notice timestamps between LastChange and CurrentTrackDuration, around 12 seconds):
Log extract with seeking (again, notice timestamps - 12 seconds to skip):
Log extract using local server on a Android 4.4.2 phone (11 seconds):
Seeking (again, 11 seconds):
I've observed delays ranging from 10 seconds up to 30 or so. I think it may vary depending on the size of the file/codec/average bitrate, but I haven't been able to verify this.
Running the exact same version of gmrender-resurrect on a higher-powered x86_64 machine doesn't show any delays. RPi is at the latest firmware:
Playing the same tunes on the RPi using either mpd or mplayer doesn't result in any delays.
What could be the cause of this? I'm happy to dive into the source code and debug myself, if someone can give me a rough indicator to the likely areas to examine...
Many thanks, Adam