Re: [LAU] Recording a video with High quality audio

From: Ivan K <ivan_521521@email-addr-hidden>
Date: Mon Apr 20 2015 - 22:25:32 EEST

Thank you for your help; this is a lot to take in, though I am not

adverse to working on the command line, and many times I prefer it.

In your first example, it seems I need to substitute something
for "jackaudiosrc". What might I put there?

Also, I am surprised to see the use of the "!" character as
opposed to the pipe "|". Is the "!" particular to bash?

I am taking a look at the documentation. Thanks again.

Jannis Achstetter <jannis_achstetter@email-addr-hidden> wrote:
>
> Am 20.04.2015 um 05:46 schrieb Ivan K:
> > [...]
> > Is there any application that can record video
> > from a webcam but use an audio input other than
> > the built-in mic on the cam?
>
> This can be done very easily using gstreamer. You can construct
> pipelines from single elements. Here's an example that might
> work for your application:
>
>
> gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=360,framerate=30/1
> ! vp8enc deadline=30000 threads=4 ! queue ! matroskamux name=mux !
> filesink location=test.mkv jackaudiosrc ! audio/x-raw,channels=2 !
> audioconvert ! opusenc ! queue ! mux.
>
> This will grab raw video from your cam, encode it, mux it and
> save it to a file. Furthermore, audio will be grabbed from
> jack, encoded and also muxed to the same file.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue Apr 21 00:15:02 2015

This archive was generated by hypermail 2.1.8 : Tue Apr 21 2015 - 00:15:02 EEST