Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Thank heaven for startups; without them we'd never have any advances." -- Seymour Cray


computers / comp.os.linux.misc / Re: How to capture composite video

SubjectAuthor
* Re: How to capture composite videoCharlie Gibbs
+* Re: How to capture composite videoAndreas Kohlbach
|`* Re: How to capture composite videoCharlie Gibbs
| `* Re: How to capture composite videoFriedhelm Mehnert
|  `* Re: How to capture composite videoCharlie Gibbs
|   +* Re: How to capture composite videoAndreas Kohlbach
|   |`* Re: How to capture composite videoCharlie Gibbs
|   | `* Re: How to capture composite videoPeter 'Shaggy' Haywood
|   |  `- Re: How to capture composite videoVinho Xie
|   `* Re: How to capture composite videoFriedhelm Mehnert
|    `- Re: How to capture composite videoCharlie Gibbs
`- Re: How to capture composite videoAnssi Saari

1
Re: How to capture composite video

<s8rtaq0eih@news1.newsguy.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6844&group=comp.os.linux.misc#6844

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news1
From: cgibbs@kltpzyxm.invalid (Charlie Gibbs)
Newsgroups: comp.os.linux.misc
Subject: Re: How to capture composite video
Date: 28 May 2021 23:11:22 GMT
Organization: NewsGuy.com
Lines: 70
Message-ID: <s8rtaq0eih@news1.newsguy.com>
References: <s7pfr30196f@news1.newsguy.com> <atk9nh-fs1.ln1@aretha.foo>
NNTP-Posting-Host: p257c21fd52130899ed2be896a5e3f4f10c89419a0b8d31ad.newsdawg.com
User-Agent: slrn/1.0.3 (Linux)
X-Received-Bytes: 3557
 by: Charlie Gibbs - Fri, 28 May 2021 23:11 UTC

On 2021-05-17, Peter 'Shaggy' Haywood <phaywood@alphalink.com.au> wrote:

> mencoder tv:// -tv \
> driver=4vl2:input=1:norm=pal:width=720:height=576:fps=25 \
> -endpos 1:30:00 -ovc lavc -oac copy -lavcopts vcodec=mpeg4 \
> -o filename.avi

I finally found the time to do some more experimenting. The example
above is a good starting point. I found that I can watch VHS tapes
(or whatever else is plugged into the composite video input) on my
machine with the following command:

mplayer tv:// -tv driver=v4l2:input=1:norm=NTSC-M:width=720:height=480

Here's what gets written when I tee stdout:

MPlayer 1.3.0 (Debian), built with gcc-8 (C) 2000-2016 MPlayer Team

Playing tv://.
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: pcHDTV HD5500 HDTV
Tuner cap: STEREO LANG1 LANG2
Tuner rxs: MONO
Capabilities: video capture VBI capture device tuner read/write streaming
supported norms: 0 = NTSC-M; 1 = NTSC-M-JP; 2 = NTSC-443; 3 = PAL-BG; 4 = PAL-I; 5 = PAL-DK; 6 = PAL-M; 7 = PAL-N; 8 = PAL-Nc; 9 = PAL-60; 10 = SECAM-B; 11 = SECAM-G; 12 = SECAM-H; 13 = SECAM-DK; 14 = SECAM-L;
inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
Current input: 1
Current format: UYVY
v4l2: current audio mode is : MONO
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 720x480 => 720x480 Packed UYVY
Selected video codec: [rawuyvy] vfm: raw (RAW UYVY)
==========================================================================
Audio: no sound
Starting playback...
V: 0.0 1/ 1 ??% ??% ??,?% 0 0 [counts up]

v4l2: 137 frames successfully processed, 0 frames dropped.

Exiting... (Quit)

Note the "Audio: no sound" line. I still have to figure that one out
to get beyond silent movies. Any hints?

If I get the parameters wrong (which I did a lot while trying to get
the aspect ratio right), my screen and keyboard lock up. The machine
is still alive, though; I can ssh in from another machine and send
a kill -HUP to mplayer's PID, and it does an orderly shutdown and
releases everything.

Once I get sound working, the next step is to persuade mencoder
to write the video to a file. I tried adding the other parameters
you mentioned above, starting with -ovc, but I get the message:

Unable to open '/dev/dsp': No such file or directory.

It's really upset about this; the message appears three times.
And indeed, /dev/dsp doesn't exist. How do I get one?

--
/~\ Charlie Gibbs | They don't understand Microsoft
\ / <cgibbs@kltpzyxm.invalid> | has stolen their car and parked
X I'm really at ac.dekanfrus | a taxi in their driveway.
/ \ if you read it the right way. | -- Mayayana

Re: How to capture composite video

<878s3yjto3.fsf@usenet.ankman.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6845&group=comp.os.linux.misc#6845

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ank@spamfence.net (Andreas Kohlbach)
Newsgroups: comp.os.linux.misc
Subject: Re: How to capture composite video
Date: Fri, 28 May 2021 20:00:12 -0400
Organization: https://news-commentaries.blogspot.com/
Lines: 57
Message-ID: <878s3yjto3.fsf@usenet.ankman.de>
References: <s7pfr30196f@news1.newsguy.com> <atk9nh-fs1.ln1@aretha.foo>
<s8rtaq0eih@news1.newsguy.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="46cb7a21cca48f1c760f2fbeac4d2e02";
logging-data="23847"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/KrE9JMukg8tbRJLwOqvV1"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:tSo7Zd1O5gR1rIJQ8Kj6p23GyP4=
sha1:6eag7MUkZRZKtn3kWg26V3DChDk=
X-Face: '#R~-oJz-_!iXhczPJ;=w1(`5-uQ2$0qHB7KKDV,]VoAC!P?swaa#m|eB<DkOt*XH=~9C[g S^w)b,)1q,{P\7Z3H,N(^m.YKuYM//B{X:PvbDk.|:g:$wVr*3*)[K6F+k\z-s32+oB]YJPy11wuGGz'bQAk~1.b1[;M{^A2@bboIENBB:Wd:<Fm~r7OuiJA1g}7KC-T'>Du+
X-Face-What-Is-It: Capture Bee from Galaga
 by: Andreas Kohlbach - Sat, 29 May 2021 00:00 UTC

On 28 May 2021 23:11:22 GMT, Charlie Gibbs wrote:
>
> I finally found the time to do some more experimenting. The example
> above is a good starting point. I found that I can watch VHS tapes
> (or whatever else is plugged into the composite video input) on my
> machine with the following command:

[...]

> Note the "Audio: no sound" line. I still have to figure that one out
> to get beyond silent movies. Any hints?

Watch something newer than from 1920. ;-)

Well, Composite does not carry audio information.

> mplayer tv:// -tv driver=v4l2:input=1:norm=NTSC-M:width=720:height=480

Once audio cables are connected it might work. Using mpv here, mplayer
should also know -ao. Try

mplayer -ao help

to see, if the source connected to the VCR shows up. Replace "help" in
your command line with what seems to be appropriate.

> If I get the parameters wrong (which I did a lot while trying to get
> the aspect ratio right), my screen and keyboard lock up. The machine
> is still alive, though; I can ssh in from another machine and send
> a kill -HUP to mplayer's PID, and it does an orderly shutdown and
> releases everything.

You could try

sleep 20;killall mplayer

in another terminal. That should take care of it after 20 seconds.

> Once I get sound working, the next step is to persuade mencoder
> to write the video to a file. I tried adding the other parameters
> you mentioned above, starting with -ovc, but I get the message:
>
> Unable to open '/dev/dsp': No such file or directory.
>
> It's really upset about this; the message appears three times.
> And indeed, /dev/dsp doesn't exist. How do I get one?

Try something at /dev/snd/...

To really use /dev/dsp (I use that for old games which don't know about
ALSA and expect OSS instead) you can install aoss. Then:

aoss mplayer ....
--
Andreas

PGP fingerprint 952B0A9F12C2FD6C9F7E68DAA9C2EA89D1A370E0

Re: How to capture composite video

<sm035u6otgl.fsf@lakka.kapsi.fi>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6847&group=comp.os.linux.misc#6847

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: as@sci.fi (Anssi Saari)
Newsgroups: comp.os.linux.misc
Subject: Re: How to capture composite video
Date: Sat, 29 May 2021 11:05:46 +0300
Organization: An impatient and LOUD arachnid
Lines: 15
Message-ID: <sm035u6otgl.fsf@lakka.kapsi.fi>
References: <s7pfr30196f@news1.newsguy.com> <atk9nh-fs1.ln1@aretha.foo>
<s8rtaq0eih@news1.newsguy.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="38e90277361ad73a4096773c4c9f3132";
logging-data="13752"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19rVbhDhAUEyC4VzswZPvFF"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Cancel-Lock: sha1:MJ0D89CuVQxeV0mVSpbzWVQneNo=
sha1:0E6dH8+LyGhQ56uoHD9Rt345T2E=
 by: Anssi Saari - Sat, 29 May 2021 08:05 UTC

Charlie Gibbs <cgibbs@kltpzyxm.invalid> writes:

> Unable to open '/dev/dsp': No such file or directory.
>
> It's really upset about this; the message appears three times.
> And indeed, /dev/dsp doesn't exist. How do I get one?

There was once upon a time an audio system called OSS which used
/dev/dsp. Just leave it be, mplayer prints out many things,
unfortunately there's no qualification as to what matters and what
doesn't.

As for capturing audio, it looks to me -tv can take alsa as an option
for audio capture using alsa. Then you'd just need to select the input
source in alsamixer and mencoder would capture sound.

Re: How to capture composite video

<s8ul5t02f4v@news3.newsguy.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6849&group=comp.os.linux.misc#6849

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news3
From: cgibbs@kltpzyxm.invalid (Charlie Gibbs)
Newsgroups: comp.os.linux.misc
Subject: Re: How to capture composite video
Date: 30 May 2021 00:10:37 GMT
Organization: NewsGuy - Unlimited Usenet $23.95
Lines: 61
Message-ID: <s8ul5t02f4v@news3.newsguy.com>
References: <s7pfr30196f@news1.newsguy.com> <atk9nh-fs1.ln1@aretha.foo>
<s8rtaq0eih@news1.newsguy.com> <878s3yjto3.fsf@usenet.ankman.de>
NNTP-Posting-Host: p9f62b5de28a2267e03e54af07006e129b3d839abdea20bae.newsdawg.com
User-Agent: slrn/1.0.3 (Linux)
X-Received-Bytes: 3202
 by: Charlie Gibbs - Sun, 30 May 2021 00:10 UTC

On 2021-05-29, Andreas Kohlbach <ank@spamfence.net> wrote:

> On 28 May 2021 23:11:22 GMT, Charlie Gibbs wrote:
>
>> I finally found the time to do some more experimenting. The example
>> above is a good starting point. I found that I can watch VHS tapes
>> (or whatever else is plugged into the composite video input) on my
>> machine with the following command:
>
> [...]
>
>> Note the "Audio: no sound" line. I still have to figure that one out
>> to get beyond silent movies. Any hints?
>
> Watch something newer than from 1920. ;-)
>
> Well, Composite does not carry audio information.
>
>> mplayer tv:// -tv driver=v4l2:input=1:norm=NTSC-M:width=720:height=480
>
> Once audio cables are connected it might work. Using mpv here, mplayer
> should also know -ao. Try
>
> mplayer -ao help
>
> to see, if the source connected to the VCR shows up. Replace "help" in
> your command line with what seems to be appropriate.

It lists a lot of audio _output_ parameters, but I'm looking for
an audio _input_ selector. There's an "adevice" subparameter to
the -tv parameter, but I have no idea what kind of value it's
looking for.

$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: ALC892 Alt Analog [ALC892 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: CX8801 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
Subdevices: 0/1
Subdevice #0: subdevice #0

I think I need something that maps to one of the Conexant devices:

$ lspci | grep Conexant
04:00.0 Multimedia video controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
04:00.1 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
04:00.2 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)
04:00.4 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [IR Port] (rev 05)

Maybe it's time to change the subject from "How to capture composite
video" to "How to capture audio"...

--
/~\ Charlie Gibbs | They don't understand Microsoft
\ / <cgibbs@kltpzyxm.invalid> | has stolen their car and parked
X I'm really at ac.dekanfrus | a taxi in their driveway.
/ \ if you read it the right way. | -- Mayayana

Re: How to capture composite video

<s8vbb5$bbb$1@m1.friedhelms.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6852&group=comp.os.linux.misc#6852

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: honk@friedhelms.net (Friedhelm Mehnert)
Newsgroups: comp.os.linux.misc
Subject: Re: How to capture composite video
Date: Sun, 30 May 2021 08:28:53 +0200 (CEST)
Organization: Spam Sucks!
Lines: 33
Sender: fm@friedhelms.net
Message-ID: <s8vbb5$bbb$1@m1.friedhelms.net>
References: <s7pfr30196f@news1.newsguy.com> <atk9nh-fs1.ln1@aretha.foo> <s8rtaq0eih@news1.newsguy.com> <878s3yjto3.fsf@usenet.ankman.de> <s8ul5t02f4v@news3.newsguy.com>
logging-data="11628"; mail-complaints-to="usenet@friedhelms.net"
Injection-Info: reader02.eternal-september.org; posting-host="f1b96c8bfb06d108a607f3724f6cc324";
logging-data="8216"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18lWyJxhVU3LAYL7Am2ksuf996jlqTJdV4="
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-16-686-pae (i686))
Cancel-Lock: sha1:WdUgXy7thR2ZaQZauzR6nbCR4c0=
 by: Friedhelm Mehnert - Sun, 30 May 2021 06:28 UTC

Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote:
> On 2021-05-29, Andreas Kohlbach <ank@spamfence.net> wrote:
> Maybe it's time to change the subject from "How to capture composite
> video" to "How to capture audio"...
>

You can capture just the video like you did, and use your soundcard to
capture the audio at the same time. You have to connect the audio cable
to the input of your soundcard in that case. This will give you a better
sound than your capture devide in most cases.

Here is like I do it:

-------------------------
nice -19 mencoder -oac pcm -ovc lavc -lavcopts vcodec=dvvideo \
-vf yadif,harddup tv:// -tv driver=v4l2:norm=PAL:width=720\
:height=576:outfmt=uyvy:device=/dev/video0:input=0:fps=25\
:buffersize=1024:alsa:amode=1:forcechan=2:audiorate=48000\
:adevice=hw.1:forceaudio:immediatemode=0 -o raw.avi
^^^^^^^^^^^^^
|- This selects the audio-input-device.

-------------------------

You may have to tweek the script a litle for your hardware. You seem to
want NTSC which also needs other values for hight and witdth.

I use a devuan system and have only alsa installed. No pulseaudio.

Regards Friedhelm

Re: How to capture composite video

<s90fls0qju@news3.newsguy.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6854&group=comp.os.linux.misc#6854

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!paganini.bofh.team!goblin3!goblin2!goblin.stu.neva.ru!spln!extra.newsguy.com!newsp.newsguy.com!news3
From: cgibbs@kltpzyxm.invalid (Charlie Gibbs)
Newsgroups: comp.os.linux.misc
Subject: Re: How to capture composite video
Date: 30 May 2021 16:49:00 GMT
Organization: NewsGuy - Unlimited Usenet $23.95
Lines: 137
Message-ID: <s90fls0qju@news3.newsguy.com>
References: <s7pfr30196f@news1.newsguy.com> <atk9nh-fs1.ln1@aretha.foo>
<s8rtaq0eih@news1.newsguy.com> <878s3yjto3.fsf@usenet.ankman.de>
<s8ul5t02f4v@news3.newsguy.com> <s8vbb5$bbb$1@m1.friedhelms.net>
NNTP-Posting-Host: p27e7b083f93395bd96a50bb6130d44d2daa17d4cc7a358c5.newsdawg.com
User-Agent: slrn/1.0.3 (Linux)
 by: Charlie Gibbs - Sun, 30 May 2021 16:49 UTC

