Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

If Bill Gates is the Devil then Linus Torvalds must be the Messiah. -- Unknown source


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

SubjectAuthor
* How to capture composite videoCharlie Gibbs
+* Re: How to capture composite videoThe Natural Philosopher
|`* Re: How to capture composite videoRoger Blake
| +- Re: How to capture composite videopH
| `* Re: How to capture composite videoThe Doctor
|  `- Re: How to capture composite videoRoger Blake
+- Re: How to capture composite videoMSB
+* Re: How to capture composite videoRobert Riches
|`* Re: How to capture composite videoCharlie Gibbs
| `* Re: How to capture composite videoRich
|  `* Re: How to capture composite videoCharlie Gibbs
|   `- Re: How to capture composite videoRich
+* Re: How to capture composite videoPeter 'Shaggy' Haywood
|`* 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
`* Re: How to capture composite videoFalscher Bruce
 `* Re: How to capture composite videoAndreas Kohlbach
  `* Re: How to capture composite videoComputer Nerd Kev
   +- Re: How to capture composite videoCharlie Gibbs
   `- Re: How to capture composite videoAndreas Kohlbach

Pages:12
Re: How to capture composite video

<s933se114pc@news4.newsguy.com>

  copy mid

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

  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: cgi...@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.novabbs.com/computers/article-flat.php?id=5147&group=comp.os.linux.misc#5147

  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: cgi...@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.novabbs.com/computers/article-flat.php?id=5184&group=comp.os.linux.misc#5184

  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: phayw...@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

<s7r0d0$2123$53@gallifrey.nk.ca>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.nk.ca!.POSTED.doctor.nl2k.ab.ca!not-for-mail
From: doc...@doctor.nl2k.ab.ca (The Doctor)
Newsgroups: comp.os.linux.misc
Subject: Re: How to capture composite video
Date: Sun, 16 May 2021 11:41:20 -0000 (UTC)
Organization: NetKnow News
Message-ID: <s7r0d0$2123$53@gallifrey.nk.ca>
References: <s7pfr30196f@news1.newsguy.com> <s7pidv$7o5$4@dont-email.me> <20210515202511@news.eternal-september.org>
Injection-Date: Sun, 16 May 2021 11:41:20 -0000 (UTC)
Injection-Info: gallifrey.nk.ca; posting-host="doctor.nl2k.ab.ca:204.209.81.1";
logging-data="66627"; mail-complaints-to="usenet@gallifrey.nk.ca"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: doctor@doctor.nl2k.ab.ca (The Doctor)
 by: The Doctor - Sun, 16 May 2021 11:41 UTC

In article <20210515202511@news.eternal-september.org>,
Roger Blake <rogblake@iname.invalid> wrote:
>On 2021-05-15, The Natural Philosopher <tnp@invalid.invalid> wrote:
>> Been there failed to do that. Get a second hand DVD and VHS recorder -
>> they allow transcription - and save yourself a whole world of pain
>
>That's what I do, use the DVD recorder for the initial capture and then
>use Handbrake to create an mp4 from that. Works well enough with a minimum
>of aggravation.

Must try!

>
>--
>------------------------------------------------------------------------------
> Roger Blake (Posts from Google Groups killfiled due to excess spam.)
>
> 18 Reasons I won't be vaccinated -- https://tinyurl.com/ebty2dx3
> Covid vaccines: experimental biology -- https://tinyurl.com/57mncfm5
> The fraud of "Climate Change" -- https://RealClimateScience.com
> Don't talk to cops! -- https://DontTalkToCops.com
>------------------------------------------------------------------------------

Good reasons!
--
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b
Faith in an institution is, at best, idolatry. -unknown

Re: How to capture composite video

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

  copy mid

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

  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: vinho...@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

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor