Advertisement
Guest User

Untitled

a guest
Mar 18th, 2014
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.36 KB | None | 0 0
  1. Below is all my testing:
  2.  
  3. ~ffmpeg/ffmpeg is the newly compiled version of ffmpeg
  4. ffmpeg (system) is the 0.6.5 version.
  5.  
  6. From below you can see both appear to work but only the ffmpeg (0.6.5) make a recording with any volume/sound in.
  7.  
  8. Looking at the outputs I'm wondering if it is my configuration options in my 'compiled' version???
  9.  
  10. root@abCardTest /]# ffmpeg -f alsa -i default ~/ffmpeg.wav
  11. FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
  12. built on Jan 29 2012 23:56:18 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
  13. 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
  14. libavutil 50.15. 1 / 50.15. 1
  15. libavcodec 52.72. 2 / 52.72. 2
  16. libavformat 52.64. 2 / 52.64. 2
  17. libavdevice 52. 2. 0 / 52. 2. 0
  18. libavfilter 1.19. 0 / 1.19. 0
  19. libswscale 0.11. 0 / 0.11. 0
  20. libpostproc 51. 2. 0 / 51. 2. 0
  21. [alsa @ 0x9808850]capture with some ALSA plugins, especially dsnoop, may hang.
  22. [alsa @ 0x9808850]Estimating duration from bitrate, this may be inaccurate
  23. Input #0, alsa, from 'default':
  24. Duration: N/A, start: 503684.999658, bitrate: N/A
  25. Stream #0.0: Audio: pcm_s16le, 44100 Hz, 1 channels, s16, 705 kb/s
  26. File '/root/ffmpeg.wav' already exists. Overwrite ? [y/N] y
  27. Output #0, wav, to '/root/ffmpeg.wav':
  28. Metadata:
  29. encoder : Lavf52.64.2
  30. Stream #0.0: Audio: pcm_s16le, 44100 Hz, 1 channels, s16, 705 kb/s
  31. Stream mapping:
  32. Stream #0.0 -> #0.0
  33. Press [q] to stop encoding
  34. [alsa @ 0x9808850]ALSA buffer xrun.
  35. size= 698kB time=8.10 bitrate= 705.6kbits/s
  36. video:0kB audio:698kB global headers:0kB muxing overhead 0.006156%
  37.  
  38. [root@abCardTest /]# arecord -l
  39. **** List of CAPTURE Hardware Devices ****
  40. card 0: DSP [Hammerfall DSP], device 0: RME Hammerfall HDSP 9632 [RME Hammerfall HDSP 9632]
  41. Subdevices: 1/1
  42. Subdevice #0: subdevice #0
  43.  
  44.  
  45. [root@abCardTest /]# ~/ffmpeg/ffmpeg -f alsa -i default ~/ffmpegNew.wav
  46. ffmpeg version N-61566-gaa1f380 Copyright (c) 2000-2014 the FFmpeg developers
  47. built on Mar 18 2014 00:03:02 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
  48. configuration: --disable-shared --enable-static
  49. libavutil 52. 67.100 / 52. 67.100
  50. libavcodec 55. 52.102 / 55. 52.102
  51. libavformat 55. 34.101 / 55. 34.101
  52. libavdevice 55. 11.100 / 55. 11.100
  53. libavfilter 4. 3.100 / 4. 3.100
  54. libswscale 2. 5.101 / 2. 5.101
  55. libswresample 0. 18.100 / 0. 18.100
  56. Guessed Channel Layout for Input Stream #0.0 : stereo
  57. Input #0, alsa, from 'default':
  58. Duration: N/A, start: 1395135439.496433, bitrate: 1536 kb/s
  59. Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
  60. File '/root/ffmpegNew.wav' already exists. Overwrite ? [y/N] y
  61. Output #0, wav, to '/root/ffmpegNew.wav':
  62. Metadata:
  63. ISFT : Lavf55.34.101
  64. Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
  65. Stream mapping:
  66. Stream #0:0 -> #0:0 (pcm_s16le -> pcm_s16le)
  67. Press [q] to stop, [?] for help
  68. [alsa @ 0xa64cd80] ALSA buffer xrun.
  69. size= 1404kB time=00:00:09.40 bitrate=1223.1kbits/s
  70. video:0kB audio:1404kB subtitle:0 data:0 global headers:0kB muxing overhead 0.005565%
  71.  
  72. [root@abCardTest /]# ~/ffmpeg/ffmpeg -f alsa -i default:CARD=DSP ~/ffmpegNew.wav
  73. ffmpeg version N-61566-gaa1f380 Copyright (c) 2000-2014 the FFmpeg developers
  74. built on Mar 18 2014 00:03:02 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
  75. configuration: --disable-shared --enable-static
  76. libavutil 52. 67.100 / 52. 67.100
  77. libavcodec 55. 52.102 / 55. 52.102
  78. libavformat 55. 34.101 / 55. 34.101
  79. libavdevice 55. 11.100 / 55. 11.100
  80. libavfilter 4. 3.100 / 4. 3.100
  81. libswscale 2. 5.101 / 2. 5.101
  82. libswresample 0. 18.100 / 0. 18.100
  83. Guessed Channel Layout for Input Stream #0.0 : stereo
  84. Input #0, alsa, from 'default:CARD=DSP':
  85. Duration: N/A, start: 1395134780.014404, bitrate: 1536 kb/s
  86. Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
  87. File '/root/ffmpegNew.wav' already exists. Overwrite ? [y/N] y
  88. Output #0, wav, to '/root/ffmpegNew.wav':
  89. Metadata:
  90. ISFT : Lavf55.34.101
  91. Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
  92. Stream mapping:
  93. Stream #0:0 -> #0:0 (pcm_s16le -> pcm_s16le)
  94. Press [q] to stop, [?] for help
  95. [alsa @ 0xb08ed80] ALSA buffer xrun.
  96. size= 6005kB time=00:00:34.63 bitrate=1420.5kbits/s
  97. video:0kB audio:6005kB subtitle:0 data:0 global headers:0kB muxing overhead 0.001301%
  98. Received signal 2: terminating.
  99.  
  100. [root@abCardTest /]# ~/ffmpeg/ffmpeg -f alsa -i hw:0 ~/ffmpegNew.wav
  101. ffmpeg version N-61566-gaa1f380 Copyright (c) 2000-2014 the FFmpeg developers
  102. built on Mar 18 2014 00:03:02 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
  103. configuration: --disable-shared --enable-static
  104. libavutil 52. 67.100 / 52. 67.100
  105. libavcodec 55. 52.102 / 55. 52.102
  106. libavformat 55. 34.101 / 55. 34.101
  107. libavdevice 55. 11.100 / 55. 11.100
  108. libavfilter 4. 3.100 / 4. 3.100
  109. libswscale 2. 5.101 / 2. 5.101
  110. libswresample 0. 18.100 / 0. 18.100
  111. [alsa @ 0xb1c0d80] cannot set access type (Invalid argument)
  112. hw:0: Input/output error
  113.  
  114. [root@abCardTest /]# ~/ffmpeg/ffmpeg -f alsa -i hw:0,0 ~/ffmpegNew.wav
  115. ffmpeg version N-61566-gaa1f380 Copyright (c) 2000-2014 the FFmpeg developers
  116. built on Mar 18 2014 00:03:02 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
  117. configuration: --disable-shared --enable-static
  118. libavutil 52. 67.100 / 52. 67.100
  119. libavcodec 55. 52.102 / 55. 52.102
  120. libavformat 55. 34.101 / 55. 34.101
  121. libavdevice 55. 11.100 / 55. 11.100
  122. libavfilter 4. 3.100 / 4. 3.100
  123. libswscale 2. 5.101 / 2. 5.101
  124. libswresample 0. 18.100 / 0. 18.100
  125. [alsa @ 0xa4bcd80] cannot set access type (Invalid argument)
  126. hw:0,0: Input/output error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement