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

Black screen when use all function relate PlayVideo #171

Open
huutho-dev opened this issue May 1, 2022 · 0 comments
Open

Black screen when use all function relate PlayVideo #171

huutho-dev opened this issue May 1, 2022 · 0 comments

Comments

@huutho-dev
Copy link

huutho-dev commented May 1, 2022

When play video, Black screen but sound was play normal.

  • Play video from local (pick from gallery)
  • Play video after record
  • Play video after record with ffmpeg

=> Think problem in CainMediaPlayer.java and VideoPlayer.java

2022-05-01 19:14:50.683 16925-17059/com.cgfay.caincamera D/CainPlayer: CainMediaPlayer is opening input file.
2022-05-01 19:14:50.683 16925-17059/com.cgfay.caincamera D/CainPlayer: CanMediaPlayer is finding media stream info.
2022-05-01 19:14:50.683 16925-17059/com.cgfay.caincamera D/CainPlayer: CainMediaPlayer occurs error: 0
2022-05-01 19:14:50.684 16925-17059/com.cgfay.caincamera E/CainPlayer: CainMediaPlayer unknown MSG_xxx(82)
2022-05-01 19:14:50.684 16925-17059/com.cgfay.caincamera D/CainPlayer: CainMediaPlayer is prepared.
2022-05-01 19:14:50.684 16925-16925/com.cgfay.caincamera E/CainMediaPlayer: Error (0,0)
2022-05-01 19:14:50.684 16925-17059/com.cgfay.caincamera D/CainPlayer: CainMediaPlayer starts audio decoder.
2022-05-01 19:14:50.684 16925-16925/com.cgfay.caincamera D/VideoEditFragment: onError: what = 0, extra = 0
2022-05-01 19:14:50.688 16925-17061/com.cgfay.caincamera E/AudioEffect: set(): AudioFlinger could not create effect c2e5d5f0-94bd-4763-9cac-4e234d06839e / ec7178ec-e5e1-4432-a3f4-4657e6795210, status: -1
2022-05-01 19:14:50.688 16925-17061/com.cgfay.caincamera E/libOpenSLES: Effect initCheck() returned -19
2022-05-01 19:14:50.688 16925-17061/com.cgfay.caincamera E/libOpenSLES: EnvironmentalReverb effect initialization failed
2022-05-01 19:14:50.688 16925-17061/com.cgfay.caincamera D/gfay.caincamer: PlayerBase::PlayerBase()
2022-05-01 19:14:50.689 16925-17061/com.cgfay.caincamera D/gfay.caincamer: TrackPlayerBase::TrackPlayerBase()

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

No branches or pull requests

1 participant