Software :: Which Device To Use For Ffmpeg Sound Input?

Dec 27, 2010

I am trying to record a video clip, using my webcam, but sound synchronisation is always poor. I have used Cheese, UCView and VLC. One possible cause is explained in the reply to this question, but I am not an expert. In desperation, I now want to try ffmpeg. The ffmpeg documentation gives the following example

Code:
ffmpeg -f oss -i /dev/dsp -f video4linux2 -i /dev/video0 /tmp/out.mpg
I want to use alsa, not oss, but need to know the alsa input device name (/dev/dsp is created by loading the oss modules). By running alsamixer, I have nutted out that /dev/snd/controlC0 refers to the HDA Intel sound card, ~controlC1 is my USB webcam and ~controlC29 is the microphone built in to my notebook, but these are control devices, not inputs.

[Code]...

However, that does not explain which device is the mic built in to the laptop: by my calculation, it should be pcmC0D1c, but there is no such device. In /proc/asound/card0/pcm0c/ I have directories for sub0 and sub1, which I am guessing relate to the mic jack and inbuilt mic respectively. Do two physical mics share one logical device somehow? I am starting to really confuse myself, if you haven't guessed that already.

I think my question boils down to "How do I record a video clip on Fedora 14 using ffmpeg?", but I am specifically interested in knowing how to specify each of the alsa sound input devices for my system.

View 8 Replies


ADVERTISEMENT

Fedora :: Which Device To Use For Ffmpeg Sound Input?

Dec 27, 2010

I am trying to record a video clip, using my webcam, but sound synchronisation is always poor. I have used Cheese, UCView and VLC. One possible cause is explained in the reply to this question, but I am not an expert. In desperation, I now want to try ffmpeg. The ffmpeg documentation gives the following example

Code:
ffmpeg -f oss -i /dev/dsp -f video4linux2 -i /dev/video0 /tmp/out.mpg
My system has no /dev/dsp, but does have /dev/snd with these files
Code:
$ ls /dev/snd

[Code]...

View 11 Replies View Related

Ubuntu Multimedia :: How To Add Device For Sound Input

May 2, 2011

I delete input device. How to fox it? All the sound is working only microphone problem.

View 2 Replies View Related

Fedora Hardware :: Full Speed USB MSC Device Detected As Input Device?

Apr 7, 2011

I am working on an embedded system, which is an USB MSC device that supports some vendor specific scsi commands. I am using FC10 laptop as USB host for testing, and it runs some small apps based on sg3. All has been well for ~ a week. The FC10 laptop is able to communicate with the device and retrieve data. Suddenly, starting from today, the laptop is not able to properly detect the device. When plugged-in, the MSC device is detected as input device (I thought). This is observed from "dmesg" output and changes in "/dev/input/".The device under development is running at full speed. When I connect to winXP, no problem. A windows file explorer pops up, showing the content of the drive.Also, the FC10 has no problem with other USB flash drive (high speed).

View 1 Replies View Related

Ubuntu :: Sound: Mic Doesn't Work - Audio Input Level Graphically Shown In Sound Preferences Shows No Fluctuations In Sound

Aug 3, 2010

I was just using the mic and watched it stop working suddenly. I was in the middle of a skype test call when the graphical mixer level died down to zero in the middle of the call. When the test call was played back, the first part sounded fine then the sound got lower until it became inaudible. Since then I can't get any sound from my mic in skype.

Also, the audio input level graphically shown in Sound Preferences shows no fluctuations in sound as it used to before. The input device is enabled. I tried using Sound Recorder to record some sound clips and that worked fine. So the mic is working but Sound Preferences and Skype seem to have the mic level really low. I'm not sure what else to think considering it was working perfectly a few minutes ago. I've tried restarting, but that didn't fix it either.

View 4 Replies View Related

Ubuntu Multimedia :: Record Microphone Input Using Ffmpeg / Alsa Always Receive Error

Dec 20, 2010

I am attempting to record my microphone input using ffmpeg / alsa but always receive the following error:

[code]...

Using arecord works perfectly with hw:0,0. I had also tried to use /dev/snd/hwC0D0 as input but I receive an error from alsa saying that it doesn't exist (despite it existing and having adequate permissions). I know absolutely nothing about hardware but am comfortable around the command line

View 2 Replies View Related

Ubuntu Multimedia :: FFMPEG AAC Sound Misplaced

Mar 20, 2011

I am converting a lot of videos through FFMPEG using X264 and AAC as the codecs. Some videos have mono sound, some have 2 channels, and some have 5.1. I compiled FFMPEG from source so the codecs are installed correctly but I keep getting an error with 5.1 sound. After the conversion the video plays the sound that should come from the center speak through the right. I tried libfaac and the experimental aac codec inside FFMPEG and both give me the same error.

View 9 Replies View Related

General :: Extracting Sound Clip From Video Using Ffmpeg?

Nov 10, 2010

Code:
ffmpeg -i Mumbai.Meri.Jaan.2008.1CD.XviD.AC3-5.1.Esub.By.Deejam.avi -ss 8170 -t 302 bambai-meri-jaan.mp3
FFmpeg version git-1dbd813, Copyright (c) 2000-2010 the FFmpeg developers
built on Oct 1 2010 19:28:12 with gcc 4.4.3
configuration: '--enable-avfilter' '--enable-avfilter-lavf' '--enable-vdpau' '--enable-bzlib' '--enable-

[Code].....

Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height

View 5 Replies View Related

Slackware :: VirtualBox - Windowsxp Guest - No Sound - Unknown Audio Device - In The Windows Device Manager

Mar 11, 2010

For those that use Virtualbox on their slackware host and have a windows (xp) guest running. I have tried various settings for sound (Alsa, PulseAudio), the AC97 drivers are installed in the Windows xp guest os, but there is no sound and there is an unknown audio device (in the windows device manager). If I remove the AC97 drivers and use the soundblaster16 drivers in the Vbox settings there is no unknown sound device, but there's still no sound. why I can't get sound working?

View 13 Replies View Related

Fedora :: Disable Input Device For X?

Feb 16, 2010

I have a Kore Controller from Native Instruments [URL] using it as a sound card on Fedora 12. Its input knobs are supported by Linux, too, but they are pretty useless for me.It came out that these input knobs send mouse movements from time to time, letting my mouse pointer jumping to the upper left corner of the screen.

So I want to disable the knobs, i.e. I want X to not interpret these "knob actions" as mouse movements. What is the best way to achive this? Can I disable it somewhere in HAL configuration or do I have to modify xorg.conf? And how do I do this?Simply plugging out the Kore Controller is not an option for me because I use it as sound card.

View 8 Replies View Related

General :: USB Midi Input Device?

Jul 18, 2010

I just bought an M-Audio Keystation 49e off of craigslist and I'm at a bit of a loss on where to start to use it as an input device for muse or rosegarden.

Distro: Debian Lenny
Kernel: 2.6.26-2-686
Laptop: Compaq V5305WM

Everything seems setup, but I'm at a loss on how to use it in the applications. It doesn't have any sound synthesis abilities on the keyboard, it's just an input device. Without the keyboard I usually go this route:

jackd -R -d alsa &
timidity -Oj -iA &
rosegarden

And midi events output sounds and all that jazz. I'm wanting to input notes / record from the keyboard. But still output all sounds in the aforementioned manner. If I could get those to happen while I record that would help a bunch. Maybe it's just too late in the day for me to wrap my brain around it at the moment.

[Code]...

View 7 Replies View Related

General :: How To Create Dummy Input Device

Mar 19, 2009

Long story short - on my laptop, touch pad is recognised as PS/2 mouse. Everything works (moving, clicking, dragging, vertical scroll). But I often accidental click the pad while typing.Synaptic driver recognises it as ALPS glide point it seems (synclient -m 1 gives me back only x,y difference for the gestures, but X,Y coordinates are always 0,0) - so then I get everything right including disabling mouse on keyboard input - but scrolling doesn't work So I came up with 2 possible ideas - which I don't know how to do/test:1. Perhaps there is a way to disable mouse input while typing without synaptics drivers?2. Create a dummy input device (mouse), and tie synaptics driver to it. Add another input device in xorg.conf to point to the real touch pad as PS/2. And make the synaptics disable "real mouse" by enabling GuestMouseOff option.

View 1 Replies View Related

Fedora :: Fto Remember Audio Input Device?

Apr 11, 2010

I need to set the default input device to be the microphone on my webcam for when I skype, but it seems to keep resetting itself, so I keep going in and changing it.

I am right clicking the volume icon and going into Sound Prefs -> Input, and selecting the camera.

How do I stop it from forgetting this and resetting it?

View 4 Replies View Related

Debian :: Hardcode Device Input Using Udev?

Jun 7, 2011

My touchscreen "LG Display LGD-MultiTouch" will be recognized sometimes as /dev/input/event0 and sometimes as /dev/input/event3. How to hardcode /dev/input/event0 using udev and xorg.conf?

Code:
# cat /proc/bus/input/devices
I: Bus=0003 Vendor=1fd2 Product=0064 Version=0100
N: Name="LG Display LGD-MultiTouch"
P: Phys=usb-0000:00:1d.7-4.1/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4.1/1-4.1:1.0/input/input0
U: Uniq=
H: Handlers=mouse0 event0
B: EV=1b
B: KEY=403 0 30000 0 0 0 0 0 0 0 0
B: ABS=700 3f
B: MSC=10

# udevadm info --query=all --path=/devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4.1/1-4.1:1.0/input/input0
P: /devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4.1/1-4.1:1.0/input/input0
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4.1/1-4.1:1.0/input/input0
E: PRODUCT=3/1fd2/64/100
E: NAME="LG Display LGD-MultiTouch"
E: PHYS="usb-0000:00:1d.7-4.1/input0"
E: UNIQ=""
E: EV==1b
E: KEY==403 0 30000 0 0 0 0 0 0 0 0
E: ABS==700 3f
E: MSC==10
E: MODALIAS=input:b0003v1FD2p0064e0100-e0,1,3,4,k110,111,140,141,14A,ra0,1,2,3,4,5,28,29,2A,m4,lsfw
E: SUBSYSTEM=input

View 3 Replies View Related

Debian Configuration :: Permanently Disable The Input-device

Jul 31, 2011

my thinkpad Edge 11 has some problems with the touchpad and the trackpoint, so i want to permanently disable the touchpad, but not the TrackPoint. Both are PS2 devices.

/dev/input/mouse0 --> TouchPad
/dev/input/mouse1 --> TrackPoint

How can i disable the device? In X it does not work with gpointing-device-settings

View 2 Replies View Related

General :: How To Tell Xorg To Reload Input Device Module

May 14, 2010

When X.org boots up, Synaptics touchpad works well. But when I remove the module it falls back to /dev/input/mice and don't use normal driver even when touchpad is available again.

Xorg.0.log:
...
(II) XINPUT: Adding extended input device "Synaptics Touchpad" (type: TOUCHPAD)
(--) Synaptics Touchpad: touchpad found
# { rmmod psmouse && echo mem > /sys/power/state && modprobe psmouse; }
(WW) : No Device specified, looking for one...
(II) : Setting Device option to "/dev/input/mice"
...

How to tell X.org to try it's InputDevice again (without restarting X server)? rmmod psmouse is needed to prevent crashing of Acer Extensa 5220 when resuming from suspend-to-ram. Found answer myself: Doing xinput set-int-prop "Synaptics Touchpad" "Device Enabled" 8 1 after reloading the kernel module reloads touchpad. Now suspend-to-ram works OK.

View 1 Replies View Related

Ubuntu :: Disable Input Device - AutoAddDecices=True

Jun 10, 2010

I have installed Lynx and want to use two X servers at the same time. Each server has its own ServerLayout section in xorg.cong. The first ServerLayout Section has AutoAddDevices enabled, so that new input devices are added automatically. The second ServerLayout has AutoAddDevices disabled, and one InputDecice pointing to /dev/input/mouse3. That way, this mouse is the only input decive affecting the second X instance.

Unfortunately, this mouse is also controlling the first server (due to AutoAddDecives). Can anyone tell me how to disable this? I want every input device to be added to the first server, except this mouse. In earlier versions of ubuntu, I used a hal rule to make hal ignore this mouse. So it was not added to the first server. Now that hal is not used by lynx anymore, I don't know how to do this. I have already read some things about udev and the xorg.conf.d folder.

View 1 Replies View Related

Ubuntu Multimedia :: Auto-select USB Mic As Input Device?

Jul 6, 2010

I use a USB webcam with a built in microphone. It works fine, but every time I plug it in I have to go to sound properties and select it as the input device. There are no other input devices present on my system. Since it's the only one there, is there any way to get it to automatically select when I plug it in? If not, I think that would be good functionality to add. Does anyone know who or what team to contact about that?

View 3 Replies View Related

Ubuntu Multimedia :: No Audio Input Device Can Be Found?

Feb 8, 2011

No audio input device can be found in sound preference>input but in sound preference>hardware>it shows the input webcam recorder device.

When I use

Code:
alsamixer

onto terminal it shows this

and also i checked cable device and everything. And it was working till I last hour. I rebooted computer then there's some problem, I haven't change anything before or after rebooting.

View 3 Replies View Related

Ubuntu Multimedia :: Input But No Output On Firewire Device?

