Hifidelio-User.de

Das (inoffizielle!) Forum für Hifidelio-User
Aktuelle Zeit: 23.09.2018 23:03

Alle Zeiten sind UTC + 1 Stunde [ Sommerzeit ]




Ein neues Thema erstellen Auf das Thema antworten  [ 17 Beiträge ]  Gehe zu Seite 1, 2  Nächste
Autor Nachricht
 Betreff des Beitrags: Problem streaming FLAC...
BeitragVerfasst: 13.12.2010 04:56 
Offline

Registriert: 13.12.2010 04:23
Beiträge: 11
Hello,

I've had an Olive Symphony for about three years now. Some time ago my hard drive filled up, and I've bene using it primarily as a CD player for newer CDs. A couple weeks ago I decided to get a NAS with a Twonky server built into it. My idea was that I would stream music from the NAS to the Olive. I've ripped a bunch of music onto the NAS. Most of the music is in FLAC format, and some of it is in MP3.

MP3's stream to the Olive with no problem. FLAC's, however, stop start just fine, but stop after a few seconds. I can stream FLAC from the NAS to my Mac and I can stream video to my PS3. Furthermore, I'm pretty sure I was able to stream FLAC to the Olive when I first set things up last week. I'm not sure about that last point, however.

Any help on what I can do to troubleshoot this would be greatly appreciated. Information about my setup:

Player: Olive Symphony 80GB
NAS: MyBook Live 1TB
Connection: Wireless


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: 14.12.2010 23:42 
Offline
Godfather of Hifidelio
Benutzeravatar

Registriert: 03.02.2005 12:45
Beiträge: 2040
Wohnort: Rheinhessen
FLAC uses considerably more bandwidth than mp3. If streamed over WLAN the connection is not as stable as a LAN, and results vary. Try a direct LAN connection for comparison.

_________________
Verallgemeinerungen sind generell schlecht.


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: 15.12.2010 03:59 
Offline

Registriert: 13.12.2010 04:23
Beiträge: 11
Musikuss hat geschrieben:
FLAC uses considerably more bandwidth than mp3. If streamed over WLAN the connection is not as stable as a LAN, and results vary. Try a direct LAN connection for comparison.


Hi Musikuss,

I suspected the same thing, so last night I plugged the Olive directly into my router. I encountered the exact same issue. Whether I go wired or wireless, the FLAC stops at the exact same time (approximately 30 seconds into the song).

I'm positive I was able to stream some of these CDs to the Olive just a week ago. Is there any sort of a buffer or cache that can be flushed? Are there any diagnostics that can be run to see what's going on in the background?

Regards,
Bluescale


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: 15.12.2010 14:18 
Offline
Godfather of Hifidelio
Benutzeravatar

Registriert: 03.02.2005 12:45
Beiträge: 2040
Wohnort: Rheinhessen
bluescale hat geschrieben:
I suspected the same thing, so last night I plugged the Olive directly into my router. I encountered the exact same issue. Whether I go wired or wireless, the FLAC stops at the exact same time (approximately 30 seconds into the song).

Hm.

Zitat:
I'm positive I was able to stream some of these CDs to the Olive just a week ago. Is there any sort of a buffer or cache that can be flushed? Are there any diagnostics that can be run to see what's going on in the background?


There is no cache, but there is diagnostics. You can activate the "Debug Log". There are instructions in the forum, but probably the easiest way is now the Hifidelio Helper (which I havent't tried myself):

http://www.hifidelio-user.de/viewtopic. ... ight=debug

Start the debug logging, start streaming a FLAC, wait for the effect and stop the log. Copy it to the Import folder and look inside using a text editor on your computer.

Maybe this gives a hint. You may post the interesting part here, if it's not too long.

_________________
Verallgemeinerungen sind generell schlecht.


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: 16.12.2010 06:13 
Offline

Registriert: 13.12.2010 04:23
Beiträge: 11
Musikuss hat geschrieben:
There is no cache, but there is diagnostics. You can activate the "Debug Log". There are instructions in the forum, but probably the easiest way is now the Hifidelio Helper (which I havent't tried myself):

http://www.hifidelio-user.de/viewtopic. ... ight=debug

Start the debug logging, start streaming a FLAC, wait for the effect and stop the log. Copy it to the Import folder and look inside using a text editor on your computer.

Maybe this gives a hint. You may post the interesting part here, if it's not too long.


Thanks for the suggestion! I think I'll try it over the weekend. I hope this isn't a stupid question, but will I be able to navigate the tool interface fairly easily even though I don't speak German? I guess I could always use online translators.


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: 16.12.2010 08:33 
Offline

Registriert: 13.12.2010 04:23
Beiträge: 11
Interesting...

so I ran the debug, and I got this. Sorry if this is too long:

Zitat:
10:12:15:22:00:15:352 PIZA MD_MusicLoader::CreateFifo /tmp/stream/78.flac
10:12:15:22:00:15:353 PIZA Content-Type: audio/x-flac
10:12:15:22:00:15:353 PIZA Transfer-Encoding: chunked
10:12:15:22:00:15:354 PIZA Date: Thu, 16 Dec 2010 06:00:13 GMT
10:12:15:22:00:15:354 PIZA Pragma: no-cache
10:12:15:22:00:15:355 PIZA Cache-control: no-cache
10:12:15:22:00:15:355 PIZA Last-Modified: Sun, 05 Dec 2010 19:46:53 GMT
10:12:15:22:00:15:356 PIZA Accept-Ranges: bytes
10:12:15:22:00:15:356 PIZA Connection: close
10:12:15:22:00:15:357 PIZA EXT:
10:12:15:22:00:15:357 PIZA Server: Linux/2.x.x, UPnP/1.0, pvConnect UPnP SDK/1.0
10:12:15:22:00:15:358 PIZA PD_Pizarro::UPnPNotifier result: eliLoaderStreaming for song ID: 78
10:12:15:22:00:15:358 PIZA PD_Intercom::SendPlayStreamCommand -> CARUSO
10:12:15:22:00:15:359 PIZA Ref ID: 78
10:12:15:22:00:15:359 PIZA Fifo: /tmp/stream/78.flac
10:12:15:22:00:15:359 PIZA PD_Intercom::SendDriveCommand -> CARUSO
10:12:15:22:00:15:360 PIZA Command: eCmdStart, Device: AudioPlayer, Param: 0
10:12:15:22:00:15:360 PIZA PD_Intercom::StartCarusoWatchDog
10:12:15:22:00:15:361 CARU Queuing in SetSong
10:12:15:22:00:15:362 CARU Queuing in Start
10:12:15:22:00:15:363 PIZA MD_MusicLoader::OpenFifo /tmp/stream/78.flac
10:12:15:22:00:15:364 CARU SetSong '/tmp/stream/78.flac' for playing ref 78
10:12:15:22:00:15:364 CARU GetFileType for songID 78
10:12:15:22:00:15:365 CARU GetFileType for songID 78
10:12:15:22:00:15:366 CARU FLAC
10:12:15:22:00:15:366 CARU Creating Player instance 0x100b8f28
10:12:15:22:00:15:367 CARU OpenDestination /dev/dsp16
10:12:15:22:00:15:372 CARU Buffer size: 4096 samples, no of buffers: 20
10:12:15:22:00:15:374 CARU opening audio device 7
10:12:15:22:00:15:380 CARU Configure to 16 bits, format = 20, 2 channels, 44100 speed
10:12:15:22:00:15:383 CARU AudioOut thread running, instance =0x100b9068
10:12:15:22:00:15:383 CARU Creating AudioOut instance [0] 0x100b9068
10:12:15:22:00:15:383 CARU Audio channels in use: 1
10:12:15:22:00:15:385 CARU Pizarro's total time: 271497396 ms
10:12:15:22:00:15:473 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:15:474 CARU SeekableFile::Open: /tmp/stream/78.flac
10:12:15:22:00:15:476 CARU DoWaitSongInfo for stream?
10:12:15:22:00:15:479 CARU -> queuing 0x100b8368 (/tmp/stream/78.flac) ref=78
10:12:15:22:00:15:480 CARU Start ref 78
10:12:15:22:00:15:485 CARU AudioOut::Start
10:12:15:22:00:15:485 CARU MixingBuffer::ClearBuffer 0x100b9068
10:12:15:22:00:15:494 PIZA PD_Pizarro::HandleCarusoState (AudioPlayer): ecsStarted , ref=78
10:12:15:22:00:15:495 PIZA PD_Pizarro::HandleLocalState, Caruso plays requested song ID: 78
10:12:15:22:00:15:500 PIZA PD_Main::HideCenterView
10:12:15:22:00:15:505 PIZA PD_Pizarro::HandleCarusoState (AudioPlayer): ecsPlaying , ref=78
10:12:15:22:00:15:527 CARU * Flac error FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
10:12:15:22:00:15:528 CARU ConfigDestination sample size: 16 Ch: 2 rate: 44100
10:12:15:22:00:15:528 CARU SetGapless = 1
10:12:15:22:00:15:532 CARU +++ Waiting for my time to come... 0x100b9068
10:12:15:22:00:15:532 CARU +++ My time has come 0x100b9068
10:12:15:22:00:15:622 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:16:213 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:17:233 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:18:069 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:18:812 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:19:553 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:20:308 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:21:042 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:21:784 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:22:527 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:23:085 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:23:645 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:24:198 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:24:848 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:25:407 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:25:963 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:26:519 CARU * Flac error FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
10:12:15:22:00:26:519 CARU * Flac error FLAC__STREAM_DECODER_ERROR_STATUS_FRAME_CRC_MISMATCH
10:12:15:22:00:26:523 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:26:597 CARU * Flac error FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
10:12:15:22:00:27:078 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:27:635 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:28:196 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:28:844 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:29:402 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:29:958 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:30:608 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:31:165 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:31:722 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:32:282 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:32:935 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:33:487 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:34:044 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:34:602 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:35:163 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:35:716 CARU * Flac error FLAC__STREAM_DECODER_ERROR_STATUS_FRAME_CRC_MISMATCH
10:12:15:22:00:35:720 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:35:793 CARU * Flac error FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
10:12:15:22:00:36:275 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:36:835 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:37:389 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:37:948 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:38:505 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:39:065 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:39:618 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:40:176 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:40:825 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:41:383 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:42:035 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:42:595 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:43:148 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:43:705 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:44:263 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:44:832 PIZA Socket read/available: 65536/65536 bytes
10:12:15:22:00:44:900 CARU shootThePianoPlayer sets state to eseDeactive
10:12:15:22:00:44:901 CARU CloseDestination /dev/dsp16
10:12:15:22:00:44:902 CARU MixingBuffer::WaitForEnd 0x100b9068
10:12:15:22:00:45:826 CARU Removing AudioOut instance 0x100b9068
10:12:15:22:00:45:826 CARU Audio channels in use: 0
10:12:15:22:00:45:827 CARU Notification takes 0x100b8368 off the queue
10:12:15:22:00:45:827 CARU <dequeueing> CARUSO
10:12:15:22:00:45:845 PIZA Command: eCmdEndOfSong, Device: AudioPlayer, Param: 0
10:12:15:22:00:45:846 PIZA PD_Intercom::StartCarusoWatchDog
10:12:15:22:00:45:846 PIZA PD_Intercom::SendDriveCommand -> CARUSO
10:12:15:22:00:45:847 PIZA Command: eCmdStop, Device: AudioPlayer, Param: 0
10:12:15:22:00:45:847 PIZA MD_MusicLoader::CloseFifo /tmp/stream/78.flac
10:12:15:22:00:45:848 PIZA MD_MusicLoader::LoadThread, dequeue song ID: 78
10:12:15:22:00:45:848 PIZA * ~MD_MusicLoader waiting for thread to run out
10:12:15:22:00:45:852 CARU Queuing in EndOfSong
10:12:15:22:00:45:853 CARU Queuing in Stop
10:12:15:22:00:45:878 CARU End of Song
10:12:15:22:00:45:878 CARU * EndOfSong failed (Err = -1 Device = 1 RefCon = 78)
10:12:15:22:00:45:879 CARU Stop ref 78
10:12:15:22:00:45:879 CARU * Nothing to stop, queue empty
10:12:15:22:00:45:882 PIZA PD_Pizarro::HandleCarusoState (AudioPlayer): ecsError , ref=78
10:12:15:22:00:45:882 PIZA PD_Pizarro::HandleLocalState, Caruso failure!
10:12:15:22:00:45:883 PIZA MD_MusicLoader::StopLoads
10:12:15:22:00:45:883 PIZA PD_Pizarro::HandleStopPlay
10:12:15:22:00:45:884 PIZA PD_Intercom::StopCarusoWatchDog
10:12:15:22:00:46:001 CARU pulling down DAC from -6373/-27336
10:12:15:22:00:46:002 CARU FadeDAC writing 2464 Bytes
10:12:15:22:00:46:427 CARU SYNC returned


I ripped the files using MAX on my Mac, and I can play the files easily over the network using VLC. Can it really be that all my FLAC files are corrupted, or are things getting corrupted while traveling over the network?


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: 16.12.2010 18:23 
Offline
Godfather of Hifidelio
Benutzeravatar

Registriert: 03.02.2005 12:45
Beiträge: 2040
Wohnort: Rheinhessen
No, files can't get corrupted silently over the network. The lower network layers ensure proper or no data. You can play them using another player, so the data should be fine.

I can tell from the log that the flac player loses synchronization several times and finally gives up. This may be a problem specific to the flac decoder. I can't look into more detail without actually looking into the source code.

On the other hand, there may be something different in the flac files that the Hifidelio flac decoder is not used to. So, as a last resort, try a flac encoded by the Hifidelio itself. If this streams well, there is a compatiblitiy issue. If not, then I think the flac decoder has a streaming defect.

_________________
Verallgemeinerungen sind generell schlecht.


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: 17.12.2010 02:19 
Offline

Registriert: 13.12.2010 04:23
Beiträge: 11
Musikuss hat geschrieben:
No, files can't get corrupted silently over the network. The lower network layers ensure proper or no data. You can play them using another player, so the data should be fine.


Sorry, maybe I didn't explain myself properly. I didn't mean the source files were getting corrupted while the data travels over the network. I wonder if something like packet loss is occurring, causing the data to corrupt as it travels across the network.

Musikuss hat geschrieben:
On the other hand, there may be something different in the flac files that the Hifidelio flac decoder is not used to. So, as a last resort, try a flac encoded by the Hifidelio itself. If this streams well, there is a compatiblitiy issue. If not, then I think the flac decoder has a streaming defect.


It seems you and I have very similar troubleshooting thought processes :D . This is exactly what I decided to do today when I got home from work. I copied a FLAC from the Olive to my NAS. Sure enough, when I try to stream a file across the network, playback stalls after a short while.

To be thorough, I copied a FLAC from my NAS to a thumb drive. This is same song I was testing with last night. When I plug the thumb drive into the USB port in the back, the file plays flawlessly.

I'm pretty sure you're right - the FLAC decoder looks to have a streaming defect. What I can't tell is whether the defect is unique to my machine, or if it is there for everyone. Looking through the forum, it doesn't look like anyone is streaming FLAC across the network to the Olive.


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: 18.12.2010 02:37 
Offline

Registriert: 13.12.2010 04:23
Beiträge: 11
Musikuss,

First of all, I just realized I haven't thanked you for your suggestions and assistance. I greatly appreciate your guidance. The Hifidelio Helper program alone has been great!

I was wondering if you or anyone else has been successful streaming FLAC across the network to and Olive or Hifidelio. I don't see any instances of this, but perhaps my searching has been flawed.

Regards.


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: 18.12.2010 22:16 
Offline

Registriert: 13.12.2010 04:23
Beiträge: 11
Well, in one last act of desperation, I wiped the drive and used the 2.2.2 recovery CD to reimage the Olive. No joy. Songs stop streaming at the EXACT same moment.


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: 20.12.2010 17:48 
Offline
Godfather of Hifidelio
Benutzeravatar

Registriert: 03.02.2005 12:45
Beiträge: 2040
Wohnort: Rheinhessen
I am sorry, but I ran out of ideas. Seems you discovered a bug. I am pretty sure this has been working once...

_________________
Verallgemeinerungen sind generell schlecht.


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: 21.12.2010 03:23 
Offline

Registriert: 13.12.2010 04:23
Beiträge: 11
Musikuss hat geschrieben:
I am sorry, but I ran out of ideas. Seems you discovered a bug. I am pretty sure this has been working once...


Alas, I am out of ideas as well. I'm planning to swap out the hard drive for a larger one and use that as my solution for the time being.


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: 21.12.2010 07:07 
Offline
Benutzeravatar

Registriert: 21.07.2006 11:32
Beiträge: 869
Wohnort: 49°26'51.46"N - 8°59'49.06"E
Hi bluescale

have you tried both NAS and HF over Lan or only the HF?
Sometimes the harddrive will slowdown the datastream when it goes defective.

BYe André

_________________
Hifidelio Pro 500GB
JBL DSC1000
http://www.gugau.net/html/hifidelio_helper.html
http://www.gugau.net/Beta/HF_Tuner.exe
Wer Rechtschreibfehler findet darf sie ruhig behalten, ich brauche sie nicht mehr, ich habe noch genug davon.


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: 22.12.2010 02:32 
Offline

Registriert: 13.12.2010 04:23
Beiträge: 11
Elektrolurch hat geschrieben:
Hi bluescale

have you tried both NAS and HF over Lan or only the HF?
Sometimes the harddrive will slowdown the datastream when it goes defective.

BYe André


Hi Electrolurch,

The NAS is already plugged directly into the router - it does not have wifi enabled.

Are you referring to the HD in the NAS or the HD in the Olive? I haven't scanned HD in the Olive to see if there are any problems. Maybe I'll do a diagnostic test once I've swapped out the old drive for the new one that should arrive any day now.

Regards,


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: 22.12.2010 10:27 
Offline
Benutzeravatar

Registriert: 21.07.2006 11:32
Beiträge: 869
Wohnort: 49°26'51.46"N - 8°59'49.06"E
Hi

in the past I had a HF for repairing, whichever was stopping in changing times playing the music for 1 second or more.
In my case there was the problem the fixed disc, which was not able to serve the data in the right time.


BYe André

_________________
Hifidelio Pro 500GB
JBL DSC1000
http://www.gugau.net/html/hifidelio_helper.html
http://www.gugau.net/Beta/HF_Tuner.exe
Wer Rechtschreibfehler findet darf sie ruhig behalten, ich brauche sie nicht mehr, ich habe noch genug davon.


Nach oben
 Profil  
 
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen Auf das Thema antworten  [ 17 Beiträge ]  Gehe zu Seite 1, 2  Nächste

Alle Zeiten sind UTC + 1 Stunde [ Sommerzeit ]


Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast


Du darfst keine neuen Themen in diesem Forum erstellen.
Du darfst keine Antworten zu Themen in diesem Forum erstellen.
Du darfst deine Beiträge in diesem Forum nicht ändern.
Du darfst deine Beiträge in diesem Forum nicht löschen.

Suche nach:
Gehe zu:  
cron
Powered by phpBB® Forum Software © phpBB Group
Deutsche Übersetzung durch phpBB.de