Re: [slim] How to ear vlc or chrome(NETFLIX) or over multimedia reader by LMS (KDE 14.04 lts)

2018-01-19 Thread bpa

d6jg wrote: 
> There is no doubt that it is technically possible to take the audio from
> any source and convert it by whatever means (wavinput is only one) to a
> stream that LMS can read and play.
> 
> However if I read things correctly you want to see video in one place
> and send audio by stream to LMS. It won't be usable. There will just be
> too much lag on the audio to make it acceptable as a viewing experience.
I have already pointed out this issue video/audio sync but the OP wants
to persist in trying it out by manually altering sync using vlc



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=108585

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] How to ear vlc or chrome(NETFLIX) or over multimedia reader by LMS (KDE 14.04 lts)

2018-01-19 Thread d6jg

I have just read through this thread.

There is no doubt that it is technically possible to take the audio from
any source and convert it by whatever means (wavinput is only one) to a
stream that LMS can read and play.

However if I read things correctly you want to see video in one place
and send audio by stream to LMS. It won't be usable. There will just be
too much lag on the audio to make it acceptable as a viewing experience.



PI3 PCP/LMS STORAGE QNAP TS419P (NFS)
*Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom 
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=108585

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] How to ear vlc or chrome(NETFLIX) or over multimedia reader by LMS (KDE 14.04 lts)

2018-01-19 Thread bpa

thevanihingman wrote: 
> aplay -D default -f cd -t wav >test.wav do not work
> (test.wav stay at 0oct)
> 
> the command : pactl list short |grep RUNNING   return :  1  
> alsa_output.pci-_00_14.2.analog-stereo  module-alsa-card.c 
> s16le 2ch 44100Hz   RUNNING
> 
> the command : parec -v -d
> alsa_output.pci-_00_14.2.analog-stereo.monitor --file-format=flac
> recording.flac   work perfectly
> 
> I have add the user squeezeboxsever to audio, pulse and pulse-access
> groups (I do not add me)
> 
> I have modified custom-convert.conf
> (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/WaveInput) : 
> 
> #
> # wavin 
> #
> wavin pcm * * 
>   # R
>   [parec] --channels=2 --format=s16le --rate=44100 --file-format=raw -D
> $FILE$ 
> wavin mp3 * *
>   # RB:{BITRATE=-B %B}
>   [parec] --file-format=wav -d $FILE$  | [lame] --silent -q $QUALITY$ -v
> $BITRATE$ - -
> wavin flc * * 
>   # R
>   [parec] --file-format=flac -d $FILE$
> 
> ===> no success (the play button stay only few seconds and no sound get
> out) even after reboot.
> 
> BR


OK - I have found the 2015 post which detailed these steps.  You need to
check whether you have done them correctly.  
1.  Do you have entries in WebUI Setting/Advanced/FileTypes for
WaveInput - and are they correct (i.e. parec/lame, parec , parec)  ?
2. What is the URL in the Favorite you created to play the stream ?
3. Get a log with player.source set to INFO when trying to play the
Wavin: Favorite ?  - copy log to a file, zip and paste to a post.  Make
sure log start before you try the test and finished 20 secs after
pressing play.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=108585

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] How to ear vlc or chrome(NETFLIX) or over multimedia reader by LMS (KDE 14.04 lts)

2018-01-18 Thread bpa

thevanihingman wrote: 
> I said earlier than aplay -D default -f cd -t wav >test.wav do not work
> (test.wav stay at 0oct) 
> But arecord do something (with the same paramters it gives a lot of
> noise but it records something)
> BR

aplay and arecord are in fact the same application - just  cosmetic and
setting of intiital paramters depening on name.

Unless you get a recording of what you want - do not think you are
making progress.

I'm still going back through old threads to find relevant instructions. 
System with pulseaudio can be difficult and in a few cases no solution
was found.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=108585

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] How to ear vlc or chrome(NETFLIX) or over multimedia reader by LMS (KDE 14.04 lts)

2018-01-18 Thread thevanihingman

I said earlier than aplay -D default -f cd -t wav >test.wav do not work
(test.wav stay at 0oct) 
But arecord do something (with the same paramters it gives a lot of
noise but it records something)
BR



thevanihingman's Profile: http://forums.slimdevices.com/member.php?userid=67760
View this thread: http://forums.slimdevices.com/showthread.php?t=108585

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] How to ear vlc or chrome(NETFLIX) or over multimedia reader by LMS (KDE 14.04 lts)

2018-01-18 Thread bpa

Pulseaudio requires a totally different strategy than Alsa and it
usually much more convoluted.  It has been documented/discussed already
at length in the WaveInput plugin thread.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=108585

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] How to ear vlc or chrome(NETFLIX) or over multimedia reader by LMS (KDE 14.04 lts)

2018-01-18 Thread thevanihingman

aplay -D default -f cd -t wav >test.wav do not work
(test.wav stay at 0oct)

the command : pactl list short |grep RUNNING   return :  1  
alsa_output.pci-_00_14.2.analog-stereo  module-alsa-card.c 
s16le 2ch 44100Hz   RUNNING

the command : parec -v -d
alsa_output.pci-_00_14.2.analog-stereo.monitor --file-format=flac
recording.flac   work perfectly

I have add the user squeezeboxsever to audio, pulse and pulse-access
groups (I do not add me)

I have modified custom-convert.conf
(/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/WaveInput) : 

#
# wavin 
#
wavin pcm * * 
# R
[parec] --channels=2 --format=s16le --rate=44100 --file-format=raw -D
$FILE$ 
wavin mp3 * *
# RB:{BITRATE=-B %B}
[parec] --file-format=wav -d $FILE$  | [lame] --silent -q $QUALITY$ -v
$BITRATE$ - -
wavin flc * * 
# R
[parec] --file-format=flac -d $FILE$

===> no success (the play button stay only few seconds and no sound get
out) even after reboot.

BR



thevanihingman's Profile: http://forums.slimdevices.com/member.php?userid=67760
View this thread: http://forums.slimdevices.com/showthread.php?t=108585

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] How to ear vlc or chrome(NETFLIX) or over multimedia reader by LMS (KDE 14.04 lts)

2018-01-18 Thread bpa

thevanihingman wrote: 
> I use alsa : how to use aplay ? 
It is a standard ALSA application -plenty of maunals & tutorials online

> How to verify I have a command that when executed at a shell prompt
> under your LMS userid can copy the desired audio stream into a WAV file
> ?
> BR.

On a command line the foillowing command will play the Default alsa
device and copy audiostream in 44.1kHz/16bit/2chan WAV format into a
file call test.wav


Code:


  aplay -D default -f cd -t wav >test.wav
  



Play something on the audio outout you want recorded.  Issue the above
aplay command. Let it record for say 30 secs - use CTRL/C to stop and
then play back test.wav and check if it was the audio you wanted
recorded. 

If you want to know what devices are available to aplay - use the "-l"
lower case letter L.  The device can replace "default" in the -D option
above.

Code:


  aplay -l
  



To test under the LMS userid - it would be best to login under than id
but you could use "su" but it is not 100%. The actual userid will
depened on your installation but use "ps" to see what userid the LMS
server process is using.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=108585

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] How to ear vlc or chrome(NETFLIX) or over multimedia reader by LMS (KDE 14.04 lts)

2018-01-18 Thread thevanihingman

bpa wrote: 
> All wavinput does is copy an audio source and feed it as a 44.1Khz PCM
> stream into LMS.
> 
> If your system uses pulseaudio then obtaining the correct "device" to
> act a source can be very tricky.
> If your system uses ALSA  No pulseaudio) then it is usually
> straighforward by using aplay.
> 
> Before using wavinput - make sure you have a command that when executed
> at a shell prompt under your LMS userid can copy the desired audio
> stream into a WAV file.  No point using Wavinput until you have such a
> command.

Hi,
I use alsa : how to use aplay ?
How to verify I have a command that when executed at a shell prompt
under your LMS userid can copy the desired audio stream into a WAV file
?
BR.



thevanihingman's Profile: http://forums.slimdevices.com/member.php?userid=67760
View this thread: http://forums.slimdevices.com/showthread.php?t=108585

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] How to ear vlc or chrome(NETFLIX) or over multimedia reader by LMS (KDE 14.04 lts)

2018-01-17 Thread bpa

thevanihingman wrote: 
> But today WaveInput is not working here (so I am not yet in sync
> issue).
> Do you want to say that the only way is to use waveinput to feed with my
> local players my squeezelite boxes ?

All wavinput does is copy an audio source and feed it as a 44.1Khz PCM
stream into LMS.

If your system uses pulseaudio then obtaining the correct "device" to
act a source can be very tricky.
If your system uses ALSA  No pulseaudio) then it is usually
straighforward by using aplay.

Before using wavinput - make sure you have a command that when executed
at a shell prompt under your LMS userid can copy the desired audio
stream into a WAV file.  No point using Wavinput until you have such a
command.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=108585

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] How to ear vlc or chrome(NETFLIX) or over multimedia reader by LMS (KDE 14.04 lts)

2018-01-17 Thread thevanihingman

bpa wrote: 
> Waveinput will not normally work with video as audio and video will be
> out of sync due to different network paths.
> 
> The only way to make it work is to use somehting like mplayer and to
> manually tell mplayer to alter the time gap between audio and video
> stream and even then sync may not be good.

Hi,

VLC can manage this very well too. 
But today WaveInput is not working here (so I am not yet in sync
issue).
Do you want to say that the only way is to use waveinput to feed with my
local players my squeezelite boxes ?

BR.



thevanihingman's Profile: http://forums.slimdevices.com/member.php?userid=67760
View this thread: http://forums.slimdevices.com/showthread.php?t=108585

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] How to ear vlc or chrome(NETFLIX) or over multimedia reader by LMS (KDE 14.04 lts)

2018-01-17 Thread bpa

Waveinput will not normally work with video as audio and video will be
out of sync due to different network paths.

The only way to make it work is to use somehting like mplayer and to
manually tell mplayer to alter the time gap between audio and video
stream and even then sync may not be good.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=108585

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss