How to record tvtime

I have tv tuner saa7130. On tvtime is ok.
But i need to record something.

I use video source:composite1. I use a decodor HD http://www.nwradu.ro/wp-content/uploads/2010/06/IMGP0372.JPG.
The rca cable to my computer, the hdmi to my monitor (when i what only tv)

I have install guvcview but it not launch.
I i run in terminal i get:

guvcview 1.7.0
file guvcview_video.mkv has extension type 1
file guvcview_image.jpg has extension type 0
file guvcview_image.jpg has extension type 0
Video file suffix detected: 0
Image file suffix detected: 0
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:947:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
video device: /dev/video0
libv4l2: error getting pixformat: Inappropriate ioctl for device
ERROR opening V4L2 interface for /dev/radio0
libv4l2: error getting pixformat: Invalid argument
ERROR opening V4L2 interface for /dev/vbi0
Unable to find parent usb device.Init. V-Stream Studio TV Terminator (location: PCI:0000:03:05.0)
{ pixelformat = ‘GREY’, description = ‘8 bpp gray’ }
VIDIOC_ENUM_FRAMESIZES - Error enumerating frame sizes: Inappropriate ioctl for device
Unable to enumerate frame sizes.
: Inappropriate ioctl for device
{ pixelformat = ‘RGBO’, description = ‘15 bpp RGB, le’ }
{ not supported - request format(1329743698) support at http://guvcview.sourceforge.net }
{ pixelformat = ‘RGBQ’, description = ‘15 bpp RGB, be’ }
{ not supported - request format(1363298130) support at http://guvcview.sourceforge.net }
{ pixelformat = ‘RGBP’, description = ‘16 bpp RGB, le’ }
{ not supported - request format(1346520914) support at http://guvcview.sourceforge.net }
{ pixelformat = ‘RGBR’, description = ‘16 bpp RGB, be’ }
{ not supported - request format(1380075346) support at http://guvcview.sourceforge.net }
{ pixelformat = ‘BGR3’, description = ‘24 bpp RGB, le’ }
{ ?GSPCA? : width = 640, height = 480 }
fmtind:2 fsizeind: 1
{ pixelformat = ‘RGB3’, description = ‘24 bpp RGB, be’ }
{ ?GSPCA? : width = 640, height = 480 }
fmtind:3 fsizeind: 1
{ pixelformat = ‘BGR4’, description = ‘32 bpp RGB, le’ }
{ not supported - request format(877807426) support at http://guvcview.sourceforge.net }
{ pixelformat = ‘RGB4’, description = ‘32 bpp RGB, be’ }
{ not supported - request format(876758866) support at http://guvcview.sourceforge.net }
{ pixelformat = ‘YUYV’, description = ‘4:2:2 packed, YUYV’ }
VIDIOC_ENUM_FRAMESIZES - Error enumerating frame sizes: Inappropriate ioctl for device
Unable to enumerate frame sizes.
: Inappropriate ioctl for device
{ pixelformat = ‘UYVY’, description = ‘4:2:2 packed, UYVY’ }
VIDIOC_ENUM_FRAMESIZES - Error enumerating frame sizes: Inappropriate ioctl for device
Unable to enumerate frame sizes.
: Inappropriate ioctl for device
{ pixelformat = ‘422P’, description = ‘4:2:2 planar, Y-Cb-Cr’ }
{ not supported - request format(1345466932) support at http://guvcview.sourceforge.net }
{ pixelformat = ‘YU12’, description = ‘4:2:0 planar, Y-Cb-Cr’ }
{ ?GSPCA? : width = 640, height = 480 }
fmtind:6 fsizeind: 1
{ pixelformat = ‘YV12’, description = ‘4:2:0 planar, Y-Cb-Cr’ }
{ ?GSPCA? : width = 640, height = 480 }
fmtind:7 fsizeind: 1
vid:0000
pid:0000
driver:saa7134
checking format: 1196444237
Format unavailable: 1196444237.
Init v4L2 failed !!
Init video returned -2
trying minimum setup …
Segmentation fault
je@linux-0xlf:~$

HOW CAN I RECORD?

Try mencoder or vlc.
F.e.:

mencoder tv:// -o file.mpg

Normally I would suggest xdtv, which is a fork of xawtv and has recording capabilities (you can even schedule recordings). I build packages for openSUSE as I always preferred that apllication to anything else (including tvtime) for analog TV.

But unfortunately at the moment recording doesn’t work there either, all frames are discarded. I have not found the cause of this issue yet…:\

On 2014-05-28 15:06, freetools wrote:
> ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
> ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM
> cards.pcm.center_lfe

A comment.

When pasting computer commands and such, please use a CODE BLOCK, so
that the forum software doesn’t do silly things like converting URLS to
tiny urls, parenthesis into smileys, or otherwise hide or alter the
commands you entered. You get them by clicking on the ‘#’ button in the
forum editor. See photo


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

mencoder tv:// -o file.mpg

@linux-0xlf:~$ mencoder tv:// -o file.mpg
MEncoder -4.8 (C) 2000-2014 MPlayer Team

WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
success: format: 9  data: 0x0 - 0x0
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
 comment: first try, more to come ;-)
Selected device: V-Stream Studio TV Terminator
 Tuner cap: STEREO LANG1 LANG2
 Tuner rxs: MONO
 Capabilities:  video capture  video overlay  VBI capture device  tuner  read/write  streaming
 supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4 = PAL; 5 = PAL-BG; 6 = PAL-H; 7 = PAL-I; 8 = PAL-DK; 9 = PAL-M; 10 = PAL-N; 11 = PAL-Nc; 12 = PAL-60; 13 = SECAM; 14 = SECAM-B; 15 = SECAM-G; 16 = SECAM-H; 17 = SECAM-DK; 18 = SECAM-L; 19 = SECAM-Lc;
 inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
 Current input: 1
 Current format: YUYV
v4l2: current audio mode is : MONO
Unable to open '/dev/dsp': No such file or directory
Unable to open '/dev/dsp': No such file or directory
Unable to open '/dev/dsp': No such file or directory
v4l2: 0 frames successfully processed, 0 frames dropped.
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

Exiting...

I try VLC but not working. I have no video and the sound is bad
I have install MytheTV but i can not setup the database configuration http://postimg.org/image/uqkk037mx/

Sorry, I cannot help you more at the moment, as I have no analog TV card here. You have to wait two days.

I never used MythTV at all though, but apparently you need mysql running, as it seems to use this for its database.

You have to tune into the correct channel of course.
You should also be able to use tvtime, xawtv, or whatever to change the channel while vlc is running.

For mencoder, try something like this:

mencoder tv://E7 -tv alsa -oac mp3lame -ovc xvid -xvidencopts bitrate=1000 -o test.avi

“E7” is the channel, you should take the appropriate one (no idea what you would have to specify for the av input though).
This line creates an avi video with XVID video (bitrate 1000) and MP3 audio.
“-tv alsa” is important so that alsa is used for recording (prevents that “Unable to open ‘/dev/dsp’: No such file or directory” error, because OSS support is not activated)
See also “man mencoder”.

I will try to get xdtv’s recording to work again, but I cannot tell how long this will take.
ATM I have no idea why it’s not working.

I managed to “fix” this now. For some reason all frames got dropped (seems to be a problem with wrong timestamps, I have to investigate this further), I disabled dropping of frames completely for now which makes it working again.

So have a try:
http://software.opensuse.org/package/xdtv

It should be sufficient to only install the package “xdtv”.
If you want to have it run in a different language than english, you should install the appropriate libxdtv-i18n-xx package as well.
Then there are also additional theme packages in the different languages (libxdtv-theme-(aqua|carbone)-xx), if you are not satisfied with the standard appearance… :wink:

Please note, that there seems to be a problem with the OSD font atm, on my system only chinese characters show up.
Switching on “Xosd” should fix this, you might want to set a different font as well in Xosd’s settings.

If you still have questions about how to use it, feel free to ask… :wink: