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

Record screen produces video that appears black in Quicktime #416

Closed
LouisCAD opened this issue Jan 30, 2019 · 3 comments
Closed

Record screen produces video that appears black in Quicktime #416

LouisCAD opened this issue Jan 30, 2019 · 3 comments
Labels

Comments

@LouisCAD
Copy link

LouisCAD commented Jan 30, 2019

Here's the command I ran on version 1.6:
scrcpy -m 1280 -r Desktop/some-file.mp4 -t

Here are the logs for my recording attempt:

/usr/local/Cellar/scrcpy/1.6/share/scr...shed. 1.2 MB/s (19464 bytes in 0.015s)
2019-01-30 17:30:33.950 scrcpy[21276:1317781] INFO: Enable show_touches
2019-01-30 17:30:34.673 scrcpy[21276:1317781] INFO: Initial texture: 720x1280
2019-01-30 17:30:41.662 scrcpy[21276:1317781] INFO: Disable show_touches

Here's the output of scrcpy --version:

scrcpy 1.6

dependencies:
 - SDL 2.0.9
 - libavcodec 58.35.100
 - libavformat 58.20.100
 - libavutil 56.22.100

OS: MacOS Mojave 10.14 (18A391)

While the command was running (until I clicked the close button on the window), the screen was displayed correctly on my computer, but the output file, results in black footage when viewed from Quicktime.

@LouisCAD
Copy link
Author

The device used is a Google Pixel XL running Android 9.0

@LouisCAD LouisCAD changed the title Record screen produces black video Record screen produces video that appears black in Quicktime Jan 30, 2019
@rom1v rom1v added the record label Jan 30, 2019
@rom1v
Copy link
Collaborator

rom1v commented Jan 30, 2019

Might be related to #351.

rom1v added a commit that referenced this issue Feb 9, 2019
When recording, the header must be written with extradata set to the
content of the very first packet.

Suggested-by: Steve Lhomme <robux4@ycbcr.xyz>

Fixes <#351>
Fixes <#416>
@rom1v
Copy link
Collaborator

rom1v commented Feb 9, 2019

Fixed on dev branch.

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

No branches or pull requests

2 participants