Jun 11, 2011

I'm using FFADO on JACK in order to use my firewire device (M-Audio Profire 610) and I seem to have the opposite issue as others who have similar problems. Everything starts up fine, and I can record audio into Ardour using my inputs, but I can't get any output from any of my 8 line outs.

I've checked the connections using QjackCtl, and I tried to route audio from another program (Audacious) but I can't seem to pull audio out of the device (or the computer won't send my device audio?).

View 1 Replies View Related

Ubuntu Multimedia :: No Input Device Present - Maverik 10.10

Jul 11, 2011

I can't use my line-in/microphone jack. In system-management-sound input tab there is no input device listed, and the input controls are grayed-out. sudo lshw -C sound produced:

description: Audio device
product: N10/ICH 7 Family High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b

[Code]....

View 1 Replies View Related

Ubuntu Multimedia :: No Sound Output But Device Shows Up In Sound Prefs?

May 8, 2011

I have a fresh install of Natty and i'm having some issues getting sound to work. My laptop has a built in sound card which works just fine. However, i also have a usb 5.1 sound card which isn't working at all. Both devices show up in 'Sound Preferences' but when i select the 5.1 device as the output device sound doesnt work. I ran the alsa-info.sh script and the output can be found here.

View 4 Replies View Related

Debian Configuration :: WARNING: Could Not Find Hdaps Input Device

Jun 22, 2011

I am using Debian testing i386. Just upgraded to 2.6.39-2-686-pae. After reboot, and ever since, I am getting warning: WARNING: Could not find hdaps input device (No such file or directory). You may be using an incompatible version of the hdaps module. Falling back to reading the position from sysfs (uses more power). Use '-y' to silence this warning.

View 1 Replies View Related

OpenSUSE Hardware :: Bluetooth Device Does Not Support Input Service

Jan 6, 2011

I have a bluetooth usb dongle which I cannot get to work. I start kbluetooth. The icon in system tray is blue (not grey).
Right click on it -> Device Manager -> New
The wizard starts. It sees my Palm, but then says: "Sorry your Bluetooth Device does not support input Service". I don't know what to do.
Opensuse 11.3 kde 4.5
kbluetooth 0.4.2-10.5

View 8 Replies View Related

Ubuntu :: Audio Input Device Constantly Reset To Mute

May 3, 2010

On karmic the audio input device would constantly reset to muted. On lucid, it keeps resetting it to the microphone jack at the back of the computer (While I have a webcam up and running that it knows is what I use. How can I get it to remember my audio input? One more functionality issue till bingo. How can I give a window "Widget" status: I want it not to minimize when I hit ctrl alt D (Like conky and other widgets).

View 1 Replies View Related

Ubuntu Multimedia :: Usb Webcam As A Default Audio Input Device?

Oct 15, 2010

I'm having here annoying "problem" with my webcamera. Everytime I want to use it as a microphone it needs to be switched manually in sound settings menu. It's not a big deal but I would really rather let it be switched automatically like plug and play or something like that.

View 8 Replies View Related

Ubuntu :: Daemon That Executes Commands Based On Input Device In Use?

Jan 28, 2011

I have a computer with a trackpad and a touchscreen. I want to run unclutter if I use the touchscreen, and kill it when I use the trackpad or a USB mouse.

The I'm pretty sure the touchscreen is /dev/input/mouse0, and the trackpad is /dev/input/mouse1

I have a general idea of how this should work, but no idea what tools and commands to use to implement it.

View 1 Replies View Related

Ubuntu :: Audio Input Device Setting Always Reverts To Default

Jun 24, 2011

I use a Logitech USB headset with microphone at work for phone conferencing, and for some reason whenever I restart Ubuntu (and sometimes seemingly at random times), the settings for the audio input device revert to the defaults (the internal audio hardware).I can always reset it back to the USB headset by going to the sound configuration menu (Preferences -> Sound -> Input), but if any applications that use a microphone are already running, they will need to be restarted in order to make use of the newly configured input device.

View 2 Replies View Related

Ubuntu Multimedia :: Ffmpeg 6 Is Out For Some Time When Will Lucid Afford Such A New Ffmpeg?

Jul 20, 2010

Since ffmpeg 6 is out for some time, when will Ubuntu Lucid afford such a new ffmpeg package from its repository?

View 2 Replies View Related

Debian :: Input Sound Not Working?

Jul 9, 2010

So I have this cable going from a cassette players "phones" jack to my computers input jack but there is no sound coming from my speakers though it did with Windows XP.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved