Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Below is all my testing:
- ~ffmpeg/ffmpeg is the newly compiled version of ffmpeg
- ffmpeg (system) is the 0.6.5 version.
- From below you can see both appear to work but only the ffmpeg (0.6.5) make a recording with any volume/sound in.
- Looking at the outputs I'm wondering if it is my configuration options in my 'compiled' version???
- root@abCardTest /]# ffmpeg -f alsa -i default ~/ffmpeg.wav
- FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
- built on Jan 29 2012 23:56:18 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
- configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' --enable-avfilter --enable-avfilter-lavf --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
- libavutil 50.15. 1 / 50.15. 1
- libavcodec 52.72. 2 / 52.72. 2
- libavformat 52.64. 2 / 52.64. 2
- libavdevice 52. 2. 0 / 52. 2. 0
- libavfilter 1.19. 0 / 1.19. 0
- libswscale 0.11. 0 / 0.11. 0
- libpostproc 51. 2. 0 / 51. 2. 0
- [alsa @ 0x9808850]capture with some ALSA plugins, especially dsnoop, may hang.
- [alsa @ 0x9808850]Estimating duration from bitrate, this may be inaccurate
- Input #0, alsa, from 'default':
- Duration: N/A, start: 503684.999658, bitrate: N/A
- Stream #0.0: Audio: pcm_s16le, 44100 Hz, 1 channels, s16, 705 kb/s
- File '/root/ffmpeg.wav' already exists. Overwrite ? [y/N] y
- Output #0, wav, to '/root/ffmpeg.wav':
- Metadata:
- encoder : Lavf52.64.2
- Stream #0.0: Audio: pcm_s16le, 44100 Hz, 1 channels, s16, 705 kb/s
- Stream mapping:
- Stream #0.0 -> #0.0
- Press [q] to stop encoding
- [alsa @ 0x9808850]ALSA buffer xrun.
- size= 698kB time=8.10 bitrate= 705.6kbits/s
- video:0kB audio:698kB global headers:0kB muxing overhead 0.006156%
- [root@abCardTest /]# arecord -l
- **** List of CAPTURE Hardware Devices ****
- card 0: DSP [Hammerfall DSP], device 0: RME Hammerfall HDSP 9632 [RME Hammerfall HDSP 9632]
- Subdevices: 1/1
- Subdevice #0: subdevice #0
- [root@abCardTest /]# ~/ffmpeg/ffmpeg -f alsa -i default ~/ffmpegNew.wav
- ffmpeg version N-61566-gaa1f380 Copyright (c) 2000-2014 the FFmpeg developers
- built on Mar 18 2014 00:03:02 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
- configuration: --disable-shared --enable-static
- libavutil 52. 67.100 / 52. 67.100
- libavcodec 55. 52.102 / 55. 52.102
- libavformat 55. 34.101 / 55. 34.101
- libavdevice 55. 11.100 / 55. 11.100
- libavfilter 4. 3.100 / 4. 3.100
- libswscale 2. 5.101 / 2. 5.101
- libswresample 0. 18.100 / 0. 18.100
- Guessed Channel Layout for Input Stream #0.0 : stereo
- Input #0, alsa, from 'default':
- Duration: N/A, start: 1395135439.496433, bitrate: 1536 kb/s
- Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
- File '/root/ffmpegNew.wav' already exists. Overwrite ? [y/N] y
- Output #0, wav, to '/root/ffmpegNew.wav':
- Metadata:
- ISFT : Lavf55.34.101
- Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
- Stream mapping:
- Stream #0:0 -> #0:0 (pcm_s16le -> pcm_s16le)
- Press [q] to stop, [?] for help
- [alsa @ 0xa64cd80] ALSA buffer xrun.
- size= 1404kB time=00:00:09.40 bitrate=1223.1kbits/s
- video:0kB audio:1404kB subtitle:0 data:0 global headers:0kB muxing overhead 0.005565%
- [root@abCardTest /]# ~/ffmpeg/ffmpeg -f alsa -i default:CARD=DSP ~/ffmpegNew.wav
- ffmpeg version N-61566-gaa1f380 Copyright (c) 2000-2014 the FFmpeg developers
- built on Mar 18 2014 00:03:02 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
- configuration: --disable-shared --enable-static
- libavutil 52. 67.100 / 52. 67.100
- libavcodec 55. 52.102 / 55. 52.102
- libavformat 55. 34.101 / 55. 34.101
- libavdevice 55. 11.100 / 55. 11.100
- libavfilter 4. 3.100 / 4. 3.100
- libswscale 2. 5.101 / 2. 5.101
- libswresample 0. 18.100 / 0. 18.100
- Guessed Channel Layout for Input Stream #0.0 : stereo
- Input #0, alsa, from 'default:CARD=DSP':
- Duration: N/A, start: 1395134780.014404, bitrate: 1536 kb/s
- Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
- File '/root/ffmpegNew.wav' already exists. Overwrite ? [y/N] y
- Output #0, wav, to '/root/ffmpegNew.wav':
- Metadata:
- ISFT : Lavf55.34.101
- Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
- Stream mapping:
- Stream #0:0 -> #0:0 (pcm_s16le -> pcm_s16le)
- Press [q] to stop, [?] for help
- [alsa @ 0xb08ed80] ALSA buffer xrun.
- size= 6005kB time=00:00:34.63 bitrate=1420.5kbits/s
- video:0kB audio:6005kB subtitle:0 data:0 global headers:0kB muxing overhead 0.001301%
- Received signal 2: terminating.
- [root@abCardTest /]# ~/ffmpeg/ffmpeg -f alsa -i hw:0 ~/ffmpegNew.wav
- ffmpeg version N-61566-gaa1f380 Copyright (c) 2000-2014 the FFmpeg developers
- built on Mar 18 2014 00:03:02 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
- configuration: --disable-shared --enable-static
- libavutil 52. 67.100 / 52. 67.100
- libavcodec 55. 52.102 / 55. 52.102
- libavformat 55. 34.101 / 55. 34.101
- libavdevice 55. 11.100 / 55. 11.100
- libavfilter 4. 3.100 / 4. 3.100
- libswscale 2. 5.101 / 2. 5.101
- libswresample 0. 18.100 / 0. 18.100
- [alsa @ 0xb1c0d80] cannot set access type (Invalid argument)
- hw:0: Input/output error
- [root@abCardTest /]# ~/ffmpeg/ffmpeg -f alsa -i hw:0,0 ~/ffmpegNew.wav
- ffmpeg version N-61566-gaa1f380 Copyright (c) 2000-2014 the FFmpeg developers
- built on Mar 18 2014 00:03:02 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
- configuration: --disable-shared --enable-static
- libavutil 52. 67.100 / 52. 67.100
- libavcodec 55. 52.102 / 55. 52.102
- libavformat 55. 34.101 / 55. 34.101
- libavdevice 55. 11.100 / 55. 11.100
- libavfilter 4. 3.100 / 4. 3.100
- libswscale 2. 5.101 / 2. 5.101
- libswresample 0. 18.100 / 0. 18.100
- [alsa @ 0xa4bcd80] cannot set access type (Invalid argument)
- hw:0,0: Input/output error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement