I was wondering how is it possible to get audio data from UVC camera? I know when connecting using adb shell in /dev/videoX is the usb web camera. Where would the audio data be at? I want to recording video and audio data from the web camera
Can anyone help me in that regard?
Thanks in advance,,,,
UPDATE:
I have two devices S5 and Note 4. They behave differently, I can get video on both devices but i dont get audio on the S5. I noticed there is an extra file in /dev/usb/ which contains what the web camera can do ( sound, video and there is a third file i can't remember). In the /dev/bus/usb/ each device is different:
I'm not sure what is the 001, 002 and 003. Could someone help me fix it or give me some clue?
here is the log file log.txt
Thanks in advance
UPDATE 2:
I managed to get audio data from camera but the video doesn't have any sound. Here is the log file
Note: In the log file there is "READ CAMCORDER::::: 3904" here im just making sure im getting data from audio.
Hi all,
I was wondering how is it possible to get audio data from UVC camera? I know when connecting using adb shell in /dev/videoX is the usb web camera. Where would the audio data be at? I want to recording video and audio data from the web camera
Can anyone help me in that regard?
Thanks in advance,,,,
UPDATE: I have two devices S5 and Note 4. They behave differently, I can get video on both devices but i dont get audio on the S5. I noticed there is an extra file in /dev/usb/ which contains what the web camera can do ( sound, video and there is a third file i can't remember). In the /dev/bus/usb/ each device is different:
s5 bus/usb/ - 001 & 002 only note4 bus/usb/ - 001 & 002 & 003
I'm not sure what is the 001, 002 and 003. Could someone help me fix it or give me some clue? here is the log file log.txt Thanks in advance
UPDATE 2:
I managed to get audio data from camera but the video doesn't have any sound. Here is the log file Note: In the log file there is "READ CAMCORDER::::: 3904" here im just making sure im getting data from audio.
Update 2 LOG: log.txt