Re: [CinCV] Cinelerra plays mute on pulseaudio

2012-03-23 Thread Miroslav Rovis

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Unwell part of the time.
Lost for understanding the other part. Didn't expect just hours.
Pls. forgive me.
I'm in my middle fifties, this is new to me.

Seee below, if just maybe it is not too late.

On 22/03/12 17:38, Einar Rünkaru wrote:
 Hi

 On Thu, Mar 22, 2012 at 4:04 PM, Miroslav Rovis m.ro...@inet.hr wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 På Wed, 21 Mar 2012 19:47:06 +0100, skrev Miroslav Rovis m.rovis@???:

 To Cinelerra developers that looked into this,
 Einar, and Raffa!

 There's an update.
 Another developer is quite confident that the ball is in your yard,
 dear respected Cinelerra developers.

 They gave up, I see

 I believe you are right. I peeked at audioesound.C, and it looked
 quite simple, less than 200 lines of code. Much less than the ALSA
 output driver.

 I would propose writing a pulseaudio driver, instead of patching
 the old ALSA driver. That would fix the problem in the right place.
 It could be fairly low hanging fruit.


 Write a patch. I am ready to review.
 --
 Herman Robak


 Miroslav, can you do a simple test? Rename your $HOME/.bcast directory
 to something else.
 Then load your media file (not project!) and try to play it. Do you
hear sound?

 If you do not hear sound, post the output of 'aplay -l' and 'aplay -L'
here.

 What type of audio you try to play in Cinelerra?

 Einar
I try to play:
miro@at8-g250-c $ midentify 
call_out_2012.03.16-17.01.50_0XX_S_aac.mp4
ID_AUDIO_ID=0
ID_CLIP_INFO_NAME0=major_brand
ID_CLIP_INFO_VALUE0=mp42
ID_CLIP_INFO_NAME1=minor_version
ID_CLIP_INFO_VALUE1=1
ID_CLIP_INFO_NAME2=compatible_brands
ID_CLIP_INFO_VALUE2=isommp423gp5
ID_CLIP_INFO_NAME3=creation_time
ID_CLIP_INFO_VALUE3=2012-03-16\ 14:55:00
ID_CLIP_INFO_N=4
ID_FILENAME=call_out_2012.03.16-17.01.50_0XX_S_aac.mp4
ID_DEMUXER=lavfpref
ID_AUDIO_FORMAT=MP4A
ID_AUDIO_BITRATE=111592
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_START_TIME=0.00
ID_LENGTH=892.76
ID_SEEKABLE=1
ID_CHAPTERS=0
ID_AUDIO_BITRATE=111592
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_AUDIO_CODEC=ffaac
ID_EXIT=EOF
miro@at8-g250-c $

and here the output after I mv .bcast to .bcast_TMP
Cinelerra presented with vanilla configuration, with tips and all, then
I just closed, issued
echo 0x7fff   /proc/sys/kernel/shmmax and started if again,
opened the file above
and got no sound.
And here the output:

miro@at8-g250-c $ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: M5461 [HDA ULI M5461], device 0: ALC882 Analog [ALC882 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: M5461 [HDA ULI M5461], device 1: ALC882 Digital [ALC882 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
miro@at8-g250-c $ aplay -L
sysdefault:CARD=M5461
HDA ULI M5461, ALC882 Analog
Default Audio Device
front:CARD=M5461,DEV=0
HDA ULI M5461, ALC882 Analog
Front speakers
surround40:CARD=M5461,DEV=0
HDA ULI M5461, ALC882 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=M5461,DEV=0
HDA ULI M5461, ALC882 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=M5461,DEV=0
HDA ULI M5461, ALC882 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=M5461,DEV=0
HDA ULI M5461, ALC882 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=M5461,DEV=0
HDA ULI M5461, ALC882 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=M5461,DEV=0
HDA ULI M5461, ALC882 Digital
IEC958 (S/PDIF) Digital Audio Output
miro@at8-g250-c $


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9sSdgACgkQ5NaGZVDan0q7VgCfTtvWk7G6cU4uzgik+kAREotc
II0An1Pn513uAuv0j61vLRDZtzyMEDn9
=tVPF
-END PGP SIGNATURE-


___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Cinelerra plays mute on pulseaudio

2012-03-23 Thread Miroslav Rovis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 22/03/12 17:38, Einar Rünkaru wrote:
 Hi Miroslav, can you do a simple test? Rename your $HOME/.bcast
 directory to something else. Then load your media file (not
 project!) and try to play it. Do you
hear sound?
 
 If you do not hear sound, post the output of 'aplay -l' and 'aplay
 -L'
here.
With the previous aac file, I don't remember, maybe I issued  'aplay
- -l' and 'aplay -L' after closing Cinelerra...

 What type of audio you try to play in Cinelerra? Einar
Here's news that show how something I lack, to put it mildly, because
in all this time I never rememebered to try and play a different audio
codecs than aac in Cinelerra.

I only now tried to play:

miro@at8-g250-c $ midentify
call_out_2012.03.16-17.01.50_0989001370_S.wav
ID_AUDIO_ID=0
ID_FILENAME=call_out_2012.03.16-17.01.50_0989001370_S.wav
ID_DEMUXER=audio
ID_AUDIO_FORMAT=1
ID_AUDIO_BITRATE=1536000
ID_AUDIO_RATE=0
ID_AUDIO_NCH=2
ID_START_TIME=0.00
ID_LENGTH=892.00
ID_SEEKABLE=1
ID_CHAPTERS=0
ID_AUDIO_BITRATE=1536000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_AUDIO_CODEC=pcm
ID_EXIT=EOF
miro@at8-g250-c $

and it played just fine.
It is very likely it would have played just fine a week ago as well.
Wish I had elephants ears so I could cover my face... This is really a
shame.
What do I do with my honesty, sincerity and good intentions, and
little intelligence, when I can't remember simple logical things to do?
Miro
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9sUhYACgkQ5NaGZVDan0q8egCgtEd6SCHdG+4gzYO0u+xBbRh1
j5EAniGSE8pVp+AXGru0Ehy0j2GOpDWz
=f8lf
-END PGP SIGNATURE-

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Cinelerra plays mute on pulseaudio

2012-03-23 Thread Miroslav Rovis
On 23/03/12 11:51, Einar Rünkaru wrote:
 On Fri, Mar 23, 2012 at 12:36 PM, Miroslav Rovis m.ro...@inet.hr wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 22/03/12 17:38, Einar Rünkaru wrote:
 Hi Miroslav, can you do a simple test? Rename your $HOME/.bcast
 directory to something else. Then load your media file (not
 project!) and try to play it. Do you
 hear sound?
 If you do not hear sound, post the output of 'aplay -l' and 'aplay
 -L'
 here.
 With the previous aac file, I don't remember, maybe I issued  'aplay
 - -l' and 'aplay -L' after closing Cinelerra...
 Before or after is not important. These commands show configured audio 
 devices.

 What type of audio you try to play in Cinelerra? Einar
 Here's news that show how something I lack, to put it mildly, because
 in all this time I never rememebered to try and play a different audio
 codecs than aac in Cinelerra.

 I only now tried to play:

 miro@at8-g250-c $ midentify
 call_out_2012.03.16-17.01.50_0989001370_S.wav
 ID_AUDIO_ID=0
 ID_FILENAME=call_out_2012.03.16-17.01.50_0989001370_S.wav
 ID_DEMUXER=audio
 ID_AUDIO_FORMAT=1
 ID_AUDIO_BITRATE=1536000
 ID_AUDIO_RATE=0
 ID_AUDIO_NCH=2
 ID_START_TIME=0.00
 ID_LENGTH=892.00
 ID_SEEKABLE=1
 ID_CHAPTERS=0
 ID_AUDIO_BITRATE=1536000
 ID_AUDIO_RATE=48000
 ID_AUDIO_NCH=2
 ID_AUDIO_CODEC=pcm
 ID_EXIT=EOF
 miro@at8-g250-c $

 and it played just fine.
 It is very likely it would have played just fine a week ago as well.
 Wish I had elephants ears so I could cover my face... This is really a
 shame.
 What do I do with my honesty, sincerity and good intentions, and
 little intelligence, when I can't remember simple logical things to do?
 So Cinelerra failed silently to decode the audio. It happens. There is
 quite a few media formats that Cinelerra can decode. And it not always
 gives error messages while it fails.

 Seems this problem is solved. Rename your .bcast back - this contains
 all settings of Cinelerra. There is no more settings anywhere else.

 Einar
 (I am in mid-fifties too)

Yes, but it's you who remembered to go and see what kind a file it was
that I was trying to play.
And you spent a fraction of my time with this issue...
And I waked and slept with this all these days...
And I was completely convinced that I wasn't able to do the editing that
was urgent to me back than because of this... while it was there for the
doing all that time!
Merciful God!
But I'm not crushed with this. I can laugh at it, because it is also
very funny!
Anyway, thanks for Cinelerra to all you of guys!
I hope I will be useful truly to your project which I very much like and
respect, some other time.
Miroslav Rovis
(And by the way, pulseaudio is lso beginning to mostly work fine
generally on my systems.)


___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Cinelerra plays mute on pulseaudio

2012-03-23 Thread Herman Robak

På Thu, 22 Mar 2012 17:38:56 +0100, skrev Einar Rünkaru eina...@smail.ee:


I would propose writing a pulseaudio driver, instead of patching
the old ALSA driver. That would fix the problem in the right place.
It could be fairly low hanging fruit.


Write a patch. I am ready to review.


Will do, later.  It just moved further down on my TODO list,
once pulseaudio turned out to be a non-issue.

It will be a simple side-task to adding Jack support,
which I also would like to do.  Some time.

--
Herman Robak

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Cinelerra plays mute on pulseaudio

2012-03-22 Thread Herman Robak

På Wed, 21 Mar 2012 19:47:06 +0100, skrev Miroslav Rovis m.ro...@inet.hr:


To Cinelerra developers that looked into this,
Einar, and Raffa!

There's an update.
Another developer is quite confident that the ball is in your yard,
dear respected Cinelerra developers.


I believe you are right.  I peeked at audioesound.C, and it looked
quite simple, less than 200 lines of code.  Much less than the ALSA
output driver.

I would propose writing a pulseaudio driver, instead of patching
the old ALSA driver.  That would fix the problem in the right place.
It could be fairly low hanging fruit.

--
Herman Robak

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Cinelerra plays mute on pulseaudio

2012-03-22 Thread Miroslav Rovis

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 På Wed, 21 Mar 2012 19:47:06 +0100, skrev Miroslav Rovis m.rovis@???:

  To Cinelerra developers that looked into this,
  Einar, and Raffa!
 
  There's an update.
  Another developer is quite confident that the ball is in your yard,
  dear respected Cinelerra developers.

 I believe you are right. I peeked at audioesound.C, and it looked
 quite simple, less than 200 lines of code. Much less than the ALSA
 output driver.

 I would propose writing a pulseaudio driver, instead of patching
 the old ALSA driver. That would fix the problem in the right place.
 It could be fairly low hanging fruit.

 --
 Herman Robak

Thanks, chief! :-)
And the sooner that is done, the happier I'll be to have contributed to
that little cog in Cinelerra wheels with my requests!
Peace and joy to everybody!
Miroslav Rovis
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9rMWkACgkQ5NaGZVDan0p8JACgrwqSZvos/iumg0hA/Alqru+g
zBgAn13jdPYnGILwC5iS1LonLb1+OojK
=tAJp
-END PGP SIGNATURE-


___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Cinelerra plays mute on pulseaudio

2012-03-22 Thread Einar Rünkaru
Hi

On Thu, Mar 22, 2012 at 4:04 PM, Miroslav Rovis m.ro...@inet.hr wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 På Wed, 21 Mar 2012 19:47:06 +0100, skrev Miroslav Rovis m.rovis@???:

  To Cinelerra developers that looked into this,
  Einar, and Raffa!
 
  There's an update.
  Another developer is quite confident that the ball is in your yard,
  dear respected Cinelerra developers.

They gave up, I see

 I believe you are right. I peeked at audioesound.C, and it looked
 quite simple, less than 200 lines of code. Much less than the ALSA
 output driver.

 I would propose writing a pulseaudio driver, instead of patching
 the old ALSA driver. That would fix the problem in the right place.
 It could be fairly low hanging fruit.


Write a patch. I am ready to review.
 --
 Herman Robak


Miroslav, can you do a simple test? Rename your $HOME/.bcast directory
to something else.
Then load your media file (not project!) and try to play it. Do you hear sound?

If you do not hear sound, post the output of 'aplay -l' and 'aplay -L' here.

What type of audio you try to play in Cinelerra?

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Cinelerra plays mute on pulseaudio

2012-03-21 Thread Miroslav Rovis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

To Cinelerra developers that looked into this,
Einar, and Raffa!

There's an update.
Another developer is quite confident that the ball is in your yard,
dear respected Cinelerra developers.

I'll quote the developer Clemens Ladisch first:

 Either cinelerra does something funny with mixer controls, or it 
 accesses the ALSA API in some way that does not work with the PA 
 plugin (but then it should show some error message).

then I'll point you to the context of the diagnose above:
http://sourceforge.net/mailarchive/message.php?msg_id=29017497

I'll point to the situation video:
Cinelerra mute on PulseAudio on Alsa-plugin, on Gentoo: chickenizing
downtime!
http://www.youtube.com/watch?v=Lh9ZHpjt680

...and, I'll repeat the plea: let's solve this issue!
It seems to lie with you.
I can follow your instructions with the utmost nicety of priority,
close to 0 from among 19 levels...!
Soon if possible. I can't hold for more days after so much downtime.
The downtime being not just for Cinelerra playing mute, but for the
difficult novelties of PulseAudio generally, of course...

Miro

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9qIikACgkQ5NaGZVDan0p8SwCgj9hzZG2Nz2Gyk42q2EjwVlej
0tgAn2Do3QiMPsnSaXVYr6EDdWbf7gPD
=eBOT
-END PGP SIGNATURE-

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Cinelerra plays mute on pulseaudio

2012-03-19 Thread Einar Rünkaru
Hi

On Sun, Mar 18, 2012 at 8:27 PM, Miroslav Rovis m.ro...@inet.hr wrote:
 Hi everyone!
 I am in doubt whether to write to this list, or to pulseaudio list.
 But I thought there might be either some specific workaround that we
 hopefully will get to, or plain explanations that will later be useful
 to other Cinelerra users, or even maybe some bugs still there in
 Cinelerra, just maybe...
 So I think this is the place.
 My question will be: how to get Cinelerra audio playback to work, and
 here follows the situation.

 PulseAudio installed and working (but not for Cinelerra).

Can you tell us what audio device is configured in Cinelerra
(Preferences-Playback)? What is the audio driver, device, bits?

You may start Cinelerra from terminal - some error messages are
printed to terminal.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Cinelerra plays mute on pulseaudio

2012-03-19 Thread Einar Rünkaru
On Mon, Mar 19, 2012 at 7:05 PM, Miroslav Rovis m.ro...@inet.hr wrote:


 On 19/03/12 17:34, Einar Rünkaru wrote:
 Hi


 Can you tell us what audio device is configured in Cinelerra
 (Preferences-Playback)? What is the audio driver, device, bits?
 Here:
 Cinelerra program window  Settings  Preferences  Playback:

 Audio out
 Playback buffer size: 131072
 Audio offset(sec): 0.
 (checked) View follows playback
 (checked) Disable hardware synchronization
 (NOT checked) Audio playback in real time priority (root only)

 Audio Driver:
 ALSA

 Device: default

 Bits: 16 Bit Linear

 (checked) Stop playback locks up.

Try to lower buffer size to 4096 (minimum) and uncheck 'Stop playback locks up'

 You may start Cinelerra from terminal - some error messages are
 printed to terminal.
 I always start Cinelerra from terminal.

So there were no error messages from cinelerra?

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Cinelerra plays mute on pulseaudio

2012-03-19 Thread Raffaella Traniello

Miroslav,

you can try setting the Audio driver to ESound, port 7007.

Ciao!
Raffaella

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Cinelerra plays mute on pulseaudio

2012-03-19 Thread Miroslav Rovis

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Miroslav,

 you can try setting the Audio driver to ESound, port 7007.

 Ciao!
 Raffaella


That (yes, exactly that) makes Cinelerra to crash on my systme. I tried it.
I could try it again though... if needed.
M.R.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9ndRwACgkQ5NaGZVDan0qAWgCfWK2B3NKEDUZLoRszPcPy1sSV
Ue0AoKqIa2OTEVwwvPZLiaCTUZ0p6Pcr
=LeSK
-END PGP SIGNATURE-


___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Cinelerra plays mute on pulseaudio

2012-03-19 Thread Miroslav Rovis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Miroslav,
 
 you can try setting the Audio driver to ESound, port 7007.
 
 Ciao! Raffaella
 


 Miroslav,
 
 you can try setting the Audio driver to ESound, port 7007.
 
 Ciao! Raffaella
 
 
 That (yes, exactly that) makes Cinelerra to crash on my systme. I
tried it.
 I could try it again though... if needed. M.R.
 
 

Sure enough. Only a few seconds (no sound during those, but there
isn't any in the first seconds of the file in the Cinelerra, TBH), and
crashes.

Raffa, it's your settings, from your site, that I got in there ;-)
(the settings that just worked, otherwise, prior to this pulseaudio
craze that got lots of people chickenized... :-)))

I have a hunch it's the clever people on PulseAudio list (Colin the
Developer replied there, and I am waiting on more from him...) that
have the secrets to solution for this issue...

http://lists.freedesktop.org/archives/pulseaudio-discuss/2012-March/013020.html

M.R.


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9nd5QACgkQ5NaGZVDan0of3gCeJECJRyMxFZjDOh5fV1C9ai3k
SPYAn0fca4OW8PUo/CPkrO5MbqJBCHxb
=xVeP
-END PGP SIGNATURE-

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Cinelerra plays mute on pulseaudio

2012-03-19 Thread Einar Rünkaru
On Mon, Mar 19, 2012 at 8:33 PM, Miroslav Rovis m.ro...@inet.hr wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 19/03/12 18:43, Einar Rünkaru wrote:

 (checked) Stop playback locks up.

 Try to lower buffer size to 4096 (minimum) and uncheck 'Stop playback
 locks up'


 I'm sorry, somehow I overlooked your line above. Tried it now. No luck!

 Just lots of these:
 [...snip...]
 AudioALSA::write_buffer underrun at sample 202210
 AudioALSA::write_buffer underrun at sample 207193
 AudioALSA::write_buffer underrun at sample 208656
 [...snip...]

 and no sound!
 M.R.

This proves that Cinelerra sends something to ALSA.

I am out of ideas.

My current system has ALSA default routed to pulse and I never get
underruns. My previous system got underruns - I am not sure how
pulseaudio was there set up. Everything just worked.

You have to figure out wether the ALSA default is routed to pulse or
not. So check your ALSA configuration. I can't help - I never digged
there. For me everything just worked. Almost.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Cinelerra plays mute on pulseaudio

2012-03-19 Thread Miroslav Rovis

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/03/12 20:44, Einar Rünkaru wrote:
 On Mon, Mar 19, 2012 at 8:33 PM, Miroslav Rovis m.ro...@inet.hr wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 19/03/12 18:43, Einar Rünkaru wrote:

 (checked) Stop playback locks up.

 Try to lower buffer size to 4096 (minimum) and uncheck 'Stop playback
 locks up'


 I'm sorry, somehow I overlooked your line above. Tried it now. No luck!

 Just lots of these:
 [...snip...]
 AudioALSA::write_buffer underrun at sample 202210
 AudioALSA::write_buffer underrun at sample 207193
 AudioALSA::write_buffer underrun at sample 208656
 [...snip...]

 and no sound!
 M.R.

 This proves that Cinelerra sends something to ALSA.

 I am out of ideas.

 My current system has ALSA default routed to pulse and I never get
 underruns. My previous system got underruns - I am not sure how
 pulseaudio was there set up. Everything just worked.

 You have to figure out wether the ALSA default is routed to pulse or
 not. So check your ALSA configuration. I can't help - I never digged
 there. For me everything just worked. Almost.

 Einar
Thank you for you efforts.
This is an ugly hurdle for me.
PulseAudio needs some understanding of programming.
It is rather complicated.
Since I cannot go on without it now, I'll have to sit on their pages for
lots of my time ahead starting ... soon.
Starting soon. As soon as I get over the disappontment that this it not
a small hurdle as I hoped it might be...

Thanks again, to you and to Raffa.

I'll let the list know of any developments concerning this issue!

Miroslav Rovis

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9nku8ACgkQ5NaGZVDan0oqGwCgrLWHJZho5iRu5XCPmM6x7Y9q
GVgAniO1nEDvgyPUAtWfiiHo4eVY/Eyd
=vgA4
-END PGP SIGNATURE-


___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCV] Cinelerra plays mute on pulseaudio

2012-03-18 Thread Miroslav Rovis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi everyone!
I am in doubt whether to write to this list, or to pulseaudio list.
But I thought there might be either some specific workaround that we
hopefully will get to, or plain explanations that will later be useful
to other Cinelerra users, or even maybe some bugs still there in
Cinelerra, just maybe...
So I think this is the place.
My question will be: how to get Cinelerra audio playback to work, and
here follows the situation.

PulseAudio installed and working (but not for Cinelerra).
Examples of (mostly working fine: vlc and mplayer) follow.

I thought hard whether to pastebin the pacmd list-sink-inputs and
list-source-outputs, and I decided they're just within limits for a mail
text attachment. I hope readers won't find them excessive, but useful.

### vlc ###

Pls. view:
pulseaudio_vlc_OK

I also fired up the pavucontrol GUI, during which I noticed on my konsole
in the output:
DEBUG: Ignoring sink-input due to it being designated as an event and
thus handled by the Event widget
But I am unsure if that helps diagnose the problem, pls. see later that
the same message also appears during
cinelerramutedplayback in question...

In the pavucontrol GUI, the tabs:
Playback
and Output Devices

have a nicepulsating volume indicatoraccording-to-current-playback-volume.
Because all is well with vlc and pulseaudio interaction.


### mplayer ###
===
Pls. view:
pulseaudio_mplayer_OK

I fired up the pavucontrol GUI again (or just left it running), during
which I noticed on my konsole
in the output:
Even though I noticed
** (pavucontrol:16077): DEBUG: Failed to initialize device manager
extension: No such extension
I don't think that mattered much, because the playback of different
files at first was just fine.
That error, just as the previous one above, the one during vlc playback,
show during cinelerra playback at different times as well.
The mplayer playback of different files was, at first fine, I was
saying. Because I did notice later, but after cinelerra muted playback,
that some merely audio files (no video), didn't play, but instead got
stuck, like this:

Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 53.60.100 (external)
AUDIO: 48000 Hz, 2 ch, s16le, 111.6 kbit/7.27% (ratio: 13949-192000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4
Audio))
==
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   0.0 (00.0) of 892.8 (14:52.7) ??,?%
Audio device got stuck!
A:   0.2 (00.1) of 892.8 (14:52.7)  0.3%
Audio device got stuck!
A:   0.3 (00.3) of 892.8 (14:52.7)  0.3%
Audio device got stuck!
A:   0.5 (00.5) of 892.8 (14:52.7)  0.4%
Audio device got stuck!
A:   0.7 (00.6) of 892.8 (14:52.7)  0.4%
Audio device got stuck!

But I was able to get it in a while, and I have a hunch that it was only
temporarily confused by the state induced by cinelerra muted playback.


### cinelerra ###
===
Pls. view:
pulseaudio_cinelerra_BAD

Sure enough, I fired up the pavucontrol GUI just the same, and I don't
know if  this error is much indicative of anything:

** (pavucontrol:17738): DEBUG: Ignoring sink-input due to it being
designated as an event and thus handled by the Event widget

or the other:
** (pavucontrol:16077): DEBUG: Failed to initialize device manager
extension: No such extension

Because, they both showed with vlc and mplayer, while all was fine with
their playback.

In the pavucontrol GUI, the tabs:
Playback
and Output Devices

there is no pulsating volume indicator whatsoever.

So. where do I go from here?

But how do I get to hear what cinelerra is playing?

Any advice or insight of advanced and experienced users and esp.
Cinelerra and all Open Source still rather free (even with all the
*lesser* licences) wizards and saviors, will be appreciated!

Miroslav Rovis
miro.ro...@gmail.com
m.ro...@inet.hr
01 660 2633
091 266 0202
http://www.CroatiaFidelis.hr
http://www.exDeo.com
http://groups.google.com/group/croatian-news/
http://www.youtube.com/user/miroR2
nije moj profil, ali do siečnja 2012., a i kasnije, tamo postavljah:
http://www.youtube.com/user/prosvjednikkrcmarek
Ima nešto i ovdje:
http://vimeo.com/user9621785



-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9mKREACgkQ5NaGZVDan0p5kwCdEiipWl4OrFx2AYtaEafh1ENG
1l8An3TOF6IS56s3xmY/1P7fyopFy0G8
=bI3o
-END PGP SIGNATURE-
 $ pacmd
Welcome to PulseAudio! Use help for usage information.
 list-sink-inputs
1 sink input(s) available.
index: 11
driver: protocol-native.c
flags: VARIABLE_RATE START_CORKED 
state: RUNNING
sink: 0 alsa_output.pci-_00_1d.0.analog-stereo
volume: 0:  67% 1:  67%
0: -10.57 dB 1: -10.57 dB
balance 0.00
muted: no