On 2021-05-30, Friedhelm Mehnert <honk@friedhelms.net> wrote:

> Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote:
>
>> On 2021-05-29, Andreas Kohlbach <ank@spamfence.net> wrote:
>>
>> Maybe it's time to change the subject from "How to capture composite
>> video" to "How to capture audio"...
>
> You can capture just the video like you did, and use your soundcard to
> capture the audio at the same time. You have to connect the audio cable
> to the input of your soundcard in that case. This will give you a better
> sound than your capture devide in most cases.
>
> Here is like I do it:
>
> -------------------------
> nice -19 mencoder -oac pcm -ovc lavc -lavcopts vcodec=dvvideo \
> -vf yadif,harddup tv:// -tv driver=v4l2:norm=PAL:width=720\
>:height=576:outfmt=uyvy:device=/dev/video0:input=0:fps=25\
>:buffersize=1024:alsa:amode=1:forcechan=2:audiorate=48000\
>:adevice=hw.1:forceaudio:immediatemode=0 -o raw.avi
> ^^^^^^^^^^^^^
> |- This selects the audio-input-device.

I suspected that was the magic keyword. Now I just need to find
the proper value. In my case, hw.0 seems to get farther.

> -------------------------
>
> You may have to tweek the script a litle for your hardware. You seem to
> want NTSC which also needs other values for hight and witdth.

I can view NTSC composite video with this command:

mplayer tv:// -tv driver=v4l2:input=1:norm=NTSC-M:width=720:height=480

Making mencoder happy takes more work. I combined our two commands
and tried this:

mencoder -oac pcm -ovc lavc -lavcopts vcodec=dvvideo -vf yadif,harddup \
tv:// -tv driver=v4l2:input=1:norm=NTSC-M:width=720:height=480:\
alsa:amode=1:forcechan=2:audiorate=48000:adevice=hw.0:forceaudio:\
immediatemode=0 -o test.avi >~/foo 2>~/bar

The redirected stdout (foo) is as follows:
------------------------------------------------------------------------
MEncoder 1.3.0 (Debian), built with gcc-8 (C) 2000-2016 MPlayer Team
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: pcHDTV HD5500 HDTV
Tuner cap: STEREO LANG1 LANG2
Tuner rxs: MONO STEREO
Capabilities: video capture VBI capture device tuner read/write streaming
supported norms: 0 = NTSC-M; 1 = NTSC-M-JP; 2 = NTSC-443; 3 = PAL-BG; 4 = PAL-I; 5 = PAL-DK; 6 = PAL-M; 7 = PAL-N; 8 = PAL-Nc; 9 = PAL-60; 10 = SECAM-B; 11 = SECAM-G; 12 = SECAM-H; 13 = SECAM-DK; 14 = SECAM-L;
inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
Current input: 1
Current format: UYVY
v4l2: current audio mode is : STEREO
[V] filefmt:9 fourcc:0x59565955 size:720x480 fps:29.970 ftime:=0.0334
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
libavcodec version 58.35.100 (external)
Mismatching header version 58.18.100
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
Opening video filter: [yadif]
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x7f7fb2902000]bicubic scaler, from uyvy422 to yuv420p using MMXEXT
[swscaler @ 0x7f7fb2902000]using unscaled uyvy422 -> yuv420p special converter
videocodec: libavcodec (720x480 fourcc=64737664 [dvsd])
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffrawuyvy] vfm: ffmpeg (RAW UYVY)
==========================================================================
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (720x480 fourcc=64737664 [dvsd])

Exiting...
------------------------------------------------------------------------

The redirected stderr (bar) is as follows:
------------------------------------------------------------------------
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
[dvvideo @ 0x7f7fb1dc7820]Found no DV profile for 720x480 yuv420p video. Valid DV profiles are:
[dvvideo @ 0x7f7fb1dc7820]Frame size: 720x480; pixel format: yuv411p, framerate: 30000/1001
[dvvideo @ 0x7f7fb1dc7820]Frame size: 720x576; pixel format: yuv420p, framerate: 25/1
[dvvideo @ 0x7f7fb1dc7820]Frame size: 720x576; pixel format: yuv411p, framerate: 25/1
[dvvideo @ 0x7f7fb1dc7820]Frame size: 720x480; pixel format: yuv422p, framerate: 30000/1001
[dvvideo @ 0x7f7fb1dc7820]Frame size: 720x576; pixel format: yuv422p, framerate: 25/1
[dvvideo @ 0x7f7fb1dc7820]Frame size: 1280x1080; pixel format: yuv422p, framerate: 30000/1001
[dvvideo @ 0x7f7fb1dc7820]Frame size: 1440x1080; pixel format: yuv422p, framerate: 25/1
[dvvideo @ 0x7f7fb1dc7820]Frame size: 960x720; pixel format: yuv422p, framerate: 60000/1001
[dvvideo @ 0x7f7fb1dc7820]Frame size: 960x720; pixel format: yuv422p, framerate: 50/1
[dvvideo @ 0x7f7fb1dc7820]Frame size: 720x576; pixel format: yuv420p, framerate: 25/1
Could not open codec.
FATAL: Cannot initialize video driver.
Forcing audio preload to 0, max pts correction to 0.
[dvvideo @ 0x7f7fb1dc7820]Found no DV profile for 720x480 yuv420p video. Valid DV profiles are:
[dvvideo @ 0x7f7fb1dc7820]Frame size: 720x480; pixel format: yuv411p, framerate: 30000/1001
[dvvideo @ 0x7f7fb1dc7820]Frame size: 720x576; pixel format: yuv420p, framerate: 25/1
[dvvideo @ 0x7f7fb1dc7820]Frame size: 720x576; pixel format: yuv411p, framerate: 25/1
[dvvideo @ 0x7f7fb1dc7820]Frame size: 720x480; pixel format: yuv422p, framerate: 30000/1001
[dvvideo @ 0x7f7fb1dc7820]Frame size: 720x576; pixel format: yuv422p, framerate: 25/1
[dvvideo @ 0x7f7fb1dc7820]Frame size: 1280x1080; pixel format: yuv422p, framerate: 30000/1001
[dvvideo @ 0x7f7fb1dc7820]Frame size: 1440x1080; pixel format: yuv422p, framerate: 25/1
[dvvideo @ 0x7f7fb1dc7820]Frame size: 960x720; pixel format: yuv422p, framerate: 60000/1001
[dvvideo @ 0x7f7fb1dc7820]Frame size: 960x720; pixel format: yuv422p, framerate: 50/1
[dvvideo @ 0x7f7fb1dc7820]Frame size: 720x576; pixel format: yuv420p, framerate: 25/1
Could not open codec.
FATAL: Cannot initialize video driver.
------------------------------------------------------------------------

Whew! There's a lot to this, and the man page is quite intimidating.

> I use a devuan system and have only alsa installed. No pulseaudio.

I'm using ALSA on a Debian Buster system.

--
/~\ Charlie Gibbs | They don't understand Microsoft
\ / <cgibbs@kltpzyxm.invalid> | has stolen their car and parked
X I'm really at ac.dekanfrus | a taxi in their driveway.
/ \ if you read it the right way. | -- Mayayana

Re: How to capture composite video

<87pmx8gn5r.fsf@usenet.ankman.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6855&group=comp.os.linux.misc#6855

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ank@spamfence.net (Andreas Kohlbach)
Newsgroups: comp.os.linux.misc
Subject: Re: How to capture composite video
Date: Sun, 30 May 2021 13:13:36 -0400
Organization: https://news-commentaries.blogspot.com/
Lines: 85
Message-ID: <87pmx8gn5r.fsf@usenet.ankman.de>
References: <s7pfr30196f@news1.newsguy.com> <atk9nh-fs1.ln1@aretha.foo>
<s8rtaq0eih@news1.newsguy.com> <878s3yjto3.fsf@usenet.ankman.de>
<s8ul5t02f4v@news3.newsguy.com> <s8vbb5$bbb$1@m1.friedhelms.net>
<s90fls0qju@news3.newsguy.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="ce212aed6af7720b8a75448f47e630c5";
logging-data="10411"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX192pcmqA9I4a6D9KgN6GqJg"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:7VLBgebUpicCCjXaVLS54Dj+5sM=
sha1:0uhz4LNwXSBznKL1yrks/UEl90w=
X-Face: '#R~-oJz-_!iXhczPJ;=w1(`5-uQ2$0qHB7KKDV,]VoAC!P?swaa#m|eB<DkOt*XH=~9C[g S^w)b,)1q,{P\7Z3H,N(^m.YKuYM//B{X:PvbDk.|:g:$wVr*3*)[K6F+k\z-s32+oB]YJPy11wuGGz'bQAk~1.b1[;M{^A2@bboIENBB:Wd:<Fm~r7OuiJA1g}7KC-T'>Du+
X-Face-What-Is-It: Capture Bee from Galaga
 by: Andreas Kohlbach - Sun, 30 May 2021 17:13 UTC

On 30 May 2021 16:49:00 GMT, Charlie Gibbs wrote:
>
> On 2021-05-30, Friedhelm Mehnert <honk@friedhelms.net> wrote:
>
>> You may have to tweek the script a litle for your hardware. You seem to
>> want NTSC which also needs other values for hight and witdth.
>
> I can view NTSC composite video with this command:
>
> mplayer tv:// -tv driver=v4l2:input=1:norm=NTSC-M:width=720:height=480
>
> Making mencoder happy takes more work. I combined our two commands
> and tried this:
>
> mencoder -oac pcm -ovc lavc -lavcopts vcodec=dvvideo -vf yadif,harddup \
> tv:// -tv driver=v4l2:input=1:norm=NTSC-M:width=720:height=480:\
> alsa:amode=1:forcechan=2:audiorate=48000:adevice=hw.0:forceaudio:\
> immediatemode=0 -o test.avi >~/foo 2>~/bar
>
> The redirected stdout (foo) is as follows:
> ------------------------------------------------------------------------
> MEncoder 1.3.0 (Debian), built with gcc-8 (C) 2000-2016 MPlayer Team
> success: format: 9 data: 0x0 - 0x0
> TV file format detected.
> Selected driver: v4l2
> name: Video 4 Linux 2 input
> author: Martin Olschewski <EMAIL_ADDRESS>

Aww, poor Martin might get spammed by spammers harvesting from the
usenet. ;-)

> comment: first try, more to come ;-)
> Selected device: pcHDTV HD5500 HDTV
> Tuner cap: STEREO LANG1 LANG2
> Tuner rxs: MONO STEREO
> Capabilities: video capture VBI capture device tuner read/write streaming
> supported norms: 0 = NTSC-M; 1 = NTSC-M-JP; 2 = NTSC-443; 3 = PAL-BG;
> 4 = PAL-I; 5 = PAL-DK; 6 = PAL-M; 7 = PAL-N; 8 = PAL-Nc; 9 = PAL-60;
> 10 = SECAM-B; 11 = SECAM-G; 12 = SECAM-H; 13 = SECAM-DK; 14 = SECAM-L;
> inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
> Current input: 1
> Current format: UYVY
> v4l2: current audio mode is : STEREO
> [V] filefmt:9 fourcc:0x59565955 size:720x480 fps:29.970 ftime:=0.0334
> ==========================================================================
> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
> AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
> Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
> ==========================================================================
> libavcodec version 58.35.100 (external)
> Mismatching header version 58.18.100
> Opening video filter: [expand osd=1]
> Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
> Opening video filter: [harddup]
> Opening video filter: [yadif]
> ==========================================================================
> Opening video decoder: [raw] RAW Uncompressed Video
> Could not find matching colorspace - retrying with -vf scale...
> Opening video filter: [scale]
> Movie-Aspect is undefined - no prescaling applied.
> [swscaler @ 0x7f7fb2902000]bicubic scaler, from uyvy422 to yuv420p using MMXEXT
> [swscaler @ 0x7f7fb2902000]using unscaled uyvy422 -> yuv420p special converter
> videocodec: libavcodec (720x480 fourcc=64737664 [dvsd])
> VDecoder init failed :(
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffrawuyvy] vfm: ffmpeg (RAW UYVY)
> ==========================================================================
> Movie-Aspect is undefined - no prescaling applied.
^^^^^^^^^^^^^^^^^^^^^^^^^
> videocodec: libavcodec (720x480 fourcc=64737664 [dvsd])

[From other snippet]

> Could not open codec.
> FATAL: Cannot initialize video driver.

Not having mencoder installed anymore, using ffmpeg, so cannot test
it. But the man page (also available online) suggests

lavcopts=vcodec=mpeg4:autoaspect=1

That should provide the missing aspect ratio as well as a codec. Still just
guessing here.
--
Andreas

Re: How to capture composite video

<s912vg$jug$1@m1.friedhelms.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6856&group=comp.os.linux.misc#6856

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: honk@friedhelms.net (Friedhelm Mehnert)
Newsgroups: comp.os.linux.misc
Subject: Re: How to capture composite video
Date: Mon, 31 May 2021 00:18:24 +0200 (CEST)
Organization: Spam Sucks!
Lines: 167
Sender: fm@friedhelms.net
Message-ID: <s912vg$jug$1@m1.friedhelms.net>
References: <s7pfr30196f@news1.newsguy.com> <atk9nh-fs1.ln1@aretha.foo> <s8rtaq0eih@news1.newsguy.com> <878s3yjto3.fsf@usenet.ankman.de> <s8ul5t02f4v@news3.newsguy.com> <s8vbb5$bbb$1@m1.friedhelms.net> <s90fls0qju@news3.newsguy.com>
logging-data="20433"; mail-complaints-to="usenet@friedhelms.net"
Injection-Info: reader02.eternal-september.org; posting-host="6b7184f84a9612fb7a83581a9ea9c97e";
logging-data="2578"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5tANvIONCRL5pzvIKAxvywf1E5V3HkUE="
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-16-686-pae (i686))
Cancel-Lock: sha1:XpUxKHjH/22SFkd5jcjyRBgTTew=
 by: Friedhelm Mehnert - Sun, 30 May 2021 22:18 UTC

Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote:
> On 2021-05-30, Friedhelm Mehnert <honk@friedhelms.net> wrote:
>
>> Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote:
>>
>>> On 2021-05-29, Andreas Kohlbach <ank@spamfence.net> wrote:
>>>
>>> Maybe it's time to change the subject from "How to capture composite
>>> video" to "How to capture audio"...
>>
>> You can capture just the video like you did, and use your soundcard to
>> capture the audio at the same time. You have to connect the audio cable
>> to the input of your soundcard in that case. This will give you a better
>> sound than your capture devide in most cases.
>>
>> Here is like I do it:
>>
>> -------------------------
>> nice -19 mencoder -oac pcm -ovc lavc -lavcopts vcodec=dvvideo \
>> -vf yadif,harddup tv:// -tv driver=v4l2:norm=PAL:width=720\
>>:height=576:outfmt=uyvy:device=/dev/video0:input=0:fps=25\
>>:buffersize=1024:alsa:amode=1:forcechan=2:audiorate=48000\
>>:adevice=hw.1:forceaudio:immediatemode=0 -o raw.avi
>> ^^^^^^^^^^^^^
>> |- This selects the audio-input-device.
>
> I suspected that was the magic keyword. Now I just need to find
> the proper value. In my case, hw.0 seems to get farther.
>
>> -------------------------
>>
>> You may have to tweek the script a litle for your hardware. You seem to
>> want NTSC which also needs other values for hight and witdth.
>
> I can view NTSC composite video with this command:
>
> mplayer tv:// -tv driver=v4l2:input=1:norm=NTSC-M:width=720:height=480
>
> Making mencoder happy takes more work. I combined our two commands
> and tried this:
>
> mencoder -oac pcm -ovc lavc -lavcopts vcodec=dvvideo -vf yadif,harddup \
> tv:// -tv driver=v4l2:input=1:norm=NTSC-M:width=720:height=480:\
> alsa:amode=1:forcechan=2:audiorate=48000:adevice=hw.0:forceaudio:\
> immediatemode=0 -o test.avi >~/foo 2>~/bar
>
> The redirected stdout (foo) is as follows:
> ------------------------------------------------------------------------
> MEncoder 1.3.0 (Debian), built with gcc-8 (C) 2000-2016 MPlayer Team
> 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: pcHDTV HD5500 HDTV
> Tuner cap: STEREO LANG1 LANG2
> Tuner rxs: MONO STEREO
> Capabilities: video capture VBI capture device tuner read/write streaming
> supported norms: 0 = NTSC-M; 1 = NTSC-M-JP; 2 = NTSC-443; 3 = PAL-BG; 4 = PAL-I; 5 = PAL-DK; 6 = PAL-M; 7 = PAL-N; 8 = PAL-Nc; 9 = PAL-60; 10 = SECAM-B; 11 = SECAM-G; 12 = SECAM-H; 13 = SECAM-DK; 14 = SECAM-L;
> inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
> Current input: 1
> Current format: UYVY
> v4l2: current audio mode is : STEREO
> [V] filefmt:9 fourcc:0x59565955 size:720x480 fps:29.970 ftime:=0.0334
> ==========================================================================
> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
> AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
> Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
> ==========================================================================
> libavcodec version 58.35.100 (external)
> Mismatching header version 58.18.100
> Opening video filter: [expand osd=1]
> Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
> Opening video filter: [harddup]
> Opening video filter: [yadif]
> ==========================================================================
> Opening video decoder: [raw] RAW Uncompressed Video
> Could not find matching colorspace - retrying with -vf scale...
> Opening video filter: [scale]
> Movie-Aspect is undefined - no prescaling applied.
> [swscaler @ 0x7f7fb2902000]bicubic scaler, from uyvy422 to yuv420p using MMXEXT
> [swscaler @ 0x7f7fb2902000]using unscaled uyvy422 -> yuv420p special converter
> videocodec: libavcodec (720x480 fourcc=64737664 [dvsd])
> VDecoder init failed :(
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffrawuyvy] vfm: ffmpeg (RAW UYVY)
> ==========================================================================
> Movie-Aspect is undefined - no prescaling applied.
> videocodec: libavcodec (720x480 fourcc=64737664 [dvsd])
>
> Exiting...
> ------------------------------------------------------------------------
>
> The redirected stderr (bar) is as follows:
> ------------------------------------------------------------------------
> v4l2: ioctl set format failed: Invalid argument
> v4l2: ioctl set format failed: Invalid argument
> [dvvideo @ 0x7f7fb1dc7820]Found no DV profile for 720x480 yuv420p video. Valid DV profiles are:
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 720x480; pixel format: yuv411p, framerate: 30000/1001
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 720x576; pixel format: yuv420p, framerate: 25/1
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 720x576; pixel format: yuv411p, framerate: 25/1
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 720x480; pixel format: yuv422p, framerate: 30000/1001
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 720x576; pixel format: yuv422p, framerate: 25/1
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 1280x1080; pixel format: yuv422p, framerate: 30000/1001
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 1440x1080; pixel format: yuv422p, framerate: 25/1
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 960x720; pixel format: yuv422p, framerate: 60000/1001
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 960x720; pixel format: yuv422p, framerate: 50/1
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 720x576; pixel format: yuv420p, framerate: 25/1
> Could not open codec.
> FATAL: Cannot initialize video driver.
> Forcing audio preload to 0, max pts correction to 0.
> [dvvideo @ 0x7f7fb1dc7820]Found no DV profile for 720x480 yuv420p video. Valid DV profiles are:
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 720x480; pixel format: yuv411p, framerate: 30000/1001
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 720x576; pixel format: yuv420p, framerate: 25/1
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 720x576; pixel format: yuv411p, framerate: 25/1
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 720x480; pixel format: yuv422p, framerate: 30000/1001
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 720x576; pixel format: yuv422p, framerate: 25/1
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 1280x1080; pixel format: yuv422p, framerate: 30000/1001
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 1440x1080; pixel format: yuv422p, framerate: 25/1
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 960x720; pixel format: yuv422p, framerate: 60000/1001
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 960x720; pixel format: yuv422p, framerate: 50/1
> [dvvideo @ 0x7f7fb1dc7820]Frame size: 720x576; pixel format: yuv420p, framerate: 25/1
> Could not open codec.
> FATAL: Cannot initialize video driver.
> ------------------------------------------------------------------------
>
> Whew! There's a lot to this, and the man page is quite intimidating.
>
>> I use a devuan system and have only alsa installed. No pulseaudio.
>
> I'm using ALSA on a Debian Buster system.
>

That's very close. Seems you got the dimensions and/or the mode wrong.

Found this within the documentation of my grabber:

# test standard width height format input sound
# # 1 NTSC_M 640 x 480 UYVY CVBS yes
# 2 NTSC_443 720 x 480 UYVY CVBS yes
# 3 NTSC_M 640 x 480 UYVY S-VIDEO yes
# # 4 NTSC_443 720 x 480 YUY2 CVBS yes
# 5 NTSC_443 720 x 480 RGB24 CVBS yes
# 6 NTSC_443 720 x 480 BGR24 CVBS yes
# 7 NTSC_443 720 x 480 RGB32 CVBS yes
# 8 NTSC_443 720 x 480 BGR32 CVBS yes
# # 9 NTSC_M 320 x 240 UYVY CVBS yes
# 10 NTSC_443 360 x 240 UYVY CVBS yes
# 11 NTSC_M 320 x 240 UYVY S-VIDEO yes
# # 12 NTSC_443 360 x 240 YUY2 CVBS yes
# 13 NTSC_443 360 x 240 RGB24 CVBS yes
# 14 NTSC_443 320 x 240 BGR24 CVBS yes
# 15 NTSC_443 320 x 240 RGB32 CVBS yes
# 16 NTSC_443 360 x 240 BGR32 CVBS yes

Perhaps you should try NTSC_443 or change the dimensions to 640 x 480.

Can't help you further, since I have ony PAL here.

Good Luck!

Re: How to capture composite video

<s933se114pc@news4.newsguy.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6857&group=comp.os.linux.misc#6857

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news-out.netnews.com!newsin.alt.net!fdcspool1.netnews.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news4
From: cgibbs@kltpzyxm.invalid (Charlie Gibbs)
Newsgroups: comp.os.linux.misc
Subject: Re: How to capture composite video
Date: 31 May 2021 16:46:06 GMT
Organization: NewsGuy.com
Lines: 106
Message-ID: <s933se114pc@news4.newsguy.com>
References: <s7pfr30196f@news1.newsguy.com> <atk9nh-fs1.ln1@aretha.foo>
<s8rtaq0eih@news1.newsguy.com> <878s3yjto3.fsf@usenet.ankman.de>
<s8ul5t02f4v@news3.newsguy.com> <s8vbb5$bbb$1@m1.friedhelms.net>
<s90fls0qju@news3.newsguy.com> <87pmx8gn5r.fsf@usenet.ankman.de>
NNTP-Posting-Host: pc8b9adca78202959fadb4a557ef8d0ece9ced5c78a32e826.newsdawg.com
User-Agent: slrn/1.0.3 (Linux)
X-Received-Bytes: 5352
 by: Charlie Gibbs - Mon, 31 May 2021 16:46 UTC

On 2021-05-30, Andreas Kohlbach <ank@spamfence.net> wrote:

