Re: [gentoo-user] USB Audio ?

2019-05-14 Thread Mick
On Tuesday, 14 May 2019 18:07:40 BST Jack wrote:
> On 5/14/19 12:26 PM, tu...@posteo.de wrote:

> > Question is:
> > How can I create such an "receiver" for USB Audio signals to play
> > them live with my PC?
> > 
> > Cheers!
> > Meino
> 
> That's very different from what I (and I suspect others) thought about
> your first posting.  You want to do USB audio input, not output.

May be worth searching the interwebs for 'USB streaming'.

> In
> this case, I don't think a usual USB audio device/dongle would even
> help.  My first suggestion is to just plug the USB from the Teensy into
> the PC, and see what dmesg shows, and what lsusb shows.  Searching on
> the manufacturer and device IDs shown by lsusb might lead to solutions,
> or at least to further lines of investigation.  Also, the Teeny docs
> might give more information about what kind of USB output their audio
> produces, and I wonder if you might find some good info on their forum?
> 
> Jack

Assuming dmesg shows the device is recognised and it offers something ALSA can 
work with, launch jackd/qjackctl and see what you can configure there.  I 
assume the synthesizer output is midi(?), in which case rosegarden will work 
with it.  If it is already processed into digital audio then you may be able 
to play the input with VLC, by either pointing to the USB device (file), or 
perhaps play with VLC's Capture Device options, if it is recognised as such.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] USB Audio ?

2019-05-14 Thread tuxic
On 05/14 01:07, Jack wrote:
> On 5/14/19 12:26 PM, tu...@posteo.de wrote:
> > On 05/13 11:24, Jack wrote:
> > > On 2019.05.13 23:10, tu...@posteo.de wrote:
> > > > Hi,
> > > > 
> > > > is it somehow possible to play USB-Audio on a PC without one of these
> > > > USB-dongle-"soundcards" (DACs)?
> > > > 
> > > > I searched the web and only got links to those dongles...
> > > > 
> > > > On the other hand: On the forum of the developers board one post
> > > > spokes of a "dummy" USB-Audio device...
> > > > 
> > > > How can I acchieve this?
> > > > 
> > > > Thanks for any help in advance!
> > > > Cheers!
> > > > Meino
> > > It's not clear what you really want.  Why would you want USB audio without
> > > an actual USB audio device?  Without a USB audio dongle/device/whatever,
> > > what would you have to actually produce sound?I can imagine a "dummy"
> > > USB audio device - but I can imagine it for testing the software, but not
> > > actually producing any sound, so why would you want it?
> > > 
> > > Jack
> > Hi Jack,
> > 
> > I don't wanted to pollute my posting with non-Linux details...but here
> > they are:
> > 
> > I habe a Teensy 3.6 by PJRC (=>https://www.pjrc.com/), which has an
> > USB-port. This port can be switched between a lot of USB-devices...
> > ...one of them is an USB-audio device (output).
> > The MK66FX1M0VMD18 uC has beside an FPU a DSP block.
> > With a certain (open source) firmware this chip can be used as an
> > synthesizer.
> > 
> > To cut costs I wanted no USB dongle to play the sound ... I wanted
> > to use my Linux PC as "Mega DAC"...so to say.
> > 
> > Question is:
> > How can I create such an "receiver" for USB Audio signals to play
> > them live with my PC?
> > 
> > Cheers!
> > Meino
> 
> That's very different from what I (and I suspect others) thought about your
> first posting.  You want to do USB audio input, not output.  In this case, I
> don't think a usual USB audio device/dongle would even help.  My first
> suggestion is to just plug the USB from the Teensy into the PC, and see what
> dmesg shows, and what lsusb shows.  Searching on the manufacturer and device
> IDs shown by lsusb might lead to solutions, or at least to further lines of
> investigation.  Also, the Teeny docs might give more information about what
> kind of USB output their audio produces, and I wonder if you might find some
> good info on their forum?
> 
> Jack
> 
> 

Hi Jack,

I already posted a question on the forum. The forum is about the
Teensy and not Linux.
Answer was:
"On a Win PC (I do not use Linux) you have to select the Teensy Audio
device (Open Sound Settings) to listen to teensy "

I attached a screenshot of the devices I could choose via bootloader
trickery.

lsusb (the relevant portion) reported this when switch to USB Audio:
[ 7722.526825] usb 6-2: new full-speed USB device number 18 using ohci-pci
[ 7722.691955] usb 6-2: New USB device found, idVendor=16c0, idProduct=04d2, 
bcdDevice= 2.77
[ 7722.691962] usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7722.691966] usb 6-2: Product: Teensy Audio
[ 7722.691970] usb 6-2: Manufacturer: Teensyduino
[ 7722.691973] usb 6-2: SerialNumber: 4991790
[ 7722.700415] hid-generic 0003:16C0:04D2.0009: hidraw3: USB HID v1.11 Device 
[Teensyduino Teensy Audio] on usb-:00:12.0-2/input0
[ 7727.761957] usb 6-2: Warning! Unlikely big volume range (=4095), cval->res 
is probably wrong.
[ 7727.761965] usb 6-2: [49] FU [PCM Playback Volume] ch = 2, val = 0/4095/1


(hidraw is always present and is used to communicate with the
bootloader)

'udevadm monitor' shows this when plugging in the Teensy:
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[7867.891799] add  /devices/pci:00/:00:12.0/usb6/6-2 (usb)
KERNEL[7867.893472] add  /devices/pci:00/:00:12.0/usb6/6-2/6-2:1.0 
(usb)
KERNEL[7867.899759] add  
/devices/pci:00/:00:12.0/usb6/6-2/6-2:1.0/0003:16C0:04D2.000A (hid)
KERNEL[7867.900306] add  
/devices/pci:00/:00:12.0/usb6/6-2/6-2:1.0/0003:16C0:04D2.000A/hidraw/hidraw3
 (hidraw)
KERNEL[7867.900398] bind 
/devices/pci:00/:00:12.0/usb6/6-2/6-2:1.0/0003:16C0:04D2.000A (hid)
KERNEL[7867.900669] bind /devices/pci:00/:00:12.0/usb6/6-2/6-2:1.0 
(usb)
KERNEL[7867.900869] add  /devices/pci:00/:00:12.0/usb6/6-2/6-2:1.1 
(usb)
KERNEL[7873.197477] add  
/devices/pci:00/:00:12.0/usb6/6-2/6-2:1.1/sound/card3 (sound)
KERNEL[7873.197660] add  
/devices/pci:00/:00:12.0/usb6/6-2/6-2:1.1/sound/card3/pcmC3D0p (sound)
KERNEL[7873.197670] add  
/devices/pci:00/:00:12.0/usb6/6-2/6-2:1.1/sound/card3/pcmC3D0c (sound)
KERNEL[7873.197725] add  
/devices/pci:00/:00:12.0/usb6/6-2/6-2:1.1/sound/card3/controlC3 (sound)
KERNEL[7873.197793] bind /devices/pci:00/:00:12.0/usb6/6-2/6-2:1.1 
(usb)
KERNEL[7873.197862] add  

Re: [gentoo-user] USB Audio ?

2019-05-14 Thread Jack

On 5/14/19 12:26 PM, tu...@posteo.de wrote:

On 05/13 11:24, Jack wrote:

On 2019.05.13 23:10, tu...@posteo.de wrote:

Hi,

is it somehow possible to play USB-Audio on a PC without one of these
USB-dongle-"soundcards" (DACs)?

I searched the web and only got links to those dongles...

On the other hand: On the forum of the developers board one post
spokes of a "dummy" USB-Audio device...

How can I acchieve this?

Thanks for any help in advance!
Cheers!
Meino

It's not clear what you really want.  Why would you want USB audio without
an actual USB audio device?  Without a USB audio dongle/device/whatever,
what would you have to actually produce sound?I can imagine a "dummy"
USB audio device - but I can imagine it for testing the software, but not
actually producing any sound, so why would you want it?

Jack

Hi Jack,

I don't wanted to pollute my posting with non-Linux details...but here
they are:

