PDA

View Full Version : M4A format



fka278
2007-04-19, 08:45
I upgraded to 6.5.2 and tried the socketwrapper fix, but with no results. I can access the titles, but can't hear them from SB. The formats are checked. Can anybody help:

The debug log shows:

2007-04-19 17:22:33.6750 openSong on: file:///F:/The%20Top%20100/IS/Deborah%20Cox/Nobody's%20Supposed%20To%20Be%20Here%20(Single)/04%20Nobody's%20Supposed%20To%20Be%20Here%20(Ori.m 4a
2007-04-19 17:22:33.6763 openSong: duration: [263] size: [4163528] endian [] offset: [0] for file:///F:/The%20Top%20100/IS/Deborah%20Cox/Nobody's%20Supposed%20To%20Be%20Here%20(Single)/04%20Nobody's%20Supposed%20To%20Be%20Here%20(Ori.m 4a
2007-04-19 17:22:33.6769 undermax = 1, type = mov, squeezebox2 = 00:04:20:07:4a:97
2007-04-19 17:22:33.6772 checking formats for: mov-wma-squeezebox2-00:04:20:07:4a:97
2007-04-19 17:22:33.6774 checking formats for: mov-wma-*-00:04:20:07:4a:97
2007-04-19 17:22:33.6775 checking formats for: mov-wma-squeezebox2-*
2007-04-19 17:22:33.6777 checking formats for: mov-wma-*-*
2007-04-19 17:22:33.6778 checking formats for: mov-ogg-squeezebox2-00:04:20:07:4a:97
2007-04-19 17:22:33.6780 checking formats for: mov-ogg-*-00:04:20:07:4a:97
2007-04-19 17:22:33.6781 checking formats for: mov-ogg-squeezebox2-*
2007-04-19 17:22:33.6783 checking formats for: mov-ogg-*-*
2007-04-19 17:22:33.6784 checking formats for: mov-flc-squeezebox2-00:04:20:07:4a:97
2007-04-19 17:22:33.6785 checking formats for: mov-flc-*-00:04:20:07:4a:97
2007-04-19 17:22:33.6787 checking formats for: mov-flc-squeezebox2-*
2007-04-19 17:22:33.6788 checking formats for: mov-flc-*-*
2007-04-19 17:22:33.6789 Checking to see if mov-flc-*-* is enabled
2007-04-19 17:22:33.6790 enabled
2007-04-19 17:22:33.6792 Found command: [mov123] $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -
2007-04-19 17:22:33.6794 Matched Format: flc Type: mov Command: [mov123] $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -
2007-04-19 17:22:33.6795 openSong: this is an mov file: file:///F:/The%20Top%20100/IS/Deborah%20Cox/Nobody's%20Supposed%20To%20Be%20Here%20(Single)/04%20Nobody's%20Supposed%20To%20Be%20Here%20(Ori.m 4a
2007-04-19 17:22:33.6797 file type: mov format: flc inrate: 124 maxRate: 0
2007-04-19 17:22:33.6798 command: [mov123] $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -
2007-04-19 17:22:33.6802 Checking for mov123.exe in C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\mov123.exe
2007-04-19 17:22:33.6808 Found binary C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\mov123.exe for mov123.exe
2007-04-19 17:22:33.6812 Checking for flac.exe in C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\flac.exe
2007-04-19 17:22:33.6822 Found binary C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\flac.exe for flac.exe
2007-04-19 17:22:33.6826 Using command for conversion: "C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\mov123.exe" "F:\The Top 100\IS\Deborah Cox\Nobody's Supposed To Be Here (Single)\04 Nobody's Supposed To Be Here (Ori.m4a" | "C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\flac.exe" -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 - |
2007-04-19 17:22:33.6845 Checking for socketwrapper.exe in C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\socketwrapper.exe
2007-04-19 17:22:33.6851 Found binary C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\socketwrapper.exe for socketwrapper.exe
2007-04-19 17:22:33.6853 Launching process with command: "C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\socketwrapper.exe" -o 4067 -c "\"C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\mov123.exe\" \"F:\The Top 100\IS\Deborah Cox\Nobody's Supposed To Be Here (Single)\04 Nobody's Supposed To Be Here (Ori.m4a\" | \"C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\flac.exe\" -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 - |"
2007-04-19 17:22:33.6861 Checking for socketwrapper.exe in C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\socketwrapper.exe
2007-04-19 17:22:33.6867 Found binary C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\socketwrapper.exe for socketwrapper.exe
2007-04-19 17:22:33.6947 openSong: Streaming with format: flc
2007-04-19 17:22:33.7186 Pipeline reader connected
2007-04-19 17:22:33.7379 Read to end of file or pipe
2007-04-19 17:22:33.7382 end of file or error on socket, opening next song, (song pos: 0(tell says: . 0), totalbytes: 0)
2007-04-19 17:22:33.7383 opening next song...
2007-04-19 17:22:33.7391 the next song is number 0, was 0
2007-04-19 17:22:33.7398 undermax = 1, type = mov, squeezebox2 = 00:04:20:07:4a:97
2007-04-19 17:22:33.7401 checking formats for: mov-wma-squeezebox2-00:04:20:07:4a:97
2007-04-19 17:22:33.7402 checking formats for: mov-wma-*-00:04:20:07:4a:97
2007-04-19 17:22:33.7404 checking formats for: mov-wma-squeezebox2-*
2007-04-19 17:22:33.7405 checking formats for: mov-wma-*-*
2007-04-19 17:22:33.7406 checking formats for: mov-ogg-squeezebox2-00:04:20:07:4a:97
2007-04-19 17:22:33.7408 checking formats for: mov-ogg-*-00:04:20:07:4a:97
2007-04-19 17:22:33.7409 checking formats for: mov-ogg-squeezebox2-*
2007-04-19 17:22:33.7411 checking formats for: mov-ogg-*-*
2007-04-19 17:22:33.7412 checking formats for: mov-flc-squeezebox2-00:04:20:07:4a:97
2007-04-19 17:22:33.7414 checking formats for: mov-flc-*-00:04:20:07:4a:97
2007-04-19 17:22:33.7415 checking formats for: mov-flc-squeezebox2-*
2007-04-19 17:22:33.7416 checking formats for: mov-flc-*-*
2007-04-19 17:22:33.7418 Checking to see if mov-flc-*-* is enabled
2007-04-19 17:22:33.7419 enabled
2007-04-19 17:22:33.7420 Found command: [mov123] $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -
2007-04-19 17:22:33.7422 Matched Format: flc Type: mov Command: [mov123] $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -
2007-04-19 17:22:33.7424 opening next song (old format: flc, new: flc) current playmode: pause
2007-04-19 17:22:33.7425 Adding song index 0 to song queue
2007-04-19 17:22:33.7448 Song queue is now

Frank.

bpa
2007-04-19, 09:03
This is very similar probem to another user who is running Vista.

Are you running Vista ?

fka278
2007-04-19, 09:17
No, Windows XP. My configuration is as follows:

SlimServer Version: 6.5.2 - 11778 - Windows XP - DE - cp1252
Server IP Adresse: 192.168.1.3
Perl Version: 5.8.8 MSWin32-x86-multi-thread
MySQL Version: 5.0.22-community-nt

bpa
2007-04-19, 09:38
To get more debug info from socketwrapper to see if socketwrapper is working - I have created a debug version of slim.exe for 6.5.2 of about 2 wks ago and a debug version of socketwrapper.

To use debug versions.

You can download special builds of a 6.5.2 slim.exe and socketwrapper. Unzip into a temporary directory.
http://homepage.eircom.net/~altondsl/slim/socketwrapper013.zip
http://homepage.eircom.net/~altondsl/slim/slim652debug.zip

1. Stop slimserver and stop slimtray
2. Backup slim.exe and socketwrapper.exe in case you want to revert afterwards.
3. Replace slim.exe and socketwrapper.exe by the debug versions downloaded.
4. open a cmd window - change layout to 250 wide by 1000 long.
5. cd to slimserver server directory
6. run slim.exe
7. from web interface - open debug window, enable d_source
8. make sure "repeat" is Off.
9. play one m4a track.
10. After it plays or wait for 2 mins if it doesn't - stop slim.exe, copy cmd window log to a file and post.

fka278
2007-04-19, 11:34
It didn't work. Here is the log:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.



C:\Programme\SlimServer\server>slim.exe
2007-04-19 20:21:47.7067 Adding song index 0 to song queue
2007-04-19 20:21:47.7069 Clearing out song queue first
2007-04-19 20:21:47.7070 Song queue is now 0
2007-04-19 20:21:47.7072 00:04:20:07:4a:97: Switching to mode stop from stop
2007-04-19 20:21:47.7073 Already in playmode stop : ignoring mode change
2007-04-19 20:21:47.7541 00:04:20:07:4a:97: Switching to mode stop from stop
2007-04-19 20:21:47.7543 Already in playmode stop : ignoring mode change
2007-04-19 20:21:47.7543 jumping to 0
2007-04-19 20:21:47.7544 Adding song index 0 to song queue
2007-04-19 20:21:47.7545 Clearing out song queue first
2007-04-19 20:21:47.7546 Song queue is now 0
2007-04-19 20:21:47.7549 00:04:20:07:4a:97: Switching to mode play from stop
2007-04-19 20:21:47.7611 openSong on: file:///F:/The%20Top%20100/IS/All%20Saints/All%20Saints/01%20Never%20Ever.m4a
2007-04-19 20:21:47.7622 openSong: duration: [387] size: [6202781] endian [] offset: [0] for file:///F:/The%20Top%20100/IS/All%20Saints/All%20Saints/01%20Never%20Ever.m4a
2007-04-19 20:21:47.7628 undermax = 1, type = mov, squeezebox2 = 00:04:20:07:4a:97
2007-04-19 20:21:47.7631 checking formats for: mov-wma-squeezebox2-00:04:20:07:4a:97
2007-04-19 20:21:47.7631 checking formats for: mov-wma-*-00:04:20:07:4a:97
2007-04-19 20:21:47.7632 checking formats for: mov-wma-squeezebox2-*
2007-04-19 20:21:47.7633 checking formats for: mov-wma-*-*
2007-04-19 20:21:47.7634 checking formats for: mov-ogg-squeezebox2-00:04:20:07:4a:97
2007-04-19 20:21:47.7634 checking formats for: mov-ogg-*-00:04:20:07:4a:97
2007-04-19 20:21:47.7635 checking formats for: mov-ogg-squeezebox2-*
2007-04-19 20:21:47.7636 checking formats for: mov-ogg-*-*
2007-04-19 20:21:47.7636 checking formats for: mov-flc-squeezebox2-00:04:20:07:4a:97
2007-04-19 20:21:47.7637 checking formats for: mov-flc-*-00:04:20:07:4a:97
2007-04-19 20:21:47.7638 checking formats for: mov-flc-squeezebox2-*
2007-04-19 20:21:47.7638 checking formats for: mov-flc-*-*
2007-04-19 20:21:47.7639 Checking to see if mov-flc-*-* is enabled
2007-04-19 20:21:47.7640 enabled
2007-04-19 20:21:47.7640 Found command: [mov123] $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -
2007-04-19 20:21:47.7654 Matched Format: flc Type: mov Command: [mov123] $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -
2007-04-19 20:21:47.7657 openSong: this is an mov file: file:///F:/The%20Top%20100/IS/All%20Saints/All%20Saints/01%20Never%20Ever.m4a
2007-04-19 20:21:47.7658 file type: mov format: flc inrate: 125 maxRate: 0
2007-04-19 20:21:47.7659 command: [mov123] $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -
2007-04-19 20:21:47.7673 Using command for conversion: "C:\Programme\SlimServer\server\Bin\MSWin32-x86-multi-thread\mov123.exe" "F:\The Top 100\IS\All Saints\All Saints\01 Never Ever.m4a" | "C:\Programme\SlimServer\server\Bin\MSWin32-x86-multi-thread
\flac.exe" -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 - |
2007-04-19 20:21:47.7697 Launching process with command: "C:\Programme\SlimServer\server\Bin\MSWin32-x86-multi-thread\socketwrapper.exe" -o 2368 -c "\"C:\Programme\SlimServer\server\Bin\MSWin32-x86-multi-thread\mov123.exe\" \"F:\The Top 100\IS\All Sa
ints\All Saints\01 Never Ever.m4a\" | \"C:\Programme\SlimServer\server\Bin\MSWin32-x86-multi-thread\flac.exe\" -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 - |"
2007-04-19 20:21:47.7922 openSong: Streaming with format: flc
2007-04-19 20:21:47.8254 00:04:20:07:4a:97 New play mode: play
2007-04-19 20:21:47.8330 00:04:20:07:4a:97: Current playmode: play
SW: 2007-04-19 20:21:47.890 Socketwrapper 0.13 based on Ian Cook 20060211 0.11
SW: 2007-04-19 20:21:47.890 -i 0 -o 2368 -c "C:\Programme\SlimServer\server\Bin\MSWin32-x86-multi-thread\mov123.exe" "F:\The Top 100\IS\All Saints\All Saints\01 Never Ever.m4a" | "C:\Programme\SlimServer\server\Bin\MSWin32-x86-multi-thread\flac.exe"
-cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 - |
SW: 2007-04-19 20:21:47.890
SW: 2007-04-19 20:21:47.890 Plumbing complete
SW: 2007-04-19 20:21:47.890
SW: 2007-04-19 20:21:47.906 # =input== =output= ==type== etc
SW: 2007-04-19 20:21:47.906 0 00000003 0000003c PROCESS "C:\Programme\SlimServer\server\Bin\MSWin32-x86-multi-thread\mov123.exe" "F:\The Top 100\IS\All Saints\All Saints\01 Never Ever.m4a"
SW: 2007-04-19 20:21:47.906 1 00000038 00000044 PROCESS "C:\Programme\SlimServer\server\Bin\MSWin32-x86-multi-thread\flac.exe" -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -
SW: 2007-04-19 20:21:47.906 2 00000040 0000006c THREAD 00000000 00000000
SW: 2007-04-19 20:21:47.906
SW: 2007-04-19 20:21:47.906 MoveDataThreadProc for step 2 started.
SW: 2007-04-19 20:21:47.906 MoveDataThreadProc for step 2 about to call ReadFile.
SW: 2007-04-19 20:21:47.906
Running as follows

SW: 2007-04-19 20:21:47.906 # =input== =output= ==type== etc
SW: 2007-04-19 20:21:47.906 0 00000003 0000003c PROCESS [00000090] "C:\Programme\SlimServer\server\Bin\MSWin32-x86-multi-thread\mov123.exe" "F:\The Top 100\IS\All Saints\All Saints\01 Never Ever.m4a"
SW: 2007-04-19 20:21:47.921 1 00000038 00000044 PROCESS [0000007c] "C:\Programme\SlimServer\server\Bin\MSWin32-x86-multi-thread\flac.exe" -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100
-
SW: 2007-04-19 20:21:47.921 2 00000040 0000006c THREAD [00000078] 00000000 00395220
SW: 2007-04-19 20:21:47.921
SW: 2007-04-19 20:21:47.921 Timeout Process/Thread for step 0 died.
SW: 2007-04-19 20:21:47.921 Watchdog expired - Thread for step 2 stalled.
SW: 2007-04-19 20:21:47.921 Tidying up.
SW: 2007-04-19 20:21:47.921 Thread for step 0 had pumped 0 blocks totalling 00000000 bytes
SW: 2007-04-19 20:21:47.937 Thread for step 1 had pumped 0 blocks totalling 00000000 bytes
SW: 2007-04-19 20:21:47.937 Thread for step 2 had pumped 0 blocks totalling 00000000 bytes
2007-04-19 20:21:47.9663 Pipeline reader connected
2007-04-19 20:21:48.0202 readlen undef: (Unknown error)10054
2007-04-19 20:21:48.0206 end of file or error on socket, opening next song, (song pos: 0(tell says: . 0), totalbytes: 0)
2007-04-19 20:21:48.0209 Didn't stream any bytes for this song, so just mark it as played
2007-04-19 20:21:48.0210 opening next song...
2007-04-19 20:21:48.0217 the next song is number 1, was 0
2007-04-19 20:21:48.0225 undermax = 1, type = mov, squeezebox2 = 00:04:20:07:4a:97
2007-04-19 20:21:48.0228 checking formats for: mov-wma-squeezebox2-00:04:20:07:4a:97
2007-04-19 20:21:48.0230 checking formats for: mov-wma-*-00:04:20:07:4a:97
2007-04-19 20:21:48.0231 checking formats for: mov-wma-squeezebox2-*
2007-04-19 20:21:48.0232 checking formats for: mov-wma-*-*
2007-04-19 20:21:48.0233 checking formats for: mov-ogg-squeezebox2-00:04:20:07:4a:97
2007-04-19 20:21:48.0234 checking formats for: mov-ogg-*-00:04:20:07:4a:97
2007-04-19 20:21:48.0235 checking formats for: mov-ogg-squeezebox2-*
2007-04-19 20:21:48.0236 checking formats for: mov-ogg-*-*
2007-04-19 20:21:48.0238 checking formats for: mov-flc-squeezebox2-00:04:20:07:4a:97
2007-04-19 20:21:48.0239 checking formats for: mov-flc-*-00:04:20:07:4a:97
2007-04-19 20:21:48.0240 checking formats for: mov-flc-squeezebox2-*
2007-04-19 20:21:48.0241 checking formats for: mov-flc-*-*
2007-04-19 20:21:48.0242 Checking to see if mov-flc-*-* is enabled
2007-04-19 20:21:48.0243 enabled
2007-04-19 20:21:48.0244 Found command: [mov123] $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -
2007-04-19 20:21:48.0246 Matched Format: flc Type: mov Command: [mov123] $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -
2007-04-19 20:21:48.0248 playing out before starting next song. (old format: flc, new: flc)
2007-04-19 20:21:48.0250 00:04:20:07:4a:97: Switching to mode playout-play from play
2007-04-19 20:21:48.0253 00:04:20:07:4a:97 New play mode: playout-play
2007-04-19 20:21:48.0262 00:04:20:07:4a:97: Current playmode: playout-play
2007-04-19 20:21:48.0263 No pending chunks - we're dropping the streaming connection
2007-04-19 20:21:48.0269 00:04:20:07:4a:97: Can't opennext, returning no chunk.
2007-04-19 20:21:48.0381 00:04:20:07:4a:97: Decoder underrun while this mode: playout-play
2007-04-19 20:21:48.0383 the next song is number 1, was 0
2007-04-19 20:21:48.0387 **skipahead: opening next song
2007-04-19 20:21:48.0388 opening next song...

bpa
2007-04-19, 12:31
That log showed that socketwrapper is waiting for data from the mov123 program but nothing is being sent so problem is either mov123 or comms between mov123 and socketwrapper.

mov123 depends Quicktime libraries - do you have Quicktime installed ?

If Quicktime is installed then you could try using mplayer instead of mov123.

A. If you haven't got mplayer already installed (e.g. as part of AlienBBC) Download, unzip and install mplayer.exe in the same directory as mov123.exe. The link below is for more recent build 1.0rc1 than in AlienBBC. Don't forget to make mplayer a trusted app.
http://homepage.eircom.net/~altondsl/slim/mplayerrc1exe.ZIP

After installing mplayer. open a cmd box and try running mplayer and make sure you get a banner.

B. Download, unzip and install custom-convert.conf in the same directory (i.e. server) as convert.conf.

http://homepage.eircom.net/~altondsl/slim/custom-convert.zip
This should override the use of mov123 for m4a files and make mplayer the preferred app.

C. Restart Slimserver and check that there are 4 Apple entries in Filetypes - mov123 handles AIFF - mplayer will handler and be checked for Apple WAV, FLAC and possibly MP3
D. Try an m4a file and if there is a problem - post the log.

fka278
2007-04-19, 12:51
What is Quicktime for? Where do I find it?

I had AlienBBc on 6.5.1, but after changing to 6.5.2 I forgot to reinstall.

bpa
2007-04-19, 12:57
Quicktime is apple media player. Whenb installed mov123 can use the libraries to play files encoded with Apple encoders. It comes pre-installed on many PCs.

http://www.apple.com/downloads/macosx/apple/application_updates/quicktime7formacpc.html


You don't need full AlienBBC installed - just the single mplayer file in the Bin/MSWin32 ... directory.

fka278
2007-04-19, 13:33
Thank you very much!!! Everything is working now.

Best regards from Munich,
Frank.

bpa
2007-04-19, 14:03
For completeness which solution worked - Quicktime or mplayer ?

If you want you can revert to your 6.5.2 slim.exe as it will be a sightly newer version.

Nice city Munich - I've good memories of a year there.

fka278
2007-04-19, 23:34
As it was quite late yesterday, I installed quicktime and copied the convert file to server directory. After that it worked.
If you like I can check over weekend by removing the convert file?

Anyway thanks a lot. Appreciate your fast and competent guidance and feedback.

Have a nice weekend.

Frank.

fka278
2007-04-20, 09:12
Most probably it was the installation of quicktime which made it work. I erased the custom.convert file, but I can still listen to m4a format.

Frank.

Martin_z
2007-05-08, 13:07
Just to add here that this has also solved a problem which I've had - I had a situation where only some of my m4a files worked. (Originally none worked - that was fixed by installing QuickTime...then some of them worked.)

Switching to mplayer from mov123 has worked for me.

Thanks here as well.