Open SimonMarquis opened 9 years ago
I don't see quite exactly this behavior. I get a single-frame video of the content regardless of how long I wait.
It seems to be more a decoding issue. Playing the file with vlc (mobile & desktop) renders a black image. Playing from the Google+ photos website (youtube) renders the correct image but with some glitches. Playing from the mobile Google+ Photos app renders the video correctly...
Some players might just ignore the first keyframe?
I think it's probably a result of the recording not working correctly, as your original issue stated. And then what you are seeing is simply a result of the incorrect recording being handled differently by different players.
On Mon Feb 16 2015 at 12:35:38 AM Simon Marquis notifications@github.com wrote:
It seems to be more a decoding issue. Playing the file with vlc (mobile & desktop) renders a black image. Playing from the Google+ photos website (youtube) renders the correct image but with some glitches. Playing from the mobile Google+ Photos app renders the video correctly...
Some players might just ignore the first keyframe?
— Reply to this email directly or view it on GitHub https://github.com/JakeWharton/Telecine/issues/35#issuecomment-74474387.
Seems legit.
While reading the code, I was wondering if starting the recorder
before create the VirtualDisplay
would help?
here
Yeah. Certainly worth a shot.
On Mon Feb 16 2015 at 12:41:24 AM Simon Marquis notifications@github.com wrote:
Seems legit. While reading the code, I was wondering if starting the recorder before create the VirtualDisplay would help? here https://github.com/JakeWharton/Telecine/blob/04811c597926939af46db3b97625f550bdd5a1e2/telecine/src/main/java/com/jakewharton/telecine/RecordingSession.java#L186
— Reply to this email directly or view it on GitHub https://github.com/JakeWharton/Telecine/issues/35#issuecomment-74474931.
Unfortunately, it doesn't fix anything...
I tried all kinds of things last night to no effect.
@SimonMarquis What device? Obviously you are running Android 5.0+.
@SimonMarquis ?
Steps to reproduce:
Results: The video remains black.
It seems there is no key frame in the video...