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

Terje J. Hanssen terjejhanssen at gmail.com
Tue May 27 18:01:56 CEST 2025



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.

>
> My simple question are:
>
>  1. Should the video stream be "recorded" and stored somewhere
>     (according to some settings)?
>  2. 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 (3^rd 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
> '
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20250527/27b95126/attachment.htm>


More information about the Cin mailing list