I habe a Teensy 3.6 by PJRC (=>https://www.pjrc.com/), which has an
USB-port. This port can be switched between a lot of USB-devices...
...one of them is an USB-audio device (output).
The MK66FX1M0VMD18 uC has beside an FPU a DSP block.
With a certain (open source) firmware this chip can be used as an
synthesizer.

To cut costs I wanted no USB dongle to play the sound ... I wanted
to use my Linux PC as "Mega DAC"...so to say.

Question is:
How can I create such an "receiver" for USB Audio signals to play
them live with my PC?

Cheers!
Meino


That's very different from what I (and I suspect others) thought about 
your first posting.  You want to do USB audio input, not output.  In 
this case, I don't think a usual USB audio device/dongle would even 
help.  My first suggestion is to just plug the USB from the Teensy into 
the PC, and see what dmesg shows, and what lsusb shows.  Searching on 
the manufacturer and device IDs shown by lsusb might lead to solutions, 
or at least to further lines of investigation.  Also, the Teeny docs 
might give more information about what kind of USB output their audio 
produces, and I wonder if you might find some good info on their forum?


Jack




Re: [gentoo-user] USB Audio ?

2019-05-14 Thread tuxic
On 05/13 11:24, Jack wrote:
> On 2019.05.13 23:10, tu...@posteo.de wrote:
> > Hi,
> > 
> > is it somehow possible to play USB-Audio on a PC without one of these
> > USB-dongle-"soundcards" (DACs)?
> > 
> > I searched the web and only got links to those dongles...
> > 
> > On the other hand: On the forum of the developers board one post
> > spokes of a "dummy" USB-Audio device...
> > 
> > How can I acchieve this?
> > 
> > Thanks for any help in advance!
> > Cheers!
> > Meino
> It's not clear what you really want.  Why would you want USB audio without
> an actual USB audio device?  Without a USB audio dongle/device/whatever,
> what would you have to actually produce sound?I can imagine a "dummy"
> USB audio device - but I can imagine it for testing the software, but not
> actually producing any sound, so why would you want it?
> 
> Jack

Hi Jack,

I don't wanted to pollute my posting with non-Linux details...but here
they are:

I habe a Teensy 3.6 by PJRC (=>https://www.pjrc.com/), which has an
USB-port. This port can be switched between a lot of USB-devices...
...one of them is an USB-audio device (output).
The MK66FX1M0VMD18 uC has beside an FPU a DSP block.
With a certain (open source) firmware this chip can be used as an
synthesizer.

To cut costs I wanted no USB dongle to play the sound ... I wanted 
to use my Linux PC as "Mega DAC"...so to say.

Question is:
How can I create such an "receiver" for USB Audio signals to play
them live with my PC?

Cheers!
Meino




Re: [gentoo-user] USB Audio ?

2019-05-14 Thread Mick
On Tuesday, 14 May 2019 04:24:46 BST Jack wrote:
> On 2019.05.13 23:10, tu...@posteo.de wrote:
> > Hi,
> > 
> > is it somehow possible to play USB-Audio on a PC without one of these
> > USB-dongle-"soundcards" (DACs)?
> > 
> > I searched the web and only got links to those dongles...
> > 
> > On the other hand: On the forum of the developers board one post
> > spokes of a "dummy" USB-Audio device...
> > 
> > How can I acchieve this?
> > 
> > Thanks for any help in advance!
> > Cheers!
> > Meino
> 
> It's not clear what you really want.  Why would you want USB audio
> without an actual USB audio device?  Without a USB audio
> dongle/device/whatever, what would you have to actually produce
> sound?I can imagine a "dummy" USB audio device - but I can imagine
> it for testing the software, but not actually producing any sound, so
> why would you want it?
> 
> Jack

As Jack said, a USB connector passes digital signals from your audio source 
(PC media player) to a USB connected device, which is able to convert the 
digital signals to analogue audio (DAC chip).  Without such a converter you 
wouldn't be able to hear sound coming out of whatever you connected to the USB 
port.

If you connect USB speakers, a soundbar, USB-C earphones and the like, they 
all have some DAC converter chip on them to turn the binary USB input into 
audible sound.  There's Class 1 and Class 2 USB audio devices.  Class 1 can 
process up to a maximum of 24-bit/96kHz files, while Class 2 can reach up to 
24-bit/192kHz - if you have this quality of audio files.

A dummy audio driver pretends it is an audio device for testing the audio on 
your PC, but it will not produce audio output.

I found this page explaining how USB audio works:

https://www.edn.com/design/consumer/4376143/Fundamentals-of-USB-Audio

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] USB Audio ?

2019-05-13 Thread Jack

On 2019.05.13 23:10, tu...@posteo.de wrote:

Hi,

is it somehow possible to play USB-Audio on a PC without one of these
USB-dongle-"soundcards" (DACs)?

I searched the web and only got links to those dongles...

On the other hand: On the forum of the developers board one post
spokes of a "dummy" USB-Audio device...

How can I acchieve this?

Thanks for any help in advance!
Cheers!
Meino
It's not clear what you really want.  Why would you want USB audio  
without an actual USB audio device?  Without a USB audio  
dongle/device/whatever, what would you have to actually produce  
sound?I can imagine a "dummy" USB audio device - but I can imagine  
it for testing the software, but not actually producing any sound, so  
why would you want it?


Jack


Re: [gentoo-user] [OT] audio controller compatible with Linux

2018-02-23 Thread Corbin Bird
On 02/23/2018 03:21 PM, the...@sys-concept.com wrote:
> Can anybody suggest an audio controller / speakers that is compatible
> with Linux (something that does not need Mac, iPhone or Windows etc).
> For example, if I play the music on my Linux system or listen to an
> audio I would like to stream it throughout the house.
>
> It can be wired or wireless. I have audio/video cables running from
> basement to every room in a house, so wiring is not a problem.
>
.
I turned an old computer into a 'music box' for my parents.
Gentoo system with X Windows , Exaile, and Asunder.
I put a good soundcard in it and ran the audio output to the stereo
system receiver.
Added two drives for 4 Gg of audio file storage, as well.
No networking for it. Standalone system.
( My parents are not interested in learning how to update a Gentoo box. )

No problems.

They got rid of the Cable TV / ISP providers music channels.
No need for them now.

Corbin



Re: [gentoo-user] No audio from Firefox 47.0.1

2016-07-17 Thread Peter Humphrey
On Sunday 17 July 2016 11:29:14 Daniel Frey wrote:
> On 07/17/2016 10:50 AM, Peter Humphrey wrote:
> > Hello list,
> > 
> > Since I upgraded firefox recently I've lost sound from the BBC radio
> > iplayer [1]. It loads the initial page but never returns from
> > "Loading..." Remembering the news item about libav and ffmpeg I searched
> > for corresponding USE flags against firefox but found neither.
> > 
> > Has anyone else come across this? I didn't notice what was happening at
> > first because I was tied up in knots with KDE-5. For the moment I'm going
> > back to 45.2.0.
> > 
> > [1] http://www.bbc.co.uk/radio/player/bbc_radio_three
> 
> I had this problem when I changed firefox to use chrome-binary-plugins.
> Are you using pulseaudio?
> 
> In my case the plugin was muted, I went into pulse volume control and
> found it. (This was after about 20 minutes of scratching my head
> wondering why everything but firefox worked.)

No, it isn't audio failing, it's firefox not completing the connection with 
the server.

No, I'm not using pulseaudio.

-- 
Rgds
Peter




Re: [gentoo-user] No audio from Firefox 47.0.1

2016-07-17 Thread R0b0t1
Verified...


Re: [gentoo-user] No audio from Firefox 47.0.1

2016-07-17 Thread Daniel Frey
On 07/17/2016 10:50 AM, Peter Humphrey wrote:
> Hello list,
> 
> Since I upgraded firefox recently I've lost sound from the BBC radio iplayer 
> [1]. It loads the initial page but never returns from "Loading..." 
> Remembering 
> the news item about libav and ffmpeg I searched for corresponding USE flags 
> against firefox but found neither.
> 
> Has anyone else come across this? I didn't notice what was happening at first 
> because I was tied up in knots with KDE-5. For the moment I'm going back to 
> 45.2.0.
> 
> [1] http://www.bbc.co.uk/radio/player/bbc_radio_three
> 

I had this problem when I changed firefox to use chrome-binary-plugins.
Are you using pulseaudio?

In my case the plugin was muted, I went into pulse volume control and
found it. (This was after about 20 minutes of scratching my head
wondering why everything but firefox worked.)

Dan




Re: [gentoo-user] Video audio out of sync mkv mplayer

2014-06-24 Thread Frank Steinmetzger
On Sat, Jun 21, 2014 at 03:16:27PM +0200, Alan McKinnon wrote:
 On 21/06/2014 15:01, Alexander Kapshuk wrote:
  What could be amiss there?
  Thanks.
  
 
 
 dodgy source files?
 
 use the mplayer hotkeys that gets them back in sync

I recently had a file, I think it was a TV recording. I re-encoded it with
ffmpeg, both audio and video. I think it was here where it complained about
litter in the audio stream.
In the end the produced MKV had a huge audio offset of several seconds. I
used the A/V delay hotkeys, but they had no effect. I could not bring audio
and video together, so eventually I ditched the files, no point in keeping
them.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

I verbs stupid. In my opinion we not verbs.
You most sentences without them.


signature.asc
Description: Digital signature


Re: [gentoo-user] Video audio out of sync mkv mplayer

2014-06-24 Thread Mick
On Tuesday 24 Jun 2014 13:19:32 Frank Steinmetzger wrote:
 On Sat, Jun 21, 2014 at 03:16:27PM +0200, Alan McKinnon wrote:
  On 21/06/2014 15:01, Alexander Kapshuk wrote:
   What could be amiss there?
   Thanks.
  
  dodgy source files?
  
  use the mplayer hotkeys that gets them back in sync
 
 I recently had a file, I think it was a TV recording. I re-encoded it with
 ffmpeg, both audio and video. I think it was here where it complained about
 litter in the audio stream.
 In the end the produced MKV had a huge audio offset of several seconds. I
 used the A/V delay hotkeys, but they had no effect. I could not bring audio
 and video together, so eventually I ditched the files, no point in keeping
 them.

You may want to try -async 2 next time you re-encode them, or set it to do 
more than one pass.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Video audio out of sync mkv mplayer

2014-06-21 Thread Alan McKinnon
On 21/06/2014 15:01, Alexander Kapshuk wrote:
 What could be amiss there?
 Thanks.
 


dodgy source files?

use the mplayer hotkeys that gets them back in sync



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Video audio out of sync mkv mplayer

2014-06-21 Thread Alexander Kapshuk
On 06/21/2014 04:16 PM, Alan McKinnon wrote:
 On 21/06/2014 15:01, Alexander Kapshuk wrote:
 What could be amiss there?
 Thanks.


 dodgy source files?

 use the mplayer hotkeys that gets them back in sync



That sounds about right. Tried playing some other video files. They
seemed to work all right.

Thanks.





Re: [gentoo-user] Stream Audio to RasPi on LAN

2013-04-29 Thread Alan McKinnon
On 29/04/2013 17:26, Randy Westlund wrote:
 Hey guys,
 
 I have a nice set of speakers, but they aren't near my desk in my home 
 office.  I used to carry them back and forth when I wanted good music, but 
 that was a pain.  I currently have a RasPi running arch connected to the 
 speakers -- I've been cat-ing audio files over ssh to mplayer, and that 
 mostly works (no fast-forward/skip).  I also tried using reverse-ssh and 
 sshfs to mount my files on the RasPi, but that seems silly.
 
 What I really want is to be able to stream audio from my browser to the 
 RasPi's speakers (pandora, grooveshark).  I'd like to set up an audio device 
 that maps to the RasPi.  Something like /dev/dsp1, perhaps.  If I could have 
 some audio sent to the RasPi and leave mcabber's chat notifications on my 
 laptop's speakers, that'd be fantastic.
 
 Does anyone have a setup like this?  Know of any good options?
 
 Randy
 

Run OpenElec on the Pi - it's a minimalist distro running XBMC, must
like an appliance. Then you can stream whatever you want to the Pi using
just about every known protocol from just about every known device
(phones included!)

XBMC also has plugins for all manner of web-based interfaces.

It's a bigger solution than you asked for, but possibly one that gives
you more than you thought you'd get

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Stream Audio to RasPi on LAN

2013-04-29 Thread Michael Hampicke
Am 29.04.2013 17:26, schrieb Randy Westlund:
 Hey guys,
 
 I have a nice set of speakers, but they aren't near my desk in my home 
 office.  I used to carry them back and forth when I wanted good music, but 
 that was a pain.  I currently have a RasPi running arch connected to the 
 speakers -- I've been cat-ing audio files over ssh to mplayer, and that 
 mostly works (no fast-forward/skip).  I also tried using reverse-ssh and 
 sshfs to mount my files on the RasPi, but that seems silly.
 
 What I really want is to be able to stream audio from my browser to the 
 RasPi's speakers (pandora, grooveshark).  I'd like to set up an audio device 
 that maps to the RasPi.  Something like /dev/dsp1, perhaps.  If I could have 
 some audio sent to the RasPi and leave mcabber's chat notifications on my 
 laptop's speakers, that'd be fantastic.
 
 Does anyone have a setup like this?  Know of any good options?
 
 Randy
 
I don't know what desktop env you are running, but would PulseAudio be
an option? You could send the audio from your program (browser) to the
Pi but keep the chat notification on your local machine.



Re: [gentoo-user] Stream Audio to RasPi on LAN

2013-04-29 Thread Randy Westlund
On Mon, Apr 29, 2013 at 05:31:52PM +0200, Alan McKinnon wrote:
 On 29/04/2013 17:26, Randy Westlund wrote:
  Hey guys,
  
  I have a nice set of speakers, but they aren't near my desk in my home 
  office.  I used to carry them back and forth when I wanted good music, but 
  that was a pain.  I currently have a RasPi running arch connected to the 
  speakers -- I've been cat-ing audio files over ssh to mplayer, and that 
  mostly works (no fast-forward/skip).  I also tried using reverse-ssh and 
  sshfs to mount my files on the RasPi, but that seems silly.
  
  What I really want is to be able to stream audio from my browser to the 
  RasPi's speakers (pandora, grooveshark).  I'd like to set up an audio 
  device that maps to the RasPi.  Something like /dev/dsp1, perhaps.  If I 
  could have some audio sent to the RasPi and leave mcabber's chat 
  notifications on my laptop's speakers, that'd be fantastic.
  
  Does anyone have a setup like this?  Know of any good options?
  
  Randy
  
 
 Run OpenElec on the Pi - it's a minimalist distro running XBMC, must
 like an appliance. Then you can stream whatever you want to the Pi using
 just about every known protocol from just about every known device
 (phones included!)
 
 XBMC also has plugins for all manner of web-based interfaces.
 
 It's a bigger solution than you asked for, but possibly one that gives
 you more than you thought you'd get
 
 -- 
 Alan McKinnon
 alan.mckin...@gmail.com
 
 

Interesting, I hadn't heard of XBMC.  I may not stick with it, but I'm going to 
play around with this for sure.

Randy



Re: [gentoo-user] Stream Audio to RasPi on LAN

2013-04-29 Thread Randy Westlund
On Mon, Apr 29, 2013 at 06:18:42PM +0200, Michael Hampicke wrote:
 Am 29.04.2013 17:26, schrieb Randy Westlund:
  Hey guys,
  
  I have a nice set of speakers, but they aren't near my desk in my home 
  office.  I used to carry them back and forth when I wanted good music, but 
  that was a pain.  I currently have a RasPi running arch connected to the 
  speakers -- I've been cat-ing audio files over ssh to mplayer, and that 
  mostly works (no fast-forward/skip).  I also tried using reverse-ssh and 
  sshfs to mount my files on the RasPi, but that seems silly.
  
  What I really want is to be able to stream audio from my browser to the 
  RasPi's speakers (pandora, grooveshark).  I'd like to set up an audio 
  device that maps to the RasPi.  Something like /dev/dsp1, perhaps.  If I 
  could have some audio sent to the RasPi and leave mcabber's chat 
  notifications on my laptop's speakers, that'd be fantastic.
  
  Does anyone have a setup like this?  Know of any good options?
  
  Randy
  
 I don't know what desktop env you are running, but would PulseAudio be
 an option? You could send the audio from your program (browser) to the
 Pi but keep the chat notification on your local machine.
 

I switch between xfce and xmonad (from startx).  My only experience with 
pulseaudio is the weird audio thing that keeps messing up ubuntu from two 
years ago when I had just gotten off windows. After taking a second look, it 
looks promising.  Thanks.

Randy



Re: [gentoo-user] Stream Audio to RasPi on LAN

2013-04-29 Thread Jason Weisberger
I personally have this setup running on Windows on my home network.  XBMC
has uPNP built in which allows streaming to or from my home theater setup
from either my Android phone or another uPNP machine on my network. It's by
far yhe easiest solution I could come up with.  Even lets me stream 1080p
movies.  I'm sure a similar setup could be achieved with the linux version
of XBMC.  There's even a specific version for the Pi.
On Apr 29, 2013 12:40 PM, Randy Westlund rwest...@gmail.com wrote:

 On Mon, Apr 29, 2013 at 05:31:52PM +0200, Alan McKinnon wrote:
  On 29/04/2013 17:26, Randy Westlund wrote:
   Hey guys,
  
   I have a nice set of speakers, but they aren't near my desk in my home
 office.  I used to carry them back and forth when I wanted good music, but
 that was a pain.  I currently have a RasPi running arch connected to the
 speakers -- I've been cat-ing audio files over ssh to mplayer, and that
 mostly works (no fast-forward/skip).  I also tried using reverse-ssh and
 sshfs to mount my files on the RasPi, but that seems silly.
  
   What I really want is to be able to stream audio from my browser to
 the RasPi's speakers (pandora, grooveshark).  I'd like to set up an audio
 device that maps to the RasPi.  Something like /dev/dsp1, perhaps.  If I
 could have some audio sent to the RasPi and leave mcabber's chat
 notifications on my laptop's speakers, that'd be fantastic.
  
   Does anyone have a setup like this?  Know of any good options?
  
   Randy
  
 
  Run OpenElec on the Pi - it's a minimalist distro running XBMC, must
  like an appliance. Then you can stream whatever you want to the Pi using
  just about every known protocol from just about every known device
  (phones included!)
 
  XBMC also has plugins for all manner of web-based interfaces.
 
  It's a bigger solution than you asked for, but possibly one that gives
  you more than you thought you'd get
 
  --
  Alan McKinnon
  alan.mckin...@gmail.com
 
 

 Interesting, I hadn't heard of XBMC.  I may not stick with it, but I'm
 going to play around with this for sure.

 Randy




Re: [gentoo-user] Stream Audio to RasPi on LAN

2013-04-29 Thread Alecks Gates
On Mon, Apr 29, 2013 at 11:45 AM, Randy Westlund rwest...@gmail.com wrote:
 On Mon, Apr 29, 2013 at 06:18:42PM +0200, Michael Hampicke wrote:
 Am 29.04.2013 17:26, schrieb Randy Westlund:
  Hey guys,
 
  I have a nice set of speakers, but they aren't near my desk in my home 
  office.  I used to carry them back and forth when I wanted good music, but 
  that was a pain.  I currently have a RasPi running arch connected to the 
  speakers -- I've been cat-ing audio files over ssh to mplayer, and that 
  mostly works (no fast-forward/skip).  I also tried using reverse-ssh and 
  sshfs to mount my files on the RasPi, but that seems silly.
 
  What I really want is to be able to stream audio from my browser to the 
  RasPi's speakers (pandora, grooveshark).  I'd like to set up an audio 
  device that maps to the RasPi.  Something like /dev/dsp1, perhaps.  If I 
  could have some audio sent to the RasPi and leave mcabber's chat 
  notifications on my laptop's speakers, that'd be fantastic.
 
  Does anyone have a setup like this?  Know of any good options?
 
  Randy
 
 I don't know what desktop env you are running, but would PulseAudio be
 an option? You could send the audio from your program (browser) to the
 Pi but keep the chat notification on your local machine.


 I switch between xfce and xmonad (from startx).  My only experience with 
 pulseaudio is the weird audio thing that keeps messing up ubuntu from two 
 years ago when I had just gotten off windows. After taking a second look, it 
 looks promising.  Thanks.

 Randy


I was going to suggest pulseaudio just from the title of the thread.
It's just for audio so you don't have to muck around with everything
else (but OpenElec is a great option if you want a media center).  The
only thing I can think of is you might want to adjust the
resample-method in daemon.conf if you find it's using too much CPU.

-- 
Alecks Gates



Re: [gentoo-user] Stream Audio to RasPi on LAN

2013-04-29 Thread Neil Bothwick
On Mon, 29 Apr 2013 17:31:52 +0200, Alan McKinnon wrote:

 Run OpenElec on the Pi - it's a minimalist distro running XBMC, must
 like an appliance. Then you can stream whatever you want to the Pi using
 just about every known protocol from just about every known device
 (phones included!)

Another option is Music Player Daemon (mpd). This would run on the Pi, so
there would be no need to stream anything, but it is controlled through a
variety of interfaces available for al platforms.

You can start music playing from your computer, but pause it from your
phone when you want to make a call.


-- 
Neil Bothwick

I can picture in my mind a world without war, a world without hate. And I
can picture us attacking that world, because they'd never expect it.


signature.asc
Description: PGP signature


Re: [gentoo-user] Stream Audio to RasPi on LAN

2013-04-29 Thread Alan McKinnon
On 29/04/2013 18:38, Randy Westlund wrote:
 On Mon, Apr 29, 2013 at 05:31:52PM +0200, Alan McKinnon wrote:
 On 29/04/2013 17:26, Randy Westlund wrote:
 Hey guys,

 I have a nice set of speakers, but they aren't near my desk in my home 
 office.  I used to carry them back and forth when I wanted good music, but 
 that was a pain.  I currently have a RasPi running arch connected to the 
 speakers -- I've been cat-ing audio files over ssh to mplayer, and that 
 mostly works (no fast-forward/skip).  I also tried using reverse-ssh and 
 sshfs to mount my files on the RasPi, but that seems silly.

 What I really want is to be able to stream audio from my browser to the 
 RasPi's speakers (pandora, grooveshark).  I'd like to set up an audio 
 device that maps to the RasPi.  Something like /dev/dsp1, perhaps.  If I 
 could have some audio sent to the RasPi and leave mcabber's chat 
 notifications on my laptop's speakers, that'd be fantastic.

 Does anyone have a setup like this?  Know of any good options?

 Randy


 Run OpenElec on the Pi - it's a minimalist distro running XBMC, must
 like an appliance. Then you can stream whatever you want to the Pi using
 just about every known protocol from just about every known device
 (phones included!)

 XBMC also has plugins for all manner of web-based interfaces.

 It's a bigger solution than you asked for, but possibly one that gives
 you more than you thought you'd get

 -- 
 Alan McKinnon
 alan.mckin...@gmail.com


 
 Interesting, I hadn't heard of XBMC.  I may not stick with it, but I'm going 
 to play around with this for sure.

Spoiler alert :-)

XBMC is /addictive/. The more you fiddle with it and the more cool stuff
you find it can do, the more searching you do, and ... well you know
where that goes :-)

Themes are the worst. Especially the translucent ones that go and fetch
artwork off the internet then fuzz the menus just enough so you can see
the pretty girls in the artwork...

.. don't say I didn't warn you :-)


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] no audio on cisco webex

2013-02-06 Thread Douglas J Hunley
On Tue, Feb 5, 2013 at 10:29 AM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 I have not used webex, but my googling seems to indicate the plugin
 uses 32-bit libraries and you'll need to run a 32-bit browser in order
 for sound to work on linux (or perhaps 64-bit browser using 32-bit
 java through nspluginwrapper or something like that).


this didn't fix it either. someone else told me that they need the old
OSS api in the kernel, so I'm gonna try that next :-/

-- 
Douglas J Hunley (doug.hun...@gmail.com)
Twitter: @hunleyd   Web:
douglasjhunley.com
G+: http://goo.gl/sajR3



Re: [gentoo-user] no audio on cisco webex

2013-02-05 Thread Paul Hartman
On Tue, Feb 5, 2013 at 7:54 AM, Douglas J Hunley doug.hun...@gmail.com wrote:
 I've got a brand new 64bit install of Gentoo here with Java and Flash
 and it absolutely will not provide the audio portion of any Cisco
 Webex meeting. I can see the presentation part w/o issue, I can watch
 Youtube w/o issue, and I can even do a video call over Skype without
 issue. Which all leads me to believe that my audio works :)

 Does anyone now the magic needed to make Webex perform correctly?

I have not used webex, but my googling seems to indicate the plugin
uses 32-bit libraries and you'll need to run a 32-bit browser in order
for sound to work on linux (or perhaps 64-bit browser using 32-bit
java through nspluginwrapper or something like that).



Re: [gentoo-user] bluetooth audio

2010-10-26 Thread Christian Apeltauer
Am Fri, 22 Oct 2010 01:11:35 +
schrieb James j...@nc.rr.com:


 Also, the a2dp thing has me pulling my hair out. Is the *only* way to
 use a2dp with pulseaudio? Is there no way to simply redirect all audio
 to the bluetooth headset?
 
 Anyone who can toss some experience in my direction would be greatly
 appreciated.
 
 Thanks!
 -james
 

It is possible to setup alsa using bluetooth:
Add to ~/.asoundrc (if it doesn't exist just create it)

pcm.bluetooth {
type bluetooth
device 11:22:33:44:55:66
}

(replace 11:22:33:44:55:66 with the actual
address of the bluetooth headset). Sound can now be directed to the
headset via the alsa device bluetooth, e.g.:

ogg123 -d alsa -o dev:bluetooth

Some GUI application doesn't show that device in their configuration
dialogue. vlc is an example of this behaviour, but it is possible to
make vlc use it by manually editing the configuration file. 

You can also make the bluetooth device the standard device by 

pcm.!default {
type bluetooth
device 11:22:33:44:55:66
}

It is a long time since I made that setup, so I can't say if it will
work out of the box. But it is possible to avoid pulseaudio. I hope it
will help.
 Best regards
Christian


signature.asc
Description: PGP signature


Re: [gentoo-user] Konqueror - Audio CD browser

2010-05-14 Thread Volker Armin Hemmann
On Freitag 14 Mai 2010, Mick wrote:
 When I click on the Audio CD Browser short cut in Konqueror's
 navigation bar I get an error message:
 
 Protocol not supported AudioCD
 
 What am I missing?

multimedia-kioslaves?



Re: [gentoo-user] Konqueror - Audio CD browser

2010-05-14 Thread Volker Armin Hemmann
On Freitag 14 Mai 2010, Mick wrote:
 On 14 May 2010 14:08, Volker Armin Hemmann volkerar...@googlemail.com 
wrote:
  On Freitag 14 Mai 2010, Mick wrote:
  When I click on the Audio CD Browser short cut in Konqueror's
  navigation bar I get an error message:
  
  Protocol not supported AudioCD
  
  What am I missing?
  
  multimedia-kioslaves?
 
 Spot on!  :-)
 
 Hmm ... I wonder why it's not part of the dependencies.
 
 Thanks.

because it is just a feature and not a dep? If you install the kde-set you get 
them. Sadly the good portage versions are masked...



Re: [gentoo-user] Konqueror - Audio CD browser

2010-05-14 Thread Mick
On 14 May 2010 14:08, Volker Armin Hemmann volkerar...@googlemail.com wrote:
 On Freitag 14 Mai 2010, Mick wrote:
 When I click on the Audio CD Browser short cut in Konqueror's
 navigation bar I get an error message:

 Protocol not supported AudioCD

 What am I missing?

 multimedia-kioslaves?

Spot on!  :-)

Hmm ... I wonder why it's not part of the dependencies.

Thanks.
-- 
Regards,
Mick



Re: [gentoo-user] Ripping audio from a video DVD

2009-05-11 Thread Peter Humphrey
On Sunday 10 May 2009 16:45:29 Stroller wrote:
 On 10 May 2009, at 16:38, Stroller wrote:
  ... .flv, then it looks like you upload it - and a player - to your
  server along with a little HTML. This
  http://www.longtailvideo.com/players/jw-flv-player/
 
   appears to be (based on?) the same player YouTube uses.

 PS: I found this via:
 http://www.google.com/search?q=how+to+host+flv+files

 http://www.google.com/search?q=open+source+flv+player
 and http://www.osflv.com/
 also appear work a look.

Thanks for the ideas. Useful. I'll look into them.

-- 
Rgds
Peter



Re: [gentoo-user] Ripping audio from a video DVD

2009-05-10 Thread Peter Humphrey
On Saturday 09 May 2009 21:04:31 Peter Humphrey wrote:
 On Saturday 09 May 2009 18:48:32 Florian Philipp wrote:
  The way I do it usually:
 
  mplayer dvd://1 -dumpaudio -dumpfile sound.ac3
  [wait]
  a52dec -o wav  sound.ac3  sound.wav
  oggenc sound.wav
 
  e voila: sound.ogg is a rather small audio file at ~128kbit/s (or was
  it 160?)
 
  You'll need
 
  media-video/mplayer USE=dvd a52
  media-libs/a52dec
  media-sound/vorbis-tools

 Thank you both. I'll look into those ideas tomorrow (it's evening here
 after a long week of short nights and much adrenalin).

Well, using undvd stripped out an 86MB .avi file, which I've uploaded to the 
Web site. The sound came out just fine in ogg, but I haven't got a usable 
mp3 out of it yet.

Is there a way to stream an avi file through a browser? Just clicking on it 
in Firefox causes it to be downloaded first, which might well put people 
off when it takes so long.

-- 
Rgds
Peter



Re: [gentoo-user] Ripping audio from a video DVD

2009-05-10 Thread Stroller


On 10 May 2009, at 14:42, Peter Humphrey wrote:

...
Well, using undvd stripped out an 86MB .avi file, which I've  
uploaded to the

Web site.


FWIW I don't believe undvd's AVI files to be very specification  
compliant. The author implemented .mp4 support after I pointed this  
out to him, and I have found those to be very good indeed - they play  
on a variety of systems (PS3, Mac) and with very good quality (use the  
2-pass option).



...
Is there a way to stream an avi file through a browser? Just  
clicking on it
in Firefox causes it to be downloaded first, which might well put  
people

off when it takes so long.


I think all the videos you see streamed on the web are stored as .flv  
files. mplayer can convert to .flv, then it looks like you upload it -  
and a player - to your server along with a little HTML. This http://www.longtailvideo.com/players/jw-flv-player/ 
 appears to be (based on?) the same player YouTube uses.


Having said that, why not just upload the avi or mp4 to YouTube or  
Google video? I assume the material is not under restricted copyright.


Stroller.



Re: [gentoo-user] Ripping audio from a video DVD

2009-05-10 Thread Stroller


On 10 May 2009, at 16:38, Stroller wrote:
... .flv, then it looks like you upload it - and a player - to your  
server along with a little HTML. This http://www.longtailvideo.com/players/jw-flv-player/ 
 appears to be (based on?) the same player YouTube uses.


PS: I found this via: http://www.google.com/search?q=how+to+host+flv+files

http://www.google.com/search?q=open+source+flv+player
and http://www.osflv.com/
also appear work a look.

Stroller.



Re: [gentoo-user] Ripping audio from a video DVD

2009-05-09 Thread Stroller


On 9 May 2009, at 11:48, Peter Humphrey wrote:

...
I've acquired a DVD of a concert performance which I'd like to put  
on the
choir's Web site. It's too big, though, at nearly 1 GB, so I  
wondered about

extracting just the audio from it and putting that up instead.


You would use something like mplayer.

I think undvd produces a separate audio track as a by-product of  
ripping the DVD to .avi or .mp4


You might try running that on the disk  looking at what's created  
during the process.


Stroller.




Re: [gentoo-user] Ripping audio from a video DVD

2009-05-09 Thread Florian Philipp
Peter Humphrey schrieb:
 Hello list,
 
 I've acquired a DVD of a concert performance which I'd like to put on the 
 choir's Web site. It's too big, though, at nearly 1 GB, so I wondered about 
 extracting just the audio from it and putting that up instead.
 
 Is there a Gentoo-ish way of doing this, or should I start messing about 
 with bits of wire and other equipment?
 

The way I do it usually:

mplayer dvd://1 -dumpaudio -dumpfile sound.ac3
[wait]
a52dec -o wav  sound.ac3  sound.wav
oggenc sound.wav

e voila: sound.ogg is a rather small audio file at ~128kbit/s (or was it
160?)

You'll need

media-video/mplayer USE=dvd a52
media-libs/a52dec
media-sound/vorbis-tools



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Ripping audio from a video DVD

2009-05-09 Thread Peter Humphrey
On Saturday 09 May 2009 18:48:32 Florian Philipp wrote:

 The way I do it usually:

 mplayer dvd://1 -dumpaudio -dumpfile sound.ac3
 [wait]
 a52dec -o wav  sound.ac3  sound.wav
 oggenc sound.wav

 e voila: sound.ogg is a rather small audio file at ~128kbit/s (or was it
 160?)

 You'll need

 media-video/mplayer USE=dvd a52
 media-libs/a52dec
 media-sound/vorbis-tools

Thank you both. I'll look into those ideas tomorrow (it's evening here after 
a long week of short nights and much adrenalin).

-- 
Rgds
Peter



Re: [gentoo-user] {OT} Audio CD pre-gap info? (cdrdao?)

2008-07-10 Thread Joerg Schilling
Grant [EMAIL PROTECTED] wrote:

 Does anyone know of a tool that will provide info on audio CD
 pre-gaps?  I've read that cdrdao-utility will do it, but that doesn't
 seem to arrive with Gentoo cdrdao and I don't see a separate package
 for it.  It looks like 'cdparanoia -Q' should do it, but it outputs
 pre no regardless of the pre-gap.


See the cdrecord/cddda2wav man pages and examples sections...

To copy an audio CD in the most accurate way, first run

 cdda2wav -vall cddb=0 -B -Owav

 and then run

 cdrecord -v -dao -useinfo -text  *.wav


if you like paranoia support, add -paranoia to the cdda2wav options.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] {OT} Audio CD pre-gap info? (cdrdao?)

2008-07-10 Thread Daniel Iliev
On Thu, 10 Jul 2008 07:30:54 -0700
Grant [EMAIL PROTECTED] wrote:

 Does anyone know of a tool that will provide info on audio CD
 pre-gaps?  I've read that cdrdao-utility will do it, but that doesn't
 seem to arrive with Gentoo cdrdao and I don't see a separate package
 for it.  It looks like 'cdparanoia -Q' should do it, but it outputs
 pre no regardless of the pre-gap.
 
 - Grant


Perhaps: cdparanoia -Qvs


