[MPlayer-users] Cannot record audio from tv tuner.
Marc MERLIN
marc_mplayer at merlins.org
Tue Aug 12 22:39:58 CEST 2014
On Tue, Aug 12, 2014 at 09:53:21AM -0700, Danny Uy wrote:
> I recently had to restart the process of recording from my TV tuner when I
> received several boxes of old VHS tapes which I have started to convert
> into digital format. I am running on an Ubuntu desktop. The first step I
> did was to make sure that the TV card is able to output video and audio and
> that you can view and listen to the output.
>
> I was able to accomplish this and then started recording. I recorded the
> video but there was no audio. I had to play around with alsamixer to
> finally get the correct setting and I was able to record audio and video.
> However, I still cannot connect the audio output of the TV card to my
> line-in. I ended up not using the audio patch cable and recorded directly
> from the line-out.
>
> I use ffmpeg for recording. The following basic command works for me:
>
> ffmpeg -i v4l2 -f /dev/video0 -i alsa -f default output.avi
>
> Hope this helps!
I can start over with a brand new cli with all different command line
options and spend a long time figuring them out :)
For now, I got as far as
legolas:~$ ffmpeg -i v4l2 -f /dev/video1 -i alsa -f default output.avi
ffmpeg version 2.3.1 Copyright (c) 2000-2014 the FFmpeg developers
built on Jul 31 2014 07:10:38 with gcc 4.9 (Debian 4.9.1-3)
configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libpulse --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --enable-libvidstab --enable-libzvbi --enable-avresample --disable-htmlpages --disable-podpages --enable-libiec61883 --enable-libfdk-aac --enable-vaapi --enable-libx265 --enable-libdc1394 --disable-altivec --disable-armv5te --disable-armv6 --shlibdir=/usr/lib/x86_64-linux-gnu
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libavresample 1. 3. 0 / 1. 3. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
v4l2: No such file or directory
Am I missing special packages/libraries for it to work?
Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/
More information about the MPlayer-users
mailing list