[Cin] Record camcorder video stream via v4l2 and hdmi-usb3 capture as input device

Andrew Randrianasulu randrianasulu at gmail.com
Tue May 27 16:28:53 CEST 2025


On Tue, May 27, 2025 at 7:02 PM Terje J. Hanssen via Cin
<cin at lists.cinelerra-gg.org> wrote:
>
>
>
> Den 27.05.2025 12:54, skrev Terje J. Hanssen:
>
> I tried to Record camcorder video stream via v4l2 and hdmi-usb3 capture as input device.
>
> ms2130 is more powerful but else similar to the usb2 EasyCap device example described in the CinGG manual
> https://cinelerra-gg.org/download/CinelerraGG_Manual/Use_Case_1_a_EasyCap.html
>
> My Sony FX7-E 1080i50 HDV camcorder was connected via HDMI to a ms2130 usb3 capture card.
>
> My procedure description here on openSUSE Tumbleweed-Slowroll, kernel  6.12.30-1.0.4.sr20250501-longterm
>
> ~/Applications> ./CinGG-20250430-x86_64.AppImage
> Cinelerra Infinity - built: Apr 30 2025 07:18:32
>
> 1) Settings > Preferences > Record
>
> File format: FFMPEG     mp4
>
> Video In:
>
> Record driver: Video4Linux2 /dev(video0
>
> The first thing I noticed was that default Record video setting was SD NTSC, not PAL as else according to my time zone.
> Could this possibly be changed as else?
>
> Frames to record on disk: 30 (default)?
>
> Changed frame to a camcorder resolution and fps supported by v4l2 and ms2130:
>
> Frame: 1920 x 1080 (was default NTSC SD)
> fps: 50 (progressive)
>
>
> File > Record r
>
> Two windows opened, one showing the running record time etc. and the other the camera window image.
>
>
> Unhappily, when I reconnected the camcorder to re-test today, the second window with the camera image did not longer open!!
> I've tried to reset the machine and camcorder, but no. Did also a test with system ffplay (when the v4l2 was free again) and it worked.
>
> Obviously here is something that causes this confusing issue, but what?  load straty, a changed setting or something else?
> Happily the window opened yesterday, so I know the should work.
> I understand this can be difficult to troubleshoot without a similar setup.

There is checkbox named Monitor Video. Be sure you have it  set.

I usually set all parameters (like frame size, framerate, type of
Video Input device) in Recording tab.

Note that in your case while you record SD it gets upscaled by your
svideo -> hdmi and  hdmi to usb converters to 1080p50

There is red button and above it filename input field. Put
path/filename there, hit Record, and it should start recording to that
file.

In case  you played with contrast/brightness settings (cingg uses its
own set for v4l devices) you can run guvcview and restore them to
their default values

>
>
> My simple question are:
>
> Should the video stream be "recorded" and stored somewhere (according to some settings)?
> Can it be saved as a video file type on disk?
>
> I am also interested to see if yuv422p color sampling is retained.
>
>
> 3. Additional, after further reading more in the manual section (before EasyCap):
> Transfer VHS/DVD Media or Video8/Hi8 Tapes into CINELERRA-GG
> https://cinelerra-gg.org/download/CinelerraGG_Manual/Transfer_VHS_DVD_Media_or_V.html
>
> Fig 13.17 vs text section:
>
> In the Video In section, change the Record Driver to whatever makes sense for your capture card. The test case for the CX23418 would use Video4Linux2 MPEG.
> A test case for an EasyCap Model #DC60 would use Video4Linux2 JPEG. If unknown what your card uses, you should experiment with Video4Linux2 or Screencapture as good possibilities.
>
> Is there a typo in the text line, so that it rather should be:   The test case for the CX23418 would use "DVB" .......(as in Fig 13.17)?
>
>
> 4, Fig 13.18 and text section below
> https://cinelerra-gg.org/download/CinelerraGG_Manual/Transfer_VHS_DVD_Media_or_V.html#fig:vhs01
>
> Click on the Antenna icon (3rd icon from the left on the left side of the right hand screen window).
> In the popup Channels menu, click on Add which brings up the Edit Channel menu.
>
> Obviously I cannot see the lower part of Fig 13.18 before the Camera window appear again?
>
>
> Terje J. H
>
>
> A copy from the running terminal:
>
> BC_DisplayInfo::gl_fb_config failed
> DeviceV4L2Base::v4l2_open pixels="YUYV"; res="1920x1080 1600x1200 1360x768 1280x1024 1280x960 1280x720 1024x768 800x600 720x576 720x480 640x480"
> v4l2 s_fmt 1920x1080 YUYV
> DeviceV4L2Base::v4l2_open VIDIOC_S_STD: Uegnet «ioctl» for enhet
>
>
> Terje J. Hanssen
> '
>
>
>
> --
> Cin mailing list
> Cin at lists.cinelerra-gg.org
> https://lists.cinelerra-gg.org/mailman/listinfo/cin


More information about the Cin mailing list