You are not logged in.
Pages: 1
Hey, when i try caputre dekstop audio with
ffmpeg -f pulse -i default out.wav
i get
ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.3.1 (GCC) 20170109
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-netcdf --enable-shared --enable-version3 --enable-x11grab
libavutil 55. 34.101 / 55. 34.101
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.101 / 57. 56.101
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, pulse, from 'default':
Duration: N/A, start: 1490131978.407715, bitrate: 1536 kb/s
Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
File 'out.wav' already exists. Overwrite ? [y/N] y
Output #0, wav, to 'out.wav':
Metadata:
ISFT : Lavf57.56.101
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
Metadata:
encoder : Lavc57.64.101 pcm_s16le
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[wav @ 0x560fc51a87a0] Non-monotonous DTS in output stream 0:0; previous: 978148, current: 978142; changing to 978148. This may result in incorrect timestamps in the output file.
[wav @ 0x560fc51a87a0] Non-monotonous DTS in output stream 0:0; previous: 978148, current: 978125; changing to 978148. This may result in incorrect timestamps in the output file.
[wav @ 0x560fc51a87a0] Non-monotonous DTS in output stream 0:0; previous: 978148, current: 978124; changing to 978148. This may result in incorrect timestamps in the output file.
[wav @ 0x560fc51a87a0] Non-monotonous DTS in output stream 0:0; previous: 978148, current: 978119; changing to 978148. This may result in incorrect timestamps in the output file.
[wav @ 0x560fc51a87a0] Non-monotonous DTS in output stream 0:0; previous: 978148, current: 978117; changing to 978148. This may result in incorrect timestamps in the output file.
etc...
Output sound starts to interrupt when other sound starts playing (eg. youtube) or when i seeking playing track, but not always.
Pulse is default configured except added tsched=0 option.
Any ideas ?
Offline
If all you want is the audio, I'd say use parec to record the audio, if it's a specific stream you want to grab you can record just from that and won't have any interrupts from anything else.
Offline
Pages: 1