Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video is recorded but are saved as empty & hoax files #692

Open
sameersharma2006 opened this issue Apr 12, 2024 · 53 comments
Open

Video is recorded but are saved as empty & hoax files #692

sameersharma2006 opened this issue Apr 12, 2024 · 53 comments

Comments

@sameersharma2006
Copy link

sameersharma2006 commented Apr 12, 2024

Hey there snap maintainer here, i have opened this to seek some help regarding an issue that pests the snap builds.

Video is captured successfully but are saved as empty files having size of 0-15kb.

I have staged gstreamer, libvlc & ffmpeg.

No specific logs indicate anything related to this.

Snap bug-tracker issue: https://gitlab.com/sameersharma2006/webcamoid-snap/-/issues/1

Build recipe: https://gitlab.com/sameersharma2006/webcamoid-snap/-/blob/main/snapcraft.yaml?ref_type=heads

@sameersharma2006 sameersharma2006 changed the title Video is recorded but not saved properly Video is recorded but are saved as empty & hoax files Apr 12, 2024
@hipersayanX
Copy link
Member

Try uncommenting this line.
Also, which FFmpeg version are you compiling against?

@sameersharma2006
Copy link
Author

sameersharma2006 commented Apr 13, 2024

Try uncommenting this line.

Ok, will try that.

Also, which FFmpeg version are you compiling against?

ffmpeg 6.1.1 , last ffmpeg version supported by release 9.1.1 as it won't build with ffmpeg7

Edit: Used upstream patch to build successfully with ffmpeg7.

Edit: Added patch for logs: https://gitlab.com/sameersharma2006/webcamoid-snap/-/commit/2236ef3787d21f5921b5f643f2d8fd1c5186789d [Previous patch was wrongly built on dev branch, current patch targets tag-9.1.1]

Final & valid patch for enabling logs: https://gitlab.com/sameersharma2006/webcamoid-snap/-/commit/d342a777fee1afd9612457e5151472028d251b22

@sameersharma2006
Copy link
Author

sameersharma2006 commented Apr 13, 2024

Logs (Maybe Relevant );

[2024-04-13 12:21:19.996, Webcamoid, 0x7f0cb82ba5c0, VideoCodecOptions.qml (209)] warning: qrc:/Webcamoid/share/qml/VideoCodecOptions.qml:209: Error: Cannot assign [undefined] to QString
[2024-04-13 12:21:19.997, Webcamoid, 0x7f0cb82ba5c0, VideoCodecOptions.qml (192)] warning: qrc:/Webcamoid/share/qml/VideoCodecOptions.qml:192: Error: Cannot assign [undefined] to QString
[matroska,webm @ 0x7f0c840099c0] Duplicate element
[matroska,webm @ 0x7f0c840099c0] 0x00 at pos 110 (0x6e) invalid as first byte of an EBML number
[matroska,webm @ 0x7f0c840099c0] Duplicate element
[matroska,webm @ 0x7f0c840099c0] 0x00 at pos 204 (0xcc) invalid as first byte of an EBML number
[matroska,webm @ 0x7f0c840099c0] Element at 0x67 ending at 0x7a2ec016d exceeds containing master element ending at 0x1413

Still no specific logs.

These are the options configured for video settings ;

Screenshot from 2024-04-13 12-24-44

Changing codecs etc. has no effect on output all behave same.

Screenshot from 2024-04-13 12-26-56

@hipersayanX
Copy link
Member

The log is missing information, there is not an output similar to this before those lines?

Output #0, webm, to 'Video.webm':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isomavc1mp42
    encoder         : Lavf60.16.100
  Stream #0:0(und): Video: vp9, yuv420p(progressive), 480x360 [SAR 1:1 DAR 4:3], q=2-31, 24.84 fps, 1k tbn (default)
    Metadata:
      creation_time   : 2009-04-27T00:12:13.000000Z
      handler_name    : (C) 2007 Google Inc. v08.13.2007.
      vendor_id       : [0][0][0][0]
      encoder         : Lavc60.31.102 libvpx-vp9
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
  Stream #0:1(und): Audio: opus, 48000 Hz, stereo, flt, 96 kb/s (default)
    Metadata:
      creation_time   : 2009-04-27T00:12:12.000000Z
      handler_name    : (C) 2007 Google Inc. v08.13.2007.
      vendor_id       : [0][0][0][0]
      encoder         : Lavc60.31.102 libopus

@hipersayanX
Copy link
Member

Which other video codecs are available for Matroska?

@sameersharma2006
Copy link
Author

The log is missing information, there is not an output similar to this before those lines?

Output #0, webm, to 'Video.webm':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isomavc1mp42
    encoder         : Lavf60.16.100
  Stream #0:0(und): Video: vp9, yuv420p(progressive), 480x360 [SAR 1:1 DAR 4:3], q=2-31, 24.84 fps, 1k tbn (default)
    Metadata:
      creation_time   : 2009-04-27T00:12:13.000000Z
      handler_name    : (C) 2007 Google Inc. v08.13.2007.
      vendor_id       : [0][0][0][0]
      encoder         : Lavc60.31.102 libvpx-vp9
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
  Stream #0:1(und): Audio: opus, 48000 Hz, stereo, flt, 96 kb/s (default)
    Metadata:
      creation_time   : 2009-04-27T00:12:12.000000Z
      handler_name    : (C) 2007 Google Inc. v08.13.2007.
      vendor_id       : [0][0][0][0]
      encoder         : Lavc60.31.102 libopus

Nope, nothing like that.
Here is the complete terminal output from beginning of the app to recording video.

[2024-04-14 09:29:00.693, Webcamoid, 0x7f67d9c325c0,  (0)] critical: Failed to create wl_display (No such file or directory)
[2024-04-14 09:29:00.707, Webcamoid, 0x7f67d9c325c0,  (0)] info: Could not load the Qt platform plugin "wayland" in "" even though it was found.
[2024-04-14 09:29:01.346, Webcamoid, 0x7f67d9c325c0,  (0)] warning: Qt: Session management error: None of the authentication protocols specified are supported
[2024-04-14 09:29:02.400, Webcamoid, 0x7f67d9c325c0,  (0)] debug: Added component "Webcamoid"
[2024-04-14 09:29:02.401, Webcamoid, 0x7f67d9c325c0,  (0)] debug: Added component "VirtualCamera"
[2024-04-14 09:29:04.215, Webcamoid, 0x7f67d9c325c0, VideoCodecOptions.qml (209)] warning: qrc:/Webcamoid/share/qml/VideoCodecOptions.qml:209: Error: Cannot assign [undefined] to QString
[2024-04-14 09:29:04.215, Webcamoid, 0x7f67d9c325c0, VideoCodecOptions.qml (192)] warning: qrc:/Webcamoid/share/qml/VideoCodecOptions.qml:192: Error: Cannot assign [undefined] to QString
[matroska,webm @ 0x7f67cc00fcc0] Duplicate element
[matroska,webm @ 0x7f67cc00fcc0] 0x00 at pos 100 (0x64) invalid as first byte of an EBML number
[matroska,webm @ 0x7f67cc00fcc0] Duplicate element
[matroska,webm @ 0x7f67cc00fcc0] 0x00 at pos 167 (0xa7) invalid as first byte of an EBML number
[matroska,webm @ 0x7f67cc00fcc0] Element at 0x5d ending at 0x77cec0163 exceeds containing master element ending at 0x1409

@sameersharma2006
Copy link
Author

sameersharma2006 commented Apr 14, 2024

Which other video codecs are available for Matroska?

Hmm, Consider these situations.

I) In default config, that is at first launch after install no video format & codec appears being specified.

image

II) If i change video format to Matroska, the app automatically selects video & audio codec as ;

image

III) Available video codecs are ;

image

IV) Available audio codecs are ;

image

image

More audio codecs are available which i can't statically capture but most of the audio codecs seems useless & hoax .

@hipersayanX
Copy link
Member

hipersayanX commented Apr 15, 2024

The webm format is not available? are there other formats beside Matroska?

@sameersharma2006
Copy link
Author

sameersharma2006 commented Apr 15, 2024

The webm format is not available? are there other formats beside Matroska?

No its not available.
In default config although not visible but if we click in the format configure settings it says webm although it has also no effect.

Screenshot from 2024-04-15 21-46-49

Screenshot from 2024-04-15 21-46-42

Screenshot from 2024-04-15 21-46-29

@sameersharma2006
Copy link
Author

@hipersayanX

This is what i meant by: In default config although not visible but if we click in the format configure settings it says webm although it has also no effect.

image

@hipersayanX
Copy link
Member

hipersayanX commented Apr 15, 2024

Try writing this line here:

qDebug() << "FORMAT" << format << this->d->m_formatDescription[format];

and give me the output.
Also 1, does libvpx or any of it's variants appears in Matroska video codecs?
Also 2, just for the purpose of testing, did you tried with the master branch? does the same behavior happens there?
I think that you are missing VP8/9 codecs in your FFmpeg build, and that's why your are missing the webm format.

@sameersharma2006
Copy link
Author

sameersharma2006 commented Apr 16, 2024

Try writing this line here:

qDebug() << "FORMAT" << format << this->d->m_formatDescription[format];

and give me the output.

Ok i will do it.

Done via https://gitlab.com/sameersharma2006/webcamoid-snap/-/commit/c7777ed88590c078ad5ccad648c16f4febc0ae0f

Also 1, does libvpx or any of it's variants appears in Matroska video codecs?

Nope

I think that you are missing VP8/9 codecs in your FFmpeg build, and that's why your are missing the webm format.

Hmm, although am not using ffmpeg build flags for VP8/9, i will try explicitly using VP8/9 build flags for ffmpeg.

Edit: Enabled libvpx support for ffmpeg via https://gitlab.com/sameersharma2006/webcamoid-snap/-/commit/b74827611054d0965246cbb31bd75c2431a06eed

@sameersharma2006
Copy link
Author

@hipersayanX After enabling libvpx support webm appears as the default format . See 👇

image

But, still it produces empty and hoax video files with no relevant output.

@sameersharma2006
Copy link
Author

@hipersayanX After patching the app with your suggestion, logs from startup to video record are ;

[2024-04-16 10:02:42.934, Webcamoid, 0x7fa3cfd705c0,  (0)] critical: Failed to create wl_display (No such file or directory)
[2024-04-16 10:02:42.942, Webcamoid, 0x7fa3cfd705c0,  (0)] info: Could not load the Qt platform plugin "wayland" in "" even though it was found.
[2024-04-16 10:02:42.954, Webcamoid, 0x7fa3cfd705c0,  (0)] warning: Qt: Session management error: None of the authentication protocols specified are supported
[2024-04-16 10:02:43.461, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "3g2" "3GP2 (3GPP2 file format)"
[2024-04-16 10:02:43.461, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "3gp" "3GP (3GPP file format)"
[2024-04-16 10:02:43.461, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "a64" "a64 - video for Commodore 64"
[2024-04-16 10:02:43.461, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "ac3" "raw AC-3"
[2024-04-16 10:02:43.461, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "adts" "ADTS AAC (Advanced Audio Coding)"
[2024-04-16 10:02:43.461, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "adx" "CRI ADX"
[2024-04-16 10:02:43.461, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "aiff" "Audio IFF"
[2024-04-16 10:02:43.461, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "alaw" "PCM A-law"
[2024-04-16 10:02:43.461, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "alp" "LEGO Racers ALP"
[2024-04-16 10:02:43.461, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "amv" "AMV"
[2024-04-16 10:02:43.461, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "apm" "Ubisoft Rayman 2 APM"
[2024-04-16 10:02:43.461, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "apng" "Animated Portable Network Graphics"
[2024-04-16 10:02:43.462, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "aptx" "raw aptX (Audio Processing Technology for Bluetooth)"
[2024-04-16 10:02:43.462, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "aptx_hd" "raw aptX HD (Audio Processing Technology for Bluetooth)"
[2024-04-16 10:02:43.462, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "argo_asf" "Argonaut Games ASF"
[2024-04-16 10:02:43.462, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "asf" "ASF (Advanced / Active Streaming Format)"
[2024-04-16 10:02:43.462, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "asf_stream" "ASF (Advanced / Active Streaming Format)"
[2024-04-16 10:02:43.462, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "ass" "SSA (SubStation Alpha) subtitle"
[2024-04-16 10:02:43.462, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "ast" "AST (Audio Stream)"
[2024-04-16 10:02:43.462, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "au" "Sun AU"
[2024-04-16 10:02:43.462, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "avi" "AVI (Audio Video Interleaved)"
[2024-04-16 10:02:43.462, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "avm2" "SWF (ShockWave Flash) (AVM2)"
[2024-04-16 10:02:43.462, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "caf" "Apple CAF (Core Audio Format)"
[2024-04-16 10:02:43.463, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "crc" "CRC testing"
[2024-04-16 10:02:43.463, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "dash" "DASH Muxer"
[2024-04-16 10:02:43.463, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "daud" "D-Cinema audio"
[2024-04-16 10:02:43.463, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "dfpwm" "raw DFPWM1a"
[2024-04-16 10:02:43.463, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "dirac" "raw Dirac"
[2024-04-16 10:02:43.463, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "dnxhd" "raw DNxHD (SMPTE VC-3)"
[2024-04-16 10:02:43.463, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "dv" "DV (Digital Video)"
[2024-04-16 10:02:43.463, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "dvd" "MPEG-2 PS (DVD VOB)"
[2024-04-16 10:02:43.463, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "eac3" "raw E-AC-3"
[2024-04-16 10:02:43.463, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "f32be" "PCM 32-bit floating-point big-endian"
[2024-04-16 10:02:43.463, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "f32le" "PCM 32-bit floating-point little-endian"
[2024-04-16 10:02:43.463, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "f4v" "F4V Adobe Flash Video"
[2024-04-16 10:02:43.463, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "f64be" "PCM 64-bit floating-point big-endian"
[2024-04-16 10:02:43.463, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "f64le" "PCM 64-bit floating-point little-endian"
[2024-04-16 10:02:43.463, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "film_cpk" "Sega FILM / CPK"
[2024-04-16 10:02:43.463, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "fits" "Flexible Image Transport System"
[2024-04-16 10:02:43.463, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "flac" "raw FLAC"
[2024-04-16 10:02:43.464, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "flv" "FLV (Flash Video)"
[2024-04-16 10:02:43.464, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "framecrc" "framecrc testing"
[2024-04-16 10:02:43.464, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "framehash" "Per-frame hash testing"
[2024-04-16 10:02:43.464, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "framemd5" "Per-frame MD5 testing"
[2024-04-16 10:02:43.464, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "g722" "raw G.722"
[2024-04-16 10:02:43.464, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "g723_1" "raw G.723.1"
[2024-04-16 10:02:43.464, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "g726" "raw big-endian G.726 (\"left-justified\")"
[2024-04-16 10:02:43.464, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "g726le" "raw little-endian G.726 (\"right-justified\")"
[2024-04-16 10:02:43.464, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "gif" "CompuServe Graphics Interchange Format (GIF)"
[2024-04-16 10:02:43.464, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "gxf" "GXF (General eXchange Format)"
[2024-04-16 10:02:43.464, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "h261" "raw H.261"
[2024-04-16 10:02:43.464, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "h263" "raw H.263"
[2024-04-16 10:02:43.464, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "hash" "Hash testing"
[2024-04-16 10:02:43.464, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "hds" "HDS Muxer"
[2024-04-16 10:02:43.464, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "hls" "Apple HTTP Live Streaming"
[2024-04-16 10:02:43.464, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "iamf" "Raw Immersive Audio Model and Formats"
[2024-04-16 10:02:43.464, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "ico" "Microsoft Windows ICO"
[2024-04-16 10:02:43.465, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "image2" "image2 sequence"
[2024-04-16 10:02:43.465, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "image2pipe" "piped image2 sequence"
[2024-04-16 10:02:43.465, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "ipod" "iPod H.264 MP4 (MPEG-4 Part 14)"
[2024-04-16 10:02:43.465, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "ircam" "Berkeley/IRCAM/CARL Sound Format"
[2024-04-16 10:02:43.465, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "ismv" "ISMV/ISMA (Smooth Streaming)"
[2024-04-16 10:02:43.465, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "ivf" "On2 IVF"
[2024-04-16 10:02:43.465, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "kvag" "Simon & Schuster Interactive VAG"
[2024-04-16 10:02:43.465, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "latm" "LOAS/LATM"
[2024-04-16 10:02:43.465, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "lrc" "LRC lyrics"
[2024-04-16 10:02:43.465, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "m4v" "raw MPEG-4 video"
[2024-04-16 10:02:43.465, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "matroska" "Matroska"
[2024-04-16 10:02:43.465, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "md5" "MD5 testing"
[2024-04-16 10:02:43.466, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "mjpeg" "raw MJPEG video"
[2024-04-16 10:02:43.466, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "mmf" "Yamaha SMAF"
[2024-04-16 10:02:43.466, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "mov" "QuickTime / MOV"
[2024-04-16 10:02:43.466, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "mp2" "MP2 (MPEG audio layer 2)"
[2024-04-16 10:02:43.466, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "mp3" "MP3 (MPEG audio layer 3)"
[2024-04-16 10:02:43.466, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "mp4" "MP4 (MPEG-4 Part 14)"
[2024-04-16 10:02:43.466, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "mpeg" "MPEG-1 Systems / MPEG program stream"
[2024-04-16 10:02:43.466, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "mpeg1video" "raw MPEG-1 video"
[2024-04-16 10:02:43.466, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "mpeg2video" "raw MPEG-2 video"
[2024-04-16 10:02:43.466, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "mpegts" "MPEG-TS (MPEG-2 Transport Stream)"
[2024-04-16 10:02:43.466, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "mpjpeg" "MIME multipart JPEG"
[2024-04-16 10:02:43.466, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "mulaw" "PCM mu-law"
[2024-04-16 10:02:43.466, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "mxf" "MXF (Material eXchange Format)"
[2024-04-16 10:02:43.466, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "mxf_d10" "MXF (Material eXchange Format) D-10 Mapping"
[2024-04-16 10:02:43.466, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "mxf_opatom" "MXF (Material eXchange Format) Operational Pattern Atom"
[2024-04-16 10:02:43.466, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "null" "raw null video"
[2024-04-16 10:02:43.467, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "nut" "NUT"
[2024-04-16 10:02:43.467, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "oga" "Ogg Audio"
[2024-04-16 10:02:43.467, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "ogg" "Ogg"
[2024-04-16 10:02:43.467, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "ogv" "Ogg Video"
[2024-04-16 10:02:43.467, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "oma" "Sony OpenMG audio"
[2024-04-16 10:02:43.467, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "opus" "Ogg Opus"
[2024-04-16 10:02:43.467, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "psp" "PSP MP4 (MPEG-4 Part 14)"
[2024-04-16 10:02:43.467, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "rm" "RealMedia"
[2024-04-16 10:02:43.467, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "roq" "raw id RoQ"
[2024-04-16 10:02:43.467, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "rso" "Lego Mindstorms RSO"
[2024-04-16 10:02:43.467, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "rtp" "RTP output"
[2024-04-16 10:02:43.467, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "rtp_mpegts" "RTP/mpegts output format"
[2024-04-16 10:02:43.467, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "rtsp" "RTSP output"
[2024-04-16 10:02:43.467, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "s16be" "PCM signed 16-bit big-endian"
[2024-04-16 10:02:43.467, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "s16le" "PCM signed 16-bit little-endian"
[2024-04-16 10:02:43.468, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "s24be" "PCM signed 24-bit big-endian"
[2024-04-16 10:02:43.468, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "s24le" "PCM signed 24-bit little-endian"
[2024-04-16 10:02:43.468, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "s32be" "PCM signed 32-bit big-endian"
[2024-04-16 10:02:43.468, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "s32le" "PCM signed 32-bit little-endian"
[2024-04-16 10:02:43.468, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "s8" "PCM signed 8-bit"
[2024-04-16 10:02:43.468, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "sap" "SAP output"
[2024-04-16 10:02:43.468, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "sbc" "raw SBC"
[2024-04-16 10:02:43.468, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "smjpeg" "Loki SDL MJPEG"
[2024-04-16 10:02:43.468, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "smoothstreaming" "Smooth Streaming Muxer"
[2024-04-16 10:02:43.468, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "sox" "SoX (Sound eXchange) native"
[2024-04-16 10:02:43.468, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "spdif" "IEC 61937 (used on S/PDIF - IEC958)"
[2024-04-16 10:02:43.468, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "srt" "SubRip subtitle"
[2024-04-16 10:02:43.468, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "streamhash" "Per-stream hash testing"
[2024-04-16 10:02:43.468, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "svcd" "MPEG-2 PS (SVCD)"
[2024-04-16 10:02:43.468, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "swf" "SWF (ShockWave Flash)"
[2024-04-16 10:02:43.468, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "tta" "TTA (True Audio)"
[2024-04-16 10:02:43.468, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "ttml" "TTML subtitle"
[2024-04-16 10:02:43.469, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "u16be" "PCM unsigned 16-bit big-endian"
[2024-04-16 10:02:43.469, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "u16le" "PCM unsigned 16-bit little-endian"
[2024-04-16 10:02:43.469, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "u24be" "PCM unsigned 24-bit big-endian"
[2024-04-16 10:02:43.469, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "u24le" "PCM unsigned 24-bit little-endian"
[2024-04-16 10:02:43.469, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "u32be" "PCM unsigned 32-bit big-endian"
[2024-04-16 10:02:43.469, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "u32le" "PCM unsigned 32-bit little-endian"
[2024-04-16 10:02:43.469, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "u8" "PCM unsigned 8-bit"
[2024-04-16 10:02:43.469, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "uncodedframecrc" "uncoded framecrc testing"
[2024-04-16 10:02:43.469, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "vcd" "MPEG-1 Systems / MPEG program stream (VCD)"
[2024-04-16 10:02:43.469, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "vidc" "PCM Archimedes VIDC"
[2024-04-16 10:02:43.469, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "vob" "MPEG-2 PS (VOB)"
[2024-04-16 10:02:43.469, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "voc" "Creative Voice"
[2024-04-16 10:02:43.469, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "w64" "Sony Wave64"
[2024-04-16 10:02:43.469, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "wav" "WAV / WAVE (Waveform Audio)"
[2024-04-16 10:02:43.469, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "webm" "WebM"
[2024-04-16 10:02:43.469, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "webvtt" "WebVTT subtitle"
[2024-04-16 10:02:43.469, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "wsaud" "Westwood Studios audio"
[2024-04-16 10:02:43.470, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "wtv" "Windows Television (WTV)"
[2024-04-16 10:02:43.470, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: FORMAT "wv" "raw WavPack"
[2024-04-16 10:02:43.495, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: Added component "Webcamoid"
[2024-04-16 10:02:43.495, Webcamoid, 0x7fa3cfd705c0,  (0)] debug: Added component "VirtualCamera"
[matroska,webm @ 0x7fa39c00a780] Duplicate element
[matroska,webm @ 0x7fa39c00a780] 0x00 at pos 100 (0x64) invalid as first byte of an EBML number
[matroska,webm @ 0x7fa39c00a780] Duplicate element
[matroska,webm @ 0x7fa39c00a780] 0x00 at pos 167 (0xa7) invalid as first byte of an EBML number
[matroska,webm @ 0x7fa39c00a780] Element at 0x5d ending at 0x40ec0100000066 exceeds containing master element ending at 0x1409

@hipersayanX
Copy link
Member

The problem is that I'm missing the FFmpeg configuration line, and I can't do blind debugging. Are you sure that did you enabled this line?

av_log_set_level(AV_LOG_TRACE);

The message should be printed by av_dump_format here.

@hipersayanX
Copy link
Member

Try selecting MP4, MPEG-4 part 2, ACC, and try recording, does it works?

@sameersharma2006
Copy link
Author

@hipersayanX Nope as i said before any combination of codecs & formats results in null video files.

Same is for your suggested combination.

image

P.S. As before no logs are generated relating to video encoding/decoding.

@sameersharma2006
Copy link
Author

sameersharma2006 commented Apr 18, 2024

@hipersayanX Can't say how much impact this will have, but i have now added support for libx264 & libx265 in the ffmpeg build of webcamoid
https://gitlab.com/sameersharma2006/webcamoid-snap/-/commit/bbd50cc0cafdc33a5d9efb03d0073c3043274ef3

Edit: Still no relief , the problem persists.

@hipersayanX
Copy link
Member

If you select MP4 format, it show a different error message or it is still the same?

@hipersayanX
Copy link
Member

Also try replacing this line

// Print recording information.
av_dump_format(this->d->m_formatContext,
               0,
               this->m_location.toStdString().c_str(),
               1);

with:

qDebug() << "LOG_START";
// Print recording information.
av_dump_format(this->d->m_formatContext,
               0,
               this->m_location.toStdString().c_str(),
               1);
qDebug() << "LOG_END";

@sameersharma2006
Copy link
Author

If you select MP4 format, it show a different error message or it is still the same?

Nope, no logs even with mp4.

@sameersharma2006
Copy link
Author

sameersharma2006 commented Apr 19, 2024

Also try replacing this line

// Print recording information.
av_dump_format(this->d->m_formatContext,
               0,
               this->m_location.toStdString().c_str(),
               1);

with:

qDebug() << "LOG_START";
// Print recording information.
av_dump_format(this->d->m_formatContext,
               0,
               this->m_location.toStdString().c_str(),
               1);
qDebug() << "LOG_END";

Which file contains this code snippet ?

Edit: Got it viz.

av_dump_format(this->d->m_formatContext,

@sameersharma2006
Copy link
Author

Something of Interest ?

When i replace ffmpeg with gstreamer in general settings, only sound is recorded (Very Poorly) but not video, P.S. v4l wont capture videos and even photos when ffmpeg is replaced by gstreamer.

And as always No Logs...

@sameersharma2006
Copy link
Author

The problem is that I'm missing the FFmpeg configuration line, and I can't do blind debugging. Are you sure that did you enabled this line?

av_log_set_level(AV_LOG_TRACE);

The message should be printed by av_dump_format here.

I have enabled the line see viz. https://gitlab.com/sameersharma2006/webcamoid-snap/-/blob/main/local/patches/log.patch?ref_type=heads

@sameersharma2006
Copy link
Author

sameersharma2006 commented Apr 22, 2024

Also try replacing this line

// Print recording information.
av_dump_format(this->d->m_formatContext,
               0,
               this->m_location.toStdString().c_str(),
               1);

with:

qDebug() << "LOG_START";
// Print recording information.
av_dump_format(this->d->m_formatContext,
               0,
               this->m_location.toStdString().c_str(),
               1);
qDebug() << "LOG_END";

Which file contains this code snippet ?

Got it , will patch accordingly.

Edit: Patched viz. https://gitlab.com/sameersharma2006/webcamoid-snap/-/commit/303dcf2056958417af2fb460fdb697b705a0f46f

@sameersharma2006
Copy link
Author

Also try replacing this line

// Print recording information.
av_dump_format(this->d->m_formatContext,
               0,
               this->m_location.toStdString().c_str(),
               1);

with:

qDebug() << "LOG_START";
// Print recording information.
av_dump_format(this->d->m_formatContext,
               0,
               this->m_location.toStdString().c_str(),
               1);
qDebug() << "LOG_END";

Nope, still no ffmpeg related logs are available.
Terminal outputs after the suggested change ;

[2024-04-22 12:10:04.713, Webcamoid, 0x7f44357875c0,  (0)] critical: Failed to create wl_display (No such file or directory)
[2024-04-22 12:10:04.726, Webcamoid, 0x7f44357875c0,  (0)] info: Could not load the Qt platform plugin "wayland" in "" even though it was found.
[2024-04-22 12:10:04.766, Webcamoid, 0x7f44357875c0,  (0)] warning: Qt: Session management error: None of the authentication protocols specified are supported
[2024-04-22 12:10:05.765, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "3g2" "3GP2 (3GPP2 file format)"
[2024-04-22 12:10:05.765, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "3gp" "3GP (3GPP file format)"
[2024-04-22 12:10:05.765, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "a64" "a64 - video for Commodore 64"
[2024-04-22 12:10:05.765, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "ac3" "raw AC-3"
[2024-04-22 12:10:05.765, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "adts" "ADTS AAC (Advanced Audio Coding)"
[2024-04-22 12:10:05.766, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "adx" "CRI ADX"
[2024-04-22 12:10:05.766, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "aiff" "Audio IFF"
[2024-04-22 12:10:05.766, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "alaw" "PCM A-law"
[2024-04-22 12:10:05.766, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "alp" "LEGO Racers ALP"
[2024-04-22 12:10:05.766, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "amv" "AMV"
[2024-04-22 12:10:05.766, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "apm" "Ubisoft Rayman 2 APM"
[2024-04-22 12:10:05.766, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "apng" "Animated Portable Network Graphics"
[2024-04-22 12:10:05.766, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "aptx" "raw aptX (Audio Processing Technology for Bluetooth)"
[2024-04-22 12:10:05.766, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "aptx_hd" "raw aptX HD (Audio Processing Technology for Bluetooth)"
[2024-04-22 12:10:05.766, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "argo_asf" "Argonaut Games ASF"
[2024-04-22 12:10:05.766, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "asf" "ASF (Advanced / Active Streaming Format)"
[2024-04-22 12:10:05.766, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "asf_stream" "ASF (Advanced / Active Streaming Format)"
[2024-04-22 12:10:05.766, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "ass" "SSA (SubStation Alpha) subtitle"
[2024-04-22 12:10:05.766, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "ast" "AST (Audio Stream)"
[2024-04-22 12:10:05.766, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "au" "Sun AU"
[2024-04-22 12:10:05.766, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "avi" "AVI (Audio Video Interleaved)"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "avm2" "SWF (ShockWave Flash) (AVM2)"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "caf" "Apple CAF (Core Audio Format)"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "crc" "CRC testing"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "dash" "DASH Muxer"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "daud" "D-Cinema audio"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "dfpwm" "raw DFPWM1a"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "dirac" "raw Dirac"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "dnxhd" "raw DNxHD (SMPTE VC-3)"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "dv" "DV (Digital Video)"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "dvd" "MPEG-2 PS (DVD VOB)"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "eac3" "raw E-AC-3"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "f32be" "PCM 32-bit floating-point big-endian"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "f32le" "PCM 32-bit floating-point little-endian"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "f4v" "F4V Adobe Flash Video"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "f64be" "PCM 64-bit floating-point big-endian"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "f64le" "PCM 64-bit floating-point little-endian"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "film_cpk" "Sega FILM / CPK"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "fits" "Flexible Image Transport System"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "flac" "raw FLAC"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "flv" "FLV (Flash Video)"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "framecrc" "framecrc testing"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "framehash" "Per-frame hash testing"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "framemd5" "Per-frame MD5 testing"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "g722" "raw G.722"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "g723_1" "raw G.723.1"
[2024-04-22 12:10:05.767, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "g726" "raw big-endian G.726 (\"left-justified\")"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "g726le" "raw little-endian G.726 (\"right-justified\")"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "gif" "CompuServe Graphics Interchange Format (GIF)"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "gxf" "GXF (General eXchange Format)"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "h261" "raw H.261"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "h263" "raw H.263"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "h264" "raw H.264 video"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "hash" "Hash testing"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "hds" "HDS Muxer"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "hevc" "raw HEVC video"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "hls" "Apple HTTP Live Streaming"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "iamf" "Raw Immersive Audio Model and Formats"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "ico" "Microsoft Windows ICO"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "image2" "image2 sequence"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "image2pipe" "piped image2 sequence"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "ipod" "iPod H.264 MP4 (MPEG-4 Part 14)"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "ircam" "Berkeley/IRCAM/CARL Sound Format"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "ismv" "ISMV/ISMA (Smooth Streaming)"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "ivf" "On2 IVF"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "kvag" "Simon & Schuster Interactive VAG"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "latm" "LOAS/LATM"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "lrc" "LRC lyrics"
[2024-04-22 12:10:05.768, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "m4v" "raw MPEG-4 video"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "matroska" "Matroska"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "md5" "MD5 testing"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "mjpeg" "raw MJPEG video"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "mmf" "Yamaha SMAF"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "mov" "QuickTime / MOV"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "mp2" "MP2 (MPEG audio layer 2)"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "mp3" "MP3 (MPEG audio layer 3)"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "mp4" "MP4 (MPEG-4 Part 14)"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "mpeg" "MPEG-1 Systems / MPEG program stream"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "mpeg1video" "raw MPEG-1 video"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "mpeg2video" "raw MPEG-2 video"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "mpegts" "MPEG-TS (MPEG-2 Transport Stream)"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "mpjpeg" "MIME multipart JPEG"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "mulaw" "PCM mu-law"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "mxf" "MXF (Material eXchange Format)"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "mxf_d10" "MXF (Material eXchange Format) D-10 Mapping"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "mxf_opatom" "MXF (Material eXchange Format) Operational Pattern Atom"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "null" "raw null video"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "nut" "NUT"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "oga" "Ogg Audio"
[2024-04-22 12:10:05.769, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "ogg" "Ogg"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "ogv" "Ogg Video"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "oma" "Sony OpenMG audio"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "opus" "Ogg Opus"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "psp" "PSP MP4 (MPEG-4 Part 14)"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "rm" "RealMedia"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "roq" "raw id RoQ"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "rso" "Lego Mindstorms RSO"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "rtp" "RTP output"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "rtp_mpegts" "RTP/mpegts output format"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "rtsp" "RTSP output"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "s16be" "PCM signed 16-bit big-endian"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "s16le" "PCM signed 16-bit little-endian"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "s24be" "PCM signed 24-bit big-endian"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "s24le" "PCM signed 24-bit little-endian"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "s32be" "PCM signed 32-bit big-endian"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "s32le" "PCM signed 32-bit little-endian"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "s8" "PCM signed 8-bit"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "sap" "SAP output"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "sbc" "raw SBC"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "smjpeg" "Loki SDL MJPEG"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "smoothstreaming" "Smooth Streaming Muxer"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "sox" "SoX (Sound eXchange) native"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "spdif" "IEC 61937 (used on S/PDIF - IEC958)"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "srt" "SubRip subtitle"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "streamhash" "Per-stream hash testing"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "svcd" "MPEG-2 PS (SVCD)"
[2024-04-22 12:10:05.770, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "swf" "SWF (ShockWave Flash)"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "tta" "TTA (True Audio)"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "ttml" "TTML subtitle"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "u16be" "PCM unsigned 16-bit big-endian"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "u16le" "PCM unsigned 16-bit little-endian"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "u24be" "PCM unsigned 24-bit big-endian"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "u24le" "PCM unsigned 24-bit little-endian"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "u32be" "PCM unsigned 32-bit big-endian"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "u32le" "PCM unsigned 32-bit little-endian"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "u8" "PCM unsigned 8-bit"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "uncodedframecrc" "uncoded framecrc testing"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "vcd" "MPEG-1 Systems / MPEG program stream (VCD)"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "vidc" "PCM Archimedes VIDC"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "vob" "MPEG-2 PS (VOB)"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "voc" "Creative Voice"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "w64" "Sony Wave64"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "wav" "WAV / WAVE (Waveform Audio)"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "webm" "WebM"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "webvtt" "WebVTT subtitle"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "wsaud" "Westwood Studios audio"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "wtv" "Windows Television (WTV)"
[2024-04-22 12:10:05.771, Webcamoid, 0x7f44357875c0,  (0)] debug: FORMAT "wv" "raw WavPack"
[2024-04-22 12:10:05.803, Webcamoid, 0x7f44357875c0,  (0)] debug: Added component "Webcamoid"
[2024-04-22 12:10:05.803, Webcamoid, 0x7f44357875c0,  (0)] debug: Added component "VirtualCamera"
[2024-04-22 12:10:11.266, Webcamoid, 0x7f44357875c0,  (0)] debug: LOG_START
[2024-04-22 12:10:11.266, Webcamoid, 0x7f44357875c0,  (0)] debug: LOG_END
[matroska,webm @ 0x7f44200e9700] Duplicate element
[matroska,webm @ 0x7f44200e9700] 0x00 at pos 100 (0x64) invalid as first byte of an EBML number
[matroska,webm @ 0x7f44200e9700] Duplicate element
[matroska,webm @ 0x7f44200e9700] 0x00 at pos 167 (0xa7) invalid as first byte of an EBML number
[matroska,webm @ 0x7f44200e9700] Element at 0x5d ending at 0x40ec0100000066 exceeds containing master element ending at 0x1409
[2024-04-22 12:10:33.745, Webcamoid, 0x7f44357875c0,  (0)] debug: LOG_START
[2024-04-22 12:10:33.745, Webcamoid, 0x7f44357875c0,  (0)] debug: LOG_END
[matroska,webm @ 0x7f43e0015480] Duplicate element
[matroska,webm @ 0x7f43e0015480] 0x00 at pos 100 (0x64) invalid as first byte of an EBML number
[matroska,webm @ 0x7f43e0015480] Duplicate element
[matroska,webm @ 0x7f43e0015480] 0x00 at pos 167 (0xa7) invalid as first byte of an EBML number
[matroska,webm @ 0x7f43e0015480] Element at 0x5d ending at 0x40ec0100000066 exceeds containing master element ending at 0x1409
[2024-04-22 12:10:35.804, Webcamoid, 0x7f44357875c0,  (0)] debug: LOG_START
[2024-04-22 12:10:35.804, Webcamoid, 0x7f44357875c0,  (0)] debug: LOG_END
[matroska,webm @ 0x7f4404c0d1c0] Duplicate element
[matroska,webm @ 0x7f4404c0d1c0] 0x00 at pos 100 (0x64) invalid as first byte of an EBML number
[matroska,webm @ 0x7f4404c0d1c0] Duplicate element
[matroska,webm @ 0x7f4404c0d1c0] 0x00 at pos 167 (0xa7) invalid as first byte of an EBML number
[matroska,webm @ 0x7f4404c0d1c0] Element at 0x5d ending at 0x40ec0100000066 exceeds containing master element ending at 0x1409
Segmentation fault

@sameersharma2006
Copy link
Author

@hipersayanX Does master branch builds with QT5 ?, as Qt6 SDKs are not currently matured in the snap side.

If yes, i will try building with master branch to see if any changes occur.

@hipersayanX
Copy link
Member

Its weird the av_dump_format is not printing nothing, I did not studied enough the FFmpeg source code, but could it be that av_log_set_level is setting AV_LOG_TRACE as a environment variable and the Snap environment is blocking it 😕 ❓

Does master branch builds with QT5 ?, as Qt6 SDKs are not currently matured in the snap side.
If yes, i will try building with master branch to see if any changes occur.

Webcamoid 9.1 does not build with Qt6, only the master branch does and it is the future 9.2, which right now I'm stepping on the accelerator for releasing it as fast as I can.

Also

Nope, no logs even with mp4.

This answer is not clear to me yet. When you set MP4, the messages in the console are still referencing Matroska, like this

[matroska,webm @ 0x7f43e0015480] Duplicate element
[matroska,webm @ 0x7f43e0015480] 0x00 at pos 100 (0x64) invalid as first byte of an EBML number
[matroska,webm @ 0x7f43e0015480] Duplicate element
[matroska,webm @ 0x7f43e0015480] 0x00 at pos 167 (0xa7) invalid as first byte of an EBML number
[matroska,webm @ 0x7f43e0015480] Element at 0x5d ending at 0x40ec0100000066 exceeds containing master element ending at 0x1409

or shows a different message?

@hipersayanX
Copy link
Member

Also, can you try packaging this simple program and see if this works?

#include <stdio.h>
#include <stdlib.h>

int main(void)
{
    char *msg = NULL;
    setenv("msg", "Hello world!", 1);
    msg = getenv("msg");

    if (msg)
        printf("%s\n", msg);

    return 0;
}

@sameersharma2006
Copy link
Author

Also

Nope, no logs even with mp4.

This answer is not clear to me yet. When you set MP4, the messages in the console are still referencing Matroska, like this

[matroska,webm @ 0x7f43e0015480] Duplicate element
[matroska,webm @ 0x7f43e0015480] 0x00 at pos 100 (0x64) invalid as first byte of an EBML number
[matroska,webm @ 0x7f43e0015480] Duplicate element
[matroska,webm @ 0x7f43e0015480] 0x00 at pos 167 (0xa7) invalid as first byte of an EBML number
[matroska,webm @ 0x7f43e0015480] Element at 0x5d ending at 0x40ec0100000066 exceeds containing master element ending at 0x1409

or shows a different message?

This is the setting for MP4 ;

image

The above lines appear before changing to mp4, after changing to mp4 no logs appear even the above highlighted one.
The above appears with mkv, webm not in mp4.

MP4 doesn't have any output specific to it.

@sameersharma2006
Copy link
Author

Also, can you try packaging this simple program and see if this works?

#include <stdio.h>
#include <stdlib.h>

int main(void)
{
    char *msg = NULL;
    setenv("msg", "Hello world!", 1);
    msg = getenv("msg");

    if (msg)
        printf("%s\n", msg);

    return 0;
}

Ok.

@sameersharma2006
Copy link
Author

@hipersayanX I packaged the simple program as snap, it gives an output of Hello World ! .

Saved it as exp.cpp file, did g++ exp.cpp , dumped the output -> a.out into snap and executed snap, give output-> Hello World !

@hipersayanX
Copy link
Member

hipersayanX commented Apr 24, 2024

Maybe the messages are printed in the stderr but not in the stdout (or vice-versa)?

#include <stdio.h>
#include <stdlib.h>

int main(void)
{
   fprintf(stdout, "%s", "Hello from stdout\n"); 
   fprintf(stderr, "%s", "Hello from stderr\n");

   return 0;
}

@sameersharma2006
Copy link
Author

@hipersayanX I did modify the code as per your suggestion.

Now the output is

Hello from stdout
Hello from stderr

I am attaching a tar ball containing the code, snap yaml & the snap itself

exp.tar.gz

@hipersayanX
Copy link
Member

I you write this right after av_log_set_level, does it works?

av_log(NULL, AV_LOG_INFO, "%s\n", "Hello world");

@sameersharma2006
Copy link
Author

I you write this right after av_log_set_level, does it works?

av_log(NULL, AV_LOG_INFO, "%s\n", "Hello world");

Ok i will add a patch for this.

@sameersharma2006
Copy link
Author

@hipersayanX After adding that line, still nothing appears not even the hello world.

  1. With webm
[2024-04-30 16:46:09.814, Webcamoid, 0x7f2f038b05c0,  (0)] critical: Failed to create wl_display (No such file or directory)
[2024-04-30 16:46:09.838, Webcamoid, 0x7f2f038b05c0,  (0)] info: Could not load the Qt platform plugin "wayland" in "" even though it was found.
[2024-04-30 16:46:09.857, Webcamoid, 0x7f2f038b05c0,  (0)] warning: Qt: Session management error: None of the authentication protocols specified are supported
[2024-04-30 16:46:10.330, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "3g2" "3GP2 (3GPP2 file format)"
[2024-04-30 16:46:10.330, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "3gp" "3GP (3GPP file format)"
[2024-04-30 16:46:10.330, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "a64" "a64 - video for Commodore 64"
[2024-04-30 16:46:10.331, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "ac3" "raw AC-3"
[2024-04-30 16:46:10.331, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "adts" "ADTS AAC (Advanced Audio Coding)"
[2024-04-30 16:46:10.331, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "adx" "CRI ADX"
[2024-04-30 16:46:10.331, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "aiff" "Audio IFF"
[2024-04-30 16:46:10.331, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "alaw" "PCM A-law"
[2024-04-30 16:46:10.331, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "alp" "LEGO Racers ALP"
[2024-04-30 16:46:10.331, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "amv" "AMV"
[2024-04-30 16:46:10.331, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "apm" "Ubisoft Rayman 2 APM"
[2024-04-30 16:46:10.331, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "apng" "Animated Portable Network Graphics"
[2024-04-30 16:46:10.331, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "aptx" "raw aptX (Audio Processing Technology for Bluetooth)"
[2024-04-30 16:46:10.331, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "aptx_hd" "raw aptX HD (Audio Processing Technology for Bluetooth)"
[2024-04-30 16:46:10.331, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "argo_asf" "Argonaut Games ASF"
[2024-04-30 16:46:10.331, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "asf" "ASF (Advanced / Active Streaming Format)"
[2024-04-30 16:46:10.332, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "asf_stream" "ASF (Advanced / Active Streaming Format)"
[2024-04-30 16:46:10.332, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "ass" "SSA (SubStation Alpha) subtitle"
[2024-04-30 16:46:10.332, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "ast" "AST (Audio Stream)"
[2024-04-30 16:46:10.332, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "au" "Sun AU"
[2024-04-30 16:46:10.332, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "avi" "AVI (Audio Video Interleaved)"
[2024-04-30 16:46:10.332, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "avm2" "SWF (ShockWave Flash) (AVM2)"
[2024-04-30 16:46:10.332, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "caf" "Apple CAF (Core Audio Format)"
[2024-04-30 16:46:10.332, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "crc" "CRC testing"
[2024-04-30 16:46:10.332, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "dash" "DASH Muxer"
[2024-04-30 16:46:10.332, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "daud" "D-Cinema audio"
[2024-04-30 16:46:10.332, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "dfpwm" "raw DFPWM1a"
[2024-04-30 16:46:10.332, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "dirac" "raw Dirac"
[2024-04-30 16:46:10.332, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "dnxhd" "raw DNxHD (SMPTE VC-3)"
[2024-04-30 16:46:10.332, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "dv" "DV (Digital Video)"
[2024-04-30 16:46:10.332, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "dvd" "MPEG-2 PS (DVD VOB)"
[2024-04-30 16:46:10.332, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "eac3" "raw E-AC-3"
[2024-04-30 16:46:10.332, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "f32be" "PCM 32-bit floating-point big-endian"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "f32le" "PCM 32-bit floating-point little-endian"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "f4v" "F4V Adobe Flash Video"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "f64be" "PCM 64-bit floating-point big-endian"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "f64le" "PCM 64-bit floating-point little-endian"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "film_cpk" "Sega FILM / CPK"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "fits" "Flexible Image Transport System"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "flac" "raw FLAC"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "flv" "FLV (Flash Video)"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "framecrc" "framecrc testing"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "framehash" "Per-frame hash testing"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "framemd5" "Per-frame MD5 testing"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "g722" "raw G.722"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "g723_1" "raw G.723.1"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "g726" "raw big-endian G.726 (\"left-justified\")"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "g726le" "raw little-endian G.726 (\"right-justified\")"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "gif" "CompuServe Graphics Interchange Format (GIF)"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "gxf" "GXF (General eXchange Format)"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "h261" "raw H.261"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "h263" "raw H.263"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "h264" "raw H.264 video"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "hash" "Hash testing"
[2024-04-30 16:46:10.333, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "hds" "HDS Muxer"
[2024-04-30 16:46:10.334, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "hevc" "raw HEVC video"
[2024-04-30 16:46:10.334, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "hls" "Apple HTTP Live Streaming"
[2024-04-30 16:46:10.334, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "iamf" "Raw Immersive Audio Model and Formats"
[2024-04-30 16:46:10.334, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "ico" "Microsoft Windows ICO"
[2024-04-30 16:46:10.334, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "image2" "image2 sequence"
[2024-04-30 16:46:10.334, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "image2pipe" "piped image2 sequence"
[2024-04-30 16:46:10.334, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "ipod" "iPod H.264 MP4 (MPEG-4 Part 14)"
[2024-04-30 16:46:10.334, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "ircam" "Berkeley/IRCAM/CARL Sound Format"
[2024-04-30 16:46:10.334, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "ismv" "ISMV/ISMA (Smooth Streaming)"
[2024-04-30 16:46:10.334, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "ivf" "On2 IVF"
[2024-04-30 16:46:10.334, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "kvag" "Simon & Schuster Interactive VAG"
[2024-04-30 16:46:10.334, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "latm" "LOAS/LATM"
[2024-04-30 16:46:10.334, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "lrc" "LRC lyrics"
[2024-04-30 16:46:10.334, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "m4v" "raw MPEG-4 video"
[2024-04-30 16:46:10.334, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "matroska" "Matroska"
[2024-04-30 16:46:10.334, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "md5" "MD5 testing"
[2024-04-30 16:46:10.334, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "mjpeg" "raw MJPEG video"
[2024-04-30 16:46:10.335, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "mmf" "Yamaha SMAF"
[2024-04-30 16:46:10.335, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "mov" "QuickTime / MOV"
[2024-04-30 16:46:10.335, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "mp2" "MP2 (MPEG audio layer 2)"
[2024-04-30 16:46:10.335, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "mp3" "MP3 (MPEG audio layer 3)"
[2024-04-30 16:46:10.335, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "mp4" "MP4 (MPEG-4 Part 14)"
[2024-04-30 16:46:10.335, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "mpeg" "MPEG-1 Systems / MPEG program stream"
[2024-04-30 16:46:10.335, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "mpeg1video" "raw MPEG-1 video"
[2024-04-30 16:46:10.335, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "mpeg2video" "raw MPEG-2 video"
[2024-04-30 16:46:10.335, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "mpegts" "MPEG-TS (MPEG-2 Transport Stream)"
[2024-04-30 16:46:10.335, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "mpjpeg" "MIME multipart JPEG"
[2024-04-30 16:46:10.335, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "mulaw" "PCM mu-law"
[2024-04-30 16:46:10.335, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "mxf" "MXF (Material eXchange Format)"
[2024-04-30 16:46:10.335, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "mxf_d10" "MXF (Material eXchange Format) D-10 Mapping"
[2024-04-30 16:46:10.335, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "mxf_opatom" "MXF (Material eXchange Format) Operational Pattern Atom"
[2024-04-30 16:46:10.335, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "null" "raw null video"
[2024-04-30 16:46:10.335, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "nut" "NUT"
[2024-04-30 16:46:10.335, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "oga" "Ogg Audio"
[2024-04-30 16:46:10.335, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "ogg" "Ogg"
[2024-04-30 16:46:10.335, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "ogv" "Ogg Video"
[2024-04-30 16:46:10.336, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "oma" "Sony OpenMG audio"
[2024-04-30 16:46:10.336, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "opus" "Ogg Opus"
[2024-04-30 16:46:10.336, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "psp" "PSP MP4 (MPEG-4 Part 14)"
[2024-04-30 16:46:10.336, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "rm" "RealMedia"
[2024-04-30 16:46:10.336, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "roq" "raw id RoQ"
[2024-04-30 16:46:10.336, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "rso" "Lego Mindstorms RSO"
[2024-04-30 16:46:10.336, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "rtp" "RTP output"
[2024-04-30 16:46:10.336, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "rtp_mpegts" "RTP/mpegts output format"
[2024-04-30 16:46:10.336, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "rtsp" "RTSP output"
[2024-04-30 16:46:10.336, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "s16be" "PCM signed 16-bit big-endian"
[2024-04-30 16:46:10.336, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "s16le" "PCM signed 16-bit little-endian"
[2024-04-30 16:46:10.336, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "s24be" "PCM signed 24-bit big-endian"
[2024-04-30 16:46:10.336, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "s24le" "PCM signed 24-bit little-endian"
[2024-04-30 16:46:10.336, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "s32be" "PCM signed 32-bit big-endian"
[2024-04-30 16:46:10.336, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "s32le" "PCM signed 32-bit little-endian"
[2024-04-30 16:46:10.337, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "s8" "PCM signed 8-bit"
[2024-04-30 16:46:10.337, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "sap" "SAP output"
[2024-04-30 16:46:10.337, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "sbc" "raw SBC"
[2024-04-30 16:46:10.337, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "smjpeg" "Loki SDL MJPEG"
[2024-04-30 16:46:10.337, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "smoothstreaming" "Smooth Streaming Muxer"
[2024-04-30 16:46:10.337, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "sox" "SoX (Sound eXchange) native"
[2024-04-30 16:46:10.337, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "spdif" "IEC 61937 (used on S/PDIF - IEC958)"
[2024-04-30 16:46:10.337, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "srt" "SubRip subtitle"
[2024-04-30 16:46:10.337, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "streamhash" "Per-stream hash testing"
[2024-04-30 16:46:10.337, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "svcd" "MPEG-2 PS (SVCD)"
[2024-04-30 16:46:10.337, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "swf" "SWF (ShockWave Flash)"
[2024-04-30 16:46:10.337, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "tta" "TTA (True Audio)"
[2024-04-30 16:46:10.337, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "ttml" "TTML subtitle"
[2024-04-30 16:46:10.337, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "u16be" "PCM unsigned 16-bit big-endian"
[2024-04-30 16:46:10.337, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "u16le" "PCM unsigned 16-bit little-endian"
[2024-04-30 16:46:10.337, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "u24be" "PCM unsigned 24-bit big-endian"
[2024-04-30 16:46:10.337, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "u24le" "PCM unsigned 24-bit little-endian"
[2024-04-30 16:46:10.337, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "u32be" "PCM unsigned 32-bit big-endian"
[2024-04-30 16:46:10.338, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "u32le" "PCM unsigned 32-bit little-endian"
[2024-04-30 16:46:10.338, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "u8" "PCM unsigned 8-bit"
[2024-04-30 16:46:10.338, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "uncodedframecrc" "uncoded framecrc testing"
[2024-04-30 16:46:10.338, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "vcd" "MPEG-1 Systems / MPEG program stream (VCD)"
[2024-04-30 16:46:10.338, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "vidc" "PCM Archimedes VIDC"
[2024-04-30 16:46:10.338, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "vob" "MPEG-2 PS (VOB)"
[2024-04-30 16:46:10.338, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "voc" "Creative Voice"
[2024-04-30 16:46:10.338, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "w64" "Sony Wave64"
[2024-04-30 16:46:10.338, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "wav" "WAV / WAVE (Waveform Audio)"
[2024-04-30 16:46:10.338, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "webm" "WebM"
[2024-04-30 16:46:10.338, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "webvtt" "WebVTT subtitle"
[2024-04-30 16:46:10.338, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "wsaud" "Westwood Studios audio"
[2024-04-30 16:46:10.338, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "wtv" "Windows Television (WTV)"
[2024-04-30 16:46:10.338, Webcamoid, 0x7f2f038b05c0,  (0)] debug: FORMAT "wv" "raw WavPack"
[2024-04-30 16:46:10.382, Webcamoid, 0x7f2f038b05c0,  (0)] debug: Added component "Webcamoid"
[2024-04-30 16:46:10.382, Webcamoid, 0x7f2f038b05c0,  (0)] debug: Added component "VirtualCamera"
[2024-04-30 16:46:15.926, Webcamoid, 0x7f2f038b05c0,  (0)] debug: LOG_START
[2024-04-30 16:46:15.926, Webcamoid, 0x7f2f038b05c0,  (0)] debug: LOG_END
[matroska,webm @ 0x7f2ee0c11580] Duplicate element
[matroska,webm @ 0x7f2ee0c11580] 0x00 at pos 100 (0x64) invalid as first byte of an EBML number
[matroska,webm @ 0x7f2ee0c11580] Duplicate element
[matroska,webm @ 0x7f2ee0c11580] 0x00 at pos 167 (0xa7) invalid as first byte of an EBML number
[matroska,webm @ 0x7f2ee0c11580] Element at 0x5d ending at 0x40ec0100000066 exceeds containing master element ending at 0x1409
  1. matroska
[2024-04-30 16:47:48.959, Webcamoid, 0x7f1ca32525c0,  (0)] critical: Failed to create wl_display (No such file or directory)
[2024-04-30 16:47:48.968, Webcamoid, 0x7f1ca32525c0,  (0)] info: Could not load the Qt platform plugin "wayland" in "" even though it was found.
[2024-04-30 16:47:48.985, Webcamoid, 0x7f1ca32525c0,  (0)] warning: Qt: Session management error: None of the authentication protocols specified are supported
[2024-04-30 16:47:49.448, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "3g2" "3GP2 (3GPP2 file format)"
[2024-04-30 16:47:49.448, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "3gp" "3GP (3GPP file format)"
[2024-04-30 16:47:49.448, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "a64" "a64 - video for Commodore 64"
[2024-04-30 16:47:49.448, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "ac3" "raw AC-3"
[2024-04-30 16:47:49.448, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "adts" "ADTS AAC (Advanced Audio Coding)"
[2024-04-30 16:47:49.448, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "adx" "CRI ADX"
[2024-04-30 16:47:49.448, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "aiff" "Audio IFF"
[2024-04-30 16:47:49.448, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "alaw" "PCM A-law"
[2024-04-30 16:47:49.448, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "alp" "LEGO Racers ALP"
[2024-04-30 16:47:49.448, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "amv" "AMV"
[2024-04-30 16:47:49.448, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "apm" "Ubisoft Rayman 2 APM"
[2024-04-30 16:47:49.448, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "apng" "Animated Portable Network Graphics"
[2024-04-30 16:47:49.448, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "aptx" "raw aptX (Audio Processing Technology for Bluetooth)"
[2024-04-30 16:47:49.448, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "aptx_hd" "raw aptX HD (Audio Processing Technology for Bluetooth)"
[2024-04-30 16:47:49.448, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "argo_asf" "Argonaut Games ASF"
[2024-04-30 16:47:49.448, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "asf" "ASF (Advanced / Active Streaming Format)"
[2024-04-30 16:47:49.449, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "asf_stream" "ASF (Advanced / Active Streaming Format)"
[2024-04-30 16:47:49.449, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "ass" "SSA (SubStation Alpha) subtitle"
[2024-04-30 16:47:49.449, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "ast" "AST (Audio Stream)"
[2024-04-30 16:47:49.449, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "au" "Sun AU"
[2024-04-30 16:47:49.449, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "avi" "AVI (Audio Video Interleaved)"
[2024-04-30 16:47:49.449, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "avm2" "SWF (ShockWave Flash) (AVM2)"
[2024-04-30 16:47:49.449, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "caf" "Apple CAF (Core Audio Format)"
[2024-04-30 16:47:49.449, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "crc" "CRC testing"
[2024-04-30 16:47:49.449, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "dash" "DASH Muxer"
[2024-04-30 16:47:49.449, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "daud" "D-Cinema audio"
[2024-04-30 16:47:49.449, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "dfpwm" "raw DFPWM1a"
[2024-04-30 16:47:49.449, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "dirac" "raw Dirac"
[2024-04-30 16:47:49.449, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "dnxhd" "raw DNxHD (SMPTE VC-3)"
[2024-04-30 16:47:49.449, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "dv" "DV (Digital Video)"
[2024-04-30 16:47:49.449, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "dvd" "MPEG-2 PS (DVD VOB)"
[2024-04-30 16:47:49.449, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "eac3" "raw E-AC-3"
[2024-04-30 16:47:49.449, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "f32be" "PCM 32-bit floating-point big-endian"
[2024-04-30 16:47:49.449, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "f32le" "PCM 32-bit floating-point little-endian"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "f4v" "F4V Adobe Flash Video"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "f64be" "PCM 64-bit floating-point big-endian"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "f64le" "PCM 64-bit floating-point little-endian"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "film_cpk" "Sega FILM / CPK"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "fits" "Flexible Image Transport System"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "flac" "raw FLAC"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "flv" "FLV (Flash Video)"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "framecrc" "framecrc testing"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "framehash" "Per-frame hash testing"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "framemd5" "Per-frame MD5 testing"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "g722" "raw G.722"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "g723_1" "raw G.723.1"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "g726" "raw big-endian G.726 (\"left-justified\")"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "g726le" "raw little-endian G.726 (\"right-justified\")"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "gif" "CompuServe Graphics Interchange Format (GIF)"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "gxf" "GXF (General eXchange Format)"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "h261" "raw H.261"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "h263" "raw H.263"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "h264" "raw H.264 video"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "hash" "Hash testing"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "hds" "HDS Muxer"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "hevc" "raw HEVC video"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "hls" "Apple HTTP Live Streaming"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "iamf" "Raw Immersive Audio Model and Formats"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "ico" "Microsoft Windows ICO"
[2024-04-30 16:47:49.450, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "image2" "image2 sequence"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "image2pipe" "piped image2 sequence"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "ipod" "iPod H.264 MP4 (MPEG-4 Part 14)"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "ircam" "Berkeley/IRCAM/CARL Sound Format"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "ismv" "ISMV/ISMA (Smooth Streaming)"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "ivf" "On2 IVF"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "kvag" "Simon & Schuster Interactive VAG"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "latm" "LOAS/LATM"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "lrc" "LRC lyrics"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "m4v" "raw MPEG-4 video"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "matroska" "Matroska"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "md5" "MD5 testing"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "mjpeg" "raw MJPEG video"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "mmf" "Yamaha SMAF"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "mov" "QuickTime / MOV"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "mp2" "MP2 (MPEG audio layer 2)"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "mp3" "MP3 (MPEG audio layer 3)"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "mp4" "MP4 (MPEG-4 Part 14)"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "mpeg" "MPEG-1 Systems / MPEG program stream"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "mpeg1video" "raw MPEG-1 video"
[2024-04-30 16:47:49.451, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "mpeg2video" "raw MPEG-2 video"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "mpegts" "MPEG-TS (MPEG-2 Transport Stream)"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "mpjpeg" "MIME multipart JPEG"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "mulaw" "PCM mu-law"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "mxf" "MXF (Material eXchange Format)"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "mxf_d10" "MXF (Material eXchange Format) D-10 Mapping"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "mxf_opatom" "MXF (Material eXchange Format) Operational Pattern Atom"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "null" "raw null video"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "nut" "NUT"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "oga" "Ogg Audio"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "ogg" "Ogg"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "ogv" "Ogg Video"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "oma" "Sony OpenMG audio"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "opus" "Ogg Opus"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "psp" "PSP MP4 (MPEG-4 Part 14)"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "rm" "RealMedia"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "roq" "raw id RoQ"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "rso" "Lego Mindstorms RSO"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "rtp" "RTP output"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "rtp_mpegts" "RTP/mpegts output format"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "rtsp" "RTSP output"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "s16be" "PCM signed 16-bit big-endian"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "s16le" "PCM signed 16-bit little-endian"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "s24be" "PCM signed 24-bit big-endian"
[2024-04-30 16:47:49.452, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "s24le" "PCM signed 24-bit little-endian"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "s32be" "PCM signed 32-bit big-endian"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "s32le" "PCM signed 32-bit little-endian"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "s8" "PCM signed 8-bit"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "sap" "SAP output"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "sbc" "raw SBC"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "smjpeg" "Loki SDL MJPEG"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "smoothstreaming" "Smooth Streaming Muxer"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "sox" "SoX (Sound eXchange) native"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "spdif" "IEC 61937 (used on S/PDIF - IEC958)"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "srt" "SubRip subtitle"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "streamhash" "Per-stream hash testing"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "svcd" "MPEG-2 PS (SVCD)"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "swf" "SWF (ShockWave Flash)"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "tta" "TTA (True Audio)"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "ttml" "TTML subtitle"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "u16be" "PCM unsigned 16-bit big-endian"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "u16le" "PCM unsigned 16-bit little-endian"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "u24be" "PCM unsigned 24-bit big-endian"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "u24le" "PCM unsigned 24-bit little-endian"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "u32be" "PCM unsigned 32-bit big-endian"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "u32le" "PCM unsigned 32-bit little-endian"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "u8" "PCM unsigned 8-bit"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "uncodedframecrc" "uncoded framecrc testing"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "vcd" "MPEG-1 Systems / MPEG program stream (VCD)"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "vidc" "PCM Archimedes VIDC"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "vob" "MPEG-2 PS (VOB)"
[2024-04-30 16:47:49.453, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "voc" "Creative Voice"
[2024-04-30 16:47:49.454, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "w64" "Sony Wave64"
[2024-04-30 16:47:49.454, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "wav" "WAV / WAVE (Waveform Audio)"
[2024-04-30 16:47:49.454, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "webm" "WebM"
[2024-04-30 16:47:49.454, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "webvtt" "WebVTT subtitle"
[2024-04-30 16:47:49.454, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "wsaud" "Westwood Studios audio"
[2024-04-30 16:47:49.454, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "wtv" "Windows Television (WTV)"
[2024-04-30 16:47:49.454, Webcamoid, 0x7f1ca32525c0,  (0)] debug: FORMAT "wv" "raw WavPack"
[2024-04-30 16:47:52.998, Webcamoid, 0x7f1ca32525c0,  (0)] debug: LOG_START
[2024-04-30 16:47:52.998, Webcamoid, 0x7f1ca32525c0,  (0)] debug: LOG_END
[matroska,webm @ 0x7f1c58c05a80] Duplicate element
[matroska,webm @ 0x7f1c58c05a80] 0x00 at pos 110 (0x6e) invalid as first byte of an EBML number
[matroska,webm @ 0x7f1c58c05a80] Duplicate element
[matroska,webm @ 0x7f1c58c05a80] 0x00 at pos 202 (0xca) invalid as first byte of an EBML number
[matroska,webm @ 0x7f1c58c05a80] Element at 0x67 ending at 0x79fec016d exceeds containing master element ending at 0x1413
  1. MP4
[2024-04-30 16:47:28.501, Webcamoid, 0x7f3e4d78b5c0,  (0)] critical: Failed to create wl_display (No such file or directory)
[2024-04-30 16:47:28.509, Webcamoid, 0x7f3e4d78b5c0,  (0)] info: Could not load the Qt platform plugin "wayland" in "" even though it was found.
[2024-04-30 16:47:28.522, Webcamoid, 0x7f3e4d78b5c0,  (0)] warning: Qt: Session management error: None of the authentication protocols specified are supported
[2024-04-30 16:47:28.987, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "3g2" "3GP2 (3GPP2 file format)"
[2024-04-30 16:47:28.987, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "3gp" "3GP (3GPP file format)"
[2024-04-30 16:47:28.987, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "a64" "a64 - video for Commodore 64"
[2024-04-30 16:47:28.987, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "ac3" "raw AC-3"
[2024-04-30 16:47:28.987, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "adts" "ADTS AAC (Advanced Audio Coding)"
[2024-04-30 16:47:28.987, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "adx" "CRI ADX"
[2024-04-30 16:47:28.987, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "aiff" "Audio IFF"
[2024-04-30 16:47:28.988, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "alaw" "PCM A-law"
[2024-04-30 16:47:28.988, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "alp" "LEGO Racers ALP"
[2024-04-30 16:47:28.988, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "amv" "AMV"
[2024-04-30 16:47:28.988, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "apm" "Ubisoft Rayman 2 APM"
[2024-04-30 16:47:28.988, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "apng" "Animated Portable Network Graphics"
[2024-04-30 16:47:28.988, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "aptx" "raw aptX (Audio Processing Technology for Bluetooth)"
[2024-04-30 16:47:28.988, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "aptx_hd" "raw aptX HD (Audio Processing Technology for Bluetooth)"
[2024-04-30 16:47:28.988, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "argo_asf" "Argonaut Games ASF"
[2024-04-30 16:47:28.988, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "asf" "ASF (Advanced / Active Streaming Format)"
[2024-04-30 16:47:28.988, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "asf_stream" "ASF (Advanced / Active Streaming Format)"
[2024-04-30 16:47:28.988, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "ass" "SSA (SubStation Alpha) subtitle"
[2024-04-30 16:47:28.988, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "ast" "AST (Audio Stream)"
[2024-04-30 16:47:28.988, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "au" "Sun AU"
[2024-04-30 16:47:28.988, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "avi" "AVI (Audio Video Interleaved)"
[2024-04-30 16:47:28.988, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "avm2" "SWF (ShockWave Flash) (AVM2)"
[2024-04-30 16:47:28.988, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "caf" "Apple CAF (Core Audio Format)"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "crc" "CRC testing"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "dash" "DASH Muxer"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "daud" "D-Cinema audio"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "dfpwm" "raw DFPWM1a"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "dirac" "raw Dirac"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "dnxhd" "raw DNxHD (SMPTE VC-3)"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "dv" "DV (Digital Video)"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "dvd" "MPEG-2 PS (DVD VOB)"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "eac3" "raw E-AC-3"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "f32be" "PCM 32-bit floating-point big-endian"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "f32le" "PCM 32-bit floating-point little-endian"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "f4v" "F4V Adobe Flash Video"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "f64be" "PCM 64-bit floating-point big-endian"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "f64le" "PCM 64-bit floating-point little-endian"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "film_cpk" "Sega FILM / CPK"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "fits" "Flexible Image Transport System"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "flac" "raw FLAC"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "flv" "FLV (Flash Video)"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "framecrc" "framecrc testing"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "framehash" "Per-frame hash testing"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "framemd5" "Per-frame MD5 testing"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "g722" "raw G.722"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "g723_1" "raw G.723.1"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "g726" "raw big-endian G.726 (\"left-justified\")"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "g726le" "raw little-endian G.726 (\"right-justified\")"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "gif" "CompuServe Graphics Interchange Format (GIF)"
[2024-04-30 16:47:28.989, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "gxf" "GXF (General eXchange Format)"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "h261" "raw H.261"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "h263" "raw H.263"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "h264" "raw H.264 video"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "hash" "Hash testing"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "hds" "HDS Muxer"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "hevc" "raw HEVC video"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "hls" "Apple HTTP Live Streaming"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "iamf" "Raw Immersive Audio Model and Formats"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "ico" "Microsoft Windows ICO"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "image2" "image2 sequence"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "image2pipe" "piped image2 sequence"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "ipod" "iPod H.264 MP4 (MPEG-4 Part 14)"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "ircam" "Berkeley/IRCAM/CARL Sound Format"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "ismv" "ISMV/ISMA (Smooth Streaming)"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "ivf" "On2 IVF"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "kvag" "Simon & Schuster Interactive VAG"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "latm" "LOAS/LATM"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "lrc" "LRC lyrics"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "m4v" "raw MPEG-4 video"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "matroska" "Matroska"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "md5" "MD5 testing"
[2024-04-30 16:47:28.990, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "mjpeg" "raw MJPEG video"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "mmf" "Yamaha SMAF"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "mov" "QuickTime / MOV"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "mp2" "MP2 (MPEG audio layer 2)"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "mp3" "MP3 (MPEG audio layer 3)"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "mp4" "MP4 (MPEG-4 Part 14)"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "mpeg" "MPEG-1 Systems / MPEG program stream"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "mpeg1video" "raw MPEG-1 video"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "mpeg2video" "raw MPEG-2 video"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "mpegts" "MPEG-TS (MPEG-2 Transport Stream)"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "mpjpeg" "MIME multipart JPEG"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "mulaw" "PCM mu-law"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "mxf" "MXF (Material eXchange Format)"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "mxf_d10" "MXF (Material eXchange Format) D-10 Mapping"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "mxf_opatom" "MXF (Material eXchange Format) Operational Pattern Atom"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "null" "raw null video"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "nut" "NUT"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "oga" "Ogg Audio"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "ogg" "Ogg"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "ogv" "Ogg Video"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "oma" "Sony OpenMG audio"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "opus" "Ogg Opus"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "psp" "PSP MP4 (MPEG-4 Part 14)"
[2024-04-30 16:47:28.991, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "rm" "RealMedia"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "roq" "raw id RoQ"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "rso" "Lego Mindstorms RSO"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "rtp" "RTP output"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "rtp_mpegts" "RTP/mpegts output format"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "rtsp" "RTSP output"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "s16be" "PCM signed 16-bit big-endian"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "s16le" "PCM signed 16-bit little-endian"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "s24be" "PCM signed 24-bit big-endian"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "s24le" "PCM signed 24-bit little-endian"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "s32be" "PCM signed 32-bit big-endian"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "s32le" "PCM signed 32-bit little-endian"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "s8" "PCM signed 8-bit"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "sap" "SAP output"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "sbc" "raw SBC"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "smjpeg" "Loki SDL MJPEG"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "smoothstreaming" "Smooth Streaming Muxer"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "sox" "SoX (Sound eXchange) native"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "spdif" "IEC 61937 (used on S/PDIF - IEC958)"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "srt" "SubRip subtitle"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "streamhash" "Per-stream hash testing"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "svcd" "MPEG-2 PS (SVCD)"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "swf" "SWF (ShockWave Flash)"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "tta" "TTA (True Audio)"
[2024-04-30 16:47:28.992, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "ttml" "TTML subtitle"
[2024-04-30 16:47:28.993, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "u16be" "PCM unsigned 16-bit big-endian"
[2024-04-30 16:47:28.993, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "u16le" "PCM unsigned 16-bit little-endian"
[2024-04-30 16:47:28.993, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "u24be" "PCM unsigned 24-bit big-endian"
[2024-04-30 16:47:28.993, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "u24le" "PCM unsigned 24-bit little-endian"
[2024-04-30 16:47:28.993, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "u32be" "PCM unsigned 32-bit big-endian"
[2024-04-30 16:47:28.993, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "u32le" "PCM unsigned 32-bit little-endian"
[2024-04-30 16:47:28.993, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "u8" "PCM unsigned 8-bit"
[2024-04-30 16:47:28.993, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "uncodedframecrc" "uncoded framecrc testing"
[2024-04-30 16:47:28.993, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "vcd" "MPEG-1 Systems / MPEG program stream (VCD)"
[2024-04-30 16:47:28.993, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "vidc" "PCM Archimedes VIDC"
[2024-04-30 16:47:28.993, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "vob" "MPEG-2 PS (VOB)"
[2024-04-30 16:47:28.993, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "voc" "Creative Voice"
[2024-04-30 16:47:28.993, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "w64" "Sony Wave64"
[2024-04-30 16:47:28.993, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "wav" "WAV / WAVE (Waveform Audio)"
[2024-04-30 16:47:28.993, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "webm" "WebM"
[2024-04-30 16:47:28.993, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "webvtt" "WebVTT subtitle"
[2024-04-30 16:47:28.993, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "wsaud" "Westwood Studios audio"
[2024-04-30 16:47:28.993, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "wtv" "Windows Television (WTV)"
[2024-04-30 16:47:28.993, Webcamoid, 0x7f3e4d78b5c0,  (0)] debug: FORMAT "wv" "raw WavPack"

@hipersayanX
Copy link
Member

Try removing --disable-debug in ffmpeg autotools-configure-parameters.

@sameersharma2006
Copy link
Author

sameersharma2006 commented May 2, 2024

@hipersayanX Nope even after removing that ffmpeg flag, the output is similar to what i posted previously.

No logs, the hello world snippet also doesn't seem to work.

@hipersayanX
Copy link
Member

Tbh I'm out of ideas, it seems to be a bug on your FFmpeg build but I don't know what could it be 😕

@sameersharma2006
Copy link
Author

@hipersayanX Hmm,my ffmpeg build is from source and i am using that same build instruction in celluloid,mpv,audacious snaps all works fine.

@hipersayanX
Copy link
Member

In the last case, the problem could be the version of FFmpeg that you are building against. You are building against FFmpeg 7.0 and Webcamoid 9.1.1 was released 1 year ago, and FFmpeg constantly make many changes to their API.
The release versions are working fine and it was build in Ubuntu Focal, that is FFmpeg 4.2.7. Maybe try downgrading to FFmpeg 4.2.7?

@sameersharma2006
Copy link
Author

sameersharma2006 commented May 4, 2024

@hipersayanX Will that have any security trade-offs, i mean security vulnerabilities (CVEs) ? Nevertheless i think your prediction is true given the fact that webcamoid snap actually used to worked last year with older ffmpeg.

I will try to build with ffmpeg-4.2.9

Also Note;
The focal thing can not apply here as the snap is being built atop core22(Jammy), core20 kde/qt support ended long before.

@hipersayanX
Copy link
Member

Will that have any security trade-offs, i mean security vulnerabilities (CVEs) ?

If that the case, apply the required patches.

The focal thing can not apply here as the snap is being built atop core22(Jammy), core20 kde/qt support ended long before.

That is not a problem, the build environment is irrelevant here. Try building with the known working version, ultimately try upgrading to a newer one. If I remember well on that time Arch had ffmpeg 5.x and it was working fine there.

Also, if possible, I will try to make a new release for June, but not sure because there are some bugs I still need to fix.

@sameersharma2006
Copy link
Author

@hipersayanX Unfortunately it still doesn't work.

I tested with 4.2.9 (Bugfix release with similar code to 4.2.7) & ffmpeg-5.1.4

Both produces hoax files .

I think the best bet is waiting till new release & then re-visit these situation.

I am not sure why is this happening AFAIK last year webcamoid snap did record video with only mkv format, but still it atleast recorded video.

  • Just a suggestion & feature-request:
  1. Consider providing a cmake build flag to disable video recording feature altogether & trim the app to photo capturing utility with effects.

@hipersayanX
Copy link
Member

I think the best bet is waiting till new release & then re-visit these situation.

There is not any guarantee that this gonna be fixed for the next release because:

  1. Is not reproducible (it works for me).
  2. Is not debugable (the logs are missing).

Instead of waiting for the next release, try building from master branch and check if the situation still persists.

@sameersharma2006
Copy link
Author

@hipersayanX Ok, started building webcamoid master branch with qt6 libs viz. https://git.launchpad.net/webcamoid-snap?h=canary

@sameersharma2006
Copy link
Author

Also @hipersayanX What do you mean by;

Is not reproducible (it works for me).

You mean to say the snap works for you ? or you are talking about native packaging formats / root build & install.

@hipersayanX
Copy link
Member

You mean to say the snap works for you ? or you are talking about native packaging formats / root build & install.

I'm talking about the binaries I distribute and the source code. I did tried adding a Snap build to the actions, but the build always failed, so I have removed it.

@sameersharma2006
Copy link
Author

@hipersayanX If you are building snaps without helpers or extensions, you also probably need to add a build-environment part for building your app along with command scripts, hooks etc.

Nevertheless i will continue debugging against master branch.

@hipersayanX
Copy link
Member

@hipersayanX If you are building snaps without helpers or extensions, you also probably need to add a build-environment part for building your app along with command scripts, hooks etc.

I don't know how Snap packages work, I just took code from here and there. Also, isn't possible to use ffmpeg from Ubuntu repositories instead of building it from scratch? or in general, any pre-build binary package from repositories ?

@sameersharma2006
Copy link
Author

One can use ffmpeg from ubuntu repos but it's a bit chaotic as it will include managing dependencies & will also increase app size leading to slower startups.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants