[FFmpeg-devel] [PATCH] libavdevice: JACK demuxer

Måns Rullgård mans
Fri Feb 27 19:47:32 CET 2009


Olivier Guilyardi <list at samalyse.com> writes:

> Hi Jack and FFmpeg developers,
>
> below is a patch against ffmpeg svn r17646 for using JACK as an audio input
> device in ffmpeg, as in:
>
> ffmpeg -f jack -ac 2 -i ffmpeg out.wav
>
> This connects to JACK with two input ports: ffmpeg:input_1 and ffmpeg:input_2.
> You still need to connect these ports using jack_connect or qjackctl.
>
> This demuxer is already being used in pre-production for teaching lessons
> broadcasting, using a DV camera, several mics and icecast.
>
> A downloadable version is available here:
> http://www.samalyse.com/code/misc/patches/ffmpeg-r17646-jack-0.3.diff
>
> Index: configure
> ===================================================================
> --- configure	(revision 17646)
> +++ configure	(working copy)
> @@ -1095,6 +1095,8 @@
>  bktr_demuxer_deps_any="dev_bktr_ioctl_bt848_h machine_ioctl_bt848_h
> dev_video_bktr_ioctl_bt848_h dev_ic_bt8xx_h"
>  dirac_demuxer_deps="dirac_parser"
>  dv1394_demuxer_deps="dv1394 dv_demuxer"
> +jack_demuxer_deps="jack_jack_h"
> +jack_demuxer_extralibs="-ljack -lpthread -lrt"
>  libdc1394_demuxer_deps="libdc1394"
>  libnut_demuxer_deps="libnut"
>  libnut_muxer_deps="libnut"
> @@ -2111,6 +2113,8 @@
>  check_header alsa/asoundlib.h &&
>  check_lib2 alsa/asoundlib.h snd_pcm_htimestamp -lasound
>
> +check_header jack/jack.h
> +
>  # deal with the X11 frame grabber
>  enabled x11grab                         &&
>  check_header X11/Xlib.h                 &&

Why don't you check_libs for -ljack?

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list