external player over https
Hi all.
I have a little problem with the external player option:
I am using Subsonic on a Debian server with Tomcat 6.0.20 and java 1.6.0_12.
Apache (2.2.9) is handling the ssl stuff and redirects to subsonic via mod_proxy (ProxyPass/ProxyPassReverse). I already tried via mod_jk with the same result.
I can browse the page and stream to the embedded flash player without problems. "External player with playlist" is also working in conjunction with vlc.
When I try with "External player", vlc starts buffering, plays the first 1-2 seconds and then just stops.
I already played around with ProxyIOBufferSize and ProxyReceiveBufferSize with no luck.
If someone has an idea of what is going wrong here, please let me know.
Here are the vlc debug messages (I replaced the servername with "Example.com"):
I have a little problem with the external player option:
I am using Subsonic on a Debian server with Tomcat 6.0.20 and java 1.6.0_12.
Apache (2.2.9) is handling the ssl stuff and redirects to subsonic via mod_proxy (ProxyPass/ProxyPassReverse). I already tried via mod_jk with the same result.
I can browse the page and stream to the embedded flash player without problems. "External player with playlist" is also working in conjunction with vlc.
When I try with "External player", vlc starts buffering, plays the first 1-2 seconds and then just stops.
I already played around with ProxyIOBufferSize and ProxyReceiveBufferSize with no luck.
If someone has an idea of what is going wrong here, please let me know.
Here are the vlc debug messages (I replaced the servername with "Example.com"):
- Code: Select all
main debug: processing request item Subsonic node Wiedergabeliste skip 0
main debug: resyncing on Subsonic
main debug: Subsonic is at 0
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'Subsonic'
main debug: thread (input) created at priority 10 (input/input.c:230)
main debug: thread started
main debug: using timeshift granularity of 50 MBytes
main debug: using timeshift path '/tmp'
main debug: `https://www.example.com/subsonic/stream?player=1&suffix=.mp3' gives access `https' demux `' path `www.example.com/subsonic/stream?player=1&suffix=.mp3'
main debug: creating demux: access='https' demux='' path='www.example.com/subsonic/stream?player=1&suffix=.mp3'
main debug: looking for access_demux module: 0 candidates
main debug: no access_demux module matched "https"
main debug: TIMER module_need() : 0,158 ms - Total 0,158 ms / 1 intvls (Avg 0,158 ms)
main debug: creating access 'https' path='www.example.com/subsonic/stream?player=1&suffix=.mp3'
main debug: looking for access module: 1 candidate
qt4 debug: IM: Setting an input
access_http debug: http: server='www.example.com' port=443 file='/subsonic/stream?player=1&suffix=.mp3
main debug: net: connecting to www.example.com port 443
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
main debug: connection: Operation now in progress
main debug: connection succeeded (socket = 18)
main debug: requested server name: www.example.com
main debug: looking for tls client module: 1 candidate
gnutls debug: GnuTLS v2.8.3 initialized
gnutls warning: cannot add x509 credentials (/usr/etc/ssl/certs/ca-certificates.crt): No such file or directory
gnutls debug: added x509 credentials (/etc/ssl/certs/ca-certificates.crt)
main debug: using tls client module "gnutls"
main debug: TIMER module_need() : 112,355 ms - Total 112,355 ms / 1 intvls (Avg 112,355 ms)
gnutls debug: TLS/x509 certificate verified
main debug: TLS client session initialized
access_http debug: protocol 'HTTP' answer code 200
access_http debug: Server: Apache-Coyote/1.1
access_http debug: Icy-MetaInt: 20480
access_http warning: ICY metaint=20480
access_http debug: Icy-Notice: This stream is served using Subsonic
access_http debug: Icy-Notice: Subsonic - Free media streamer - subsonic.sourceforge.net
access_http debug: Icy-Name: Subsonic
access_http debug: Icy-Genre: Mixed
access_http debug: Meta-Info: icy-url: http://subsonic.sourceforge.net/
access_http debug: Content-Type: audio/mpeg
access_http debug: Accepting Cookie: player-null=1; Expires=Fri, 29-Oct-2010 14:03:32 GMT; Path=/subsonic
access_http debug: Transfer-Encoding: chunked
access_http info: Raw-audio server found, mp3 demuxer selected
access_http debug: auto re-connect enabled
main debug: using access module "access_http"
main debug: TIMER module_need() : 402,657 ms - Total 402,657 ms / 1 intvls (Avg 402,657 ms)
main debug: Using AStream*Stream
main debug: pre buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 1024 bytes in 0s - 2169 kbytes/s
main debug: looking for stream_filter module: 4 candidates
main debug: TIMER module_need() : 3,438 ms - Total 3,438 ms / 1 intvls (Avg 3,438 ms)
main debug: looking for stream_filter module: 1 candidate
main debug: using stream_filter module "stream_filter_record"
main debug: TIMER module_need() : 0,150 ms - Total 0,150 ms / 1 intvls (Avg 0,150 ms)
main debug: creating demux: access='https' demux='mp3' path='www.example.com/subsonic/stream?player=1&suffix=.mp3'
main debug: ID3v2.4 revision 0 tag found, skipping 234 bytes
main debug: looking for demux module: 1 candidate
es debug: detected format mpga
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "mpeg_audio"
main debug: TIMER module_need() : 0,160 ms - Total 0,160 ms / 1 intvls (Avg 0,160 ms)
main debug: using demux module "es"
main debug: TIMER module_need() : 0,349 ms - Total 0,349 ms / 1 intvls (Avg 0,349 ms)
main debug: looking for meta reader module: 1 candidate
main debug: TIMER module_need() : 0,291 ms - Total 0,291 ms / 1 intvls (Avg 0,291 ms)
main debug: `https://www.example.com/subsonic/stream?player=1&suffix=.mp3' successfully opened
mpeg_audio debug: MPGA channels:2 samplerate:44100 bitrate:192
main debug: selecting program id=0
main debug: looking for decoder module: 31 candidates
main debug: using decoder module "mpeg_audio"
main debug: TIMER module_need() : 0,454 ms - Total 0,454 ms / 1 intvls (Avg 0,454 ms)
main debug: thread started
main debug: thread (decoder) created at priority 5 (input/decoder.c:315)
main debug: Buffering 0%
main debug: Buffering 1%
main debug: Buffering 2%
main debug: Buffering 3%
main debug: Buffering 4%
main debug: Buffering 5%
main debug: Buffering 6%
main debug: Buffering 7%
mpeg_audio debug: MPGA channels:2 samplerate:44100 bitrate:192
main debug: reusing aout
main debug: looking for audio output module: 4 candidates
pulse info: No. of Audio Channels: 2
main debug: Buffering 8%
main debug: Buffering 9%
main debug: Buffering 10%
main debug: Buffering 11%
main debug: Buffering 13%
main debug: Buffering 14%
main debug: Buffering 15%
main debug: Buffering 16%
main debug: Buffering 17%
main debug: Buffering 18%
main debug: Buffering 19%
pulse debug: Pulse mainloop started
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
main debug: Buffering 20%
main debug: Buffering 21%
qt4 debug: Updating the geometry
main debug: Buffering 22%
main debug: Buffering 23%
main debug: Buffering 25%
main debug: Buffering 26%
main debug: Buffering 27%
main debug: Buffering 28%
main debug: Buffering 29%
main debug: Buffering 30%
main debug: Buffering 31%
main debug: Buffering 32%
access_http debug: New Title=Der dritte Raum - Slapstick
main debug: Buffering 33%
main debug: EOF reached
main debug: Stream buffering done (809 ms in 27 ms)
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
pulse debug: Pulse stream connected
pulse debug: Pulse initialized successfully
pulse debug: Buffer metrics: maxlength=141120, tlength=42336, prebuf=35280, minreq=7056
pulse debug: Using sample spec 'float32le 2ch 44100Hz', channel map 'front-left,front-right'.
pulse debug: Connected to device alsa_output.pci-0000_00_1b.0.analog-stereo (0, not suspended).
main debug: using audio output module "pulse"
main debug: TIMER module_need() : 80,382 ms - Total 80,382 ms / 1 intvls (Avg 80,382 ms)
main debug: output 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: mixer 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: no need for any filter
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "float32_mixer"
main debug: TIMER module_need() : 0,112 ms - Total 0,112 ms / 1 intvls (Avg 0,112 ms)
main debug: input 'mpga' 44100 Hz Stereo frame=1152 samples/1053 bytes
main debug: looking for audio filter module: 1 candidate
scaletempo warning: bad input or output format
main warning: no audio filter module matching "scaletempo" could be loaded
main debug: TIMER module_need() : 0,113 ms - Total 0,113 ms / 1 intvls (Avg 0,113 ms)
main debug: looking for audio filter module: 1 candidate
scaletempo debug: format: 44100 rate, 2 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0,200 overlap, 14 search
scaletempo debug: 1,000 scale, 1323,000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode
main debug: using audio filter module "scaletempo"
main debug: TIMER module_need() : 0,502 ms - Total 0,502 ms / 1 intvls (Avg 0,502 ms)
main debug: filter(s) 'mpga'->'fl32' 44100 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "mpgatofixed32"
main debug: TIMER module_need() : 0,129 ms - Total 0,129 ms / 1 intvls (Avg 0,129 ms)
main debug: found a filter for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 48510 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: TIMER module_need() : 0,215 ms - Total 0,215 ms / 1 intvls (Avg 0,215 ms)
main debug: found a filter for the whole conversion
main debug: End of audio preroll
main debug: Decoder buffering done in 56 ms
main debug: waiting decoder fifos to empty
main warning: PTS is out of range (-9973), dropping buffer
main warning: PTS is out of range (-36081), dropping buffer
mpgatofixed32 debug: libmad error: bad main_data_begin pointer
pulse debug: Pulse stream started
main warning: output date isn't PTS date, requesting resampling (118706)
main warning: buffer is 118705 late, triggering upsampling
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: removing module "mpeg_audio"
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
main debug: removing module "mpgatofixed32"
main debug: removing module "scaletempo"
main debug: removing module "bandlimited_resampler"
pulse debug: Pulse Close
main debug: finished input
main debug: waitpipe: object killed
main debug: removing module "pulse"
main debug: removing module "float32_mixer"
main debug: releasing aout
main debug: removing module "mpeg_audio"
main debug: removing module "es"
main debug: removing module "stream_filter_record"
gnutls debug: GnuTLS deinitialized
main debug: removing module "gnutls"
main debug: removing module "access_http"
main debug: Program doesn't contain anymore ES
main debug: thread ended
main debug: dead input
main debug: changing item without a request (current 0/1)
main debug: nothing to play
qt4 debug: IM: Deleting the input
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
main debug: TIMER input launching for 'Subsonic' : 413,128 ms - Total 413,128 ms / 1 intvls (Avg 413,128 ms)