-- 
Best regards,
Daniel
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] {OT} Audio CD pre-gap info? (cdrdao?)

2008-07-10 Thread Joerg Schilling
Daniel Iliev [EMAIL PROTECTED] wrote:

 On Thu, 10 Jul 2008 07:30:54 -0700
 Grant [EMAIL PROTECTED] wrote:

  Does anyone know of a tool that will provide info on audio CD
  pre-gaps?  I've read that cdrdao-utility will do it, but that doesn't
  seem to arrive with Gentoo cdrdao and I don't see a separate package
  for it.  It looks like 'cdparanoia -Q' should do it, but it outputs
  pre no regardless of the pre-gap.
  
  - Grant


 Perhaps: cdparanoia -Qvs

Please read the documentation before giving useless advise.

cdparanoia is based on a very old cdda2wav version (from 1997) and thus 
is not able to scan for indices.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] {OT} Audio CD pre-gap info? (cdrdao?)

2008-07-10 Thread Grant
 Does anyone know of a tool that will provide info on audio CD
 pre-gaps?  I've read that cdrdao-utility will do it, but that doesn't
 seem to arrive with Gentoo cdrdao and I don't see a separate package
 for it.  It looks like 'cdparanoia -Q' should do it, but it outputs
 pre no regardless of the pre-gap.


 See the cdrecord/cddda2wav man pages and examples sections...

To copy an audio CD in the most accurate way, first run

 cdda2wav -vall cddb=0 -B -Owav

 and then run

 cdrecord -v -dao -useinfo -text  *.wav


 if you like paranoia support, add -paranoia to the cdda2wav options.

 Jörg

I don't actually want to copy the CD, I just want to know if it has
any pregaps.  This says that cdrdao-utility will provide the
information:

http://code.google.com/p/rubyripper/issues/detail?id=207colspec=ID%20Type%20Status%20Summary%20Stars%20Opened%20Modified#c1

but that binary isn't installed with Gentoo's cdrdao package.

- Grant
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Kaffeine audio problem

2008-05-01 Thread Mick
On Wednesday 30 April 2008, Danis Petkakis wrote:
 hello there i try to play .mkv files with kaffeine but there is no
 sound...when i play some .avi files the sound is proper...also when i play
 .mkv files with vlc sound is also ok...what might be the problem and i
 don't have any sound in .mkv when using kaffeine?? this seems to happen
 only for .mkv files with vorbis sound embedded as i can play just fine .mkv
 files with aac sound embedded...thanks for your response...

Have you enabled the vorbis flag when emerging kaffeine?

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Batch audio converter?

2008-04-27 Thread dexters84
Tweak below script a little and it should do the trick - should work the 
way it is - but I haven't tested it, it's a port of mine video encoder 
for multiple directories.


#!/bin/bash

new_files=$(find /path/to/input/ -iname *.ogg)
inc=1
for x in $new_files
   do
   filename[$inc]=$x
   char_count=$(stat $filename[$inc]|wc -c)
   name_end=$(($char_count - 6))
   out_name[$inc]=$(echo $filename[$inc]|cut -c 10-$name_end)
   ffmpeg -i $filename -vcodec mp3 -ac 2 -ar 44100 -ab 256k 
/path/to/out/$out_name.mp3

   inc=$(($inc + 1))
   done


Mark Knecht pisze:

Hi,
   I've got about 200GB of OGG and FLAC files on my local machine. My
son bought an iPod and wants me to do a batch conversion to mp3. Can
anyone recommend something in portage that can do this in more or less
a single step? Directory hierarchy is basically
band/album/audio_files.

   Extra points I suppose if it can write the output to a different
machine across the network - Windows XP or Gentoo - so that I don't
have to deal with storage issues in this end.

Thanks,
Mark
  


--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Batch audio converter?

2008-04-27 Thread dexters84

There was a bug in my pervious script

#!/bin/bash

new_files=$(find /path/to/input/ -iname *.ogg)
inc=1
for x in $new_files
  do
  filename[$inc]=$x
  char_count=$(stat $filename[$inc]|wc -c)
  name_end=$(($char_count - 6))
  out_name[$inc]=$(*stat* $filename[$inc]|cut -c 10-$name_end)
  ffmpeg -i $filename -vcodec mp3 -ac 2 -ar 44100 -ab 256k 
/path/to/out/$out_name.mp3

  inc=$(($inc + 1))
  done


Mark Knecht pisze:

Hi,
   I've got about 200GB of OGG and FLAC files on my local machine. My
son bought an iPod and wants me to do a batch conversion to mp3. Can
anyone recommend something in portage that can do this in more or less
a single step? Directory hierarchy is basically
band/album/audio_files.

   Extra points I suppose if it can write the output to a different
machine across the network - Windows XP or Gentoo - so that I don't
have to deal with storage issues in this end.

Thanks,
Mark
  




Re: [gentoo-user] Batch audio converter?

2008-04-27 Thread Mark Knecht
Thanks Dexter. Good stuff!

Cheers,
Mark

On Sun, Apr 27, 2008 at 9:04 AM, dexters84 [EMAIL PROTECTED] wrote:

  There was a bug in my pervious script


  #!/bin/bash

  new_files=$(find /path/to/input/ -iname *.ogg)
  inc=1
  for x in $new_files
 do
 filename[$inc]=$x
 char_count=$(stat $filename[$inc]|wc -c)
 name_end=$(($char_count - 6))
 out_name[$inc]=$(stat $filename[$inc]|cut -c 10-$name_end)
 ffmpeg -i $filename -vcodec mp3 -ac 2 -ar 44100 -ab 256k
 /path/to/out/$out_name.mp3
 inc=$(($inc + 1))
 done


  Mark Knecht pisze:

  Hi,
  I've got about 200GB of OGG and FLAC files on my local machine. My
 son bought an iPod and wants me to do a batch conversion to mp3. Can
 anyone recommend something in portage that can do this in more or less
 a single step? Directory hierarchy is basically
 band/album/audio_files.

  Extra points I suppose if it can write the output to a different
 machine across the network - Windows XP or Gentoo - so that I don't
 have to deal with storage issues in this end.

 Thanks,
 Mark



-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Batch audio converter?

2008-04-27 Thread Liviu Andronic
On 4/27/08, Mark Knecht [EMAIL PROTECTED] wrote:
 Hi,
I've got about 200GB of OGG and FLAC files on my local machine. My
  son bought an iPod and wants me to do a batch conversion to mp3. Can
  anyone recommend something in portage that can do this in more or less
  a single step? Directory hierarchy is basically
  band/album/audio_files.


ogg2mp3 can do a nice job (tags and everything). For the rest try sox.
Liviu
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Batch audio converter?

2008-04-27 Thread darren kirby
quoth the Mark Knecht:
 Hi,
I've got about 200GB of OGG and FLAC files on my local machine. My
 son bought an iPod and wants me to do a batch conversion to mp3. Can
 anyone recommend something in portage that can do this in more or less
 a single step? Directory hierarchy is basically
 band/album/audio_files.

Extra points I suppose if it can write the output to a different
 machine across the network - Windows XP or Gentoo - so that I don't
 have to deal with storage issues in this end.

 Thanks,
 Mark

Not in portage, but I am author of sneetchalizer. Will do what you need plus 
preserve the meta-tags:

http://badcomputer.org/unix/code/sneetchalizer/

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Batch audio converter?

2008-04-27 Thread Alan McKinnon
On Sunday 27 April 2008, Mark Knecht wrote:
 Hi,
I've got about 200GB of OGG and FLAC files on my local machine. My
 son bought an iPod and wants me to do a batch conversion to mp3. Can
 anyone recommend something in portage that can do this in more or
 less a single step? Directory hierarchy is basically
 band/album/audio_files.

I do this the easy way, with an amarok plugin - transkode, it's in 
portage

Configure it to transcode on demand when transferring to the media 
player, then drag mp3s as normal. Transkode will re-encode them on the 
fly.

Pros: quick, easy, no hassle
Cons: slower than simply moving an mp3, has to be done each time you 
transfer a track to the player, encoding is not of the best quality 
(but players don't render the best quality sound either so this doesn't 
bother me at all)



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Batch audio converter?

2008-04-27 Thread Nicolai Beuermann
Hi,
On 27.04.2008 17:16:50, Mark Knecht wrote:
 Hi,
I've got about 200GB of OGG and FLAC files on my local machine. My
 son bought an iPod and wants me to do a batch conversion to mp3. Can
 anyone recommend something in portage that can do this in more or less
 a single step? Directory hierarchy is basically
 band/album/audio_files.
soundkonverter (http://www.kde-apps.org/content/show.php?content=29024) is a 
nice gui tool for that task. I've got it from the sabayon overlay.

nico
-- 
mailto: [EMAIL PROTECTED]
http://www.nico-beuermann.de
gnupg fingerprint: 56DA 4E32 3A4A 52AC B769 DFC2 BF3E 9805 09BB 4259
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Batch audio converter?

2008-04-27 Thread Joseph

Here is a shorter one:

for i in `ls *.ogg | sed -e 's/.ogg//'`; do echo Converting $i.ogg to $i.mp3; ogg123 -d wav -f - $i.ogg | lame- 
$i.mp3; done


--
#Joseph
GPG KeyID: ED0E1FB7


On 04/27/08 18:04, dexters84 wrote:

There was a bug in my pervious script

#!/bin/bash

new_files=$(find /path/to/input/ -iname *.ogg)
inc=1
for x in $new_files
  do
  filename[$inc]=$x
  char_count=$(stat $filename[$inc]|wc -c)
  name_end=$(($char_count - 6))
  out_name[$inc]=$(*stat* $filename[$inc]|cut -c 10-$name_end)
  ffmpeg -i $filename -vcodec mp3 -ac 2 -ar 44100 -ab 256k 
/path/to/out/$out_name.mp3

  inc=$(($inc + 1))
  done


Mark Knecht pisze:

Hi,
   I've got about 200GB of OGG and FLAC files on my local machine. My
son bought an iPod and wants me to do a batch conversion to mp3. Can
anyone recommend something in portage that can do this in more or less
a single step? Directory hierarchy is basically
band/album/audio_files.

   Extra points I suppose if it can write the output to a different
machine across the network - Windows XP or Gentoo - so that I don't
have to deal with storage issues in this end.

Thanks,
Mark
  




--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] [OT] Audio system? (was: [OT] advices about motherboard+cpu+fan(+soundcard) combo?)

2007-08-20 Thread b.n.
James ha scritto:
 b.n. brullonulla at gmail.com writes:
 Your suggestion makes me drool, but how much does a 5.1 setup cost? And
 how much space does it take? It could be best money I can spend, but
 my Italian Ph.D. student wage is REALLY low.
 
 Well you can find a mobo with 5.1, 6.1 or 7.1 audio chips onboard, for very
 little extra cost. Advanced audio chips usually support downward compatibility
 all the way to stereo (2 speakers). 

What of these audio chips are supported with Linux?
Googling or consulting the ALSA matrix is not enough. My current card
should work with ALSA intel8x0 driver, yet it always has problems.
Currently it doesn't work at all. Not the first time it happens, but now
I'm unable to fix it (see the other thread).

 Make sure the board works well with Linux, Google a while,
 then when you find a board, ask on the list if the chipsets are supported. 
 Many mobo sites list all chipsets on the boards, except for the proprietary 
 SOC chips...

What SOC chips are?

 Speakers. Well, since you are a grad student, you can use most any speakers
 as long as they are not too big and they have the small analog plugs
 (like what is found on a cheap set of stereo pc speakers). You can
 solder wires from speakers you find at a garage sale or just lying around,
 as long as they are not too big. Stay analog on the (speaker/chip)outputs to
 keep the costs low.

Yes, but I have no idea of how does a surround 5.1 set is made or how
does it look like. What to choose etc.

 Being a phd student/candidate this is right up your alley. Most Universities
 I've been around have lots of old gear (small analog speakers) around.
 Check the EE department or volunteer your services over at another part
 of campus, in exchange for old gear. Lots of Music departments throw
 away old amplifiers and such.  

Ehm. You really have no idea of what the University in Italy looks like.
There is NO thing like a campus. Nothing. Zero. University is just a
bunch of buildings scattered all within the city, usually one or two for
each department, where lessons take place and research is made. Most
students (except a few ones having excellent grades AND poor economic
conditions) are expected to live by themselves, usually by renting a
room somewhere in the city. And grad students have no coverage
whatsoever, apart from monthly 800 Euros, nor are hosted somewhere near
the university. They're basically underpaid researchers.

Sad truth. Things like a university campus etc. are just dreams for us.
When we watch a movie like Animal House, we simply don't understand.
The movie is fun etc. but the whole environment for us is alien.

And, oh, there is NO music department. There are artistic departments
covering music, but they have no equipments -just books.

 Make sure the old gear is impedance matched
 on the speakers and the speakers are impedance matched or compatible
 with the audio card (mobo chip)

Oh, ok. That's something I didn't know about. I'll ask about how does it
work...

 Ebay is also your friend (or the euro equivalent)

Right.

Thanks,
m.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] xine audio skips

2007-07-24 Thread Volker Armin Hemmann
On Dienstag, 24. Juli 2007, Aleksey V. Kunitskiy wrote:
 Hi,

 Last time I am watching to HDTVs. They are in mkv(xvid+ac3) or
 mkv(xvid)+ac3 (separate track) format. And I have a problem when watching
 them(all) in xine - it skips a few seconds of audio from time to time.
 Seems that it is sync problem, but AFAIK one of advantages of mkv format is
 very good av syncing.

 Other players like vlc or mplayer don't have this problem, but I don't use
 them because of other disadvantages...

 My hardware is: AMD Athlon X2 4400+, 3GB ram, GeForce 7950, audio ESI Juli@

 My xine-lib use flags:

  + + arts: Adds support for aRts: the KDE sound daemon

and do you have arts running? if yes, kill it before you start watching a 
video. Arts sucks. ESD sucks too.. all sound daemons suck...

  + + xv  : Adds in optional support for the Xvideo extension (an X
 API for video playback)
  - - xvmc: Support for XVideo Motion Compensation (accelerated mpeg
 playback)

maybe using xvmc might help?

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] xine audio skips

2007-07-24 Thread Aleksey V. Kunitskiy
On Tuesday 24 July 2007 16:53, Volker Armin Hemmann wrote:
 and do you have arts running? if yes, kill it before you start watching a
 video. Arts sucks. ESD sucks too.. all sound daemons suck...
No, Arts is turned off and I don't use it. Audio output is set alsa in xine 
options

 maybe using xvmc might help?
I don't think so, because I have problems only with mkv format. HDTV in avi 
container have not this problem

Maybe mkv sync is broken in xine? Don't know... I'll try to emerge latest 
masked...

-- 
best regards,
Aleksey V. Kunitskiy
my public GPG/PGP key: http://www.alexey-kv.org.ua/pubkey.asc


pgpQz54PSvCKF.pgp
Description: PGP signature


Re: [gentoo-user] no audio

2007-05-27 Thread James Lockie

maxim wexler wrote:

Hi group,

For a 2.6.19.5 kernel on a PIII w/SBLive soundcard
using snd-emu10k1 module. I emerged alsa-utils and
mp3blaster.

Ran #rc-update add alsasound boot

Ran alsaconf and let it write /etc/modules.d/alsa. It
concluded with a tell-tale pop from the speakers and
the message that my sound card was set up and ready to
use.

But mp3blaster won't play. Msg is Failed to open
sound device

Noticed under /dev/sound there was no 'audio' or 'dsp'
nodes so I made them w/ mknod. 

No good, same msg. 


Set ENABLE_OSS_EMUL=no in /etc/conf.d/alsasound and
rebooted.

Ditto.

Is this a configuration problem or a soundcard problem
or is mp3blaster to blame? 


FWIW modules loaded, alsamixer unmuted.

Maxim


There is nothing shown with 'dmesg'?

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] no audio

2007-05-27 Thread burlingk

 -Original Message-
 From: maxim wexler [mailto:[EMAIL PROTECTED] 
 Sent: Monday, May 28, 2007 10:09 AM
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] no audio
 
 
 Hi group,
 
 For a 2.6.19.5 kernel on a PIII w/SBLive soundcard
 using snd-emu10k1 module. I emerged alsa-utils and
 mp3blaster.
 
 Ran #rc-update add alsasound boot
 
 Ran alsaconf and let it write /etc/modules.d/alsa. It
 concluded with a tell-tale pop from the speakers and
 the message that my sound card was set up and ready to
 use.
 
 But mp3blaster won't play. Msg is Failed to open
 sound device
 
 Noticed under /dev/sound there was no 'audio' or 'dsp'
 nodes so I made them w/ mknod. 
 
 No good, same msg. 
 
 Set ENABLE_OSS_EMUL=no in /etc/conf.d/alsasound and
 rebooted.
 
 Ditto.
 
 Is this a configuration problem or a soundcard problem
 or is mp3blaster to blame? 
 
 FWIW modules loaded, alsamixer unmuted.
 
 Maxim
 
 

 __
 __Take the Internet to Go: Yahoo!Go puts 
 the Internet in your pocket: mail, news, photos  more. 
 http://mobile.yahoo.com/go?refer=1GNXIC
 -- 
 [EMAIL PROTECTED] mailing list


With the newer kernels, you don't need to do anything outside the kernel
for Alsa sound most of the time.  Make sure to configure the kernel so
that it has basic sound support enabled (I would compile this into the
kernel, not as a module, but that is me).

Next, on the menu where you choose options, leave OSS unmarked, and
select Alsa support.

On the submenu for Alsa support, select everything that applies (Do
select OSS Emulation, as some packages don't ASK which driver you are
using, they just assume the one they want is there).

If you select extra things here, it won't matter much.  The extra items
are just Midi drivers, and if you don't have Midi hardware, they aren't
an issue either way. ^_^

In other words, on this screen it is safe to select pretty much
everything.

On the screen for PCI drivers, select the option(s) appropriate for your
hardware.

'lspci' should show which sound card your system has.

If you are using devfs, then the device nodes should be created
automatically, if not then I am not sure how to create them manually in
an old style system.  It is possible, that you may need to manually
chmod a+wr the device node in order use them (This is assuming they are
there, which you said they were not I think).

Also dsp, should be /dev/dsp in many cases.  Many of the items you want
will be under /dev directly instead of /dev/sound  These may be links to
the /dev/sound items, but I am not sure. ^^;;  More experienced people
can probably tell you that.
 
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] no audio

2007-05-27 Thread maxim wexler
 
 There is nothing shown with 'dmesg'?

If you mean an error, no. 

Anyway, aren't you talking about the boot console?
I've never seen anything about audio in dmesg, whether
the audio is OK or not.

So, if you mean an error in boot console, no.

mw


   
Luggage?
 GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz
-- 
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] no audio

2007-05-27 Thread maxim wexler
  For a 2.6.19.5 kernel on a PIII w/SBLive soundcard
  using snd-emu10k1 module. I emerged alsa-utils and

Yes, I used lspci. That's how I know what module to
use. Also note kernel version. Definitely not old
style.

 an old style system.  It is possible, that you may
 need to manually




   
Take
 the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. 
http://mobile.yahoo.com/go?refer=1GNXIC
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] no audio

2007-05-27 Thread Dale
maxim wexler wrote:
 For a 2.6.19.5 kernel on a PIII w/SBLive soundcard
 using snd-emu10k1 module. I emerged alsa-utils and
   

 Yes, I used lspci. That's how I know what module to
 use. Also note kernel version. Definitely not old
 style.

   
 an old style system.  It is possible, that you may
 need to manually
 





 Take
  the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
 photos  more. 
 http://mobile.yahoo.com/go?refer=1GNXIC
   


Well, I have a SoundBlaster card too.  Mine works so let's see if this
will help.  Everything is built into my kernel, no modules.  My lspci
reports this:

 01:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1
 (rev 0a)

This is my kernel stuff:

 * Emu10k1 (SB Live!, Audigy, E-mu APS)

   ? ?  * Advanced Linux Sound
 Architecture ? ?
   ? ?  *   Sequencer
 support ? ?
   ? ?Sequencer dummy
 client   ? ?
   ? ?  *   OSS Mixer
 API ? ?
   ? ?  *   OSS PCM (digital audio)
 API   ? ?
   ? ?  [*] OSS PCM (digital audio) API - Include plugin
 system   ? ?
   ? ?  [*]   OSS Sequencer
 API ? ?
   ? ?  [ ]   Dynamic device file minor
 numbers ? ?
   ? ?  [*]   Support old ALSA
 API  ? ?
   ? ?  [*]   Verbose procfs
 contents   ? ?

Maybe that will help.

Dale

:-)  :-)  :-)  :-)


-- 
www.myspace.com/-remove-me-dalek1967

Copy n paste then remove the -remove-me- part.



Re: [gentoo-user] Re: audio with TV crd [solved]

2006-07-27 Thread Nick Rout

On Wed, 26 Jul 2006 09:10:42 +0100
Uwe Thiem wrote:

 On 26 July 2006 00:54, Nick Rout wrote:
 
  There is a current scratchy noise problem with PVR-150 drivers.
 
  AFTER you have started playing/recording the stream execute
 
  ivtvctl -qX
 
  where X is the audio input you are using. This fixes it for me and a
  number of other mythtv users. Some have even set up a cron script to
  execute that command every 10 seconds.
 
 I'll try that, weird as it is. ;-)
 
   
  To get as close as possible to a DVD compatible stream use
 
  ivtvctl -c stream_type=X where X is the stream type you want from :
 
  /* Stream types */
  #define IVTV_STREAM_PS  0
  #define IVTV_STREAM_TS  1
  #define IVTV_STREAM_MPEG1   2
  #define IVTV_STREAM_PES_AV  3
  #define IVTV_STREAM_PES_V   5
  #define IVTV_STREAM_PES_A   7
  #define IVTV_STREAM_DVD 10
  #define IVTV_STREAM_VCD 11
  #define IVTV_STREAM_SVCD12
  #define IVTV_STREAM_DVD_S1  13
  #define IVTV_STREAM_DVD_S2  14
 
  I cannot for the life of me remember whether you want 10,13 or 14.
 
 Interesting. is there actually any comprehensive documentation about ivtv? I 
 only found scratches and pieces.
 
 Uwe

Only what comes with it I think. The doc directory in the source is
worth a look.

This is also worth a look: http://ivtvdriver.org/index.php/Main_Page

The driver has been in such a rapid state of development that any
documentation would quickly be out of date. It is considerably more
mature lately.

The mythtv mailing list archives are also a very good source of
knowledge. I would say that a very big percentage of people using these
cards under linux do so in a mythtv box. The archives are very good and
appear here:

http://www.gossamer-threads.com/lists/mythtv/users/

simply running 

ivtvctl | less gives you a good idea of what you can control.


-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: audio with TV crd [solved]

2006-07-26 Thread Uwe Thiem
On 26 July 2006 00:54, Nick Rout wrote:

 There is a current scratchy noise problem with PVR-150 drivers.

 AFTER you have started playing/recording the stream execute

 ivtvctl -qX

 where X is the audio input you are using. This fixes it for me and a
 number of other mythtv users. Some have even set up a cron script to
 execute that command every 10 seconds.

I'll try that, weird as it is. ;-)

  
 To get as close as possible to a DVD compatible stream use

 ivtvctl -c stream_type=X where X is the stream type you want from :

 /* Stream types */
 #define IVTV_STREAM_PS  0
 #define IVTV_STREAM_TS  1
 #define IVTV_STREAM_MPEG1   2
 #define IVTV_STREAM_PES_AV  3
 #define IVTV_STREAM_PES_V   5
 #define IVTV_STREAM_PES_A   7
 #define IVTV_STREAM_DVD 10
 #define IVTV_STREAM_VCD 11
 #define IVTV_STREAM_SVCD12
 #define IVTV_STREAM_DVD_S1  13
 #define IVTV_STREAM_DVD_S2  14

 I cannot for the life of me remember whether you want 10,13 or 14.

Interesting. is there actually any comprehensive documentation about ivtv? I 
only found scratches and pieces.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: audio with TV crd [solved]

2006-07-25 Thread Uwe Thiem
On 25 July 2006 01:37, Nick Rout wrote:

Audio is now working with PVR-150. Thanks, Nick, for all your input.

Problem is, I don't know why and I hate it when magic is part of IT. ;-)

The whole difference between yesterday and today is that I tried to compile 
the new kernel 2.6.17-gentoo-r4 (as compared to r3). That compilation failed. 
Since I hadn't time to investigate, I just left it like that. Nothing 
installed, no reboot, noting. All of a sudden audio is coming out of that 
bugger at a decent volume. :-(

Audio quality is still poor, high noise level and it doesn't sound like 50Hz 
noise. So maybe, it's that VCR - have to check that by plugging the VCR 
directly into a TV.

Anyway, forward to the next step of creating a video DVD from that MPEG2 
stream!

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: audio with TV crd [solved]

2006-07-25 Thread Nick Rout

On Tue, 25 Jul 2006 11:11:50 +0100
Uwe Thiem wrote:

 On 25 July 2006 01:37, Nick Rout wrote:
 
 Audio is now working with PVR-150. Thanks, Nick, for all your input.
 
 Problem is, I don't know why and I hate it when magic is part of IT. ;-)
 
 The whole difference between yesterday and today is that I tried to compile 
 the new kernel 2.6.17-gentoo-r4 (as compared to r3). That compilation failed. 
 Since I hadn't time to investigate, I just left it like that. Nothing 
 installed, no reboot, noting. All of a sudden audio is coming out of that 
 bugger at a decent volume. :-(
 
 Audio quality is still poor, high noise level and it doesn't sound like 50Hz 
 noise. So maybe, it's that VCR - have to check that by plugging the VCR 
 directly into a TV.
 
 Anyway, forward to the next step of creating a video DVD from that MPEG2 
 stream!
 
 Uwe

There is a current scratchy noise problem with PVR-150 drivers.

AFTER you have started playing/recording the stream execute 

ivtvctl -qX 

where X is the audio input you are using. This fixes it for me and a
number of other mythtv users. Some have even set up a cron script to
execute that command every 10 seconds.

To get as close as possible to a DVD compatible stream use 

ivtvctl -c stream_type=X where X is the stream type you want from :

/* Stream types */
#define IVTV_STREAM_PS  0
#define IVTV_STREAM_TS  1
#define IVTV_STREAM_MPEG1   2
#define IVTV_STREAM_PES_AV  3
#define IVTV_STREAM_PES_V   5
#define IVTV_STREAM_PES_A   7
#define IVTV_STREAM_DVD 10
#define IVTV_STREAM_VCD 11
#define IVTV_STREAM_SVCD12
#define IVTV_STREAM_DVD_S1  13
#define IVTV_STREAM_DVD_S2  14

I cannot for the life of me remember whether you want 10,13 or 14.



-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: audio with TV crd

2006-07-24 Thread Uwe Thiem
On 24 July 2006 00:52, Nick Rout wrote:

 ivtv:   START INIT IVTV 
 ivtv:  version 0.4.4 (tagged release) loading
 ivtv:  Linux version: 2.6.15-chw-2 SMP preempt 586 gcc-3.3
 ivtv:  In case of problems please include the debug info between
 ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
 ivtv:  any module options, when mailing the ivtv-users mailinglist.
 ivtv0: Autodetected WinTV PVR 150 card (cx23416 based)
 ACPI: PCI Interrupt :00:14.0[A] - Link [LNKB] - GSI 10 (level, low)
 - IRQ 10 ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
 ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
 tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
 ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
 cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
 **cx25840 0-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
 ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
 wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
 ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
 tda9887 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
 ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
 tveeprom 0-0050: The eeprom says no radio is present, but the tuner type
 tveeprom 0-0050: indicates otherwise. I will assume that radio is present.
 tveeprom 0-0050: Hauppauge model 26559, rev C260, serial# 2945285
 tveeprom 0-0050: tuner model is LG S001D MK3 (idx 60, type 38)
 tveeprom 0-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom
 0x74) tveeprom 0-0050: audio processor is CX25843 (idx 37)
 tveeprom 0-0050: decoder processor is CX25843 (idx 30)
 tveeprom 0-0050: has radio, has no IR remote
 *ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
 ivtv0: Encoder revision: 0x02050032
 ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
 ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
 ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
 ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB
 total) ivtv0: Create encoder radio stream
 tuner 0-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
 ivtv0: Initialized WinTV PVR 150, card #0
 ivtv:    END INIT IVTV  

Mine looks pretty much the same except that it detects the remote. Firmware 
gets loaded, all drivers get loaded, no errors.

Meanwhile I do have audio but very very faint if i raise everything to maximum 
(mixer, speaker amplifier, ivtvctl). 

I don't know. Maybe the hardware is fried.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: audio with TV crd

2006-07-24 Thread Nick Rout
On Mon, 24 Jul 2006 11:31:01 +0100
Uwe Thiem [EMAIL PROTECTED] wrote:

 On 24 July 2006 00:52, Nick Rout wrote:
 
  ivtv:   START INIT IVTV 
  ivtv:  version 0.4.4 (tagged release) loading
  ivtv:  Linux version: 2.6.15-chw-2 SMP preempt 586 gcc-3.3
  ivtv:  In case of problems please include the debug info between
  ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
  ivtv:  any module options, when mailing the ivtv-users mailinglist.
  ivtv0: Autodetected WinTV PVR 150 card (cx23416 based)
  ACPI: PCI Interrupt :00:14.0[A] - Link [LNKB] - GSI 10 (level, low)
  - IRQ 10 ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
  ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
  tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
  ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
  cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
  **cx25840 0-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
  ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
  wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
  ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
  tda9887 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
  ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
  tveeprom 0-0050: The eeprom says no radio is present, but the tuner type
  tveeprom 0-0050: indicates otherwise. I will assume that radio is present.
  tveeprom 0-0050: Hauppauge model 26559, rev C260, serial# 2945285
  tveeprom 0-0050: tuner model is LG S001D MK3 (idx 60, type 38)
  tveeprom 0-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom
  0x74) tveeprom 0-0050: audio processor is CX25843 (idx 37)
  tveeprom 0-0050: decoder processor is CX25843 (idx 30)
  tveeprom 0-0050: has radio, has no IR remote
  *ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
  ivtv0: Encoder revision: 0x02050032
  ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
  ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
  ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
  ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB
  total) ivtv0: Create encoder radio stream
  tuner 0-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
  ivtv0: Initialized WinTV PVR 150, card #0
  ivtv:    END INIT IVTV  
 
 Mine looks pretty much the same except that it detects the remote. Firmware 
 gets loaded, all drivers get loaded, no errors.
 
 Meanwhile I do have audio but very very faint if i raise everything to 
 maximum 
 (mixer, speaker amplifier, ivtvctl). 
 
 I don't know. Maybe the hardware is fried.
 
 Uwe

The guy on the mythtv list thought his was OK too until someone else spotted 
the error - I'm not saying you cannot read a log file, but y'know it happens to 
the best of us :-(

As far as i recall you have been trying so far with composite/line in. Is it 
worth trying the tuner?

What sort of input does your line-in have? Mine is two RCA plugs, but I have 
heard of them having the 2.5mm stereo plugs too (like a headphone socket on a 
walkman). If so, make sure the plug is the right one.

Not sure where else to go from here, except back to the vendor.

 
 -- 
 Mark Twain: I rather decline two drinks than a German adjective.

I love that quote!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: audio with TV crd

2006-07-24 Thread Uwe Thiem
On 24 July 2006 12:30, Nick Rout wrote:

 The guy on the mythtv list thought his was OK too until someone else
 spotted the error - I'm not saying you cannot read a log file, but y'know
 it happens to the best of us :-(

Alright, here is my log:

ivtv:   START INIT IVTV 
ivtv:  version 0.7.0 (tagged release) loading
ivtv:  Linux version: 2.6.17-gentoo-r3 SMP preempt mod_unload PENTIUM4 
4KSTACKS gcc-3.4
ivtv:  In case of problems please include the debug info between
ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
ivtv:  any module options, when mailing the ivtv-users mailinglist.
intel8x0_measure_ac97_clock: measured 50865 usecs
intel8x0: clocking to 48000
ivtv0: Autodetected Hauppauge WinTV PVR-150 card (cx23416 based)
ACPI: PCI Interrupt :00:09.0[A] - GSI 17 (level, low) - IRQ 209
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom 1-0050: The eeprom says no radio is present, but the tuner type
tveeprom 1-0050: indicates otherwise. I will assume that radio is present.
tveeprom 1-0050: Hauppauge model 26039, rev C1A5, serial# 8499471
tveeprom 1-0050: tuner model is TCL MPE05-2 (idx 105, type 38)
tveeprom 1-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom 
0x74)
tveeprom 1-0050: audio processor is CX25842 (idx 36)
tveeprom 1-0050: decoder processor is CX25842 (idx 29)
tveeprom 1-0050: has radio, has IR remote
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
tda9887 1-0043: chip found @ 0x86 (ivtv i2c driver #0)
cx25840 1-0044: cx25842-23 found @ 0x88 (ivtv i2c driver #0)
cx25840 1-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02050032
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB 
total)
ivtv0: Create encoder radio stream
tuner 1-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
ivtv0: Initialized Hauppauge WinTV PVR-150, card #0
ivtv:    END INIT IVTV  


 As far as i recall you have been trying so far with composite/line in. Is
 it worth trying the tuner?

Well, I am not interested in watching TV. Even if the tuner works that doesn't 
necessarily mean that the hardware dealing with composite and Line IN is 
working properly.

I may give it a try later but I don't even have an arial because I never watch 
TV. ;-)


 What sort of input does your line-in have? Mine is two RCA plugs, but I
 have heard of them having the 2.5mm stereo plugs too (like a headphone
 socket on a walkman). If so, make sure the plug is the right one.

The latter one - and yes, I think the plug is right.


 Not sure where else to go from here, except back to the vendor.

My feeling meanwhile. :-(


  --
  Mark Twain: I rather decline two drinks than a German adjective.

 I love that quote!

When I read it, I almost instantaneously fell in love with it. ;-)

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: audio with TV crd

2006-07-24 Thread Nick Rout

On Mon, 24 Jul 2006 13:43:05 +0100
Uwe Thiem wrote:

 On 24 July 2006 12:30, Nick Rout wrote:
 
  The guy on the mythtv list thought his was OK too until someone else
  spotted the error - I'm not saying you cannot read a log file, but y'know
  it happens to the best of us :-(
 
 Alright, here is my log:
 
 ivtv:   START INIT IVTV 
 ivtv:  version 0.7.0 (tagged release) loading
 ivtv:  Linux version: 2.6.17-gentoo-r3 SMP preempt mod_unload PENTIUM4 
Very recent ivtv, more so than mine. the website says it is only for 2.6.17, 
but you seem to fit the criteria.

Looking at the ivtv website did say this:
http://ivtvdriver.org/index.php/Troubleshooting

Use the recommended firmware

* In particular, if you are experiencing sound problems then first
make sure you are using the correct audio firmware. It is a known
problem with older versions that the audio standard is detected but
remains muted. It seems to be fixed with the latest firmware. 

How you tell whether the firmware you have is correct ? There are some 
checksums here:

http://ivtvdriver.org/index.php/Firmware#Firmware_Checksums

(Although I just checked mine, they do not match whats on the website,
but they work fine??)


[snip]
 
  As far as i recall you have been trying so far with composite/line in. Is
  it worth trying the tuner?
 
 Well, I am not interested in watching TV. Even if the tuner works that 
 doesn't 
 necessarily mean that the hardware dealing with composite and Line IN is 
 working properly.
 
 I may give it a try later but I don't even have an arial because I never 
 watch 
 TV. ;-)


It was only a suggestion to eliminate the possibilty of the cable or
plugs being faulty. 

   Mark Twain: I rather decline two drinks than a German adjective.
 
  I love that quote!
 
 When I read it, I almost instantaneously fell in love with it. ;-)
 
 Uwe
 

Of course most people these days don't even know what a declension is!


-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: audio with TV crd

2006-07-23 Thread Nick Rout
On Sat, 22 Jul 2006 10:18:48 +0100
Uwe Thiem [EMAIL PROTECTED] wrote:

 On 22 July 2006 03:45, Nick Rout wrote:
 
  When using composite in the sound should be coming in the line in
 
  However your driver may need to be switched to the right device, use
  ivtvctl
 
  ivtvctl -A   - lists the audio inputs
  ivtvctl -Q   - tells which one it is switched to now
  ivtvctl -qn   - switches to input n
 
 Hm...
 [EMAIL PROTECTED] ~ $ ivtvctl -A
 ioctl: VIDIOC_ENUMAUDIO
 Input   : 0
 Name: Tuner 1
 
 Input   : 1
 Name: Line In 1
 
 Input   : 2
 Name: Line In 2
 
 There is only one Line IN socket. Anyway, I tried both with iivtvctl -qn. 
 Still no sound when doing mplayer /dev/video0, and mplayer tv:// gives me 
 that damn ioctl error (see my other mail).
 
 Uwe

well I just learned something new:

[EMAIL PROTECTED]:/var/log$ ivtvctl -Y
ioctl: VIDIOC_QUERYCTRL
Brightness = 383
Contrast = 63
Saturation = 63
Hue = 0
Volume = 58880
Mute = 0


So there are volume and mute controls that are configurable from ivtvctl, like 
this:

ivtvctl -y mute=1   (will mute the output - set -0 to unmute)
ivtvctl -y volume=integer.

The volume allegedly has a range of 0-65535

Check them out, the vol may be zeroed, or the mute set.




 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: audio with TV crd

2006-07-23 Thread Uwe Thiem
On 23 July 2006 02:38, Nick Rout wrote:
 On Sat, 22 Jul 2006 10:18:48 +0100

 I find that tv:// doesn't work at all when using composite in, but
 /dev/video0 does.

So far, I have to agree.


 My device also has one physical line in (two plugs, red=right, white=left),
 but ivtvctl -A shows four line-ins! I find that all of -q1, -q2, -q3 work
 with the line-in. -q0 is the tuner and -q4 is static.

 [EMAIL PROTECTED]:~$ ivtvctl -A
 ioctl: VIDIOC_ENUMAUDIO
 Input   : 0
 Name: Tuner Audio In

 Input   : 1
 Name: Audio Line 1

 Input   : 2
 Name: Audio Line 2

 Input   : 3
 Name: Audio Line 3

 Input   : 4
 Name: Audio Line 4

 Are you really sure that there is an audio signal coming out the line thats
 plugged into the line-in? (Obvious I know!)

Yes. If I plug that line into Line IN of my soundcard I get audio. I actually 
tried to feed composite into the TV card and audio into my soundcard. 
Used mplayer /dev/video0 and it kind of worked. But it isn't a solution for 
two reasons:

1. 
Audio and video are far out of sync that way.

2.
My goal isn't to watch tapes but to burn old tapes to DVDs. For that, I need 
the MPEG2 stream coming out of /dev/video0 to be combined video and audio.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: audio with TV crd

2006-07-23 Thread Uwe Thiem
On 23 July 2006 09:58, Nick Rout wrote:

 well I just learned something new:

Yeah, the documentation is awful. One has to dig deep to find all the knobs.


 [EMAIL PROTECTED]:/var/log$ ivtvctl -Y
 ioctl: VIDIOC_QUERYCTRL
 Brightness = 383
 Contrast = 63
 Saturation = 63
 Hue = 0
 Volume = 58880
 Mute = 0

I found that option already.



 So there are volume and mute controls that are configurable from ivtvctl,
 like this:

 ivtvctl -y mute=1   (will mute the output - set -0 to unmute)
 ivtvctl -y volume=integer.

 The volume allegedly has a range of 0-65535

 Check them out, the vol may be zeroed, or the mute set.

[EMAIL PROTECTED] ~ $ ivtvctl -Y
ioctl: VIDIOC_QUERYCTRL
Brightness = 128
Contrast = 64
Saturation = 64
Hue = 0
Volume = 60928
Balance = 32768
Bass = 32768
Treble = 32768
Mute = 0

It isn't muted, and the volume seems to be quite high. :-(

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: audio with TV crd

2006-07-23 Thread Nick Rout

On Sun, 23 Jul 2006 12:19:46 +0100
Uwe Thiem wrote:

 On 23 July 2006 02:38, Nick Rout wrote:
  On Sat, 22 Jul 2006 10:18:48 +0100
 
  I find that tv:// doesn't work at all when using composite in, but
  /dev/video0 does.
 
 So far, I have to agree.
 
 
  My device also has one physical line in (two plugs, red=right, white=left),
  but ivtvctl -A shows four line-ins! I find that all of -q1, -q2, -q3 work
  with the line-in. -q0 is the tuner and -q4 is static.
 
  [EMAIL PROTECTED]:~$ ivtvctl -A
  ioctl: VIDIOC_ENUMAUDIO
  Input   : 0
  Name: Tuner Audio In
 
  Input   : 1
  Name: Audio Line 1
 
  Input   : 2
  Name: Audio Line 2
 
  Input   : 3
  Name: Audio Line 3
 
  Input   : 4
  Name: Audio Line 4
 
  Are you really sure that there is an audio signal coming out the line thats
  plugged into the line-in? (Obvious I know!)
 
 Yes. If I plug that line into Line IN of my soundcard I get audio. I actually 
 tried to feed composite into the TV card and audio into my soundcard. 
 Used mplayer /dev/video0 and it kind of worked. But it isn't a solution for 
 two reasons:
 
 1. 
 Audio and video are far out of sync that way.
 
 2.
 My goal isn't to watch tapes but to burn old tapes to DVDs. For that, I need 
 the MPEG2 stream coming out of /dev/video0 to be combined video and audio.
 
 Uwe

Yes, exactly. There is a delay for buffering or processing or something
inherent in the pvr card. There is no such delay through the sound card.

I suppose the card could be broken. Sometimes they are. Any chance of
taking it back to the shop and asking for another one?

Or *cough* trying it in windows?

I also wonder whether you should try either the mythtv-users list or the
ivtv-dev mailing lists. Probably the first thing they will ask for is
the log information from dmesg between these two lines:

ivtv:   START INIT IVTV 

necessary info

ivtv:    END INIT IVTV  

Just looking at this I see mine contains:

tveeprom 0-0050: audio processor is CX25843 (idx 37)
tveeprom 0-0050: decoder processor is CX25843 (idx 30)


Also I note via lsmod that I have a cx25840 module loaded. Presumably
that takes care of the sound. It may pay to look at your output - there
are many variations of chipsets on these cards, particularly between PAL
and NTSC models. 


 --  gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: audio with TV crd

2006-07-22 Thread Uwe Thiem
On 22 July 2006 03:45, Nick Rout wrote:

 When using composite in the sound should be coming in the line in

 However your driver may need to be switched to the right device, use
 ivtvctl

 ivtvctl -A   - lists the audio inputs
 ivtvctl -Q   - tells which one it is switched to now
 ivtvctl -qn   - switches to input n

Hm...
[EMAIL PROTECTED] ~ $ ivtvctl -A
ioctl: VIDIOC_ENUMAUDIO
Input   : 0
Name: Tuner 1

Input   : 1
Name: Line In 1

Input   : 2
Name: Line In 2

There is only one Line IN socket. Anyway, I tried both with iivtvctl -qn. 
Still no sound when doing mplayer /dev/video0, and mplayer tv:// gives me 
that damn ioctl error (see my other mail).

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: audio with TV crd

2006-07-22 Thread Uwe Thiem
On 22 July 2006 03:45, Nick Rout wrote:

 The PVR-150 muxes the audio and video into an mpeg stream.

 When using composite in the sound should be coming in the line in

 However your driver may need to be switched to the right device, use
 ivtvctl

 ivtvctl -A   - lists the audio inputs
 ivtvctl -Q   - tells which one it is switched to now
 ivtvctl -qn   - switches to input n

Uh-huh! I'll give it a try.

The other big question is, what to make of this error when using something 
like mplayer tv:// blablabla:

v4l2: current audio mode is : MONO
v4l2: ioctl request buffers failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.


The ioctl failure doesn't seem to be a permission problem.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: audio with TV crd

2006-07-21 Thread Uwe Thiem
On 21 July 2006 16:09, Marco Costa wrote:
 Hi,

 Actually, that is what I _have_ to do with my old TV card.
 It doesn't have a input for audio and no internal mixer, so I have to
 record the sound directly from the soundcard.

 I use menconder to do just that:


 mencoder tv:// -tv
 driver=v4l2:device=/dev/video0:input=3:width=640:height=480:alsa -oac
 mp3lame alsa -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=8800:vme=3 -o
 outfile.avi

I'll try something like that. What do you think of this error message:

Playing tv://.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski [EMAIL PROTECTED]
 comment: first try, more to come ;-)
Selected device: Hauppauge WinTV PVR-150
 Tuner cap: STEREO LANG1 LANG2
 Tuner rxs: MONO LANG2
 Capabilites:  video capture  VBI capture device  tuner  audio  read/write
 supported norms: 0 = PAL-BGH; 1 = PAL-DK; 2 = PAL-I; 3 = PAL-M; 4 = PAL-N; 5 
= PAL-Nc; 6 = SECAM-BGH; 7 = SECAM-DK; 8 = SECAM-L; 9 = SECAM-L'; 10 = 
NTSC-M; 11 = NTSC-J; 12 = NTSC-K;
 inputs: 0 = Tuner 1; 1 = S-Video 1; 2 = Composite 1; 3 = S-Video 2; 4 = 
Composite 2;
 Current input: 2
 Current format: unknown (0x4745504d)
v4l2: current audio mode is : MONO
v4l2: ioctl request buffers failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.

That ioctl failure doesn't seem to be a permission problem. The relevant 
devices all have group video rw permissions and I am member of video.


 The man page for mencoder is quite undertandable, if you want to customize
 the parameters.

Not really. I think that man page is a big mess. ;-) Though one can find one's 
way around in it with tons of time.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: audio with TV crd

2006-07-21 Thread Nick Rout
On Fri, 21 Jul 2006 16:40:07 + (UTC)
James [EMAIL PROTECTED] wrote:

 Uwe Thiem uwix at iway.na writes:
 
   how would I be able to record video *and* audio from the TV card 
  into an MPEG2 file?
 
 Hello Uwe,
 
 In my experienes, you need to build a 'mixing studio' or at least 
 a very simple A/V mixing system. There are too many A/V tools to use.
 I'd first look at the MoBo book and see what onboard hardware you have
 plus 'lspci' -v and 'lshw'. Using the core mobo chips is usually the
 most straightforward. Also look at what sound cards you have.
 
 
 Then 'eix keyword' using mixer, audio, jack, alsa etc to 
 discover the various packages and try them out. Also use
 google to search for keywords + audio chips where
 audio chips are the actual chips you find on your hardware.
 
 'kmix' is a quick and simple mixer that often provides control
 over the various audio chips. You'll also have to rebuild your
 kernel many times to find the right combo of drivers to compile
 in and/or load as modules. Often the various audio chip drivers
 conflict at the kernel, udev or application level. There is
 no 'silver bullet' to build a mixer/mux for A/V, in my experience.
 It all depends on what you need. Moving over old movies, one
 of your greatest challenges will be keeping the audio and
 video synchronized over the duration of the recorded stream.
 
 
 hth,
 
 James

this is all completely irrelevant to the question.

The PVR-150 muxes the audio and video into an mpeg stream.

When using composite in the sound should be coming in the line in

However your driver may need to be switched to the right device, use ivtvctl

ivtvctl -A   - lists the audio inputs
ivtvctl -Q   - tells which one it is switched to now
ivtvctl -qn   - switches to input n



 
 
 
 -- 
 gentoo-user@gentoo.org mailing list
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Playing Audio and DVD cds!!!

2006-05-05 Thread David Sveningsson




Hello, I use VLC for this without
any touble. You shouldn't mount the audio-cds or dvd, and and as far as
I know you shouldn't write cdda:// when playing, the application should
figure out that itself.

Christopher E wrote:
Hello All,
  
  
IS there any one that can help me get my audio cds and dvds to work, i
have tryed so much I don't know wht I have done and I would put all
  
here but I don't, I am geting the:
  
  
Couldn't display "cdda:///dev/hda".
  
  
/etc/init.d/ivman start
  
* Re-caching dependency info (mtimes differ)...
  
* Could not get dependency info for "ivman"!
  
* Please run:
  
  
* # /sbin/depscan.sh
  
  
* to try and fix this.
  
* Re-caching dependency info (mtimes differ)...
  
* Could not get dependency info for "ivman"!
  
* Please run:
  
  
* # /sbin/depscan.sh
  
  
* to try and fix this.
  
* Re-caching dependency info (mtimes differ)...
  
* Could not get dependency info for "ivman"!
  
* Please run:
  
  
* # /sbin/depscan.sh
  
  
* to try and fix this.
  
* Re-caching dependency info (mtimes differ)...
  
* Could not get dependency info for "ivman"!
  
* Please run:
  
  
* # /sbin/depscan.sh
  
  
* to try and fix this.
  
* Starting Automounter
... [ ok ]
  
  
I have emerged:
  
ivman
  
I added to rc-update and get the above error also
  
  
my cd is being detected after I do a mount of:
  
mount /dev/hda /dev/dvd
  
  
I am able to see the metadata of the cd under cd player but am unable
to play it
  
  
PLEASE help I have been playing with this for hours!
  
  
Sincerely,
  
Christopher
  
  


-- 




//David Sveningsson [eXt]
__
Freelance Coder | Game Developer Student
[http://sidvind.com]
[http://nitroxy.com]






Re: [gentoo-user] Playing Audio and DVD cds!!!

2006-05-05 Thread Christopher E

Hello David,

I have emerged this VLC and I can not get it to run, I have it under
the sound and video menu and have clicked it and even restarted the
system to see if that would help

Sincerely,
Christopher

On 5/5/06, David Sveningsson [EMAIL PROTECTED] wrote:

 Hello, I use VLC for this without any touble. You shouldn't mount the
audio-cds or dvd, and and as far as I know you shouldn't write cdda:// when
playing, the application should figure out that itself.


 Christopher E wrote:
Hello All,

 IS there any one that can help me get my audio cds and dvds to work, i have
tryed so much I don't know wht I have done and I would put all
 here but I don't,  I am geting the:

 Couldn't display cdda:///dev/hda.

 /etc/init.d/ivman start
 * Re-caching dependency info (mtimes differ)...
 * Could not get dependency info for ivman!
 * Please run:

 *   # /sbin/depscan.sh

 * to try and fix this.
 * Re-caching dependency info (mtimes differ)...
 * Could not get dependency info for ivman!
 * Please run:

 *   # /sbin/depscan.sh

 * to try and fix this.
 * Re-caching dependency info (mtimes differ)...
 * Could not get dependency info for ivman!
 * Please run:

 *   # /sbin/depscan.sh

 * to try and fix this.
 * Re-caching dependency info (mtimes differ)...
 * Could not get dependency info for ivman!
 * Please run:

 *   # /sbin/depscan.sh

 * to try and fix this.
 * Starting Automounter ...
  [ ok ]

 I have emerged:
 ivman
 I added to rc-update and get the above error also

 my cd is being detected after I do a mount of:
 mount /dev/hda /dev/dvd

 I am able to see the metadata of the cd under cd player but am unable to
play it

 PLEASE help I have been playing with this for hours!

 Sincerely,
 Christopher



--




 //David Sveningsson [eXt]
 __
 Freelance Coder | Game Developer Student
 [ http://sidvind.com ]  [ http://nitroxy.com ]



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Playing Audio and DVD cds!!!

2006-05-05 Thread Daniel da Veiga

On 5/5/06, David Sveningsson [EMAIL PROTECTED] wrote:

 Hello, I use VLC for this without any touble. You shouldn't mount the
audio-cds or dvd, and and as far as I know you shouldn't write cdda:// when
playing, the application should figure out that itself.



He mentioned an error that happens when he click the Gnome (or KDE,
can't remember) icon at the desktop. Not something he typed...



 Christopher E wrote:
Hello All,

 IS there any one that can help me get my audio cds and dvds to work, i have
tryed so much I don't know wht I have done and I would put all
 here but I don't,  I am geting the:



Try simply NOT USING the icon, and using an application direcly.
Emerge mplayer and:

mplayer dvd://

for example. Try XMMS to play audio CDs. Have you tried just playing
them with the app? Or are you still wanting them to be played
automagically? I guess your problem is configuration of the WM and
maybe some dependency or whatever linked to the way the WM deals with
the icons on the desktop.

You DO NOT MOUNT audio CDs, that would probably return an error and/or
block the device for direct reading (in the case of a DVD).

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Playing Audio and DVD cds!!!

2006-05-05 Thread Christopher E

Hello Daniel,


He mentioned an error that happens when he click the Gnome (or KDE,
can't remember) icon at the desktop. Not something he typed...


Thanks for pointing that out!


Try simply NOT USING the icon, and using an application direcly.


OK, I have tryed this with mplayer, xine, cd player

With cd player and mplayer I am unable to get the cd to play but it
does show me the metadata for the cd (audio)

With xine I can play the cd (audio)



Emerge mplayer and:

I have emerged mplayer


mplayer dvd://

what is this and where do I do this?


for example. Try XMMS to play audio CDs. Have you tried just playing
them with the app?


See above for this response


Or are you still wanting them to be played
automagically?

Rigtht now I don't care if there play auto or not but at a time I
would like this.

I guess your problem is configuration of the WM and maybe some
dependency or whatever linked to the way the WM deals with the icons
on the desktop.
I am using Gnome that portage has of latest one I think, and x11 how
do I do this and so on I am a very new users that had done this setup
now over 5 times as I run in to one issue or entother?


You DO NOT MOUNT audio CDs, that would probably return an error and/or
block the device for direct reading (in the case of a DVD).

I tryed this as a test to see if that was the issue and it did not
help so I rebooted after it

Sincerely,
Christopher

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Playing Audio and DVD cds!!!

2006-05-05 Thread Daniel da Veiga

On 5/5/06, Christopher E [EMAIL PROTECTED] wrote:

Hello Daniel,

 He mentioned an error that happens when he click the Gnome (or KDE,
 can't remember) icon at the desktop. Not something he typed...

Thanks for pointing that out!

 Try simply NOT USING the icon, and using an application direcly.

OK, I have tryed this with mplayer, xine, cd player

With cd player and mplayer I am unable to get the cd to play but it
does show me the metadata for the cd (audio)

With xine I can play the cd (audio)



Man, something only look at the screen could explain. Wow, now, THAT
is a problem, you can access it, but can't play it... Do you have an
digital audio cable connecting your drive to your motherboard or audio
card? Its a shot in the dark, but...



 Emerge mplayer and:
I have emerged mplayer

 mplayer dvd://
what is this and where do I do this?



From any console/terminal you just type it...




 for example. Try XMMS to play audio CDs. Have you tried just playing
 them with the app?

See above for this response

 Or are you still wanting them to be played
 automagically?
Rigtht now I don't care if there play auto or not but at a time I
would like this.


Well, I don't know much of gnome/had/dbus/automounter etc, but right
now I would be happy if you were able to use those apps to lauch audio
and DVDs.



I guess your problem is configuration of the WM and maybe some
dependency or whatever linked to the way the WM deals with the icons
on the desktop.
I am using Gnome that portage has of latest one I think, and x11 how
do I do this and so on I am a very new users that had done this setup
now over 5 times as I run in to one issue or entother?


Well, no one ever said it would be easy ;) Ok, maybe someone did, but
its a lie, each machine/configuration may have its own bugs/issues.
Welcome to the place you know something is wrong and you can fix it
somehow (in that how I don't include formatting/reinstalling or
buying ugly and expensive software).

Ok, let me gather some more info. When you play it with xine you see
no errors right? When trying to play it with xmms or mplayer, what you
get? Does the timer goes as it is playing and no sound, does it
freezes, it simply do nothing?



 You DO NOT MOUNT audio CDs, that would probably return an error and/or
 block the device for direct reading (in the case of a DVD).
I tryed this as a test to see if that was the issue and it did not
help so I rebooted after it


You don't have to, just umount it and/or exit the app that you used to do it.
Not rebooting after every software install was one of the reasons I
left the world of windows.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Playing Audio and DVD cds!!!

2006-05-05 Thread Christopher E

 mplayer dvd://
 what is this and where do I do this?
From any console/terminal you just type it...


OK when I do this, I am able to play DVDs in xine, mplayer, totem!
mplayer dvd://
totem dvd://
xine dvd://


Well, I don't know much of gnome/had/dbus/automounter etc, but right
now I would be happy if you were able to use those apps to lauch audio
and DVDs.


OK, as mentioned above I can with the command line NOT through open
using the program its self


Ok, let me gather some more info. When you play it with xine you see
no errors right? When trying to play it with xmms or mplayer, what you
get? Does the timer goes as it is playing and no sound, does it
freezes, it simply do nothing?


when playing it in cd player (gnomes default) I get the metadata and
then click play its button changes then it goes back to the play
button as if there was no music on the cd

OK any other questions that would help please ask me :-)

Sincerely,
Christopoher

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Playing Audio and DVD cds!!!

2006-05-05 Thread Daniel da Veiga

On 5/5/06, Christopher E [EMAIL PROTECTED] wrote:

  mplayer dvd://
  what is this and where do I do this?
 From any console/terminal you just type it...

OK when I do this, I am able to play DVDs in xine, mplayer, totem!
mplayer dvd://
totem dvd://
xine dvd://



Well, configuration, there's nothing wrong with your machine, you must
understand that you don't point the mplayer or whatever software to
the location of the mounted device or to the files, you specify a
DEVICE file under /dev to be able to play CDs and DVDs. So, in the
configuration of the specific program (that seems right because you
can use the URL dvd://) you set the device (usually /dev/dvd or
/dev/cdrom YMMV) and it access the file (device) directly.


 Well, I don't know much of gnome/had/dbus/automounter etc, but right
 now I would be happy if you were able to use those apps to lauch audio
 and DVDs.

OK, as mentioned above I can with the command line NOT through open
using the program its self


Well, I'm at work now, let me get home and take a look at the programs
so I can try and figure out why you can't play. Its probably just
configuration, you may be lucky checking the man pages for the program
you want to use or the info pages, even google.



 Ok, let me gather some more info. When you play it with xine you see
 no errors right? When trying to play it with xmms or mplayer, what you
 get? Does the timer goes as it is playing and no sound, does it
 freezes, it simply do nothing?

when playing it in cd player (gnomes default) I get the metadata and
then click play its button changes then it goes back to the play
button as if there was no music on the cd


Seems a problem with the cd player. Try a command-line app very simple
like dcd (emerge dcd, then dcd -r)



OK any other questions that would help please ask me :-)


--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Playing Audio and DVD cds!!!

2006-05-05 Thread Christopher E

Hello Daniel,

It now plays in all three players, the mplayer its self play very slow
and gives issues so I am geting rid of it as it also IS not
accessibile and if there is any one out there that is using it with a
screenreader please come forth.

So far xine plays both audio and dvds fine it appears.

I can not get the totem to play audio cds or play with out being flaky
please see totem posting.

By the way I emerged latest versions of gst-plugins-base and that is
what seems to get them to work to the degree it is.

Now how do I get xine to play the stuff automatic I guess I will push
my luck LOL?

Thanks for your help!

Sincerely,
Christopher



On 5/5/06, Daniel da Veiga [EMAIL PROTECTED] wrote:

On 5/5/06, Christopher E [EMAIL PROTECTED] wrote:
   mplayer dvd://
   what is this and where do I do this?
  From any console/terminal you just type it...

 OK when I do this, I am able to play DVDs in xine, mplayer, totem!
 mplayer dvd://
 totem dvd://
 xine dvd://


Well, configuration, there's nothing wrong with your machine, you must
understand that you don't point the mplayer or whatever software to
the location of the mounted device or to the files, you specify a
DEVICE file under /dev to be able to play CDs and DVDs. So, in the
configuration of the specific program (that seems right because you
can use the URL dvd://) you set the device (usually /dev/dvd or
/dev/cdrom YMMV) and it access the file (device) directly.

  Well, I don't know much of gnome/had/dbus/automounter etc, but right
  now I would be happy if you were able to use those apps to lauch audio
  and DVDs.

 OK, as mentioned above I can with the command line NOT through open
 using the program its self

Well, I'm at work now, let me get home and take a look at the programs
so I can try and figure out why you can't play. Its probably just
configuration, you may be lucky checking the man pages for the program
you want to use or the info pages, even google.


  Ok, let me gather some more info. When you play it with xine you see
  no errors right? When trying to play it with xmms or mplayer, what you
  get? Does the timer goes as it is playing and no sound, does it
  freezes, it simply do nothing?

 when playing it in cd player (gnomes default) I get the metadata and
 then click play its button changes then it goes back to the play
 button as if there was no music on the cd

Seems a problem with the cd player. Try a command-line app very simple
like dcd (emerge dcd, then dcd -r)


 OK any other questions that would help please ask me :-)

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

--
gentoo-user@gentoo.org mailing list




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mplayer, audio but no video

2005-09-25 Thread Walter Dnes
On Sun, Sep 25, 2005 at 07:14:32AM -0700, Mark Knecht wrote

emerge net-www/mplayerplug-in

and be sure that you have the gtk2 USE flag set.

-- 
Walter Dnes [EMAIL PROTECTED]
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mplayer, audio but no video

2005-09-25 Thread Allan Gottlieb
At Sun, 25 Sep 2005 13:37:08 -0400 Walter Dnes [EMAIL PROTECTED] wrote:

 On Sun, Sep 25, 2005 at 07:14:32AM -0700, Mark Knecht wrote

 emerge net-www/mplayerplug-in

 and be sure that you have the gtk2 USE flag set.

I just tried this and it seems to want xemacs.  Is this correct?  I
already have fsf emacs installed?

thanks,
allan

ajglap ~ # emerge -v --tree --ask emerge net-www/mplayerplug-in

These are the packages that I would merge, in reverse order:

Calculating dependencies ...done!
[ebuild  N] net-www/mplayerplug-in-2.80  +gtk2 170 kB
[ebuild  N]  net-libs/gecko-sdk-1.7.8  +crypt -debug +gnome +ipv6 -java 
-ldap -mozcalendar -mozdevelop -moznocompose -moznoirc -moznomail -moznoxft 
-mozsvg -mozxmlterm -postgres +ssl +truetype -xinerama -xprint 30,193 kB
[ebuild  N] app-xemacs/xemacs-base-1.75  458 kB
[ebuild  N] app-xemacs/emerge-1.09  59 kB
[ebuild  N]  app-editors/xemacs-21.4.15-r3  +X -Xaw3d -athena +berkdb 
-canna -dnd -freewnn +gpm +jpeg -ldap +motif -mule -nas -neXt +png -postgres 
+tiff -xface 10,441 kB

Total size of downloads: 41,322 kB

Do you want me to merge these packages? [Yes/No] no

Quitting.

ajglap ~ #
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mplayer, audio but no video

2005-09-25 Thread Mark Knecht
On 9/25/05, Walter Dnes [EMAIL PROTECTED] wrote:
 On Sun, Sep 25, 2005 at 07:14:32AM -0700, Mark Knecht wrote

 emerge net-www/mplayerplug-in

 and be sure that you have the gtk2 USE flag set.


Actually all of that was in place and working. This page started
working about an hour later. I guess the problem was on their end?

Anyway, it all works now.

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mplayer, audio but no video

2005-09-25 Thread Allan Gottlieb
At Sun, 25 Sep 2005 20:06:00 +0100 Peter Ruskin [EMAIL PROTECTED] wrote:

 On Sunday 25 September 2005 19:25, Allan Gottlieb wrote:
 At Sun, 25 Sep 2005 13:37:08 -0400 Walter Dnes 
 [EMAIL PROTECTED] wrote:
  On Sun, Sep 25, 2005 at 07:14:32AM -0700, Mark Knecht wrote
 
  emerge net-www/mplayerplug-in

 I just tried this and it seems to want xemacs.  Is this correct? 
 I already have fsf emacs installed?

 thanks,
 allan

 ajglap ~ # emerge -v --tree --ask emerge net-www/mplayerplug-in

 You typed emerge twice, so it also wants to emerge 
 app-xemacs/emerge.

Gack.  Sorry and thanks.
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] jack-audio-connection-kit-0.100.0 ??

2005-09-10 Thread Nick Rout
On Fri, 2005-09-09 at 09:04 +0100, Neil Bothwick wrote:
  emerge --digest jack-audio-connection
  
  will build the new digest thing, you no longer need to 
  
  ebuild /long/path/balh.ebuild digest
  
  first.
 
 Neat, when was that added?

dunno, i picked it up from a games ebuild writing howto.

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] jack-audio-connection-kit-0.100.0 ??

2005-09-10 Thread Neil Bothwick
On Sat, 10 Sep 2005 18:11:50 +1200, Nick Rout wrote:

   emerge --digest jack-audio-connection

  Neat, when was that added?
 
 dunno, i picked it up from a games ebuild writing howto.

Good thing you read it then, because it's not in the emerge man page :(


-- 
Neil Bothwick

[ Printed on recycled electrons ]


pgpcsmYpHwunb.pgp
Description: PGP signature


Re: [gentoo-user] jack-audio-connection-kit-0.100.0 ??

2005-09-09 Thread Neil Bothwick
On Fri, 09 Sep 2005 14:03:24 +1200, Nick Rout wrote:

 emerge --digest jack-audio-connection
 
 will build the new digest thing, you no longer need to 
 
 ebuild /long/path/balh.ebuild digest
 
 first.

Neat, when was that added?

 Also remember someone made this ebuild -amd64 for a reason, it may not
 work (or worse it may screw something else). Simply changing -amd64 to
 amd64 or ~amd64 will _not_ fix it, it will merely make it available to
 screw with your system

Is -amd64 in the keywords, or is it simply missing any amd64 entry. It's
quite common for keywords to be missing because the ebuild author hasn't
been able to verify it works on that platform. I quite often add ~amd64 or
~ppc to the keywords (ekeyword is easier than editing the ebuild) and
find it works just fine.

Of course, you should report it as working on Bugzilla if that happens.


-- 
Neil Bothwick

Windows - so intuitive you only need a meg of help files!


pgp1QMiPlpN1u.pgp
Description: PGP signature


Re: [gentoo-user] jack-audio-connection-kit-0.100.0 ??

2005-09-09 Thread Alex
On Friday 09 September 2005 02:03, Nick Rout wrote:
 Not sure what happens if you have more than one overlay.

emerge will choose the last in line (as put in  PORTDIR_OVERLAY) overlay 
containing the ebuild.

 By the way:

 emerge --digest jack-audio-connection

 will build the new digest thing, you no longer need to

 ebuild /long/path/balh.ebuild digest

wow thanx for that :)
-- 
Cheers, Alex.


pgp3DwrmtHlAW.pgp
Description: PGP signature


Re: [gentoo-user] jack-audio-connection-kit-0.100.0 ??

2005-09-08 Thread Christoph Eckert

    I see an ebuild for Jack-0.100.0 but I don't seem to be able to
 build it on my AMD64 machine or on my P4 laptop. I do not see it
 listed in /usr/portage/profiles/package.mask so I don't think it
 should be unbuildable.

on

http://packages.gentoo.org/search/?sstring=jack-audio-connection-kit

it seems that the package is only available for ppc.


Best regards


ce


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] jack-audio-connection-kit-0.100.0 ??

2005-09-08 Thread Mark Knecht
On 9/8/05, Christoph Eckert [EMAIL PROTECTED] wrote:
 
  I see an ebuild for Jack-0.100.0 but I don't seem to be able to
  build it on my AMD64 machine or on my P4 laptop. I do not see it
  listed in /usr/portage/profiles/package.mask so I don't think it
  should be unbuildable.
 
 on
 
 http://packages.gentoo.org/search/?sstring=jack-audio-connection-kit
 
 it seems that the package is only available for ppc.
 
 
 Best regards
 

Well, thanks. How bizarre! I guess I should learn how to write an
ebuild then. Jack is actually up to something like 0.100.5 so this is
getting pretty old at this point.

(15 minutes later...)

I just copied the ebuild to under /usr/local/portage and modified it
to suit me. emerge now finds but it doesn't build as it complains
about 'no maifest'. I also see some bug reports on line about this new
version breaking older Jack apps so maybe I'd better go slow here.

thanks,
Mark



Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] jack-audio-connection-kit-0.100.0 ??

2005-09-08 Thread Neil Bothwick
On Thu, 8 Sep 2005 15:27:05 -0700, Mark Knecht wrote:

 I just copied the ebuild to under /usr/local/portage and modified it
 to suit me. emerge now finds but it doesn't build as it complains
 about 'no maifest'

ebuild /path/to/ebuild digest

Always do this after modifying an ebuild.


-- 
Neil Bothwick

It's only a hobby ... only a hobby ... only a


pgpF9zzA9m1mk.pgp
Description: PGP signature


Re: [gentoo-user] jack-audio-connection-kit-0.100.0 ??

2005-09-08 Thread Mark Knecht
On 9/8/05, Neil Bothwick [EMAIL PROTECTED] wrote:
 On Thu, 8 Sep 2005 15:27:05 -0700, Mark Knecht wrote:
 
  I just copied the ebuild to under /usr/local/portage and modified it
  to suit me. emerge now finds but it doesn't build as it complains
  about 'no maifest'
 
 ebuild /path/to/ebuild digest
 
 Always do this after modifying an ebuild.
 

Neil,
   Is there no difference when the ebuild is personal and held in
/usr/local/portage as opposed to one held by portage proper?

   Also, is it important to ensure absolutely no overlap in names?
Since I just copied the one one in portage but didn't rename it I
wasn't sure I wouldn't do some damage to the database somehow.

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] jack-audio-connection-kit-0.100.0 ??

2005-09-08 Thread Nick Rout

On Thu, 8 Sep 2005 16:03:58 -0700
Mark Knecht wrote:

 On 9/8/05, Neil Bothwick [EMAIL PROTECTED] wrote:

  
  ebuild /path/to/ebuild digest
  
  Always do this after modifying an ebuild.
  
 
 Neil,
Is there no difference when the ebuild is personal and held in
 /usr/local/portage as opposed to one held by portage proper?

no it still needs a manifest and digest files. see below for the
quickest way to generate them. 

 
Also, is it important to ensure absolutely no overlap in names?
 Since I just copied the one one in portage but didn't rename it I
 wasn't sure I wouldn't do some damage to the database somehow.

overlay will beat portage when emerge is figuring out which one to
install. so if the ebuild files are identically named the one in overlay will 
be built.

Not sure what happens if you have more than one overlay.

By the way:

emerge --digest jack-audio-connection

will build the new digest thing, you no longer need to 

ebuild /long/path/balh.ebuild digest

first.

You will make sure you submit your changes to the ebuild to bugs.g.o won't you? 

Also remember someone made this ebuild -amd64 for a reason, it may not
work (or worse it may screw something else). Simply changing -amd64 to
amd64 or ~amd64 will _not_ fix it, it will merely make it available to
screw with your system

 
 Thanks,
 Mark
 
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list