Comments (2)
So gmrender dosen't know about lists, it gets the song one by one from the UPnP controller. So it wouldn't know when to insert the silence. From what you describe, that happens in the first song the UPnP controller sends to the renderer. What UPnP controller program are you using on your phone or computer to remotely control gmrender-resurrect ?
This shouldn't happen in the first place, it should play right away. gmrender passes the URL with the content it gets from the UPnP controller directly to gstreamer, which should take care of the rest. What version of gstreamer are you using ?
Can you create a logfile ( shown here how to do https://github.com/hzeller/gmrender-resurrect/blob/master/INSTALL.md#misc-options ) that shows the startup and the first start of the song in which you hear the skipping ?
If you paste it here, make sure to have three backticks around the logfile ( described here https://help.github.com/articles/github-flavored-markdown#fenced-code-blocks ), otherwise the bugtracker swallows some XML characters.
from gmrender-resurrect.
I too am experiencing these gaps at the beginning of tracks. Here's a log of one where the gap was over 1sec.
INFO [2014-03-19 17:02:06.830254 | transport] RelativeTimePosition: 0:01:02
INFO [2014-03-19 17:02:07.841302 | transport] RelativeTimePosition: 0:01:03
INFO [2014-03-19 17:02:08.846481 | transport] RelativeTimePosition: 0:01:04
INFO [2014-03-19 17:02:09.852293 | transport] RelativeTimePosition: 0:01:05
INFO [2014-03-19 17:02:10.738901 | gstreamer] about-to-finish cb: setting uri http://192.168.37.90:8200/MediaItems/7423.mp3
INFO [2014-03-19 17:02:10.739284 | transport] AVTransportURI: http://192.168.37.90:8200/MediaItems/7423.mp3
INFO [2014-03-19 17:02:10.739611 | transport] AVTransportURIMetaData: <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" xmlns:sec="http://www.sec.co.kr/"><item id="64$0$0$BD$1$F" parentID="64$0$0$BD$1" restricted="1"><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:title>The Indifferent Love Of The Lord Our God</dc:title><dc:creator>Simon Indelicate</dc:creator><upnp:artist>Simon Indelicate</upnp:artist><upnp:albumArtURI>http://192.168.37.90:8200/AlbumArt/5288-7423.jpg</upnp:albumArtURI><dc:date>2011-01-01</dc:date><upnp:album>The Book Of Job The Musical: The Original Cast Recording - ACT TWO</upnp:album><upnp:originalTrackNumber>16</upnp:originalTrackNumber><res protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000" bitrate="256000" sampleFrequency="44100" nrAudioChannels="2" size="11008373" duration="0:04:52.000">http://192.168.37.90:8200/MediaItems/7423.mp3</res></item></DIDL-Lite>
INFO [2014-03-19 17:02:10.739825 | transport] CurrentTrackURI: http://192.168.37.90:8200/MediaItems/7423.mp3
INFO [2014-03-19 17:02:10.739974 | transport] CurrentTrackMetaData: <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" xmlns:sec="http://www.sec.co.kr/"><item id="64$0$0$BD$1$F" parentID="64$0$0$BD$1" restricted="1"><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:title>The Indifferent Love Of The Lord Our God</dc:title><dc:creator>Simon Indelicate</dc:creator><upnp:artist>Simon Indelicate</upnp:artist><upnp:albumArtURI>http://192.168.37.90:8200/AlbumArt/5288-7423.jpg</upnp:albumArtURI><dc:date>2011-01-01</dc:date><upnp:album>The Book Of Job The Musical: The Original Cast Recording - ACT TWO</upnp:album><upnp:originalTrackNumber>16</upnp:originalTrackNumber><res protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000" bitrate="256000" sampleFrequency="44100" nrAudioChannels="2" size="11008373" duration="0:04:52.000">http://192.168.37.90:8200/MediaItems/7423.mp3</res></item></DIDL-Lite>
INFO [2014-03-19 17:02:10.740220 | transport] NextAVTransportURI:
INFO [2014-03-19 17:02:10.740358 | transport] NextAVTransportURIMetaData:
INFO [2014-03-19 17:02:10.741503 | transport] LastChange: <?xml version="1.0"?>
<Event xmlns="urn:schemas-upnp-org:metadata-1-0/AVT/">
<InstanceID val="0">
<AVTransportURI val="http://192.168.37.90:8200/MediaItems/7423.mp3"></AVTransportURI>
<AVTransportURIMetaData val="<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" xmlns:sec="http://www.sec.co.kr/"><item id="64$0$0$BD$1$F" parentID="64$0$0$BD$1" restricted="1"><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:title>The Indifferent Love Of The Lord Our God</dc:title><dc:creator>Simon Indelicate</dc:creator><upnp:artist>Simon Indelicate</upnp:artist><upnp:albumArtURI>http://192.168.37.90:8200/AlbumArt/5288-7423.jpg</upnp:albumArtURI><dc:date>2011-01-01</dc:date><upnp:album>The Book Of Job The Musical: The Original Cast Recording - ACT TWO</upnp:album><upnp:originalTrackNumber>16</upnp:originalTrackNumber><res protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000" bitrate="256000" sampleFrequency="44100" nrAudioChannels="2" size="11008373" duration="0:04:52.000">http://192.168.37.90:8200/MediaItems/7423.mp3</res></item></DIDL-Lite>"></AVTransportURIMetaData>
<CurrentTrackURI val="http://192.168.37.90:8200/MediaItems/7423.mp3"></CurrentTrackURI>
<CurrentTrackMetaData val="<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" xmlns:sec="http://www.sec.co.kr/"><item id="64$0$0$BD$1$F" parentID="64$0$0$BD$1" restricted="1"><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:title>The Indifferent Love Of The Lord Our God</dc:title><dc:creator>Simon Indelicate</dc:creator><upnp:artist>Simon Indelicate</upnp:artist><upnp:albumArtURI>http://192.168.37.90:8200/AlbumArt/5288-7423.jpg</upnp:albumArtURI><dc:date>2011-01-01</dc:date><upnp:album>The Book Of Job The Musical: The Original Cast Recording - ACT TWO</upnp:album><upnp:originalTrackNumber>16</upnp:originalTrackNumber><res protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000" bitrate="256000" sampleFrequency="44100" nrAudioChannels="2" size="11008373" duration="0:04:52.000">http://192.168.37.90:8200/MediaItems/7423.mp3</res></item></DIDL-Lite>"></CurrentTrackMetaData>
<NextAVTransportURI val=""></NextAVTransportURI>
<NextAVTransportURIMetaData val=""></NextAVTransportURIMetaData>
</InstanceID>
</Event>
INFO [2014-03-19 17:02:10.858813 | transport] RelativeTimePosition: 0:01:06
INFO [2014-03-19 17:02:11.042262 | gstreamer] Set next uri to 'http://192.168.37.90:8200/MediaItems/7424.mp3'
INFO [2014-03-19 17:02:11.042475 | transport] NextAVTransportURI: http://192.168.37.90:8200/MediaItems/7424.mp3
INFO [2014-03-19 17:02:11.042670 | transport] NextAVTransportURIMetaData: <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" xmlns:sec="http://www.sec.co.kr/"><item id="64$0$0$BD$1$10" parentID="64$0$0$BD$1" restricted="1"><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:title>God speaks to his creation</dc:title><dc:creator>Simon Indelicate</dc:creator><upnp:artist>Simon Indelicate</upnp:artist><upnp:albumArtURI>http://192.168.37.90:8200/AlbumArt/5289-7424.jpg</upnp:albumArtURI><upnp:genre>Other</upnp:genre><dc:date>2011-01-01</dc:date><upnp:album>The Book Of Job The Musical: The Original Cast Recording - ACT TWO</upnp:album><upnp:originalTrackNumber>17</upnp:originalTrackNumber><res protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000" bitrate="256000" sampleFrequency="44100" nrAudioChannels="2" size="6292112" duration="0:02:24.000">http://192.168.37.90:8200/MediaItems/7424.mp3</res></item></DIDL-Lite>
INFO [2014-03-19 17:02:11.043640 | transport] LastChange: <?xml version="1.0"?>
<Event xmlns="urn:schemas-upnp-org:metadata-1-0/AVT/">
<InstanceID val="0">
<NextAVTransportURI val="http://192.168.37.90:8200/MediaItems/7424.mp3"></NextAVTransportURI>
<NextAVTransportURIMetaData val="<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" xmlns:sec="http://www.sec.co.kr/"><item id="64$0$0$BD$1$10" parentID="64$0$0$BD$1" restricted="1"><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:title>God speaks to his creation</dc:title><dc:creator>Simon Indelicate</dc:creator><upnp:artist>Simon Indelicate</upnp:artist><upnp:albumArtURI>http://192.168.37.90:8200/AlbumArt/5289-7424.jpg</upnp:albumArtURI><upnp:genre>Other</upnp:genre><dc:date>2011-01-01</dc:date><upnp:album>The Book Of Job The Musical: The Original Cast Recording - ACT TWO</upnp:album><upnp:originalTrackNumber>17</upnp:originalTrackNumber><res protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000" bitrate="256000" sampleFrequency="44100" nrAudioChannels="2" size="6292112" duration="0:02:24.000">http://192.168.37.90:8200/MediaItems/7424.mp3</res></item></DIDL-Lite>"></NextAVTransportURIMetaData>
</InstanceID>
</Event>
INFO [2014-03-19 17:02:11.861242 | transport] RelativeTimePosition: 0:01:07
INFO [2014-03-19 17:02:14.377335 | transport] CurrentTrackDuration: 0:04:52
INFO [2014-03-19 17:02:14.377694 | transport] LastChange: <?xml version="1.0"?>
<Event xmlns="urn:schemas-upnp-org:metadata-1-0/AVT/">
<InstanceID val="0">
<CurrentTrackDuration val="0:04:52"></CurrentTrackDuration>
</InstanceID>
</Event>
INFO [2014-03-19 17:02:14.879789 | transport] CurrentTrackDuration: 0:04:51
INFO [2014-03-19 17:02:14.880172 | transport] RelativeTimePosition: 0:00:02
INFO [2014-03-19 17:02:14.880397 | transport] LastChange: <?xml version="1.0"?>
<Event xmlns="urn:schemas-upnp-org:metadata-1-0/AVT/">
<InstanceID val="0">
<CurrentTrackDuration val="0:04:51"></CurrentTrackDuration>
</InstanceID>
</Event>
INFO [2014-03-19 17:02:15.382405 | transport] CurrentTrackDuration: 0:04:52
INFO [2014-03-19 17:02:15.382702 | transport] RelativeTimePosition: 0:00:03
INFO [2014-03-19 17:02:15.382903 | transport] LastChange: <?xml version="1.0"?>
<Event xmlns="urn:schemas-upnp-org:metadata-1-0/AVT/">
<InstanceID val="0">
<CurrentTrackDuration val="0:04:52"></CurrentTrackDuration>
</InstanceID>
</Event>
INFO [2014-03-19 17:02:16.388146 | transport] RelativeTimePosition: 0:00:04
INFO [2014-03-19 17:02:17.392475 | transport] RelativeTimePosition: 0:00:05
INFO [2014-03-19 17:02:18.396193 | transport] RelativeTimePosition: 0:00:06
INFO [2014-03-19 17:02:19.399845 | transport] RelativeTimePosition: 0:00:07
Note that I have tried replacing ALSA with PulseAudio to see if was the underlying infrastructure. It didn't appear to be - if anything the problem was worse when using PulseAudio as the gstreamer backend.
from gmrender-resurrect.
Related Issues (20)
- Trouble with audiosink on raspberry pi HOT 3
- Systemd unit file not working on Raspberry Pi HOT 22
- ERROR:root:Playing failed from dlna.py github project from https://github.com/cherezov/dlnap/blob/master/dlnap/dlnap.py HOT 5
- Roughly usable but not visible on NetEase Music HOT 3
- gstout-buffer-duration HOT 3
- Run with Docker HOT 2
- uPnP device undefined HOT 2
- How to set pulsesink server ? HOT 2
- Slow subscribe events HOT 3
- Audio seek subscription HOT 3
- View connected users HOT 10
- gmrender-resurrect not building with pupnp 1.14.13 HOT 2
- Documentation of --gstout-audiodevice is incorrect
- Enhancement: Support external volume control
- daemon starts with Error: UPNP_E_INVALID_INTERFACE HOT 3
- Cut 0.1 release HOT 2
- DSD Native HOT 6
- disconnected client but device audio is still not relased HOT 6
- Compile errors with libupnp 1.14.13
- [Debian PowerPC G3] error in stdout when trying to play m3u8 stream HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmrender-resurrect.