> On 30 May 2021 16:49:00 GMT, Charlie Gibbs wrote:
>
>> mencoder -oac pcm -ovc lavc -lavcopts vcodec=dvvideo -vf yadif,harddup \
>> tv:// -tv driver=v4l2:input=1:norm=NTSC-M:width=720:height=480:\
>> alsa:amode=1:forcechan=2:audiorate=48000:adevice=hw.0:forceaudio:\
>> immediatemode=0 -o test.avi >~/foo 2>~/bar

<snip>

>> Could not open codec.
>> FATAL: Cannot initialize video driver.
>
> Not having mencoder installed anymore, using ffmpeg, so cannot test
> it. But the man page (also available online) suggests
>
> lavcopts=vcodec=mpeg4:autoaspect=1
>
> That should provide the missing aspect ratio as well as a codec. Still just
> guessing here.

Thanks, that works much better. Here's my latest command:

mencoder -oac pcm -ovc lavc -lavcopts vcodec=mpeg4:autoaspect=1\
-vf yadif,harddup tv:// -tv driver=v4l2:input=1:norm=NTSC-M:\
width=640:height=480:alsa:amode=1:forcechan=2:audiorate=48000:\
adevice=hw.0:forceaudio:immediatemode=0 -o test.avi

And here's the result:

MEncoder 1.3.0 (Debian), built with gcc-8 (C) 2000-2016 MPlayer Team
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: pcHDTV HD5500 HDTV
Tuner cap: STEREO LANG1 LANG2
Tuner rxs: MONO STEREO
Capabilities: video capture VBI capture device tuner read/write streaming
supported norms: 0 = NTSC-M; 1 = NTSC-M-JP; 2 = NTSC-443; 3 = PAL-BG; 4 = PAL-I; 5 = PAL-DK; 6 = PAL-M; 7 = PAL-N; 8 = PAL-Nc; 9 = PAL-60; 10 = SECAM-B; 11 = SECAM-G; 12 = SECAM-H; 13 = SECAM-DK; 14 = SECAM-L;
inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
Current input: 1
Current format: UYVY
v4l2: current audio mode is : STEREO
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
[V] filefmt:9 fourcc:0x59565955 size:640x480 fps:29.970 ftime:=0.0334
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
libavcodec version 58.35.100 (external)
Mismatching header version 58.18.100
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
Opening video filter: [yadif]
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x7f8cfe22e000]bicubic scaler, from uyvy422 to yuv420p using MMXEXT
[swscaler @ 0x7f8cfe22e000]using unscaled uyvy422 -> yuv420p special converter
videocodec: libavcodec (640x480 fourcc=34504d46 [FMP4])
Selected video codec: [rawuyvy] vfm: raw (RAW UYVY)
==========================================================================
Forcing audio preload to 0, max pts correction to 0.
Pos: 0.0s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x7f8cfd6f3820]AVFrame.format is not set
[mpeg4 @ 0x7f8cfd6f3820]AVFrame.width or height is not set
Writing header...
ODML: vprp aspect is 4:3.
Writing header...
ODML: vprp aspect is 4:3.

....

Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 4:3.

Video stream: 2183.413 kbit/s (272926 B/s) size: 4243699 bytes 15.549 secs 399 frames

Audio stream: 1536.000 kbit/s (192000 B/s) size: 3072000 bytes 16.000 secs
v4l2: 422 frames successfully processed, 66 frames dropped.

There are lots of copies of those "AVFrame.format and AVFrame.width
not set" messages. A web search for those messages gets lots of
hits, but not much useful information. But perhaps it doesn't
matter - I wind up with a file called "test.avi" which contains
a video that mplayer happily plays. (No audio yet, but I'll
worry about that later.)

Thanks for the help!

--
/~\ Charlie Gibbs | They don't understand Microsoft
\ / <cgibbs@kltpzyxm.invalid> | has stolen their car and parked
X I'm really at ac.dekanfrus | a taxi in their driveway.
/ \ if you read it the right way. | -- Mayayana

Re: How to capture composite video

<s933sd014pc@news4.newsguy.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6858&group=comp.os.linux.misc#6858

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!rocksolid2!i2pn.org!paganini.bofh.team!goblin2!goblin1!goblin.stu.neva.ru!spln!extra.newsguy.com!newsp.newsguy.com!news4
From: cgibbs@kltpzyxm.invalid (Charlie Gibbs)
Newsgroups: comp.os.linux.misc
Subject: Re: How to capture composite video
Date: 31 May 2021 16:46:05 GMT
Organization: NewsGuy.com
Lines: 48
Message-ID: <s933sd014pc@news4.newsguy.com>
References: <s7pfr30196f@news1.newsguy.com> <atk9nh-fs1.ln1@aretha.foo>
<s8rtaq0eih@news1.newsguy.com> <878s3yjto3.fsf@usenet.ankman.de>
<s8ul5t02f4v@news3.newsguy.com> <s8vbb5$bbb$1@m1.friedhelms.net>
<s90fls0qju@news3.newsguy.com> <s912vg$jug$1@m1.friedhelms.net>
NNTP-Posting-Host: peba513db3dc2649e67f29020717c9ea1bd269a735188f0f1.newsdawg.com
User-Agent: slrn/1.0.3 (Linux)
 by: Charlie Gibbs - Mon, 31 May 2021 16:46 UTC

On 2021-05-30, Friedhelm Mehnert <honk@friedhelms.net> wrote:

> Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote:
>
>> mencoder -oac pcm -ovc lavc -lavcopts vcodec=dvvideo -vf yadif,harddup \
>> tv:// -tv driver=v4l2:input=1:norm=NTSC-M:width=720:height=480:\
>> alsa:amode=1:forcechan=2:audiorate=48000:adevice=hw.0:forceaudio:\
>> immediatemode=0 -o test.avi >~/foo 2>~/bar
>
> That's very close. Seems you got the dimensions and/or the mode wrong.
>
> Found this within the documentation of my grabber:
>
> # test standard width height format input sound
> #
> # 1 NTSC_M 640 x 480 UYVY CVBS yes
> # 2 NTSC_443 720 x 480 UYVY CVBS yes
> # 3 NTSC_M 640 x 480 UYVY S-VIDEO yes
> #
> # 4 NTSC_443 720 x 480 YUY2 CVBS yes
> # 5 NTSC_443 720 x 480 RGB24 CVBS yes
> # 6 NTSC_443 720 x 480 BGR24 CVBS yes
> # 7 NTSC_443 720 x 480 RGB32 CVBS yes
> # 8 NTSC_443 720 x 480 BGR32 CVBS yes
> #
> # 9 NTSC_M 320 x 240 UYVY CVBS yes
> # 10 NTSC_443 360 x 240 UYVY CVBS yes
> # 11 NTSC_M 320 x 240 UYVY S-VIDEO yes
> #
> # 12 NTSC_443 360 x 240 YUY2 CVBS yes
> # 13 NTSC_443 360 x 240 RGB24 CVBS yes
> # 14 NTSC_443 320 x 240 BGR24 CVBS yes
> # 15 NTSC_443 320 x 240 RGB32 CVBS yes
> # 16 NTSC_443 360 x 240 BGR32 CVBS yes
>
> Perhaps you should try NTSC_443 or change the dimensions to 640 x 480.
>
> Can't help you further, since I have ony PAL here.
>
> Good Luck!

Changing to 640 x 480 got rid of a lot of error messages. Thanks.

--
/~\ Charlie Gibbs | They don't understand Microsoft
\ / <cgibbs@kltpzyxm.invalid> | has stolen their car and parked
X I'm really at ac.dekanfrus | a taxi in their driveway.
/ \ if you read it the right way. | -- Mayayana

Re: How to capture composite video

<q9qloh-572.ln1@aretha.foo>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6895&group=comp.os.linux.misc#6895

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 03 Jun 2021 16:38:40 -0500
Message-Id: <q9qloh-572.ln1@aretha.foo>
From: phaywood@alphalink.com.au (Peter 'Shaggy' Haywood)
Subject: Re: How to capture composite video
Newsgroups: comp.os.linux.misc
Date: Thu, 03 Jun 2021 12:10:34 +1000
References: <s7pfr30196f@news1.newsguy.com> <atk9nh-fs1.ln1@aretha.foo> <s8rtaq0eih@news1.newsguy.com> <878s3yjto3.fsf@usenet.ankman.de> <s8ul5t02f4v@news3.newsguy.com> <s8vbb5$bbb$1@m1.friedhelms.net> <s90fls0qju@news3.newsguy.com> <87pmx8gn5r.fsf@usenet.ankman.de> <s933se114pc@news4.newsguy.com>
User-Agent: KNode/0.10.9
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
Lines: 137
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-eR6DHxVTdhZPTA2ocuq3Uf92JQSA1bxg4ZQtHgi9b9wGNQrduAAKmz/dI4TIFavgACffQJxc8Y+npPW!aCDBM0vE8Ttn5AX5/sZB1KIsL32FlvFhoPWrZWUEgb/xmJxROw==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 7013
 by: Peter 'Shaggy&# - Thu, 3 Jun 2021 02:10 UTC

Groovy hepcat Charlie Gibbs was jivin' in comp.os.linux.misc on Tue, 1
Jun 2021 02:46 am. It's a cool scene! Dig it.

> On 2021-05-30, Andreas Kohlbach <ank@spamfence.net> wrote:
>
>> On 30 May 2021 16:49:00 GMT, Charlie Gibbs wrote:
>>
>>> mencoder -oac pcm -ovc lavc -lavcopts vcodec=dvvideo -vf
>>> yadif,harddup \ tv:// -tv
>>> driver=v4l2:input=1:norm=NTSC-M:width=720:height=480:\
>>> alsa:amode=1:forcechan=2:audiorate=48000:adevice=hw.0:forceaudio:\
>>> immediatemode=0 -o test.avi >~/foo 2>~/bar
>
> <snip>
>
>>> Could not open codec.
>>> FATAL: Cannot initialize video driver.
>>
>> Not having mencoder installed anymore, using ffmpeg, so cannot test
>> it. But the man page (also available online) suggests
>>
>> lavcopts=vcodec=mpeg4:autoaspect=1
>>
>> That should provide the missing aspect ratio as well as a codec.
>> Still just guessing here.
>
> Thanks, that works much better. Here's my latest command:
>
> mencoder -oac pcm -ovc lavc -lavcopts vcodec=mpeg4:autoaspect=1\
> -vf yadif,harddup tv:// -tv driver=v4l2:input=1:norm=NTSC-M:\
> width=640:height=480:alsa:amode=1:forcechan=2:audiorate=48000:\
> adevice=hw.0:forceaudio:immediatemode=0 -o test.avi
>
> And here's the result:
>
> MEncoder 1.3.0 (Debian), built with gcc-8 (C) 2000-2016 MPlayer Team
> 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: pcHDTV HD5500 HDTV
> Tuner cap: STEREO LANG1 LANG2
> Tuner rxs: MONO STEREO
> Capabilities: video capture VBI capture device tuner read/write
> streaming supported norms: 0 = NTSC-M; 1 = NTSC-M-JP; 2 = NTSC-443; 3
> = PAL-BG; 4 = PAL-I; 5 = PAL-DK; 6 = PAL-M; 7 = PAL-N; 8 = PAL-Nc; 9
> = PAL-60; 10 = SECAM-B; 11 = SECAM-G; 12 = SECAM-H; 13 = SECAM-DK; 14
> = SECAM-L; inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
> Current input: 1 Current format: UYVY
> v4l2: current audio mode is : STEREO
> v4l2: ioctl set format failed: Invalid argument
> v4l2: ioctl set format failed: Invalid argument
> [V] filefmt:9 fourcc:0x59565955 size:640x480 fps:29.970
> [ftime:=0.0334
>
==========================================================================
> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
> AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio:
> 192000->192000) Selected audio codec: [pcm] afm: pcm (Uncompressed
> PCM)
>
==========================================================================
> libavcodec version 58.35.100 (external) Mismatching header version
> 58.18.100 Opening video filter: [expand osd=1]
> Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
> Opening video filter: [harddup]
> Opening video filter: [yadif]
>
==========================================================================
> Opening video decoder: [raw] RAW Uncompressed Video
> Could not find matching colorspace - retrying with -vf scale...
> Opening video filter: [scale]
> Movie-Aspect is undefined - no prescaling applied.
> [swscaler @ 0x7f8cfe22e000]bicubic scaler, from uyvy422 to yuv420p
> [using MMXEXT swscaler @ 0x7f8cfe22e000]using unscaled uyvy422 ->
> [yuv420p special converter
> videocodec: libavcodec (640x480 fourcc=34504d46 [FMP4])
> Selected video codec: [rawuyvy] vfm: raw (RAW UYVY)
>
==========================================================================
> Forcing audio preload to 0, max pts correction to 0.
> Pos: 0.0s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
> [mpeg4 @ 0x7f8cfd6f3820]AVFrame.format is not set
> [mpeg4 @ 0x7f8cfd6f3820]AVFrame.width or height is not set
> Writing header...
> ODML: vprp aspect is 4:3.
> Writing header...
> ODML: vprp aspect is 4:3.
>
> ...
>
> Flushing video frames.
> Writing index...
> Writing header...
> ODML: vprp aspect is 4:3.
>
> Video stream: 2183.413 kbit/s (272926 B/s) size: 4243699 bytes
> 15.549 secs 399 frames
>
> Audio stream: 1536.000 kbit/s (192000 B/s) size: 3072000 bytes
> 16.000 secs v4l2: 422 frames successfully processed, 66 frames
> dropped.
>
> There are lots of copies of those "AVFrame.format and AVFrame.width
> not set" messages. A web search for those messages gets lots of
> hits, but not much useful information. But perhaps it doesn't
> matter - I wind up with a file called "test.avi" which contains
> a video that mplayer happily plays. (No audio yet, but I'll
> worry about that later.)

It looks like your mencoder command line is working. You seem to be
getting "sound" captured. It's just that it's from an empty sound
source. All you need to do is find or create a full one.
Does your TV capture card have an audio input connector? If not, you
could connect your VCR's audio output directly to the sound card's
input. You may need an RCA - audio jack adaptor for this.
Or, if the TV card came with an s-video adaptor, it may have composite
and RCA audio connectors. Or your VCR might have s-video output; for
which you need a straight-through s-video cable. In either case you
need to capture from the s-video input, of course.
A TV card will usually have its own built-in sound device. If so, you
need to determine its ALSA device name and use that in
the -tv ...:adevice= option. But some don't have a sound device. In
that case it should connect to the sound card via a cable. But, of
course, as I said before, you could connect the VCR to the sound card
directly.

--

----- Dig the NEW and IMPROVED news sig!! -----

-------------- Shaggy was here! ---------------
Ain't I'm a dawg!!

Re: How to capture composite video

<3585a047-cedf-4871-8ee6-d40dd1797febn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=13805&group=comp.os.linux.misc#13805

  copy link   Newsgroups: comp.os.linux.misc
X-Received: by 2002:ad4:452e:0:b0:66c:e86e:a1e5 with SMTP id l14-20020ad4452e000000b0066ce86ea1e5mr109636qvu.10.1697004342321;
Tue, 10 Oct 2023 23:05:42 -0700 (PDT)
X-Received: by 2002:a9d:6357:0:b0:6bb:1c29:f0fa with SMTP id
y23-20020a9d6357000000b006bb1c29f0famr6483327otk.5.1697004342063; Tue, 10 Oct
2023 23:05:42 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.linux.misc
Date: Tue, 10 Oct 2023 23:05:41 -0700 (PDT)
In-Reply-To: <q9qloh-572.ln1@aretha.foo>
Injection-Info: google-groups.googlegroups.com; posting-host=92.223.30.54; posting-account=IgMuIwoAAACioT9bkt0N4RRvLVdCqpm8
NNTP-Posting-Host: 92.223.30.54
References: <s7pfr30196f@news1.newsguy.com> <atk9nh-fs1.ln1@aretha.foo>
<s8rtaq0eih@news1.newsguy.com> <878s3yjto3.fsf@usenet.ankman.de>
<s8ul5t02f4v@news3.newsguy.com> <s8vbb5$bbb$1@m1.friedhelms.net>
<s90fls0qju@news3.newsguy.com> <87pmx8gn5r.fsf@usenet.ankman.de>
<s933se114pc@news4.newsguy.com> <q9qloh-572.ln1@aretha.foo>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3585a047-cedf-4871-8ee6-d40dd1797febn@googlegroups.com>
Subject: Re: How to capture composite video
From: vinhoxie@gmail.com (Vinho Xie)
Injection-Date: Wed, 11 Oct 2023 06:05:42 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Vinho Xie - Wed, 11 Oct 2023 06:05 UTC

On Friday, June 4, 2021 at 5:38:50 AM UTC+8, Peter 'Shaggy' Haywood wrote:
> Groovy hepcat Charlie Gibbs was jivin' in comp.os.linux.misc on Tue, 1
> Jun 2021 02:46 am. It's a cool scene! Dig it.
> > On 2021-05-30, Andreas Kohlbach <a...@spamfence.net> wrote:
> >
> >> On 30 May 2021 16:49:00 GMT, Charlie Gibbs wrote:
> >>
> >>> mencoder -oac pcm -ovc lavc -lavcopts vcodec=dvvideo -vf
> >>> yadif,harddup \ tv:// -tv
> >>> driver=v4l2:input=1:norm=NTSC-M:width=720:height=480:\
> >>> alsa:amode=1:forcechan=2:audiorate=48000:adevice=hw.0:forceaudio:\
> >>> immediatemode=0 -o test.avi >~/foo 2>~/bar
> >
> > <snip>
> >
> >>> Could not open codec.
> >>> FATAL: Cannot initialize video driver.
> >>
> >> Not having mencoder installed anymore, using ffmpeg, so cannot test
> >> it. But the man page (also available online) suggests
> >>
> >> lavcopts=vcodec=mpeg4:autoaspect=1
> >>
> >> That should provide the missing aspect ratio as well as a codec.
> >> Still just guessing here.
> >
> > Thanks, that works much better. Here's my latest command:
> >
> > mencoder -oac pcm -ovc lavc -lavcopts vcodec=mpeg4:autoaspect=1\
> > -vf yadif,harddup tv:// -tv driver=v4l2:input=1:norm=NTSC-M:\
> > width=640:height=480:alsa:amode=1:forcechan=2:audiorate=48000:\
> > adevice=hw.0:forceaudio:immediatemode=0 -o test.avi
> >
> > And here's the result:
> >
> > MEncoder 1.3.0 (Debian), built with gcc-8 (C) 2000-2016 MPlayer Team
> > success: format: 9 data: 0x0 - 0x0
> > TV file format detected.
> > Selected driver: v4l2
> > name: Video 4 Linux 2 input
> > author: Martin Olschewski <olsch...@zpr.uni-koeln.de>
> > comment: first try, more to come ;-)
> > Selected device: pcHDTV HD5500 HDTV
> > Tuner cap: STEREO LANG1 LANG2
> > Tuner rxs: MONO STEREO
> > Capabilities: video capture VBI capture device tuner read/write
> > streaming supported norms: 0 = NTSC-M; 1 = NTSC-M-JP; 2 = NTSC-443; 3
> > = PAL-BG; 4 = PAL-I; 5 = PAL-DK; 6 = PAL-M; 7 = PAL-N; 8 = PAL-Nc; 9
> > = PAL-60; 10 = SECAM-B; 11 = SECAM-G; 12 = SECAM-H; 13 = SECAM-DK; 14
> > = SECAM-L; inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
> > Current input: 1 Current format: UYVY
> > v4l2: current audio mode is : STEREO
> > v4l2: ioctl set format failed: Invalid argument
> > v4l2: ioctl set format failed: Invalid argument
> > [V] filefmt:9 fourcc:0x59565955 size:640x480 fps:29.970
> > [ftime:=0.0334
> >
> ==========================================================================
> > Opening audio decoder: [pcm] Uncompressed PCM audio decoder
> > AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio:
> > 192000->192000) Selected audio codec: [pcm] afm: pcm (Uncompressed
> > PCM)
> >
> ==========================================================================
> > libavcodec version 58.35.100 (external) Mismatching header version
> > 58.18.100 Opening video filter: [expand osd=1]
> > Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
> > Opening video filter: [harddup]
> > Opening video filter: [yadif]
> >
> ==========================================================================
> > Opening video decoder: [raw] RAW Uncompressed Video
> > Could not find matching colorspace - retrying with -vf scale...
> > Opening video filter: [scale]
> > Movie-Aspect is undefined - no prescaling applied.
> > [swscaler @ 0x7f8cfe22e000]bicubic scaler, from uyvy422 to yuv420p
> > [using MMXEXT swscaler @ 0x7f8cfe22e000]using unscaled uyvy422 ->
> > [yuv420p special converter
> > videocodec: libavcodec (640x480 fourcc=34504d46 [FMP4])
> > Selected video codec: [rawuyvy] vfm: raw (RAW UYVY)
> >
> ==========================================================================
> > Forcing audio preload to 0, max pts correction to 0.
> > Pos: 0.0s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
> > [mpeg4 @ 0x7f8cfd6f3820]AVFrame.format is not set
> > [mpeg4 @ 0x7f8cfd6f3820]AVFrame.width or height is not set
> > Writing header...
> > ODML: vprp aspect is 4:3.
> > Writing header...
> > ODML: vprp aspect is 4:3.
> >
> > ...
> >
> > Flushing video frames.
> > Writing index...
> > Writing header...
> > ODML: vprp aspect is 4:3.
> >
> > Video stream: 2183.413 kbit/s (272926 B/s) size: 4243699 bytes
> > 15.549 secs 399 frames
> >
> > Audio stream: 1536.000 kbit/s (192000 B/s) size: 3072000 bytes
> > 16.000 secs v4l2: 422 frames successfully processed, 66 frames
> > dropped.
> >
> > There are lots of copies of those "AVFrame.format and AVFrame.width
> > not set" messages. A web search for those messages gets lots of
> > hits, but not much useful information. But perhaps it doesn't
> > matter - I wind up with a file called "test.avi" which contains
> > a video that mplayer happily plays. (No audio yet, but I'll
> > worry about that later.)
> It looks like your mencoder command line is working. You seem to be
> getting "sound" captured. It's just that it's from an empty sound
> source. All you need to do is find or create a full one.
> Does your TV capture card have an audio input connector? If not, you
> could connect your VCR's audio output directly to the sound card's
> input. You may need an RCA - audio jack adaptor for this.
> Or, if the TV card came with an s-video adaptor, it may have composite
> and RCA audio connectors. Or your VCR might have s-video output; for
> which you need a straight-through s-video cable. In either case you
> need to capture from the s-video input, of course.
> A TV card will usually have its own built-in sound device. If so, you
> need to determine its ALSA device name and use that in
> the -tv ...:adevice= option. But some don't have a sound device. In
> that case it should connect to the sound card via a cable. But, of
> course, as I said before, you could connect the VCR to the sound card
> directly.
> --
>
>
> ----- Dig the NEW and IMPROVED news sig!! -----
>
>
> -------------- Shaggy was here! ---------------
> Ain't I'm a dawg!!
How to do a screen grab on desktop computers? There are a handful of solutions. In this blog, we will teach you how to screen grab on PC with built-in tools, software, online, and extensions.
https://www.leawo.org/entips/video-screen-grab-on-pc-1410.html?blog=1410


computers / comp.os.linux.misc / Re: How to capture composite video

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor