[MPlayer-users] Cannot record audio from tv tuner.

Andy Furniss adf.lists at gmail.com
Tue Aug 12 19:33:42 CEST 2014


Marc MERLIN wrote:

> Let's look at this problem first, it's the more important one for
> me.
>
> time mencoder tv:// -ovc x264 -x264encopts
> threads=8:subq=5:8x8dct:frameref=2:bframes=3:b_pyramid=normal:weight_b
> -oac mp3lame -lameopts cbr:br=128   -fps 25 -o test.avi -tv
> driver=v4l2:norm=PAL:width=720:height=576:outfmt=uyvy:device=/dev/video1:input=0:fps=25:alsa:amode=1:forcechan=2:audiorate=48000:forceaudio:immediatemode=0:adevice=hw.2,0
> <=== gives v4l2: ioctl set format failed: Invalid argument

It's many years since I ripped from tape but to get 422 from my card I
used planar outfmt=yuy2.

The only reason I used 422 was that I wanted to use dv50 as an
intermediate format (it was the best my PC at the time could do).

I don't think PAL is 422 to start with - so if you don't have a specific
need it would easier to ask the card for 420 eg, yv12.

There should be a way to query the card/v4l2 for supported formats like
v4linfo - maybe mplayer/mencoder with -v will give extra info (maybe not
- it was years ago).

Using 422 for interlaced content can result in extra scope for errors
when converted to 420.



More information about the MPlayer-users mailing list