On Wed, Dec 26, 2012 at 6:01 AM, j-b-m <[email protected]> wrote: > Hi, > > As reported in Kdenlive issue 2841 (1), there is a problem with alsa devices > in the avformat producer. > > I can reproduce the problem in shotcut, so the problem is probably in MLT but > I am not sure where. > > The problem happens when you want to use another device than "default". > > Let's say for example you want to use your first alsa device, the resource > should be (according to the FFmpeg doc) "hw:0,0" instead of "default" > > In Kdenlive / shotcut, if you set the ALSA device to "hw:0,0", you can play / > record fine. However, if you stop (for example play another clip) and try to > open the same device again, you get the following error message: > > > *** > > parse_url: protocol=alsa resource=hw:0,0 > [alsa @ 0x149b400] cannot open audio device hw:0,0 (Device or resource busy) > ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM alsa:hw:0,0 > [alsa @ 0x149b400] cannot open audio device alsa:hw:0,0 (No such file or > directory) > producer_avformat_close > > *** > > There is no way to capture again after that unless you close the application. > The problem does not appear when using "default" as ALSA device.
I am postponing work on functional-related bugs to give attention to the GLSL contributions. I will flag this mail for later followup. > I am not sure if the problem is in FFmpeg, or if it is caused be the resource > having a ":" inside it that confuses MLT or something else. > > So if you have an idea... > > Regards > jb > > (1) http://www.kdenlive.org/mantis/view.php?id=2841 -- +-DRD-+ ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Mlt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mlt-devel
