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

empty file on video recording, 8.7.1 macOS #297

Closed
schlomo opened this issue May 3, 2020 · 7 comments
Closed

empty file on video recording, 8.7.1 macOS #297

schlomo opened this issue May 3, 2020 · 7 comments

Comments

@schlomo
Copy link

schlomo commented May 3, 2020

Summary

Recording a video creates an empty file

Current Behavior

When recording a video from the webcam the output file is empty, no matter which webcam or video codec setting I use. I tried MJPEG and YUV2 in different resolutions and different codecs/formats like iPod H.264, DV etc.

The console log looks like this:

$ /Applications/webcamoid.app/Contents/MacOS/webcamoid
WARNING: Cannot find style "Universal" - fallback: "/Applications/webcamoid.app/Contents/Resources/qml/QtQuick/Controls/Styles/Desktop"
qrc:/Webcamoid/share/qml/RecordConfig.qml:126:5: QML Label: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/VideoCapture/share/qml/main.qml:276: TypeError: Cannot call method 'createCameraControls' of null
qrc:/VirtualCamera/share/qml/main.qml:25:1: QML GridLayout: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/Webcamoid/share/qml/RecordConfig.qml:126:5: QML Label: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/Webcamoid/share/qml/RecordConfig.qml:126:5: QML Label: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/Webcamoid/share/qml/RecordConfig.qml:126:5: QML Label: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/Webcamoid/share/qml/RecordConfig.qml:126:5: QML Label: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/Webcamoid/share/qml/RecordConfig.qml:126:5: QML Label: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
Can't write header:  Error number 22 occurred

Taking photos and the preview both function.

With Quicktime or other tools video recording from the webcam is no problem.

Expected Behavior

Create a video file with content. #53 seems to be similar but on Gentoo and fixed several years ago.

Your Environment

  • Webcamoid information: 8.7.1
  • Operating System information: macOS 10.15.4 Catalina x86_64
  • Any other useful information: exactly same behavior with the development version
  • Webcam is Logitech C920
@hipersayanX
Copy link
Member

hipersayanX commented May 5, 2020

Which file format, with which video codec, with which audio codec, gives you the Can't write header: Error number 22 occurred error message?
There are other format that are working? ie. Webm, MP4, Matroska, etc.
Give me a bounded set of options so I can test this bug quickly.

@schlomo
Copy link
Author

schlomo commented May 5, 2020

image
I didn't configure anything in detail.

Is there a way to write a detailed debug log?

@hipersayanX
Copy link
Member

Everything seems to be correct there, also thanks for testing the daily build. Will check.

Is there a way to write a detailed debug log?

Webcamoid logging is pretty much rudimentary, what you see in the terminal is what you get, and it could be incomplete. The only way of fixing this kind of bugs is getting into the source code and tracing it until you discover where is the problem.

@schlomo
Copy link
Author

schlomo commented May 5, 2020

We can do a 1:1 video call if you want to look at my system, see http://consulting.schlomo.schapiro.org/ for my contact infos.

@hipersayanX
Copy link
Member

Sorry but I don't give private support.

@schlomo
Copy link
Author

schlomo commented May 6, 2020

Wasn't asking for support, I was offering access to the problem if you want. No worries.

@hipersayanX
Copy link
Member

Problem solved in 9.0.0, closing.

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